reinitializing codebase and resuming development
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
"url": "http://localhost:3000/v0/"
|
||||
"url": "http://localhost:3000/v0"
|
||||
},
|
||||
{
|
||||
"url": "https://erp-server.triadkube.com/v0/"
|
||||
"url": "https://erp-server.triadkube.com/v0"
|
||||
}
|
||||
],
|
||||
"security": [
|
||||
@@ -134,6 +134,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/user/accessible-modules": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"User"
|
||||
],
|
||||
"summary": "Get the List of Accessible Modules for a User",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/profile": {
|
||||
"post": {
|
||||
"tags": [
|
||||
@@ -1029,6 +1043,40 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/partner/{id}/approve": {
|
||||
"tags": [
|
||||
"Partner"
|
||||
],
|
||||
"summary": "Approve a Partner added by an Executive",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/partner/unapproved": {
|
||||
"tags": [
|
||||
"Partner"
|
||||
],
|
||||
"summary": "Get all Unapproved Partners",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/venue/": {
|
||||
"post": {
|
||||
"tags": [
|
||||
|
||||
@@ -24,10 +24,10 @@ const GENERAL_CONFIG = {
|
||||
},
|
||||
servers: [
|
||||
{
|
||||
url: "http://localhost:3000/v0/",
|
||||
url: "http://localhost:3000/v0",
|
||||
},
|
||||
{
|
||||
url: "https://erp-server.triadkube.com/v0/",
|
||||
url: "https://erp-server.triadkube.com/v0",
|
||||
},
|
||||
],
|
||||
security: [
|
||||
|
||||
@@ -213,4 +213,34 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
"/partner/{id}/approve": {
|
||||
tags: ["Partner"],
|
||||
summary: "Approve a Partner added by an Executive",
|
||||
parameters: [
|
||||
{
|
||||
in: "path",
|
||||
name: "id",
|
||||
required: true,
|
||||
schema: {
|
||||
type: "string",
|
||||
},
|
||||
},
|
||||
],
|
||||
responses: {
|
||||
200: {
|
||||
description: "OK",
|
||||
content: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
"/partner/unapproved": {
|
||||
tags: ["Partner"],
|
||||
summary: "Get all Unapproved Partners",
|
||||
responses: {
|
||||
200: {
|
||||
description: "OK",
|
||||
content: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -95,4 +95,16 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
"/user/accessible-modules": {
|
||||
get: {
|
||||
tags: ["User"],
|
||||
summary: "Get the List of Accessible Modules for a User",
|
||||
responses: {
|
||||
200: {
|
||||
description: "OK",
|
||||
content: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user