reinitializing codebase and resuming development

This commit is contained in:
Shibi Chakkaravarthy
2026-09-27 00:48:18 +05:30
parent 5e894627f5
commit be7211ac28
23 changed files with 744 additions and 45 deletions
+50 -2
View File
@@ -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": [
+2 -2
View File
@@ -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: [
+30
View File
@@ -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: {},
},
},
},
};
+12
View File
@@ -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: {},
},
},
},
},
};