{
  "openapi": "3.0.0",
  "info": {
    "title": "AAVIN Api - Dev",
    "version": "1.0.0",
    "description": "AavinApi",
    "contact": {}
  },
  "paths": {
    "/appi/accounts/forgotpwd/changepwd": {
      "post": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "updatePwdReset",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "BoomAdminUser model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUser"
                }
              }
            }
          }
        },
        "description": "Change password for dealer user after OTP verification",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "password": {
                    "type": "string"
                  }
                },
                "required": [
                  "password"
                ]
              }
            }
          }
        },
        "operationId": "AppiAccountController.updatePwdReset"
      }
    },
    "/appi/accounts/forgotpwd/otp/resend": {
      "post": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "updatePwdOtpRsend",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "BoomAdminUser model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUser"
                }
              }
            }
          }
        },
        "description": "resend otp for forgot password",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "email"
                ]
              }
            }
          }
        },
        "operationId": "AppiAccountController.updatePwdOtpRsend"
      }
    },
    "/appi/accounts/forgotpwd/otp/verify": {
      "post": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "updatePwdOtpVerify",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "BoomAdminUser model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUser"
                }
              }
            }
          }
        },
        "description": "Verify OTP for forgot password",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "otp": {
                    "type": "string"
                  }
                },
                "required": [
                  "otp",
                  "email"
                ]
              }
            }
          }
        },
        "operationId": "AppiAccountController.updatePwdOtpVerify"
      }
    },
    "/appi/accounts/forgotpwd": {
      "put": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "updateForgotPassword",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "BoomAdminUser model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUser"
                }
              }
            }
          }
        },
        "description": "Forgot password for dealer user",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "email"
                ]
              }
            }
          }
        },
        "operationId": "AppiAccountController.updateForgotPassword"
      }
    },
    "/appi/accounts/login": {
      "post": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "login",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "BoomAdminUser model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUser"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                },
                "required": [
                  "email",
                  "password"
                ]
              }
            }
          }
        },
        "operationId": "AppiAccountController.login"
      }
    },
    "/appi/accounts/{id}": {
      "put": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "updateById",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "AdminUser PUT success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUser"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "unionId": {
                    "type": "number"
                  },
                  "status": {
                    "type": "number"
                  },
                  "roleId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiAccountController.updateById"
      }
    },
    "/appi/accounts": {
      "post": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "create",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "AdminUser model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminUser"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "email",
                  "password",
                  "unionId"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  },
                  "unionId": {
                    "type": "number"
                  },
                  "roleId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiAccountController.create"
      },
      "get": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "find",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "Array of AdminUser model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdminUserWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiAccountController.find"
      }
    },
    "/appi/agent-monthly-statement": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateAgentMonthlyStatement",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateAgentMonthlyStatement"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateAgentMonthlyStatement"
      }
    },
    "/appi/agents/types": {
      "get": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "getAgentTypes",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Agent Types",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AgentTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiAgentController.getAgentTypes"
      }
    },
    "/appi/agents/unions": {
      "get": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "getAllUnions",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "Array of all Unions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UnionWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiAgentController.getAllUnions"
      }
    },
    "/appi/agents/{id}/credit-orders": {
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getAgentCreditOrders",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get credit orders for agent"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "OrderController.getAgentCreditOrders"
      }
    },
    "/appi/agents/{id}/documents": {
      "put": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agent document update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "AppiAgentController.updateDocuments"
      }
    },
    "/appi/agents/{id}/status": {
      "put": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "updateStatus",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agent status update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "number"
                  }
                },
                "required": [
                  "status"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiAgentController.updateStatus"
      }
    },
    "/appi/agents/{id}/verify": {
      "put": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "verifyDocuments",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agent verification update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "hasAadharVerified": {
                    "type": "boolean"
                  },
                  "hasPanVerified": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiAgentController.verifyDocuments"
      }
    },
    "/appi/agents/{id}/wallet/balance": {
      "get": {
        "x-controller-name": "AppiWalletController",
        "x-operation-name": "getBalance",
        "tags": [
          "AppiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Get wallet balance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "balance": {
                      "type": "number"
                    },
                    "agentId": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiWalletController.getBalance"
      }
    },
    "/appi/agents/{id}/wallet/transactions": {
      "get": {
        "x-controller-name": "AppiWalletController",
        "x-operation-name": "getTransactions",
        "tags": [
          "AppiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Get wallet transaction history",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletTransaction"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiWalletController.getTransactions"
      }
    },
    "/appi/agents/{id}": {
      "put": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "updateById",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agent PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "AppiAgentController.updateById"
      },
      "get": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "findById",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "Agent model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiAgentController.findById"
      }
    },
    "/appi/agents": {
      "post": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "create",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "Agent model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true
        },
        "operationId": "AppiAgentController.create"
      },
      "get": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "find",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Agent model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AgentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiAgentController.find"
      }
    },
    "/appi/booth-wallet-transaction-statement": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateBoothWalletTransactionStatement",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateBoothWalletTransactionStatement"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateBoothWalletTransactionStatement"
      }
    },
    "/appi/booth-wallet-transactions-summary": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateBoothWalletTransactionsSummary",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateBoothWalletTransactionsSummary"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateBoothWalletTransactionsSummary"
      }
    },
    "/appi/booths/types": {
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "getBoothTypes",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Array of Booth Types",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BoothTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiBoothController.getBoothTypes"
      }
    },
    "/appi/booths/wallet/credit": {
      "post": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "creditBoothWallet",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Add money to booth wallet"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "booth_id",
                  "agent_id",
                  "amount"
                ],
                "properties": {
                  "booth_id": {
                    "type": "number"
                  },
                  "agent_id": {
                    "type": "number"
                  },
                  "amount": {
                    "type": "number"
                  },
                  "reference_type": {
                    "type": "number"
                  },
                  "reference_id": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiBoothController.creditBoothWallet"
      }
    },
    "/appi/booths/wallet/export": {
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "exportBoothsWalletExcel",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Download booth wallet balance Excel"
                }
              }
            }
          }
        },
        "operationId": "AppiBoothController.exportBoothsWalletExcel"
      }
    },
    "/appi/booths/wallet": {
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "getBoothsWalletBalance",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Get booth wallet balances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "booth_id": {
                        "type": "number"
                      },
                      "booth_name": {
                        "type": "string"
                      },
                      "booth_code": {
                        "type": "string"
                      },
                      "agent_id": {
                        "type": "number"
                      },
                      "wallet_balance": {
                        "type": "number"
                      },
                      "last_transaction_at": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiBoothController.getBoothsWalletBalance"
      }
    },
    "/appi/booths/{id}/assign": {
      "post": {
        "x-controller-name": "AppiBoothAssignmentController",
        "x-operation-name": "create",
        "tags": [
          "AppiBoothAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "BoothAssignment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BoothAssignment"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewBoothAssignment"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiBoothAssignmentController.create"
      }
    },
    "/appi/booths/{boothId}/assignments/{id}/status": {
      "put": {
        "x-controller-name": "AppiBoothAssignmentController",
        "x-operation-name": "updateStatus",
        "tags": [
          "AppiBoothAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BoothAssignment status update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "boothId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "number"
                  }
                },
                "required": [
                  "status"
                ]
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "AppiBoothAssignmentController.updateStatus"
      }
    },
    "/appi/booths/{id}/credit-transactions": {
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getCreditTransactionsByBooth",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get credit transactions by booth ID"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "OrderController.getCreditTransactionsByBooth"
      }
    },
    "/appi/booths/{id}/image": {
      "put": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "updateImage",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Booth image update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "AppiBoothController.updateImage"
      }
    },
    "/appi/booths/{id}/location": {
      "post": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "createLink",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "create or renew location link",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "create or renew link for booth location",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "is_send",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "AppiBoothController.createLink"
      }
    },
    "/appi/booths/{code}/location": {
      "put": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "updateLocation",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Update booth location details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Update booth latitude and longitude",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "is_expire",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 2
        },
        "operationId": "AppiBoothController.updateLocation"
      },
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "locationDetails",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Location Details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "loc_expire_time": {
                      "type": "string"
                    },
                    "location_url": {
                      "type": "string"
                    },
                    "is_loc_submit": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "description": "Get booth location details",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AppiBoothController.locationDetails"
      }
    },
    "/appi/booths/{boothId}/orders": {
      "get": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "getBoothOrders",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get orders by boothId"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "boothId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "orderDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiCustomerOrderController.getBoothOrders"
      }
    },
    "/appi/booths/{id}/reassign": {
      "put": {
        "x-controller-name": "AppiBoothAssignmentController",
        "x-operation-name": "reassign",
        "tags": [
          "AppiBoothAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BoothAssignment reassign success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "agentId": {
                    "type": "number"
                  },
                  "assignmentDate": {
                    "type": "string"
                  },
                  "startDate": {
                    "type": "string"
                  },
                  "endDate": {
                    "type": "string"
                  }
                },
                "required": [
                  "agentId",
                  "assignmentDate",
                  "startDate"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiBoothAssignmentController.reassign"
      }
    },
    "/appi/booths/{id}/reset-geo-location": {
      "put": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "resetGeoLocation",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Reset geo location success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiBoothController.resetGeoLocation"
      }
    },
    "/appi/booths/{id}/status": {
      "put": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "updateStatus",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Booth status update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "number"
                  }
                },
                "required": [
                  "status"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiBoothController.updateStatus"
      }
    },
    "/appi/booths/{masterBoothId}/sub-booths/{subBoothId}": {
      "delete": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "removeSubBoothAssignment",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Remove sub booth assignment"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "masterBoothId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "subBoothId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiBoothController.removeSubBoothAssignment"
      }
    },
    "/appi/booths/{masterBoothId}/sub-booths": {
      "post": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "assignSubBoothToMaster",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Assign sub booths to master booth"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "masterBoothId",
                  "subBoothIds"
                ],
                "properties": {
                  "masterBoothId": {
                    "type": "number"
                  },
                  "subBoothIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiBoothController.assignSubBoothToMaster"
      },
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "getSubBooths",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get sub booths assigned to master booth"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "masterBoothId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiBoothController.getSubBooths"
      }
    },
    "/appi/booths/{id}/unassign": {
      "put": {
        "x-controller-name": "AppiBoothAssignmentController",
        "x-operation-name": "unassign",
        "tags": [
          "AppiBoothAssignmentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BoothAssignment PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiBoothAssignmentController.unassign"
      }
    },
    "/appi/booths/{id}": {
      "put": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "updateById",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Booth PUT success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "unionId": {
                    "type": "number"
                  },
                  "boothTypeId": {
                    "type": "number"
                  },
                  "name": {
                    "type": "string"
                  },
                  "lat": {
                    "type": "number"
                  },
                  "lng": {
                    "type": "number"
                  },
                  "address": {
                    "type": "string"
                  },
                  "landmark": {
                    "type": "string"
                  },
                  "boothCode": {
                    "type": "string"
                  },
                  "agentId": {
                    "type": "number"
                  },
                  "isCreditPayAllow": {
                    "type": "boolean"
                  },
                  "isWalletPayAllow": {
                    "type": "boolean"
                  },
                  "isOnlinePayAllow": {
                    "type": "boolean"
                  },
                  "zoneId": {
                    "type": "number"
                  },
                  "routeId": {
                    "type": "number"
                  },
                  "startDate": {
                    "type": "string"
                  },
                  "endDate": {
                    "type": "string"
                  },
                  "boothType": {
                    "type": "number"
                  },
                  "masterBoothId": {
                    "type": "number"
                  },
                  "pricing": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "product_id": {
                          "type": "number"
                        },
                        "has_mrp_basic": {
                          "type": "number"
                        },
                        "has_retail_basic": {
                          "type": "number"
                        },
                        "has_wsd_basic": {
                          "type": "number"
                        },
                        "has_union_basic": {
                          "type": "number"
                        },
                        "has_fed_basic": {
                          "type": "number"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "discount": {
                          "type": "number"
                        },
                        "discountUnit": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiBoothController.updateById"
      },
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "findById",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Booth model instance with pricing",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiBoothController.findById"
      }
    },
    "/appi/booths": {
      "post": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "create",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Booth model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Booth"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "unionId": {
                    "type": "number"
                  },
                  "boothTypeId": {
                    "type": "number"
                  },
                  "name": {
                    "type": "string"
                  },
                  "lat": {
                    "type": "number"
                  },
                  "lng": {
                    "type": "number"
                  },
                  "address": {
                    "type": "string"
                  },
                  "landmark": {
                    "type": "string"
                  },
                  "agentId": {
                    "type": "number"
                  },
                  "isCreditPayAllow": {
                    "type": "boolean"
                  },
                  "isWalletPayAllow": {
                    "type": "boolean"
                  },
                  "isOnlinePayAllow": {
                    "type": "boolean"
                  },
                  "oldRouteIdMorning": {
                    "type": "number"
                  },
                  "oldRouteIdEvening": {
                    "type": "number"
                  },
                  "zoneId": {
                    "type": "number"
                  },
                  "startDate": {
                    "type": "string"
                  },
                  "endDate": {
                    "type": "string"
                  },
                  "boothType": {
                    "type": "number"
                  },
                  "masterBoothId": {
                    "type": "number"
                  },
                  "depositAmount": {
                    "type": "number"
                  },
                  "depositDate": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiBoothController.create"
      },
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "find",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Array of Booth model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BoothWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "agentId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "isCredit",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "isMasterBooth",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "AppiBoothController.find"
      }
    },
    "/appi/booths-all": {
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "findAll",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Array of Booth model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BoothWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiBoothController.findAll"
      }
    },
    "/appi/boothwise-monthly-sales-summary": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateBoothwiseMonthlySalesSummary",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateBoothwiseMonthlySalesSummary"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateBoothwiseMonthlySalesSummary"
      }
    },
    "/appi/by-products-gst-bills": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "byProductsGstBills",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.byProductsGstBills"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.byProductsGstBills"
      }
    },
    "/appi/cash-collection-statement": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "cashCollectionStatement",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.cashCollectionStatement"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.cashCollectionStatement"
      }
    },
    "/appi/categories/{categoryId}/products": {
      "get": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "getProductsByCategory",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of Products by Category",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "categoryId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiProductController.getProductsByCategory"
      }
    },
    "/appi/categories": {
      "get": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "getCategories",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of Product Categories",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "categoryDetails": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "name": {
                            "type": "string"
                          },
                          "category_code": {
                            "type": "string"
                          }
                        }
                      },
                      "gstDetails": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "cat_id": {
                              "type": "number"
                            },
                            "cat_code": {
                              "type": "string"
                            },
                            "cat_name": {
                              "type": "string"
                            },
                            "gst": {
                              "type": "number"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiProductController.getCategories"
      }
    },
    "/appi/claims/{id}/status": {
      "put": {
        "x-controller-name": "OrderController",
        "x-operation-name": "updateClaimStatus",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update claim status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3,
                      4
                    ]
                  },
                  "remarks": {
                    "type": "string"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "productId",
                        "approvedQty"
                      ],
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "approvedQty": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrderController.updateClaimStatus"
      }
    },
    "/appi/claims/{id}": {
      "put": {
        "x-controller-name": "OrderController",
        "x-operation-name": "updateClaim",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update claim with additional images (only for pending claims)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "OrderController.updateClaim"
      },
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getClaimDetails",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get claim details with items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "OrderController.getClaimDetails"
      }
    },
    "/appi/claims": {
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getClaims",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all claims for agent"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "OrderController.getClaims"
      }
    },
    "/appi/commission-reports-c1": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "commissionReportsC1",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.commissionReportsC1"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.commissionReportsC1"
      }
    },
    "/appi/commission-reports-c1b": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "commissionReportsC1B",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.commissionReportsC1B"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.commissionReportsC1B"
      }
    },
    "/appi/commission-reports-c2": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "commissionReportsC2",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.commissionReportsC2"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.commissionReportsC2"
      }
    },
    "/appi/commission-reports-c2b": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "commissionReportsC2B",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.commissionReportsC2B"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.commissionReportsC2B"
      }
    },
    "/appi/commission-reports-c3": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "commissionReportsC3",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.commissionReportsC3"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.commissionReportsC3"
      }
    },
    "/appi/commission-reports-c4": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "commissionReportsC4",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.commissionReportsC4"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.commissionReportsC4"
      }
    },
    "/appi/commission-reports-c5": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "commissionReportsC5",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.commissionReportsC5"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.commissionReportsC5"
      }
    },
    "/appi/config": {
      "get": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "getAppConfig",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get app configuration for agent portal"
                }
              }
            }
          }
        },
        "operationId": "AppiAgentController.getAppConfig"
      }
    },
    "/appi/credit-settlement": {
      "post": {
        "x-controller-name": "OrderController",
        "x-operation-name": "creditSettlement",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Credit settlement for agent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "boothId",
                  "amount",
                  "transactionMode"
                ],
                "properties": {
                  "boothId": {
                    "type": "number"
                  },
                  "amount": {
                    "type": "number"
                  },
                  "transactionMode": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3,
                      4,
                      5
                    ]
                  },
                  "bankName": {
                    "type": "string"
                  },
                  "branchName": {
                    "type": "string"
                  },
                  "accountNumber": {
                    "type": "string"
                  },
                  "chequeNumber": {
                    "type": "string"
                  },
                  "chequeDate": {
                    "type": "string"
                  },
                  "utrNumber": {
                    "type": "string"
                  },
                  "transactionReference": {
                    "type": "string"
                  },
                  "transactionDate": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "OrderController.creditSettlement"
      }
    },
    "/appi/curd-and-butter-milk-gst-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "curdAndButterMilkGstReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.curdAndButterMilkGstReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.curdAndButterMilkGstReport"
      }
    },
    "/appi/customer-orders/{orderId}/status": {
      "put": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "updateCustomerOrderStatus",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update customer order status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3,
                      4
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiCustomerOrderController.updateCustomerOrderStatus"
      }
    },
    "/appi/customer-orders/{orderId}": {
      "get": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "getOrderDetails",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get order details with items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "customerId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiCustomerOrderController.getOrderDetails"
      }
    },
    "/appi/customer-orders": {
      "get": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "getCustomerOrders",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer orders by customerId"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiCustomerOrderController.getCustomerOrders"
      }
    },
    "/appi/customer-products": {
      "get": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "getProductsByOrderType",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get products based on order type"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiCustomerOrderController.getProductsByOrderType"
      }
    },
    "/appi/customer-support/summary": {
      "get": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "getSummary",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer support summary with subscription count and amount"
                }
              }
            }
          }
        },
        "operationId": "AppiSupportOrderController.getSummary"
      }
    },
    "/appi/customer-wallet/transactions/export": {
      "get": {
        "x-controller-name": "AppiWalletController",
        "x-operation-name": "exportCustomerWalletTransactionsExcel",
        "tags": [
          "AppiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Download customer wallet transactions Excel"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiWalletController.exportCustomerWalletTransactionsExcel"
      }
    },
    "/appi/customer-wallet/transactions": {
      "get": {
        "x-controller-name": "AppiWalletController",
        "x-operation-name": "getAllCustomerWalletTransactions",
        "tags": [
          "AppiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Get all customer wallet transactions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletTransaction"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiWalletController.getAllCustomerWalletTransactions"
      }
    },
    "/appi/customers/payment-links/{paymentLinkId}/resend": {
      "post": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "resendCustomerPaymentLink",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Resend customer payment link notification"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "paymentLinkId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "medium"
                ],
                "properties": {
                  "medium": {
                    "type": "string",
                    "enum": [
                      "sms",
                      "email"
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiCustomerOrderController.resendCustomerPaymentLink"
      }
    },
    "/appi/customers/razorpay/webhook": {
      "post": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "handleCustomerRazorpayWebhook",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiCustomerOrderController.handleCustomerRazorpayWebhook"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Razorpay Webhook Payload for Customer Orders",
          "required": true
        },
        "operationId": "AppiCustomerOrderController.handleCustomerRazorpayWebhook"
      }
    },
    "/appi/customers/resend-otp": {
      "post": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "resendOtp",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Resend OTP to customer mobile"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId"
                ],
                "properties": {
                  "customerId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiCustomerController.resendOtp"
      }
    },
    "/appi/customers/send-otp": {
      "post": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "sendOtp",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Send OTP to customer mobile"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "mobileNumber"
                ],
                "properties": {
                  "mobileNumber": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiCustomerController.sendOtp"
      }
    },
    "/appi/customers/verify-otp": {
      "post": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "verifyOtp",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify customer OTP"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId",
                  "otp"
                ],
                "properties": {
                  "customerId": {
                    "type": "number"
                  },
                  "otp": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiCustomerController.verifyOtp"
      }
    },
    "/appi/customers/wallet": {
      "get": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "getCustomersWalletBalance",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "Get customers wallet balances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "customer_id": {
                        "type": "number"
                      },
                      "customer_name": {
                        "type": "string"
                      },
                      "customer_wallet_transactions": {
                        "type": "string"
                      },
                      "last_transaction_at": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiCustomerController.getCustomersWalletBalance"
      }
    },
    "/appi/customers/{customerId}/addresses/{addressId}/set-primary": {
      "put": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "setPrimaryAddress",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Set address as primary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "addressId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiCustomerController.setPrimaryAddress"
      }
    },
    "/appi/customers/{customerId}/addresses/{addressId}": {
      "put": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "updateAddress",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update customer address"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "addressId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "lat": {
                    "type": "number"
                  },
                  "lng": {
                    "type": "number"
                  },
                  "address": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "AppiCustomerController.updateAddress"
      },
      "delete": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "deleteAddress",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Delete customer address"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "addressId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiCustomerController.deleteAddress"
      }
    },
    "/appi/customers/{customerId}/addresses": {
      "post": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "createAddress",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create customer address"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "address"
                ],
                "properties": {
                  "lat": {
                    "type": "number"
                  },
                  "lng": {
                    "type": "number"
                  },
                  "address": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiCustomerController.createAddress"
      },
      "get": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "getAddresses",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer addresses (primary first)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiCustomerController.getAddresses"
      }
    },
    "/appi/customers/{customerId}/create-order": {
      "post": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "createOrder",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create order estimate or place order"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken",
                  "addressId",
                  "orderMonth"
                ],
                "properties": {
                  "addressId": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "deliveryType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "orderMonth": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "paymentType": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      4,
                      5
                    ]
                  },
                  "milkProducts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "morningQty": {
                          "type": "number"
                        },
                        "eveningQty": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "otherProducts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "quantity": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "isEstimate": {
                    "type": "boolean",
                    "default": true
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiCustomerOrderController.createOrder"
      }
    },
    "/appi/customers/{id}/orders/{orderId}/status": {
      "put": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "updateOrderStatus",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update order status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3,
                      4
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "AppiCustomerOrderController.updateOrderStatus"
      }
    },
    "/appi/customers/{customerId}/orders/{orderId}": {
      "put": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "updateCustomerOrder",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update customer order"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "customerId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "addressId",
                  "orderMonth"
                ],
                "properties": {
                  "addressId": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "deliveryType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "orderMonth": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "milkProducts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "morningQty": {
                          "type": "number"
                        },
                        "eveningQty": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "otherProducts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "quantity": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "isEstimate": {
                    "type": "boolean",
                    "default": true
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "AppiCustomerOrderController.updateCustomerOrder"
      }
    },
    "/appi/customers/{id}/status": {
      "put": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "updateStatus",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Customer status update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "number"
                  }
                },
                "required": [
                  "status"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiCustomerController.updateStatus"
      }
    },
    "/appi/customers/{id}/subscriptions/{subId}/status": {
      "put": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "updateSubscriptionStatus",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update order status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3,
                      4
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "AppiCustomerOrderController.updateSubscriptionStatus"
      }
    },
    "/appi/customers/{id}/subscriptions/{subId}": {
      "get": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "getSubscriptionDetails",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get subscription details by ID"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiCustomerOrderController.getSubscriptionDetails"
      }
    },
    "/appi/customers/{id}/wallet/balance": {
      "get": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "getWalletBalance",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get wallet balance"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiCustomerOrderController.getWalletBalance"
      }
    },
    "/appi/customers/{id}/wallet/credit": {
      "post": {
        "x-controller-name": "AppiWalletController",
        "x-operation-name": "creditCustomerWallet",
        "tags": [
          "AppiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Credit customer wallet",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    },
                    "message": {
                      "type": "string"
                    },
                    "transactionId": {
                      "type": "number"
                    },
                    "newBalance": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "amount"
                ],
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "description": {
                    "type": "string"
                  },
                  "referenceType": {
                    "type": "number"
                  },
                  "referenceId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiWalletController.creditCustomerWallet"
      }
    },
    "/appi/customers/{id}/wallet/transactions": {
      "get": {
        "x-controller-name": "AppiWalletController",
        "x-operation-name": "getCustomerTransactions",
        "tags": [
          "AppiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Get customer wallet transaction history",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletTransaction"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiWalletController.getCustomerTransactions"
      }
    },
    "/appi/customers/{id}": {
      "put": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "updateById",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "Customer PUT success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customer"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CustomerExcluding_id_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiCustomerController.updateById"
      },
      "get": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "findById",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "Customer model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomerWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiCustomerController.findById"
      },
      "delete": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "deleteById",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Customer DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiCustomerController.deleteById"
      }
    },
    "/appi/customers": {
      "get": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "find",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "Array of Customer model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomerWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiCustomerController.find"
      }
    },
    "/appi/daily-credit-purchases": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateDailyCreditPurchases",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateDailyCreditPurchases"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateDailyCreditPurchases"
      }
    },
    "/appi/daily-route-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateDailyRouteReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateDailyRouteReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateDailyRouteReport"
      }
    },
    "/appi/daily-sale-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateDailySaleReportPDF",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateDailySaleReportPDF"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateDailySaleReportPDF"
      }
    },
    "/appi/daily-wallet-purchases": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateDailyWalletPurchases",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateDailyWalletPurchases"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateDailyWalletPurchases"
      }
    },
    "/appi/dashboard/booth-type-summary": {
      "get": {
        "x-controller-name": "AppiDashboardController",
        "x-operation-name": "getBoothTypeSummary",
        "tags": [
          "AppiDashboardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get booth type wise summary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiDashboardController.getBoothTypeSummary"
      }
    },
    "/appi/dashboard/order-sales-breakup": {
      "get": {
        "x-controller-name": "AppiDashboardController",
        "x-operation-name": "getOrderSalesBreakup",
        "tags": [
          "AppiDashboardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get order sales breakup by payment method and booth type"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiDashboardController.getOrderSalesBreakup"
      }
    },
    "/appi/dashboard/product-summary": {
      "get": {
        "x-controller-name": "AppiDashboardController",
        "x-operation-name": "getProductSummary",
        "tags": [
          "AppiDashboardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get product wise summary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiDashboardController.getProductSummary"
      }
    },
    "/appi/dashboard/route-summary": {
      "get": {
        "x-controller-name": "AppiDashboardController",
        "x-operation-name": "getRouteSummary",
        "tags": [
          "AppiDashboardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get route wise summary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiDashboardController.getRouteSummary"
      }
    },
    "/appi/dashboard/route-wise-summary": {
      "get": {
        "x-controller-name": "AppiDashboardController",
        "x-operation-name": "getRouteWiseSummary",
        "tags": [
          "AppiDashboardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get route wise summary with shift details"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "zoneId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiDashboardController.getRouteWiseSummary"
      }
    },
    "/appi/dashboard/shift-summary": {
      "get": {
        "x-controller-name": "AppiDashboardController",
        "x-operation-name": "getShiftSummary",
        "tags": [
          "AppiDashboardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get shift wise summary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiDashboardController.getShiftSummary"
      }
    },
    "/appi/dashboard/zone-wise-summary": {
      "get": {
        "x-controller-name": "AppiDashboardController",
        "x-operation-name": "getZoneWiseSummary",
        "tags": [
          "AppiDashboardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get zone wise product sales summary with pricing variant breakdowns"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiDashboardController.getZoneWiseSummary"
      }
    },
    "/appi/fleet-contracts/{id}": {
      "put": {
        "x-controller-name": "AppiFleetContractController",
        "x-operation-name": "replaceById",
        "tags": [
          "AppiFleetContractController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FleetContracts PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FleetContractsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiFleetContractController.replaceById"
      },
      "get": {
        "x-controller-name": "AppiFleetContractController",
        "x-operation-name": "findById",
        "tags": [
          "AppiFleetContractController"
        ],
        "responses": {
          "200": {
            "description": "FleetContracts model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FleetContractsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiFleetContractController.findById"
      }
    },
    "/appi/fleet-contracts": {
      "post": {
        "x-controller-name": "AppiFleetContractController",
        "x-operation-name": "create",
        "tags": [
          "AppiFleetContractController"
        ],
        "responses": {
          "200": {
            "description": "FleetContracts model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FleetContracts"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFleetContracts"
              }
            }
          }
        },
        "operationId": "AppiFleetContractController.create"
      },
      "get": {
        "x-controller-name": "AppiFleetContractController",
        "x-operation-name": "find",
        "tags": [
          "AppiFleetContractController"
        ],
        "responses": {
          "200": {
            "description": "Array of FleetContracts model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FleetContractsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiFleetContractController.find"
      }
    },
    "/appi/institution-bill-abstract": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "institutionBillAbstract",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.institutionBillAbstract"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.institutionBillAbstract"
      }
    },
    "/appi/institution-bill-abstract-breakup-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "institutionBillAbstractBreakup",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.institutionBillAbstractBreakup"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.institutionBillAbstractBreakup"
      }
    },
    "/appi/institution-bill-abstract-options": {
      "get": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "getInstitutionBillAbstractOptions",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get routes data for reports dashboard"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiReportsController.getInstitutionBillAbstractOptions"
      }
    },
    "/appi/institution-bill-abstract2": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "institutionBillAbstract2",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.institutionBillAbstract2"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.institutionBillAbstract2"
      }
    },
    "/appi/mapped-agents": {
      "get": {
        "x-controller-name": "AppiAgentController",
        "x-operation-name": "findMapppedAgents",
        "tags": [
          "AppiAgentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Agent model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AgentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiAgentController.findMapppedAgents"
      }
    },
    "/appi/master-booth-sub-booths": {
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "getAllMasterSubAssignments",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all master-sub booth assignments"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiBoothController.getAllMasterSubAssignments"
      }
    },
    "/appi/menu": {
      "get": {
        "x-controller-name": "AppiAccountController",
        "x-operation-name": "findPermissionsById",
        "tags": [
          "AppiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "pages instance"
                }
              }
            }
          }
        },
        "operationId": "AppiAccountController.findPermissionsById"
      }
    },
    "/appi/milk-acknowledgment": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateMilkAcknowledgementPDF",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateMilkAcknowledgementPDF"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateMilkAcknowledgementPDF"
      }
    },
    "/appi/milk-union-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "milkUnionReportSummary",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.milkUnionReportSummary"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.milkUnionReportSummary"
      }
    },
    "/appi/monthly-dairy-summary": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateMonthlyDairySummary",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateMonthlyDairySummary"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateMonthlyDairySummary"
      }
    },
    "/appi/mr1-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateMr1Report",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateMr1Report"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateMr1Report"
      }
    },
    "/appi/nearby-booths": {
      "get": {
        "x-controller-name": "AppiCustomerController",
        "x-operation-name": "getNearbyBooths",
        "tags": [
          "AppiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get nearby booths based on location"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "lng",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "radius",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiCustomerController.getNearbyBooths"
      }
    },
    "/appi/old-route-in-out-time/{id}": {
      "put": {
        "x-controller-name": "AppiRouteController",
        "x-operation-name": "updateOldRouteInOutTime",
        "tags": [
          "AppiRouteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update old route in out time record"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "routeName": {
                    "type": "string"
                  },
                  "shift": {
                    "type": "number"
                  },
                  "inTimeStr": {
                    "type": "string"
                  },
                  "outTimeStr": {
                    "type": "string"
                  },
                  "inTimeStart": {
                    "type": "string"
                  },
                  "inTimeEnd": {
                    "type": "string"
                  },
                  "outTimeStart": {
                    "type": "string"
                  },
                  "outTimeEnd": {
                    "type": "string"
                  },
                  "startLat": {
                    "type": "number"
                  },
                  "startLng": {
                    "type": "number"
                  },
                  "status": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiRouteController.updateOldRouteInOutTime"
      }
    },
    "/appi/old-route-in-out-time": {
      "post": {
        "x-controller-name": "AppiRouteController",
        "x-operation-name": "createOldRouteInOutTime",
        "tags": [
          "AppiRouteController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create new old route in out time record"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "routeName",
                  "shift"
                ],
                "properties": {
                  "routeName": {
                    "type": "string"
                  },
                  "shift": {
                    "type": "number"
                  },
                  "inTimeStr": {
                    "type": "string"
                  },
                  "outTimeStr": {
                    "type": "string"
                  },
                  "inTimeStart": {
                    "type": "string"
                  },
                  "inTimeEnd": {
                    "type": "string"
                  },
                  "outTimeStart": {
                    "type": "string"
                  },
                  "outTimeEnd": {
                    "type": "string"
                  },
                  "startLat": {
                    "type": "number"
                  },
                  "startLng": {
                    "type": "number"
                  },
                  "status": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiRouteController.createOldRouteInOutTime"
      },
      "get": {
        "x-controller-name": "AppiRouteController",
        "x-operation-name": "getOldRouteInOutTime",
        "tags": [
          "AppiRouteController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all old route in out time records"
                }
              }
            }
          }
        },
        "operationId": "AppiRouteController.getOldRouteInOutTime"
      }
    },
    "/appi/order/{id}/razorpay/payments": {
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "fetchRazorpayPayments",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of OrderController.fetchRazorpayPayments"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "OrderController.fetchRazorpayPayments"
      }
    },
    "/appi/order-request/{orderId}": {
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getOrderRequestDetails",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get order request details with items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "OrderController.getOrderRequestDetails"
      }
    },
    "/appi/order-request": {
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getOrderRequest",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all order requests for agents"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "agentId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "slotId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "OrderController.getOrderRequest"
      }
    },
    "/appi/order-slots/{slotId}": {
      "put": {
        "x-controller-name": "OrderSlotController",
        "x-operation-name": "updateOrderSlot",
        "tags": [
          "OrderSlotController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update order slot"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "slotId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "cutoffTime": {
                    "type": "string",
                    "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$"
                  },
                  "status": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrderSlotController.updateOrderSlot"
      }
    },
    "/appi/order-slots": {
      "post": {
        "x-controller-name": "OrderSlotController",
        "x-operation-name": "createOrderSlot",
        "tags": [
          "OrderSlotController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create new order slot"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "unionId",
                  "slotDate",
                  "shift"
                ],
                "properties": {
                  "slotDate": {
                    "type": "string",
                    "format": "date"
                  },
                  "shift": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "cutoffTime": {
                    "type": "string",
                    "pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$"
                  },
                  "status": {
                    "type": "number",
                    "enum": [
                      0,
                      1
                    ],
                    "default": 1
                  }
                }
              }
            }
          }
        },
        "operationId": "OrderSlotController.createOrderSlot"
      },
      "get": {
        "x-controller-name": "OrderSlotController",
        "x-operation-name": "getOrderSlots",
        "tags": [
          "OrderSlotController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get available order slots"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "OrderSlotController.getOrderSlots"
      }
    },
    "/appi/orders/PDFGEN": {
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "createPDFS",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all orders"
                }
              }
            }
          }
        },
        "operationId": "OrderController.createPDFS"
      }
    },
    "/appi/orders/{orderId}/status": {
      "put": {
        "x-controller-name": "OrderController",
        "x-operation-name": "updateOrderStatus",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update order status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3,
                      4
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrderController.updateOrderStatus"
      }
    },
    "/appi/orders/{orderId}": {
      "put": {
        "x-controller-name": "OrderController",
        "x-operation-name": "updateOrder",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update order"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "agentId",
                  "orderType",
                  "shift",
                  "items"
                ],
                "properties": {
                  "agentId": {
                    "type": "number"
                  },
                  "orderType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "shift": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "isEstimate": {
                    "type": "boolean"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "productId",
                        "quantity",
                        "unitType"
                      ],
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "quantity": {
                          "type": "number"
                        },
                        "unitType": {
                          "type": "number",
                          "enum": [
                            1,
                            2
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrderController.updateOrder"
      },
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getOrderDetails",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get order details with items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "OrderController.getOrderDetails"
      }
    },
    "/appi/orders": {
      "post": {
        "x-controller-name": "OrderController",
        "x-operation-name": "createOrder",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create a Payment Link for order"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "agentId",
                  "orderType",
                  "shift",
                  "items"
                ],
                "properties": {
                  "agentId": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "orderType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "shift": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "slotId": {
                    "type": "number"
                  },
                  "isEstimate": {
                    "type": "boolean"
                  },
                  "paymentType": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3
                    ]
                  },
                  "isOrderCancelled": {
                    "type": "boolean"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "productId",
                        "quantity",
                        "unitType"
                      ],
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "quantity": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "OrderController.createOrder"
      },
      "get": {
        "x-controller-name": "OrderController",
        "x-operation-name": "getOrders",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all orders"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "agentId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "slotId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "OrderController.getOrders"
      }
    },
    "/appi/payment-links/{paymentLinkId}/resend": {
      "post": {
        "x-controller-name": "OrderController",
        "x-operation-name": "resendPaymentLink",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Resend payment link notification"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "paymentLinkId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "medium"
                ],
                "properties": {
                  "medium": {
                    "type": "string",
                    "enum": [
                      "sms",
                      "email"
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrderController.resendPaymentLink"
      }
    },
    "/appi/products/units": {
      "get": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "getUnits",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of UOM Units",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "unit": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiProductController.getUnits"
      }
    },
    "/appi/products/{id}/image/{image_id}/thumbnail": {
      "post": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "thumbnailImages",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "thumbnail Created success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "image_id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiProductController.thumbnailImages"
      }
    },
    "/appi/products/{id}/image": {
      "post": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "uploadProfilePhoto",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Upload agent profile photo"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "AppiProductController.uploadProfilePhoto"
      }
    },
    "/appi/products/{id}/status": {
      "put": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "updateStatus",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product status update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "number"
                  }
                },
                "required": [
                  "status"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiProductController.updateStatus"
      }
    },
    "/appi/products/{id}": {
      "put": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "updateById",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "categoryId": {
                    "type": "number"
                  },
                  "measure": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string"
                  },
                  "mrpBasic": {
                    "type": "number"
                  },
                  "retailBasic": {
                    "type": "number"
                  },
                  "wsdBasic": {
                    "type": "number"
                  },
                  "unionBasic": {
                    "type": "number"
                  },
                  "fedBasic": {
                    "type": "number"
                  },
                  "cardBasic": {
                    "type": "number"
                  },
                  "interUnionBasic": {
                    "type": "number"
                  },
                  "stockiestBasic": {
                    "type": "number"
                  },
                  "trayCapacity": {
                    "type": "number"
                  },
                  "status": {
                    "type": "number"
                  },
                  "isCardEligible": {
                    "type": "boolean"
                  },
                  "pricingDetails": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "boothTypeId": {
                          "type": "number"
                        },
                        "pricingType": {
                          "type": "number"
                        },
                        "isEnable": {
                          "type": "number"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "discount": {
                          "type": "number"
                        },
                        "discountType": {
                          "type": "number"
                        },
                        "leakageAllowance": {
                          "type": "number"
                        },
                        "leakageAllowanceType": {
                          "type": "number"
                        },
                        "ItemUnitType": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiProductController.updateById"
      },
      "get": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "findById",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "200": {
            "description": "Product model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiProductController.findById"
      }
    },
    "/appi/products": {
      "post": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "create",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "200": {
            "description": "Product model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Product"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "categoryId": {
                    "type": "number"
                  },
                  "measure": {
                    "type": "number"
                  },
                  "unit": {
                    "type": "string"
                  },
                  "mrpBasic": {
                    "type": "number"
                  },
                  "retailBasic": {
                    "type": "number"
                  },
                  "wsdBasic": {
                    "type": "number"
                  },
                  "unionBasic": {
                    "type": "number"
                  },
                  "fedBasic": {
                    "type": "number"
                  },
                  "cardBasic": {
                    "type": "number"
                  },
                  "interUnionBasic": {
                    "type": "number"
                  },
                  "stockiestBasic": {
                    "type": "number"
                  },
                  "trayCapacity": {
                    "type": "number"
                  },
                  "status": {
                    "type": "number"
                  },
                  "isCardEligible": {
                    "type": "boolean"
                  },
                  "pricingDetails": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "boothTypeId": {
                          "type": "number"
                        },
                        "pricingType": {
                          "type": "number"
                        },
                        "isEnable": {
                          "type": "number"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "discount": {
                          "type": "number"
                        },
                        "discountType": {
                          "type": "number"
                        },
                        "leakageAllowance": {
                          "type": "number"
                        },
                        "itemUnitType": {
                          "type": "number"
                        },
                        "leakageAllowanceType": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiProductController.create"
      },
      "get": {
        "x-controller-name": "AppiProductController",
        "x-operation-name": "find",
        "tags": [
          "AppiProductController"
        ],
        "responses": {
          "200": {
            "description": "Array of Product model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "agentId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiProductController.find"
      }
    },
    "/appi/razorpay/webhook": {
      "post": {
        "x-controller-name": "OrderController",
        "x-operation-name": "handleRazorpayWebhook",
        "tags": [
          "OrderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of OrderController.handleRazorpayWebhook"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "Razorpay Webhook Payload",
          "required": true
        },
        "operationId": "OrderController.handleRazorpayWebhook"
      }
    },
    "/appi/reports/customers-card-milk": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateCustomerCardMilkReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateCustomerCardMilkReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateCustomerCardMilkReport"
      },
      "get": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "getCardMilkReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.getCardMilkReport"
          }
        },
        "parameters": [
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiReportsController.getCardMilkReport"
      }
    },
    "/appi/reports/free-milk": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateFreeMilkReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateFreeMilkReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateFreeMilkReport"
      },
      "get": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "getFreeMilkReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.getFreeMilkReport"
          }
        },
        "parameters": [
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiReportsController.getFreeMilkReport"
      }
    },
    "/appi/reports/route-analysis/detailed": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateRouteAnalysisDetailed",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateRouteAnalysisDetailed"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateRouteAnalysisDetailed"
      }
    },
    "/appi/reports/route-analysis/summary": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateRouteAnalysisSummary",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateRouteAnalysisSummary"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateRouteAnalysisSummary"
      }
    },
    "/appi/reports/routes-summary": {
      "get": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "getRoutesDashboard",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get routes data for reports dashboard"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiReportsController.getRoutesDashboard"
      }
    },
    "/appi/reports": {
      "get": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "getReportData",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.getReportData"
          }
        },
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zoneId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "transactionType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiReportsController.getReportData"
      }
    },
    "/appi/roles/{id}/permissions": {
      "get": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "findById",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "200": {
            "description": "User Roles model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AappiRolesController.findById"
      }
    },
    "/appi/roles/{id}": {
      "put": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "replaceById",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User Roles PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AappiRolesController.replaceById"
      },
      "delete": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "deleteById",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserRoles DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AappiRolesController.deleteById"
      }
    },
    "/appi/roles": {
      "post": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "create",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "200": {
            "description": "User Role model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Permission"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AappiRolesController.create"
      },
      "get": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "find",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "200": {
            "description": "Array of roles model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PermissionWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AappiRolesController.find"
      }
    },
    "/appi/route-wise-sales-abstract-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateRouteWiseSalesAbstractReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateRouteWiseSalesAbstractReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateRouteWiseSalesAbstractReport"
      }
    },
    "/appi/routes/{id}/booths": {
      "post": {
        "x-controller-name": "AppiRouteController",
        "x-operation-name": "updateBoothRouteMapping",
        "tags": [
          "AppiRouteController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update booths old route ID (morning/evening)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "boothIds"
                ],
                "properties": {
                  "boothIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "AppiRouteController.updateBoothRouteMapping"
      },
      "get": {
        "x-controller-name": "AppiRouteController",
        "x-operation-name": "getBoothByRouteId",
        "tags": [
          "AppiRouteController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get Booths by Route_id"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiRouteController.getBoothByRouteId"
      }
    },
    "/appi/routes/{id}/details": {
      "get": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "getAllData",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.getAllData"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiReportsController.getAllData"
      }
    },
    "/appi/routes/{id}/reports": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "printRouteData",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.printRouteData"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiReportsController.printRouteData"
      }
    },
    "/appi/routes": {
      "get": {
        "x-controller-name": "AppiRouteController",
        "x-operation-name": "getRoutes",
        "tags": [
          "AppiRouteController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all routes"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiRouteController.getRoutes"
      }
    },
    "/appi/routewise-agent-sale": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateRoutewiseAgentSale",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateRoutewiseAgentSale"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateRoutewiseAgentSale"
      }
    },
    "/appi/sales-breakup-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateSalesBreakupReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateSalesBreakupReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateSalesBreakupReport"
      }
    },
    "/appi/societies/blocks": {
      "get": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "getSocietyBlock",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Society Block model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocietyBlock"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiSocietiesController.getSocietyBlock"
      }
    },
    "/appi/societies/milk-supplies/{id}": {
      "get": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "getMilkSupplyDetails",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get milk supply details"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiSocietiesController.getMilkSupplyDetails"
      }
    },
    "/appi/societies/milk-supplies": {
      "get": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "getMilkSupplies",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get milk supplies list"
                }
              }
            }
          }
        },
        "operationId": "AppiSocietiesController.getMilkSupplies"
      }
    },
    "/appi/societies/routes": {
      "get": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "getSocietyRoutes",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Society Routes model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocietyRoutes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiSocietiesController.getSocietyRoutes"
      }
    },
    "/appi/societies/taluks": {
      "get": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "getSocietyTaluk",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Society Taluk model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocietyTaluk"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiSocietiesController.getSocietyTaluk"
      }
    },
    "/appi/societies/teams": {
      "get": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "getSocietyTeams",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Society Block model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocietyTeam"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiSocietiesController.getSocietyTeams"
      }
    },
    "/appi/societies/{id}": {
      "put": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "updateById",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Society PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SocietyPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiSocietiesController.updateById"
      },
      "get": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "findById",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "Society model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SocietyWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Society.Filter"
                }
              }
            }
          }
        ],
        "operationId": "AppiSocietiesController.findById"
      }
    },
    "/appi/societies": {
      "post": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "create",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "Society model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Society"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSociety"
              }
            }
          }
        },
        "operationId": "AppiSocietiesController.create"
      },
      "get": {
        "x-controller-name": "AppiSocietiesController",
        "x-operation-name": "find",
        "tags": [
          "AppiSocietiesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Society model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocietyWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiSocietiesController.find"
      }
    },
    "/appi/subscriptions": {
      "get": {
        "x-controller-name": "AppiCustomerOrderController",
        "x-operation-name": "getSubscriptions",
        "tags": [
          "AppiCustomerOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer subscription orders"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiCustomerOrderController.getSubscriptions"
      }
    },
    "/appi/support/customer-orders/{orderId}": {
      "get": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "getOrderDetails",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get order details with items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "customerId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiSupportOrderController.getOrderDetails"
      }
    },
    "/appi/support/customer-products": {
      "get": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "getProductsByOrderType",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get products based on order type"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiSupportOrderController.getProductsByOrderType"
      }
    },
    "/appi/support/customers/{id}/create-order": {
      "post": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "createOrder",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create order estimate or place order"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken",
                  "addressId",
                  "orderMonth"
                ],
                "properties": {
                  "customerName": {
                    "type": "string"
                  },
                  "customerMobile": {
                    "type": "string"
                  },
                  "addressId": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "deliveryType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "orderMonth": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "paymentType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "milkProducts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "morningQty": {
                          "type": "number"
                        },
                        "eveningQty": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "otherProducts": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "quantity": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "isEstimate": {
                    "type": "boolean",
                    "default": true
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiSupportOrderController.createOrder"
      }
    },
    "/appi/support/customers/{id}/subscriptions/{subId}/status": {
      "put": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "updateSubscriptionStatus",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update order status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3,
                      4
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "AppiSupportOrderController.updateSubscriptionStatus"
      }
    },
    "/appi/support/customers/{id}/wallet/balance": {
      "get": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "getWalletBalance",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get wallet balance"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiSupportOrderController.getWalletBalance"
      }
    },
    "/appi/support/product-order/{orderId}": {
      "get": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "getAgentOrderDetails",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get order details with items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiSupportOrderController.getAgentOrderDetails"
      }
    },
    "/appi/support/product-order": {
      "get": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "getOrders",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all orders"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "agentId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AppiSupportOrderController.getOrders"
      }
    },
    "/appi/support/subscriptions/{subId}": {
      "get": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "getSubscriptionDetails",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get subscription details by ID"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppiSupportOrderController.getSubscriptionDetails"
      }
    },
    "/appi/support/subscriptions": {
      "get": {
        "x-controller-name": "AppiSupportOrderController",
        "x-operation-name": "getSubscriptions",
        "tags": [
          "AppiSupportOrderController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer subscription orders"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiSupportOrderController.getSubscriptions"
      }
    },
    "/appi/tray-dispatch-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "getTrayDispatchReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.getTrayDispatchReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.getTrayDispatchReport"
      }
    },
    "/appi/unassign-agents": {
      "get": {
        "x-controller-name": "AppiBoothAssignmentController",
        "x-operation-name": "find",
        "tags": [
          "AppiBoothAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Agent model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {}
                }
              }
            }
          }
        },
        "operationId": "AppiBoothAssignmentController.find"
      }
    },
    "/appi/user/{id}/roles/{role_id}": {
      "delete": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "deleteRoleById",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserRoles DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "role_id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AappiRolesController.deleteRoleById"
      }
    },
    "/appi/user/{id}/roles": {
      "post": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "createUserRole",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "200": {
            "description": "User Role model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRole"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AappiRolesController.createUserRole"
      },
      "put": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "updateById",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User Roles PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AappiRolesController.updateById"
      },
      "get": {
        "x-controller-name": "AappiRolesController",
        "x-operation-name": "findUserRoles",
        "tags": [
          "AappiRolesController"
        ],
        "responses": {
          "200": {
            "description": "Array of UserRoles model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRoleWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AappiRolesController.findUserRoles"
      }
    },
    "/appi/wallet/transactions/export": {
      "get": {
        "x-controller-name": "AppiWalletController",
        "x-operation-name": "exportWalletTransactionsExcel",
        "tags": [
          "AppiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Download wallet transactions Excel"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiWalletController.exportWalletTransactionsExcel"
      }
    },
    "/appi/wallet/transactions": {
      "get": {
        "x-controller-name": "AppiWalletController",
        "x-operation-name": "getWalletTransactions",
        "tags": [
          "AppiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Get wallet transaction history",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletTransaction"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AppiWalletController.getWalletTransactions"
      }
    },
    "/appi/wallet-balance-report": {
      "post": {
        "x-controller-name": "AppiReportsController",
        "x-operation-name": "generateWalletBalanceReport",
        "tags": [
          "AppiReportsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AppiReportsController.generateWalletBalanceReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AppiReportsController.generateWalletBalanceReport"
      }
    },
    "/appi/zones/{id}/status": {
      "put": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "updateZoneStatus",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Zone status update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "number"
                  }
                },
                "required": [
                  "status"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiBoothController.updateZoneStatus"
      }
    },
    "/appi/zones/{id}": {
      "put": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "updateZone",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Zone PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "zoneName": {
                    "type": "string"
                  },
                  "unionId": {
                    "type": "number"
                  },
                  "status": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AppiBoothController.updateZone"
      }
    },
    "/appi/zones": {
      "post": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "createZone",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Zone model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Zone"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "zoneName": {
                    "type": "string"
                  },
                  "unionId": {
                    "type": "number"
                  },
                  "status": {
                    "type": "number"
                  }
                },
                "required": [
                  "zoneName",
                  "unionId"
                ]
              }
            }
          }
        },
        "operationId": "AppiBoothController.createZone"
      },
      "get": {
        "x-controller-name": "AppiBoothController",
        "x-operation-name": "getZones",
        "tags": [
          "AppiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Array of Zone model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ZoneWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppiBoothController.getZones"
      }
    },
    "/bapi/account/autologin": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "autologinAccount",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agent Auto Login"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken"
                ],
                "properties": {
                  "accessToken": {
                    "type": "string"
                  },
                  "app_cur_version": {
                    "type": "string"
                  },
                  "d_manufacture": {
                    "type": "string"
                  },
                  "d_model": {
                    "type": "string"
                  },
                  "d_os_api": {
                    "type": "string"
                  },
                  "d_os_version": {
                    "type": "string"
                  },
                  "login_device": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.autologinAccount"
      }
    },
    "/bapi/account/change-password": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "changePassword",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Change password"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "oldPassword",
                  "newPassword"
                ],
                "properties": {
                  "oldPassword": {
                    "type": "string"
                  },
                  "newPassword": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.changePassword"
      }
    },
    "/bapi/account/forgot-password": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "forgotPassword",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Send OTP for password reset"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "boothCode"
                ],
                "properties": {
                  "boothCode": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.forgotPassword"
      }
    },
    "/bapi/account/login": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "loginAccount",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "Agent model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "boothCode"
                ],
                "properties": {
                  "mobileNumber": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "boothCode": {
                    "type": "string"
                  },
                  "app_cur_version": {
                    "type": "string"
                  },
                  "d_manufacture": {
                    "type": "string"
                  },
                  "d_model": {
                    "type": "string"
                  },
                  "d_os_api": {
                    "type": "string"
                  },
                  "d_os_version": {
                    "type": "string"
                  },
                  "login_device": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.loginAccount"
      }
    },
    "/bapi/account/login-with-password": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "loginWithPassword",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Login with booth code and password"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "boothCode",
                  "password"
                ],
                "properties": {
                  "boothCode": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.loginWithPassword"
      }
    },
    "/bapi/account/profile": {
      "get": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "getProfileAccount",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get agent profile"
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.getProfileAccount"
      }
    },
    "/bapi/account/resend-otp": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "resendOtpAccount",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Resend OTP for agent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken"
                ],
                "properties": {
                  "accessToken": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.resendOtpAccount"
      }
    },
    "/bapi/account/reset-password": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "resetPassword",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Reset password"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "resetToken",
                  "newPassword"
                ],
                "properties": {
                  "resetToken": {
                    "type": "string"
                  },
                  "newPassword": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.resetPassword"
      }
    },
    "/bapi/account/update-details": {
      "put": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "updateDetailsAccount",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update agent details"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "reqType": {
                    "type": "number"
                  },
                  "name": {
                    "type": "string"
                  },
                  "aadharNumber": {
                    "type": "string"
                  },
                  "panNumber": {
                    "type": "string"
                  },
                  "accountNumber": {
                    "type": "string"
                  },
                  "accountHolderName": {
                    "type": "string"
                  },
                  "ifscCode": {
                    "type": "string"
                  },
                  "bankBranch": {
                    "type": "string"
                  },
                  "bankName": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.updateDetailsAccount"
      }
    },
    "/bapi/account/upload-profile-photo": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "uploadProfilePhotoAccount",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Upload agent profile photo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true
        },
        "operationId": "BapiAccountNewController.uploadProfilePhotoAccount"
      }
    },
    "/bapi/account/verify-kyc": {
      "put": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "verifyKycAccount",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Manual KYC verification"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "agentId": {
                    "type": "number"
                  },
                  "isAadhaarKycVerified": {
                    "type": "boolean"
                  },
                  "isPanKycVerified": {
                    "type": "boolean"
                  },
                  "hasBankAccountVerified": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.verifyKycAccount"
      }
    },
    "/bapi/account/verify-otp": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "verifyOtpAccount",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify OTP Agent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken",
                  "otp"
                ],
                "properties": {
                  "accessToken": {
                    "type": "string"
                  },
                  "otp": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.verifyOtpAccount"
      }
    },
    "/bapi/account/verify-reset-otp": {
      "post": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "verifyResetOtp",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify OTP for password reset"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "resetToken",
                  "otp"
                ],
                "properties": {
                  "resetToken": {
                    "type": "string"
                  },
                  "otp": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.verifyResetOtp"
      }
    },
    "/bapi/agent/slots": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getAgentSlots",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get available slots for agent"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.getAgentSlots"
      }
    },
    "/bapi/autologin": {
      "post": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "autologin",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agent autologin with access token"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken"
                ],
                "properties": {
                  "accessToken": {
                    "type": "string"
                  },
                  "app_cur_version": {
                    "type": "string"
                  },
                  "d_manufacture": {
                    "type": "string"
                  },
                  "d_model": {
                    "type": "string"
                  },
                  "d_os_api": {
                    "type": "string"
                  },
                  "d_os_version": {
                    "type": "string"
                  },
                  "login_device": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountController.autologin"
      }
    },
    "/bapi/banners": {
      "get": {
        "x-controller-name": "BapiBannerController",
        "x-operation-name": "find",
        "tags": [
          "BapiBannerController"
        ],
        "responses": {
          "200": {
            "description": "Array of Banner model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "bannerUrl": {
                        "type": "string"
                      },
                      "sortOrder": {
                        "type": "number"
                      },
                      "redirectUrl": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "isActive": {
                        "type": "boolean"
                      },
                      "createdAt": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiBannerController.find"
      }
    },
    "/bapi/booths/location": {
      "put": {
        "x-controller-name": "BapiBoothController",
        "x-operation-name": "updateLocation",
        "tags": [
          "BapiBoothController"
        ],
        "responses": {
          "200": {
            "description": "Update booth location details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Update booth latitude and longitude",
        "parameters": [
          {
            "name": "is_expire",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "BapiBoothController.updateLocation"
      }
    },
    "/bapi/cart/clear": {
      "delete": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "clearCart",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Clear cart"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.clearCart"
      }
    },
    "/bapi/cart/count": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getCartEstimate",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get cart estimate"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "shiftType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiOrdersController.getCartEstimate"
      }
    },
    "/bapi/cart": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "updateCart",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Add/Update/Delete cart item"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "productId",
                  "quantity",
                  "slotId"
                ],
                "properties": {
                  "productId": {
                    "type": "number"
                  },
                  "slotId": {
                    "type": "number"
                  },
                  "quantity": {
                    "type": "number"
                  },
                  "shiftType": {
                    "type": "number"
                  },
                  "orderType": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.updateCart"
      },
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getCartItems",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get cart items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "shiftType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiOrdersController.getCartItems"
      }
    },
    "/bapi/categories": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getCategories",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all categories"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.getCategories"
      }
    },
    "/bapi/check-tray-count": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getTrayCount",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cart Check for tray count"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.getTrayCount"
      }
    },
    "/bapi/claims/{id}": {
      "put": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "updateClaim",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update claim with additional images (only for pending claims)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "BapiOrdersController.updateClaim"
      },
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getClaimDetails",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get claim details with items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BapiOrdersController.getClaimDetails"
      }
    },
    "/bapi/claims": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getClaims",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all claims for agent"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiOrdersController.getClaims"
      }
    },
    "/bapi/commission-statement/pdf": {
      "get": {
        "x-controller-name": "BapiCommissionController",
        "x-operation-name": "generateCommissionPDF",
        "tags": [
          "BapiCommissionController"
        ],
        "responses": {
          "200": {
            "description": "Generate commission statement PDF",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BapiCommissionController.generateCommissionPDF"
      }
    },
    "/bapi/commission-statement": {
      "get": {
        "x-controller-name": "BapiCommissionController",
        "x-operation-name": "getCommissionStatement",
        "tags": [
          "BapiCommissionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get date-wise commission statement for a month"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BapiCommissionController.getCommissionStatement"
      }
    },
    "/bapi/config": {
      "get": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "getAppConfig",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get app configuration"
                }
              }
            }
          }
        },
        "operationId": "BapiAccountController.getAppConfig"
      }
    },
    "/bapi/credit-outstanding": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getCreditOutstanding",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get booth credit outstanding amount"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.getCreditOutstanding"
      }
    },
    "/bapi/delivered-order": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getOrderSlots",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get order slots for today with agent orders"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.getOrderSlots"
      }
    },
    "/bapi/earnings": {
      "get": {
        "x-controller-name": "BapiCommissionController",
        "x-operation-name": "getEarnings",
        "tags": [
          "BapiCommissionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get commission and leakage earnings for current month"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BapiCommissionController.getEarnings"
      }
    },
    "/bapi/login": {
      "post": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "login",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agent login with mobile number"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "mobileNumber"
                ],
                "properties": {
                  "mobileNumber": {
                    "type": "string"
                  },
                  "app_cur_version": {
                    "type": "string"
                  },
                  "d_manufacture": {
                    "type": "string"
                  },
                  "d_model": {
                    "type": "string"
                  },
                  "d_os_api": {
                    "type": "string"
                  },
                  "d_os_version": {
                    "type": "string"
                  },
                  "login_device": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountController.login"
      }
    },
    "/bapi/master-orders": {
      "post": {
        "x-controller-name": "MbapiOrdersController",
        "x-operation-name": "createWsdOrder",
        "tags": [
          "MbapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create a Payment Link for order"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "agentId",
                  "orderType",
                  "shift",
                  "items"
                ],
                "properties": {
                  "agentId": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "orderType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "shift": {
                    "type": "number",
                    "enum": [
                      0,
                      1,
                      2
                    ]
                  },
                  "slotId": {
                    "type": "number"
                  },
                  "isEstimate": {
                    "type": "boolean"
                  },
                  "paymentType": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3
                    ]
                  },
                  "isOrderCancelled": {
                    "type": "boolean"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "productId",
                        "quantity",
                        "unitType"
                      ],
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "quantity": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "MbapiOrdersController.createWsdOrder"
      }
    },
    "/bapi/menu": {
      "get": {
        "x-controller-name": "BapiAccountNewController",
        "x-operation-name": "findPermissionsById",
        "tags": [
          "BapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "pages instance"
                }
              }
            }
          }
        },
        "operationId": "BapiAccountNewController.findPermissionsById"
      }
    },
    "/bapi/orders/axis-easypay/initiate": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "initiateEasyPayOrder",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "Initiate Axis EasyPay order payment",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "orderId": {
                      "type": "string"
                    },
                    "referenceId": {
                      "type": "string"
                    },
                    "paymentUrl": {
                      "type": "string"
                    },
                    "encryptedData": {
                      "type": "string"
                    },
                    "encryptedCorp": {
                      "type": "string"
                    },
                    "html": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.initiateEasyPayOrder"
      }
    },
    "/bapi/orders/axis-easypay/response": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "easyPayOrderCallback",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BapiOrdersController.easyPayOrderCallback"
          }
        },
        "parameters": [
          {
            "name": "i",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "j",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BapiOrdersController.easyPayOrderCallback"
      }
    },
    "/bapi/orders/cashfree-payment-failed": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "handleCashfreePaymentFailure",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Handle Cashfree payment failure"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "transactionId",
                  "orderId"
                ],
                "properties": {
                  "transactionId": {
                    "type": "number"
                  },
                  "orderId": {
                    "type": "string"
                  },
                  "failureReason": {
                    "type": "string"
                  },
                  "errorCode": {
                    "type": "string"
                  },
                  "paymentMethod": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.handleCashfreePaymentFailure"
      }
    },
    "/bapi/orders/cashfree-webhook": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "handleCashfreeWebhook",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Handle Cashfree webhook"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "BapiOrdersController.handleCashfreeWebhook"
      }
    },
    "/bapi/orders/create-cashfree-order": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "createCashfreeOrder",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create Cashfree payment order"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "orderType"
                ],
                "properties": {
                  "orderType": {
                    "type": "number"
                  },
                  "morningSlotId": {
                    "type": "number"
                  },
                  "eveningSlotId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.createCashfreeOrder"
      }
    },
    "/bapi/orders/create-razorpay-order": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "createRazorpayOrder",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create order first then initiate payment"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "orderType"
                ],
                "properties": {
                  "orderType": {
                    "type": "number"
                  },
                  "morningSlotId": {
                    "type": "number"
                  },
                  "eveningSlotId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.createRazorpayOrder"
      }
    },
    "/bapi/orders/easypay/check-status": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "checkEasyPayOrderStatus",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Check EasyPay order status by Order ID"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "orderId"
                ],
                "properties": {
                  "orderId": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.checkEasyPayOrderStatus"
      }
    },
    "/bapi/orders/payment-failed": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "handlePaymentFailure",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Handle payment failure"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "transactionId",
                  "failureReason"
                ],
                "properties": {
                  "transactionId": {
                    "type": "number"
                  },
                  "failureReason": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.handlePaymentFailure"
      }
    },
    "/bapi/orders/payment-status": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "paymentStatusPage",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Payment status page"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "amount",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "txn",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BapiOrdersController.paymentStatusPage"
      }
    },
    "/bapi/orders/razorpay/initiate": {
      "post": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "orderInitiate",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Initiate Razorpay order and create payment record"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "type": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiWalletController.orderInitiate"
      }
    },
    "/bapi/orders/verify-cashfree-payment": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "verifyCashfreePayment",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify Cashfree payment and update orders"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "transactionId",
                  "orderId"
                ],
                "properties": {
                  "transactionId": {
                    "type": "number"
                  },
                  "orderId": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.verifyCashfreePayment"
      }
    },
    "/bapi/orders/verify-payment": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "verifyPaymentAndCreateOrders",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify Razorpay payment and update existing orders"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "transactionId",
                  "razorpayPaymentId"
                ],
                "properties": {
                  "transactionId": {
                    "type": "number"
                  },
                  "razorpayPaymentId": {
                    "type": "string"
                  },
                  "razorpaySignature": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.verifyPaymentAndCreateOrders"
      }
    },
    "/bapi/orders/{id}/cancel": {
      "put": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "cancelOrder",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cancel order and process refund"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BapiOrdersController.cancelOrder"
      }
    },
    "/bapi/orders/{id}/claims": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "createClaim",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create damage claim for delivered order"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "BapiOrdersController.createClaim"
      }
    },
    "/bapi/orders/{orderId}": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getOrderDetails",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get order details with items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BapiOrdersController.getOrderDetails"
      }
    },
    "/bapi/orders": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "createOrder",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create order from cart"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "orderType"
                ],
                "properties": {
                  "orderType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "morningSlotId": {
                    "type": "number"
                  },
                  "eveningSlotId": {
                    "type": "number"
                  },
                  "isEstimate": {
                    "type": "boolean"
                  },
                  "paymentMethod": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.createOrder"
      },
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getOrders",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all orders"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "slotId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiOrdersController.getOrders"
      }
    },
    "/bapi/orders-card/{orderId}/status": {
      "put": {
        "x-controller-name": "BapiOrdersCardController",
        "x-operation-name": "updateOrderStatus",
        "tags": [
          "BapiOrdersCardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update customer order status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3,
                      4
                    ]
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BapiOrdersCardController.updateOrderStatus"
      }
    },
    "/bapi/orders-card": {
      "get": {
        "x-controller-name": "BapiOrdersCardController",
        "x-operation-name": "getOrders",
        "tags": [
          "BapiOrdersCardController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer orders for agent booth"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersCardController.getOrders"
      }
    },
    "/bapi/other-products": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getProducts",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get products based on order type"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "categoryId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiOrdersController.getProducts"
      }
    },
    "/bapi/payment-gateways": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getPaymentGateways",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get available payment gateways"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.getPaymentGateways"
      }
    },
    "/bapi/popular-products": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getPopularProducts",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get popular products"
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.getPopularProducts"
      }
    },
    "/bapi/products/{id}": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getProductById",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get product by ID"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BapiOrdersController.getProductById"
      }
    },
    "/bapi/products-by-type": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getProductsByOrderType",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get products based on order type"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "shiftType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiOrdersController.getProductsByOrderType"
      }
    },
    "/bapi/profile": {
      "get": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "getProfile",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get agent profile"
                }
              }
            }
          }
        },
        "operationId": "BapiAccountController.getProfile"
      }
    },
    "/bapi/reports/customers-card-milk": {
      "get": {
        "x-controller-name": "BapiOrdersCardController",
        "x-operation-name": "generateCardMilkReport",
        "tags": [
          "BapiOrdersCardController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BapiOrdersCardController.generateCardMilkReport"
          }
        },
        "operationId": "BapiOrdersCardController.generateCardMilkReport"
      }
    },
    "/bapi/resend-otp": {
      "post": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "resendOtp",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Resend OTP for agent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken"
                ],
                "properties": {
                  "accessToken": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountController.resendOtp"
      }
    },
    "/bapi/sa/order-requests/{id}/cancel": {
      "put": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "cancelSaOrderRequest",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cancel sub agent order request"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BapiOrdersController.cancelSaOrderRequest"
      }
    },
    "/bapi/sa/order-requests/{id}": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getSaOrderRequestById",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get sub agent order request by ID"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BapiOrdersController.getSaOrderRequestById"
      }
    },
    "/bapi/sa/order-requests": {
      "post": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "createSaOrderRequest",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create sub agent order request from cart"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "orderType"
                ],
                "properties": {
                  "orderType": {
                    "type": "number"
                  },
                  "morningSlotId": {
                    "type": "number"
                  },
                  "eveningSlotId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiOrdersController.createSaOrderRequest"
      },
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getSaOrderRequests",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get sub agent order requests"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiOrdersController.getSaOrderRequests"
      }
    },
    "/bapi/sa-order-requests/{id}/status": {
      "put": {
        "x-controller-name": "MbapiOrdersController",
        "x-operation-name": "updateSaOrderRequestStatus",
        "tags": [
          "MbapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update sub agent order request status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "status"
                ],
                "properties": {
                  "status": {
                    "type": "number",
                    "enum": [
                      2,
                      3,
                      5
                    ]
                  },
                  "remarks": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MbapiOrdersController.updateSaOrderRequestStatus"
      }
    },
    "/bapi/sa-order-requests/{id}": {
      "put": {
        "x-controller-name": "MbapiOrdersController",
        "x-operation-name": "updateSaOrderRequest",
        "tags": [
          "MbapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update sub agent order request items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "items"
                ],
                "properties": {
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "productId",
                        "quantity"
                      ],
                      "properties": {
                        "productId": {
                          "type": "number"
                        },
                        "quantity": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MbapiOrdersController.updateSaOrderRequest"
      },
      "get": {
        "x-controller-name": "MbapiOrdersController",
        "x-operation-name": "getSaOrderRequestById",
        "tags": [
          "MbapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get sub agent order request by ID with items and pricing"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MbapiOrdersController.getSaOrderRequestById"
      }
    },
    "/bapi/sa-order-requests": {
      "get": {
        "x-controller-name": "MbapiOrdersController",
        "x-operation-name": "getSaOrderRequests",
        "tags": [
          "MbapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all sub agent order requests with pricing"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "agentId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "MbapiOrdersController.getSaOrderRequests"
      }
    },
    "/bapi/statements/pdf": {
      "get": {
        "x-controller-name": "BapiCommissionController",
        "x-operation-name": "generateMonthlyStatementPDF",
        "tags": [
          "BapiCommissionController"
        ],
        "responses": {
          "200": {
            "description": "Generate monthly statement PDF",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BapiCommissionController.generateMonthlyStatementPDF"
      }
    },
    "/bapi/transactions": {
      "get": {
        "x-controller-name": "BapiOrdersController",
        "x-operation-name": "getTransactions",
        "tags": [
          "BapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get all transactions (wallet, order, credit)"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiOrdersController.getTransactions"
      }
    },
    "/bapi/update-details": {
      "put": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "updateDetails",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update agent details"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "reqType": {
                    "type": "number"
                  },
                  "name": {
                    "type": "string"
                  },
                  "aadharNumber": {
                    "type": "string"
                  },
                  "panNumber": {
                    "type": "string"
                  },
                  "accountNumber": {
                    "type": "string"
                  },
                  "accountHolderName": {
                    "type": "string"
                  },
                  "ifscCode": {
                    "type": "string"
                  },
                  "bankBranch": {
                    "type": "string"
                  },
                  "bankName": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountController.updateDetails"
      }
    },
    "/bapi/upload-profile-photo": {
      "post": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "uploadProfilePhoto",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Upload agent profile photo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true
        },
        "operationId": "BapiAccountController.uploadProfilePhoto"
      }
    },
    "/bapi/verify-kyc": {
      "put": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "verifyKyc",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Manual KYC verification for agent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "agentId": {
                    "type": "number"
                  },
                  "isAadhaarKycVerified": {
                    "type": "boolean"
                  },
                  "isPanKycVerified": {
                    "type": "boolean"
                  },
                  "hasBankAccountVerified": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountController.verifyKyc"
      }
    },
    "/bapi/verify-otp": {
      "post": {
        "x-controller-name": "BapiAccountController",
        "x-operation-name": "verifyOtp",
        "tags": [
          "BapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify OTP for agent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken",
                  "otp"
                ],
                "properties": {
                  "accessToken": {
                    "type": "string"
                  },
                  "otp": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiAccountController.verifyOtp"
      }
    },
    "/bapi/wallet/add-fund": {
      "post": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "addFund",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Add fund to wallet",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletTransaction"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "paymentMethod": {
                    "type": "string"
                  },
                  "transactionId": {
                    "type": "string"
                  },
                  "orderId": {
                    "type": "string"
                  },
                  "signature": {
                    "type": "string"
                  },
                  "referenceType": {
                    "type": "number"
                  },
                  "description": {
                    "type": "string"
                  }
                },
                "required": [
                  "amount",
                  "paymentMethod"
                ]
              }
            }
          }
        },
        "operationId": "BapiWalletController.addFund"
      }
    },
    "/bapi/wallet/axis-easypay/initiate": {
      "get": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "initiateEasyPay",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Redirect to Axis Bank"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "amt",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiWalletController.initiateEasyPay"
      }
    },
    "/bapi/wallet/axis-easypay/initiate2": {
      "get": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "initiateEasyPay2",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Redirect to Axis Bank"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "amt",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiWalletController.initiateEasyPay2"
      }
    },
    "/bapi/wallet/axis-easypay/response": {
      "get": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "easyPayCallback",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BapiWalletController.easyPayCallback"
          }
        },
        "parameters": [
          {
            "name": "i",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "j",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BapiWalletController.easyPayCallback"
      }
    },
    "/bapi/wallet/axis-easypay/response2": {
      "get": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "easyPayCallback2",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BapiWalletController.easyPayCallback2"
          }
        },
        "parameters": [
          {
            "name": "i",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "j",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "BapiWalletController.easyPayCallback2"
      }
    },
    "/bapi/wallet/balance": {
      "get": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "getBalance",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Get wallet balance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "balance": {
                      "type": "number"
                    },
                    "agentId": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiWalletController.getBalance"
      }
    },
    "/bapi/wallet/cashfree-payment-failed": {
      "post": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "handleCashfreeWalletPaymentFailure",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Handle Cashfree wallet payment failure"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "orderId"
                ],
                "properties": {
                  "orderId": {
                    "type": "string"
                  },
                  "failureReason": {
                    "type": "string"
                  },
                  "errorCode": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiWalletController.handleCashfreeWalletPaymentFailure"
      }
    },
    "/bapi/wallet/cashfree-webhook": {
      "post": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "handleCashfreeWalletWebhook",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Handle Cashfree wallet webhook"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "BapiWalletController.handleCashfreeWalletWebhook"
      }
    },
    "/bapi/wallet/create-cashfree-order": {
      "post": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "createCashfreeWalletOrder",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create Cashfree wallet payment order"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "amount"
                ],
                "properties": {
                  "amount": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiWalletController.createCashfreeWalletOrder"
      }
    },
    "/bapi/wallet/summary": {
      "get": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "getWalletSummary",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Get wallet summary with recent transactions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "balance": {
                      "type": "number"
                    },
                    "agentId": {
                      "type": "number"
                    },
                    "recentTransactions": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/WalletTransaction"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiWalletController.getWalletSummary"
      }
    },
    "/bapi/wallet/transactions": {
      "get": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "getTransactions",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Get wallet transaction history",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WalletTransaction"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BapiWalletController.getTransactions"
      }
    },
    "/bapi/wallet/verify-cashfree-payment": {
      "post": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "verifyCashfreeWalletPayment",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify Cashfree wallet payment"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "orderId"
                ],
                "properties": {
                  "orderId": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "BapiWalletController.verifyCashfreeWalletPayment"
      }
    },
    "/bapi/wallet/withdraw": {
      "post": {
        "x-controller-name": "BapiWalletController",
        "x-operation-name": "withdrawAmount",
        "tags": [
          "BapiWalletController"
        ],
        "responses": {
          "200": {
            "description": "Withdraw amount from wallet",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WalletTransaction"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "description": {
                    "type": "string"
                  }
                },
                "required": [
                  "amount"
                ]
              }
            }
          }
        },
        "operationId": "BapiWalletController.withdrawAmount"
      }
    },
    "/capi/addresses/{id}/set-primary": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "setPrimaryAddress",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Set address as primary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CapiCustomerController.setPrimaryAddress"
      }
    },
    "/capi/addresses/{id}": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "updateAddress",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update address"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string"
                  },
                  "lat": {
                    "type": "number"
                  },
                  "lng": {
                    "type": "number"
                  },
                  "isPrimary": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CapiCustomerController.updateAddress"
      }
    },
    "/capi/addresses": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "addAddress",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Add new address"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "address"
                ],
                "properties": {
                  "address": {
                    "type": "string"
                  },
                  "lat": {
                    "type": "number"
                  },
                  "lng": {
                    "type": "number"
                  },
                  "isPrimary": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.addAddress"
      },
      "get": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "getAddresses",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer addresses"
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.getAddresses"
      }
    },
    "/capi/app-version": {
      "get": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "getAppVersion",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get app version information for force update"
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.getAppVersion"
      }
    },
    "/capi/autologin": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "autoLogin",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Auto login with access token"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken"
                ],
                "properties": {
                  "accessToken": {
                    "type": "string"
                  },
                  "app_cur_version": {
                    "type": "string"
                  },
                  "d_manufacture": {
                    "type": "string"
                  },
                  "d_model": {
                    "type": "string"
                  },
                  "d_os_api": {
                    "type": "string"
                  },
                  "d_os_version": {
                    "type": "string"
                  },
                  "login_device": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.autoLogin"
      }
    },
    "/capi/cart/count": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getCartCount",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get cart items count"
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.getCartCount"
      }
    },
    "/capi/cart": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "updateCart",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Add/Update/Delete cart item"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "productId",
                  "quantity",
                  "boothId"
                ],
                "properties": {
                  "productId": {
                    "type": "number"
                  },
                  "quantity": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "shiftType": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.updateCart"
      },
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getCartItems",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get cart items"
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.getCartItems"
      }
    },
    "/capi/config": {
      "get": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "getAppConfig",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get app configuration"
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.getAppConfig"
      }
    },
    "/capi/create-order": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "createOrder",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create order from cart"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "addressId",
                  "orderMonth"
                ],
                "properties": {
                  "addressId": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "orderMonth": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "deliveryType": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  },
                  "isEstimate": {
                    "type": "boolean",
                    "default": true
                  },
                  "paymentMethod": {
                    "type": "number",
                    "enum": [
                      1,
                      2
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.createOrder"
      }
    },
    "/capi/google-api-key": {
      "get": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "getGoogleApiKey",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get Google Maps API key"
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.getGoogleApiKey"
      }
    },
    "/capi/login": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "login",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Customer login with OTP"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "mobileNumber"
                ],
                "properties": {
                  "mobileNumber": {
                    "type": "string"
                  },
                  "app_cur_version": {
                    "type": "string"
                  },
                  "d_manufacture": {
                    "type": "string"
                  },
                  "d_model": {
                    "type": "string"
                  },
                  "d_os_api": {
                    "type": "string"
                  },
                  "d_os_version": {
                    "type": "string"
                  },
                  "login_device": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.login"
      }
    },
    "/capi/nearby-booths": {
      "get": {
        "x-controller-name": "CapiBoothController",
        "x-operation-name": "getNearbyBooths",
        "tags": [
          "CapiBoothController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get nearby booths based on location"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "lat",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "lng",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "radius",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CapiBoothController.getNearbyBooths"
      }
    },
    "/capi/orders/create-razorpay-order": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "createRazorpayOrder2",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create order first then initiate payment"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "addressId",
                  "boothId",
                  "orderMonth"
                ],
                "properties": {
                  "addressId": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "orderMonth": {
                    "type": "number"
                  },
                  "deliveryType": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.createRazorpayOrder2"
      }
    },
    "/capi/orders/payment-failed": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "handlePaymentFailure",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Handle payment failure"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "transactionId",
                  "failureReason"
                ],
                "properties": {
                  "transactionId": {
                    "type": "number"
                  },
                  "failureReason": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.handlePaymentFailure"
      }
    },
    "/capi/orders/razorpay/initiate": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "customerOrderInitiate",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Initiate Razorpay order and create payment record"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [],
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "type": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.customerOrderInitiate"
      }
    },
    "/capi/orders/verify-payment": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "verifyCustomerPayment",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify Razorpay payment for customer orders"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "transactionId",
                  "razorpayPaymentId"
                ],
                "properties": {
                  "transactionId": {
                    "type": "number"
                  },
                  "razorpayPaymentId": {
                    "type": "string"
                  },
                  "razorpaySignature": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.verifyCustomerPayment"
      }
    },
    "/capi/orders/{id}": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getOrderDetails",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer order details by ID"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CapiOrdersController.getOrderDetails"
      }
    },
    "/capi/orders": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getOrders",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer orders"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CapiOrdersController.getOrders"
      }
    },
    "/capi/products-by-type": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getProductsByOrderType",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get products based on order type"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderType",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "boothId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CapiOrdersController.getProductsByOrderType"
      }
    },
    "/capi/profile": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "updateProfile",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update customer profile"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "accessToken"
                ],
                "properties": {
                  "accessToken": {
                    "type": "string"
                  },
                  "fullName": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "address": {
                    "type": "string"
                  },
                  "gender": {
                    "type": "string",
                    "enum": [
                      "Male",
                      "Female",
                      "Other"
                    ]
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.updateProfile"
      }
    },
    "/capi/register/save-details": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "registerSaveDetails",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Save customer details and generate token"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId",
                  "fullName",
                  "address",
                  "gender"
                ],
                "properties": {
                  "customerId": {
                    "type": "number"
                  },
                  "fullName": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "address": {
                    "type": "string"
                  },
                  "gender": {
                    "type": "string",
                    "enum": [
                      "Male",
                      "Female",
                      "Other"
                    ]
                  },
                  "latitude": {
                    "type": "number"
                  },
                  "longitude": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.registerSaveDetails"
      }
    },
    "/capi/register/verify-otp": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "registerVerifyOtp",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify OTP for registration"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "mobileNumber",
                  "otp"
                ],
                "properties": {
                  "mobileNumber": {
                    "type": "string"
                  },
                  "otp": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.registerVerifyOtp"
      }
    },
    "/capi/register": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "register",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Register new customer and send OTP"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "mobileNumber"
                ],
                "properties": {
                  "mobileNumber": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.register"
      }
    },
    "/capi/request-account-deletion": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "requestAccountDeletion",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Request account deletion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "reason"
                ],
                "properties": {
                  "reason": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.requestAccountDeletion"
      }
    },
    "/capi/resend-otp": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "resendOtp",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Resend OTP to customer"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId"
                ],
                "properties": {
                  "customerId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.resendOtp"
      }
    },
    "/capi/subscriptions/{id}": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getSubscriptionDetails",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get subscription details by ID"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CapiOrdersController.getSubscriptionDetails"
      }
    },
    "/capi/subscriptions": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getSubscriptions",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get customer subscription orders"
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.getSubscriptions"
      }
    },
    "/capi/upload-profile-photo": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "uploadProfilePhoto",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Upload customer profile photo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true
        },
        "operationId": "CapiCustomerController.uploadProfilePhoto"
      }
    },
    "/capi/verify-otp": {
      "post": {
        "x-controller-name": "CapiCustomerController",
        "x-operation-name": "verifyOtp",
        "tags": [
          "CapiCustomerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify OTP and login"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "customerId",
                  "otp"
                ],
                "properties": {
                  "customerId": {
                    "type": "number"
                  },
                  "otp": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiCustomerController.verifyOtp"
      }
    },
    "/capi/wallet/add-fund": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "addFund",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Add fund to wallet"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "amount",
                  "paymentMethod"
                ],
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "paymentMethod": {
                    "type": "string"
                  },
                  "transactionId": {
                    "type": "string"
                  },
                  "razorpayPaymentId": {
                    "type": "string"
                  },
                  "razorpaySignature": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.addFund"
      }
    },
    "/capi/wallet/balance": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getWalletBalance",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get wallet balance"
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.getWalletBalance"
      }
    },
    "/capi/wallet/create-easypay-order": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "createEasyPayOrder",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create EasyPay order for wallet top-up"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "amount"
                ],
                "properties": {
                  "amount": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.createEasyPayOrder"
      }
    },
    "/capi/wallet/create-razorpay-order": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "createRazorpayOrder",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create Razorpay order for wallet top-up"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "amount"
                ],
                "properties": {
                  "amount": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.createRazorpayOrder"
      }
    },
    "/capi/wallet/easypay-callback": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "handleEasyPayCallback",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Handle EasyPay callback"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "i"
                ],
                "properties": {
                  "i": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.handleEasyPayCallback"
      }
    },
    "/capi/wallet/summary": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getWalletSummary",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get wallet summary"
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.getWalletSummary"
      }
    },
    "/capi/wallet/transactions": {
      "get": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "getTransactions",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get wallet transactions"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CapiOrdersController.getTransactions"
      }
    },
    "/capi/wallet/verify-razorpay-payment": {
      "post": {
        "x-controller-name": "CapiOrdersController",
        "x-operation-name": "verifyRazorpayPayment",
        "tags": [
          "CapiOrdersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Verify Razorpay payment and add funds"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "razorpayPaymentId"
                ],
                "properties": {
                  "razorpayOrderId": {
                    "type": "string"
                  },
                  "razorpayPaymentId": {
                    "type": "string"
                  },
                  "razorpaySignature": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CapiOrdersController.verifyRazorpayPayment"
      }
    },
    "/ccavenue/initiate-payment": {
      "post": {
        "x-controller-name": "CcavenuePaymentController",
        "x-operation-name": "createRazorpayOrder",
        "tags": [
          "CcavenuePaymentController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create order first then initiate payment"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "amount",
                  "userId",
                  "userType",
                  "paymentFor"
                ],
                "properties": {
                  "amount": {
                    "type": "number"
                  },
                  "userId": {
                    "type": "number"
                  },
                  "userType": {
                    "type": "number"
                  },
                  "paymentFor": {
                    "type": "number"
                  },
                  "orderType": {
                    "type": "number"
                  },
                  "morningSlotId": {
                    "type": "number"
                  },
                  "eveningSlotId": {
                    "type": "number"
                  },
                  "addressId": {
                    "type": "number"
                  },
                  "boothId": {
                    "type": "number"
                  },
                  "orderMonth": {
                    "type": "number"
                  },
                  "deliveryType": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "CcavenuePaymentController.createRazorpayOrder"
      }
    },
    "/ccavenue/payment-cancel": {
      "post": {
        "x-controller-name": "CcavenuePaymentController",
        "x-operation-name": "cancelHandler",
        "tags": [
          "CcavenuePaymentController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CcavenuePaymentController.cancelHandler"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "CcavenuePaymentController.cancelHandler"
      }
    },
    "/ccavenue/payment-response": {
      "post": {
        "x-controller-name": "CcavenuePaymentController",
        "x-operation-name": "responseHandler",
        "tags": [
          "CcavenuePaymentController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CcavenuePaymentController.responseHandler"
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "encResp": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "CcavenuePaymentController.responseHandler"
      }
    },
    "/fapi/account/login": {
      "post": {
        "x-controller-name": "FapiAccountController",
        "x-operation-name": "loginWithPassword",
        "tags": [
          "FapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Login with route code and password"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "username",
                  "password"
                ],
                "properties": {
                  "username": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "FapiAccountController.loginWithPassword"
      }
    },
    "/fapi/account/logout": {
      "post": {
        "x-controller-name": "FapiAccountController",
        "x-operation-name": "logout",
        "tags": [
          "FapiAccountController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Logout user"
                }
              }
            }
          }
        },
        "operationId": "FapiAccountController.logout"
      }
    },
    "/fapi/route-detail": {
      "get": {
        "x-controller-name": "FleetTripController",
        "x-operation-name": "getRouteReportPDF",
        "tags": [
          "FleetTripController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get Route Report PDF URL"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "shift",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "FleetTripController.getRouteReportPDF"
      }
    },
    "/generate-demand": {
      "post": {
        "x-controller-name": "DemandController",
        "x-operation-name": "generateDemand",
        "tags": [
          "DemandController"
        ],
        "responses": {
          "200": {
            "description": "Return value of DemandController.generateDemand"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "endDate"
                ],
                "properties": {
                  "endDate": {
                    "type": "string",
                    "format": "date"
                  }
                }
              }
            }
          }
        },
        "operationId": "DemandController.generateDemand"
      }
    },
    "/getData": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "getAllData",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.getAllData"
          }
        },
        "operationId": "PdfController.getAllData"
      }
    },
    "/payments/verify": {
      "get": {
        "x-controller-name": "CcavenuePaymentController",
        "x-operation-name": "ccavenueSchuduler",
        "tags": [
          "CcavenuePaymentController"
        ],
        "responses": {
          "200": {
            "description": "CCAvenue Payment Status Verification",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CcavenuePaymentController.ccavenueSchuduler"
      }
    },
    "/pdf/delivery-notes/{routeId}/{shift}": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "generateDeliveryNotesPDF",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.generateDeliveryNotesPDF"
          }
        },
        "parameters": [
          {
            "name": "routeId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "shift",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PdfController.generateDeliveryNotesPDF"
      }
    },
    "/pdf/distribution/{routeId}/{shift}": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "generateDistributionPDF",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.generateDistributionPDF"
          }
        },
        "parameters": [
          {
            "name": "routeId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "shift",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PdfController.generateDistributionPDF"
      }
    },
    "/pdf/gatepass/{routeId}/{shift}": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "generateGatepassPDF",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.generateGatepassPDF"
          }
        },
        "parameters": [
          {
            "name": "routeId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "shift",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PdfController.generateGatepassPDF"
      }
    },
    "/pdf/invoice/{orderId}": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "generateInvoicePDF",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.generateInvoicePDF"
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PdfController.generateInvoicePDF"
      }
    },
    "/pdf/merged/{routeId}/{shift}": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "generateMergedPDF",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.generateMergedPDF"
          }
        },
        "parameters": [
          {
            "name": "routeId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "shift",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "isCloud",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "PdfController.generateMergedPDF"
      }
    },
    "/razorpay/customer-ordersDeatils": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "ordersDetailsRazorpayPayments",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.ordersDetailsRazorpayPayments"
          }
        },
        "operationId": "PdfController.ordersDetailsRazorpayPayments"
      }
    },
    "/razorpay/payments/{orderId}": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "fetchRazorpayPayments",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.fetchRazorpayPayments"
          }
        },
        "parameters": [
          {
            "name": "orderId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "PdfController.fetchRazorpayPayments"
      }
    },
    "/razorpay/payments": {
      "get": {
        "x-controller-name": "PdfController",
        "x-operation-name": "fetchAllRazorpayPayments",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.fetchAllRazorpayPayments"
          }
        },
        "parameters": [
          {
            "name": "count",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "from",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "to",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "PdfController.fetchAllRazorpayPayments"
      }
    },
    "/sapi/account/profile": {
      "get": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "getProfileAccount",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get agent profile"
                }
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.getProfileAccount"
      }
    },
    "/sapi/account/update-details": {
      "put": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "updateDetailsAccount2",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update society user details"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "reqType": {
                    "type": "number"
                  },
                  "name": {
                    "type": "string"
                  },
                  "aadharNumber": {
                    "type": "string"
                  },
                  "panNumber": {
                    "type": "string"
                  },
                  "accountNumber": {
                    "type": "string"
                  },
                  "accountHolderName": {
                    "type": "string"
                  },
                  "ifscCode": {
                    "type": "string"
                  },
                  "bankBranch": {
                    "type": "string"
                  },
                  "bankName": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.updateDetailsAccount2"
      }
    },
    "/sapi/account/upload-profile-photo": {
      "post": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "uploadProfilePhotoAccount",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Upload society profile photo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true
        },
        "operationId": "SapiAuthControllerController.uploadProfilePhotoAccount"
      }
    },
    "/sapi/account/verify-kyc": {
      "put": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "verifyKycAccount",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Manual KYC verification"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "isAadhaarKycVerified": {
                    "type": "boolean"
                  },
                  "isPanKycVerified": {
                    "type": "boolean"
                  },
                  "hasBankAccountVerified": {
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.verifyKycAccount"
      }
    },
    "/sapi/agent/slots": {
      "get": {
        "x-controller-name": "SapiAccountNewController",
        "x-operation-name": "getAgentSlots",
        "tags": [
          "SapiAccountNewController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get available slots for society"
                }
              }
            }
          }
        },
        "operationId": "SapiAccountNewController.getAgentSlots"
      }
    },
    "/sapi/app-version": {
      "get": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "getAppVersion",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get app version information for force update"
                }
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.getAppVersion"
      }
    },
    "/sapi/auth/autologin": {
      "post": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "autologinAccount",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Society Auto Login"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.autologinAccount"
      }
    },
    "/sapi/auth/login": {
      "post": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "login",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SapiAuthControllerController.login"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.login"
      }
    },
    "/sapi/auth/logout": {
      "post": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "logout",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SapiAuthControllerController.logout"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.logout"
      }
    },
    "/sapi/auth/me/{accessToken}": {
      "get": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "me",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SapiAuthControllerController.me"
          }
        },
        "parameters": [
          {
            "name": "accessToken",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "SapiAuthControllerController.me"
      }
    },
    "/sapi/auth/refresh": {
      "post": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "refresh",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SapiAuthControllerController.refresh"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.refresh"
      }
    },
    "/sapi/auth/send-otp": {
      "post": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "sendOtp",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SapiAuthControllerController.sendOtp"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.sendOtp"
      }
    },
    "/sapi/auth/set-password": {
      "post": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "setPassword",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SapiAuthControllerController.setPassword"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.setPassword"
      }
    },
    "/sapi/auth/verify-otp": {
      "post": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "verifyOtp",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of SapiAuthControllerController.verifyOtp"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.verifyOtp"
      }
    },
    "/sapi/config": {
      "get": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "getAppConfig",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get app configuration"
                }
              }
            }
          }
        },
        "operationId": "SapiAuthControllerController.getAppConfig"
      }
    },
    "/sapi/milk-supplies/{id}": {
      "put": {
        "x-controller-name": "SapiMilkSuppliesController",
        "x-operation-name": "updateById",
        "tags": [
          "SapiMilkSuppliesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SocietySupplies PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SocietySuppliesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SapiMilkSuppliesController.updateById"
      },
      "get": {
        "x-controller-name": "SapiMilkSuppliesController",
        "x-operation-name": "findById",
        "tags": [
          "SapiMilkSuppliesController"
        ],
        "responses": {
          "200": {
            "description": "SocietySupplies model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SocietySuppliesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SapiMilkSuppliesController.findById"
      }
    },
    "/sapi/milk-supplies": {
      "post": {
        "x-controller-name": "SapiMilkSuppliesController",
        "x-operation-name": "create",
        "tags": [
          "SapiMilkSuppliesController"
        ],
        "responses": {
          "200": {
            "description": "SocietySupplies model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SocietySupplies"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSocietySupplies"
              }
            }
          }
        },
        "operationId": "SapiMilkSuppliesController.create"
      },
      "get": {
        "x-controller-name": "SapiMilkSuppliesController",
        "x-operation-name": "find",
        "tags": [
          "SapiMilkSuppliesController"
        ],
        "responses": {
          "200": {
            "description": "Array of SocietySupplies model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SocietySuppliesWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "SapiMilkSuppliesController.find"
      }
    },
    "/sapi/society/location": {
      "put": {
        "x-controller-name": "SapiAuthControllerController",
        "x-operation-name": "updateLocation",
        "tags": [
          "SapiAuthControllerController"
        ],
        "responses": {
          "200": {
            "description": "Update booth location details",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "description": "Update booth latitude and longitude",
        "parameters": [
          {
            "name": "is_expire",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data value.",
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "SapiAuthControllerController.updateLocation"
      }
    },
    "/test-sms": {
      "post": {
        "x-controller-name": "PdfController",
        "x-operation-name": "testSms",
        "tags": [
          "PdfController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PdfController.testSms"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "smsType": {
                    "type": "string",
                    "enum": [
                      "orderConfirmation",
                      "downloadApp",
                      "claimProcessed",
                      "claimRefunded",
                      "loginOtp"
                    ]
                  },
                  "mobNumber": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "date": {
                    "type": "string"
                  },
                  "booth_code": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "string"
                  },
                  "invoice_link": {
                    "type": "string"
                  },
                  "android_link": {
                    "type": "string"
                  },
                  "ios_link": {
                    "type": "string"
                  },
                  "claim_id": {
                    "type": "string"
                  },
                  "claim_status": {
                    "type": "string"
                  },
                  "refund_amount": {
                    "type": "string"
                  },
                  "otp": {
                    "type": "string"
                  }
                },
                "required": [
                  "smsType",
                  "mobNumber"
                ]
              }
            }
          }
        },
        "operationId": "PdfController.testSms"
      }
    }
  },
  "servers": [
    {
      "url": "http://aapi.aavincoimbatore.com"
    }
  ],
  "components": {
    "schemas": {
      "SocietySupplies": {
        "title": "SocietySupplies",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "slotId": {
            "type": "number"
          },
          "societyId": {
            "type": "number"
          },
          "supplyDate": {
            "type": "string"
          },
          "shift": {
            "type": "number",
            "description": "1=Morning, 2=Evening"
          },
          "collectionTotalSamples": {
            "type": "number"
          },
          "collectionTotalQty": {
            "type": "number"
          },
          "collectionTotalLocalSalesQty": {
            "type": "number"
          },
          "collectionTotalSentToUnionQty": {
            "type": "number"
          },
          "collectionAvgSnf": {
            "type": "number"
          },
          "collectionAvgFat": {
            "type": "number"
          },
          "collectionAvgPurchaseRate": {
            "type": "number"
          },
          "sampleTotal": {
            "type": "number"
          },
          "sampleMilkQty": {
            "type": "number"
          },
          "sampleFreeMilkStaffQty": {
            "type": "number"
          },
          "sampleNetSampleQty": {
            "type": "number"
          },
          "sampleMpcsAccountQty": {
            "type": "number"
          },
          "sampleSaleAccountQty": {
            "type": "number"
          },
          "openingBalance": {
            "type": "number"
          },
          "localSalesValue": {
            "type": "number"
          },
          "otherIncome": {
            "type": "number"
          },
          "totalExpenditure": {
            "type": "number"
          },
          "closingBalance": {
            "type": "number"
          },
          "cfStockBags": {
            "type": "number"
          },
          "cfSalesBags": {
            "type": "number"
          },
          "cfClosingBags": {
            "type": "number"
          },
          "fssNos": {
            "type": "number"
          },
          "fssOpeningBalance": {
            "type": "number"
          },
          "fssReceipt": {
            "type": "number"
          },
          "fssTotal": {
            "type": "number"
          },
          "fssIssue": {
            "type": "number"
          },
          "fssClosingBalance": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          }
        },
        "required": [
          "supplyDate",
          "shift"
        ],
        "additionalProperties": false
      },
      "NewSocietySupplies": {
        "title": "NewSocietySupplies",
        "type": "object",
        "description": "(tsType: Omit<SocietySupplies, 'id'>, schemaOptions: { title: 'NewSocietySupplies', exclude: [ 'id' ] })",
        "properties": {
          "slotId": {
            "type": "number"
          },
          "societyId": {
            "type": "number"
          },
          "supplyDate": {
            "type": "string"
          },
          "shift": {
            "type": "number",
            "description": "1=Morning, 2=Evening"
          },
          "collectionTotalSamples": {
            "type": "number"
          },
          "collectionTotalQty": {
            "type": "number"
          },
          "collectionTotalLocalSalesQty": {
            "type": "number"
          },
          "collectionTotalSentToUnionQty": {
            "type": "number"
          },
          "collectionAvgSnf": {
            "type": "number"
          },
          "collectionAvgFat": {
            "type": "number"
          },
          "collectionAvgPurchaseRate": {
            "type": "number"
          },
          "sampleTotal": {
            "type": "number"
          },
          "sampleMilkQty": {
            "type": "number"
          },
          "sampleFreeMilkStaffQty": {
            "type": "number"
          },
          "sampleNetSampleQty": {
            "type": "number"
          },
          "sampleMpcsAccountQty": {
            "type": "number"
          },
          "sampleSaleAccountQty": {
            "type": "number"
          },
          "openingBalance": {
            "type": "number"
          },
          "localSalesValue": {
            "type": "number"
          },
          "otherIncome": {
            "type": "number"
          },
          "totalExpenditure": {
            "type": "number"
          },
          "closingBalance": {
            "type": "number"
          },
          "cfStockBags": {
            "type": "number"
          },
          "cfSalesBags": {
            "type": "number"
          },
          "cfClosingBags": {
            "type": "number"
          },
          "fssNos": {
            "type": "number"
          },
          "fssOpeningBalance": {
            "type": "number"
          },
          "fssReceipt": {
            "type": "number"
          },
          "fssTotal": {
            "type": "number"
          },
          "fssIssue": {
            "type": "number"
          },
          "fssClosingBalance": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          }
        },
        "required": [
          "supplyDate",
          "shift"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<SocietySupplies, 'id'>"
      },
      "SocietySuppliesWithRelations": {
        "title": "SocietySuppliesWithRelations",
        "type": "object",
        "description": "(tsType: SocietySuppliesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "slotId": {
            "type": "number"
          },
          "societyId": {
            "type": "number"
          },
          "supplyDate": {
            "type": "string"
          },
          "shift": {
            "type": "number",
            "description": "1=Morning, 2=Evening"
          },
          "collectionTotalSamples": {
            "type": "number"
          },
          "collectionTotalQty": {
            "type": "number"
          },
          "collectionTotalLocalSalesQty": {
            "type": "number"
          },
          "collectionTotalSentToUnionQty": {
            "type": "number"
          },
          "collectionAvgSnf": {
            "type": "number"
          },
          "collectionAvgFat": {
            "type": "number"
          },
          "collectionAvgPurchaseRate": {
            "type": "number"
          },
          "sampleTotal": {
            "type": "number"
          },
          "sampleMilkQty": {
            "type": "number"
          },
          "sampleFreeMilkStaffQty": {
            "type": "number"
          },
          "sampleNetSampleQty": {
            "type": "number"
          },
          "sampleMpcsAccountQty": {
            "type": "number"
          },
          "sampleSaleAccountQty": {
            "type": "number"
          },
          "openingBalance": {
            "type": "number"
          },
          "localSalesValue": {
            "type": "number"
          },
          "otherIncome": {
            "type": "number"
          },
          "totalExpenditure": {
            "type": "number"
          },
          "closingBalance": {
            "type": "number"
          },
          "cfStockBags": {
            "type": "number"
          },
          "cfSalesBags": {
            "type": "number"
          },
          "cfClosingBags": {
            "type": "number"
          },
          "fssNos": {
            "type": "number"
          },
          "fssOpeningBalance": {
            "type": "number"
          },
          "fssReceipt": {
            "type": "number"
          },
          "fssTotal": {
            "type": "number"
          },
          "fssIssue": {
            "type": "number"
          },
          "fssClosingBalance": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          }
        },
        "required": [
          "supplyDate",
          "shift"
        ],
        "additionalProperties": false,
        "x-typescript-type": "SocietySuppliesWithRelations"
      },
      "SocietySuppliesPartial": {
        "title": "SocietySuppliesPartial",
        "type": "object",
        "description": "(tsType: Partial<SocietySupplies>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "slotId": {
            "type": "number"
          },
          "societyId": {
            "type": "number"
          },
          "supplyDate": {
            "type": "string"
          },
          "shift": {
            "type": "number",
            "description": "1=Morning, 2=Evening"
          },
          "collectionTotalSamples": {
            "type": "number"
          },
          "collectionTotalQty": {
            "type": "number"
          },
          "collectionTotalLocalSalesQty": {
            "type": "number"
          },
          "collectionTotalSentToUnionQty": {
            "type": "number"
          },
          "collectionAvgSnf": {
            "type": "number"
          },
          "collectionAvgFat": {
            "type": "number"
          },
          "collectionAvgPurchaseRate": {
            "type": "number"
          },
          "sampleTotal": {
            "type": "number"
          },
          "sampleMilkQty": {
            "type": "number"
          },
          "sampleFreeMilkStaffQty": {
            "type": "number"
          },
          "sampleNetSampleQty": {
            "type": "number"
          },
          "sampleMpcsAccountQty": {
            "type": "number"
          },
          "sampleSaleAccountQty": {
            "type": "number"
          },
          "openingBalance": {
            "type": "number"
          },
          "localSalesValue": {
            "type": "number"
          },
          "otherIncome": {
            "type": "number"
          },
          "totalExpenditure": {
            "type": "number"
          },
          "closingBalance": {
            "type": "number"
          },
          "cfStockBags": {
            "type": "number"
          },
          "cfSalesBags": {
            "type": "number"
          },
          "cfClosingBags": {
            "type": "number"
          },
          "fssNos": {
            "type": "number"
          },
          "fssOpeningBalance": {
            "type": "number"
          },
          "fssReceipt": {
            "type": "number"
          },
          "fssTotal": {
            "type": "number"
          },
          "fssIssue": {
            "type": "number"
          },
          "fssClosingBalance": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<SocietySupplies>"
      },
      "WalletTransaction": {
        "title": "WalletTransaction",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "agentId": {
            "type": "number"
          },
          "boothId": {
            "type": "number"
          },
          "transactionType": {
            "type": "number"
          },
          "amount": {
            "type": "number"
          },
          "balanceBefore": {
            "type": "number"
          },
          "balanceAfter": {
            "type": "number"
          },
          "referenceType": {
            "type": "number"
          },
          "referenceId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "orderId": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "transactionId": {
            "type": "string"
          }
        },
        "required": [
          "agentId",
          "boothId",
          "transactionType",
          "amount",
          "balanceBefore",
          "balanceAfter",
          "referenceType"
        ],
        "additionalProperties": false
      },
      "Agent": {
        "title": "Agent",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "mobileNumber": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "gstRegistered": {
            "type": "boolean"
          },
          "gstNumber": {
            "type": "string"
          },
          "legacyAgentCode": {
            "type": "string"
          },
          "aadharNumber": {
            "type": "string"
          },
          "aadharLink": {
            "type": "string"
          },
          "hasAadharVerified": {
            "type": "boolean"
          },
          "panNumber": {
            "type": "string"
          },
          "panCardLink": {
            "type": "string"
          },
          "hasPancardVerified": {
            "type": "boolean"
          },
          "isAadhaarKycVerified": {
            "type": "boolean"
          },
          "isPanKycVerified": {
            "type": "boolean"
          },
          "accountNumber": {
            "type": "string"
          },
          "accountHolderName": {
            "type": "string"
          },
          "ifscCode": {
            "type": "string"
          },
          "bankName": {
            "type": "string"
          },
          "bankBranch": {
            "type": "string"
          },
          "hasBankAccountVerified": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "accessToken": {
            "type": "string"
          },
          "otp": {
            "type": "string"
          },
          "profilePhoto": {
            "type": "string"
          },
          "fssaiNumber": {
            "type": "number"
          },
          "boothTypeId": {
            "type": "number"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "mobileNumber",
          "gender",
          "aadharNumber",
          "panNumber",
          "bankBranch"
        ],
        "additionalProperties": false
      },
      "Society": {
        "title": "Society",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "societyName": {
            "type": "string"
          },
          "societyCode": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string"
          },
          "nameOfMpcs": {
            "type": "string"
          },
          "societyType": {
            "type": "string"
          },
          "zoneId": {
            "type": "string"
          },
          "blockId": {
            "type": "string"
          },
          "talukId": {
            "type": "string"
          },
          "coordinates": {
            "type": "string"
          },
          "morningRouteId": {
            "type": "string"
          },
          "eveningRouteId": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "landmark": {
            "type": "string"
          },
          "isLocSubmit": {
            "type": "number"
          },
          "locExpireTime": {
            "type": "string",
            "format": "date-time"
          },
          "locationUrl": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "required": [
          "unionId",
          "societyName"
        ],
        "additionalProperties": false
      },
      "NewSociety": {
        "title": "NewSociety",
        "type": "object",
        "description": "(tsType: Omit<Society, 'id'>, schemaOptions: { title: 'NewSociety', exclude: [ 'id' ] })",
        "properties": {
          "unionId": {
            "type": "number"
          },
          "societyName": {
            "type": "string"
          },
          "societyCode": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string"
          },
          "nameOfMpcs": {
            "type": "string"
          },
          "societyType": {
            "type": "string"
          },
          "zoneId": {
            "type": "string"
          },
          "blockId": {
            "type": "string"
          },
          "talukId": {
            "type": "string"
          },
          "coordinates": {
            "type": "string"
          },
          "morningRouteId": {
            "type": "string"
          },
          "eveningRouteId": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "landmark": {
            "type": "string"
          },
          "isLocSubmit": {
            "type": "number"
          },
          "locExpireTime": {
            "type": "string",
            "format": "date-time"
          },
          "locationUrl": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "required": [
          "unionId",
          "societyName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Society, 'id'>"
      },
      "SocietyUserMapWithRelations": {
        "title": "SocietyUserMapWithRelations",
        "type": "object",
        "description": "(tsType: SocietyUserMapWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "societyId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "role": {
            "type": "string"
          },
          "isPrimary": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "societyId",
          "userId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "SocietyUserMapWithRelations"
      },
      "SocietyKycRequestWithRelations": {
        "title": "SocietyKycRequestWithRelations",
        "type": "object",
        "description": "(tsType: SocietyKycRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "reqType": {
            "type": "string"
          },
          "societyId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "aadharNumber": {
            "type": "string"
          },
          "panNumber": {
            "type": "string"
          },
          "accountNumber": {
            "type": "string"
          },
          "accountHolderName": {
            "type": "string"
          },
          "bankName": {
            "type": "string"
          },
          "bankBranch": {
            "type": "string"
          },
          "ifscCode": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "SocietyKycRequestWithRelations"
      },
      "SocietyWithRelations": {
        "title": "SocietyWithRelations",
        "type": "object",
        "description": "(tsType: SocietyWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "societyName": {
            "type": "string"
          },
          "societyCode": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string"
          },
          "nameOfMpcs": {
            "type": "string"
          },
          "societyType": {
            "type": "string"
          },
          "zoneId": {
            "type": "string"
          },
          "blockId": {
            "type": "string"
          },
          "talukId": {
            "type": "string"
          },
          "coordinates": {
            "type": "string"
          },
          "morningRouteId": {
            "type": "string"
          },
          "eveningRouteId": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "landmark": {
            "type": "string"
          },
          "isLocSubmit": {
            "type": "number"
          },
          "locExpireTime": {
            "type": "string",
            "format": "date-time"
          },
          "locationUrl": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "userMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SocietyUserMapWithRelations"
            }
          },
          "kycRequests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SocietyKycRequestWithRelations"
            }
          }
        },
        "required": [
          "unionId",
          "societyName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "SocietyWithRelations"
      },
      "SocietyPartial": {
        "title": "SocietyPartial",
        "type": "object",
        "description": "(tsType: Partial<Society>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "societyName": {
            "type": "string"
          },
          "societyCode": {
            "type": "string"
          },
          "registrationNumber": {
            "type": "string"
          },
          "nameOfMpcs": {
            "type": "string"
          },
          "societyType": {
            "type": "string"
          },
          "zoneId": {
            "type": "string"
          },
          "blockId": {
            "type": "string"
          },
          "talukId": {
            "type": "string"
          },
          "coordinates": {
            "type": "string"
          },
          "morningRouteId": {
            "type": "string"
          },
          "eveningRouteId": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "address": {
            "type": "string"
          },
          "landmark": {
            "type": "string"
          },
          "isLocSubmit": {
            "type": "number"
          },
          "locExpireTime": {
            "type": "string",
            "format": "date-time"
          },
          "locationUrl": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Society>"
      },
      "SocietyTeam": {
        "title": "SocietyTeam",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "zoneName": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string"
          }
        },
        "required": [
          "unionId",
          "zoneName",
          "status",
          "createdAt"
        ],
        "additionalProperties": false
      },
      "SocietyTaluk": {
        "title": "SocietyTaluk",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "talukName": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string"
          },
          "updatedBy": {
            "type": "number"
          }
        },
        "required": [
          "unionId",
          "talukName",
          "status",
          "createdAt",
          "createdBy",
          "updatedAt",
          "updatedBy"
        ],
        "additionalProperties": false
      },
      "SocietyBlock": {
        "title": "SocietyBlock",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "blockName": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string"
          },
          "updatedBy": {
            "type": "number"
          }
        },
        "required": [
          "unionId",
          "blockName",
          "status",
          "createdAt",
          "createdBy",
          "updatedAt",
          "updatedBy"
        ],
        "additionalProperties": false
      },
      "SocietyRoutes": {
        "title": "SocietyRoutes",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "routeName": {
            "type": "string"
          },
          "shift": {
            "type": "number"
          },
          "inTimeStr": {
            "type": "number"
          },
          "outTimeStr": {
            "type": "number"
          },
          "inTimeStart": {
            "type": "number"
          },
          "inTimeEnd": {
            "type": "number"
          },
          "outTimeStart": {
            "type": "number"
          },
          "outTimeEnd": {
            "type": "number"
          },
          "startLat": {
            "type": "number"
          },
          "startLng": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "number"
          },
          "updatedAt": {
            "type": "number"
          },
          "vehicleNumber": {
            "type": "number"
          }
        },
        "required": [
          "routeName",
          "outTimeStart"
        ],
        "additionalProperties": false
      },
      "Permission": {
        "title": "Permission",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "groupIdFk": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "number"
          },
          "hasChild": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "PermissionWithRelations": {
        "title": "PermissionWithRelations",
        "type": "object",
        "description": "(tsType: PermissionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "value": {
            "type": "number"
          },
          "groupIdFk": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "number"
          },
          "hasChild": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "PermissionWithRelations"
      },
      "UserRole": {
        "title": "UserRole",
        "type": "object",
        "properties": {
          "userIdFk": {
            "type": "number"
          },
          "roleIdFk": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "UserRoleWithRelations": {
        "title": "UserRoleWithRelations",
        "type": "object",
        "description": "(tsType: UserRoleWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "userIdFk": {
            "type": "number"
          },
          "roleIdFk": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "UserRoleWithRelations"
      },
      "Product": {
        "title": "Product",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "productCode": {
            "type": "string"
          },
          "unionId": {
            "type": "number"
          },
          "categoryId": {
            "type": "number"
          },
          "subCategory": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "measure": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "gst": {
            "type": "number"
          },
          "mrpBasic": {
            "type": "number"
          },
          "retailBasic": {
            "type": "number"
          },
          "wsdBasic": {
            "type": "number"
          },
          "unionBasic": {
            "type": "number"
          },
          "fedBasic": {
            "type": "number"
          },
          "stockiestBasic": {
            "type": "number"
          },
          "interUnionBasic": {
            "type": "number"
          },
          "cardBasic": {
            "type": "number"
          },
          "quantity": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "trayCapacity": {
            "type": "number"
          },
          "imageUrl": {
            "type": "string"
          },
          "thumbnailUrl": {
            "type": "string"
          },
          "hasPopular": {
            "type": "number"
          },
          "isCardEligible": {
            "type": "number"
          }
        },
        "required": [
          "productCode",
          "name"
        ],
        "additionalProperties": false
      },
      "ProductPricingBoothTypeWithRelations": {
        "title": "ProductPricingBoothTypeWithRelations",
        "type": "object",
        "description": "(tsType: ProductPricingBoothTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "boothTypeId": {
            "type": "number"
          },
          "isEnable": {
            "type": "number"
          },
          "pricingType": {
            "type": "number"
          },
          "commission": {
            "type": "number"
          },
          "discount": {
            "type": "number"
          },
          "discountType": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "leakageAllowance": {
            "type": "number"
          },
          "leakageAllowanceType": {
            "type": "number"
          },
          "itemUnitType": {
            "type": "number"
          }
        },
        "required": [
          "productId",
          "boothTypeId",
          "pricingType",
          "commission",
          "discount",
          "discountType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProductPricingBoothTypeWithRelations"
      },
      "ProductWithRelations": {
        "title": "ProductWithRelations",
        "type": "object",
        "description": "(tsType: ProductWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "productCode": {
            "type": "string"
          },
          "unionId": {
            "type": "number"
          },
          "categoryId": {
            "type": "number"
          },
          "subCategory": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "measure": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "gst": {
            "type": "number"
          },
          "mrpBasic": {
            "type": "number"
          },
          "retailBasic": {
            "type": "number"
          },
          "wsdBasic": {
            "type": "number"
          },
          "unionBasic": {
            "type": "number"
          },
          "fedBasic": {
            "type": "number"
          },
          "stockiestBasic": {
            "type": "number"
          },
          "interUnionBasic": {
            "type": "number"
          },
          "cardBasic": {
            "type": "number"
          },
          "quantity": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "createdDate": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "trayCapacity": {
            "type": "number"
          },
          "imageUrl": {
            "type": "string"
          },
          "thumbnailUrl": {
            "type": "string"
          },
          "hasPopular": {
            "type": "number"
          },
          "isCardEligible": {
            "type": "number"
          },
          "productPricingBoothTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductPricingBoothTypeWithRelations"
            }
          }
        },
        "required": [
          "productCode",
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProductWithRelations"
      },
      "FleetContracts": {
        "title": "FleetContracts",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "contractReferenceNumber": {
            "type": "string"
          },
          "contractStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "contractEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "operatorName": {
            "type": "string"
          },
          "operatorMobile": {
            "type": "string"
          },
          "routeId": {
            "type": "number"
          },
          "shift": {
            "type": "number"
          },
          "vehicleRegistrationNumber": {
            "type": "string"
          },
          "vehicleCurbWeight": {
            "type": "number"
          },
          "vehicleOffloadCapacity": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "unionId": {
            "type": "number"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "refreshToken": {
            "type": "string"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewFleetContracts": {
        "title": "NewFleetContracts",
        "type": "object",
        "description": "(tsType: Omit<FleetContracts, 'id'>, schemaOptions: { title: 'NewFleetContracts', exclude: [ 'id' ] })",
        "properties": {
          "contractReferenceNumber": {
            "type": "string"
          },
          "contractStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "contractEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "operatorName": {
            "type": "string"
          },
          "operatorMobile": {
            "type": "string"
          },
          "routeId": {
            "type": "number"
          },
          "shift": {
            "type": "number"
          },
          "vehicleRegistrationNumber": {
            "type": "string"
          },
          "vehicleCurbWeight": {
            "type": "number"
          },
          "vehicleOffloadCapacity": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "unionId": {
            "type": "number"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "refreshToken": {
            "type": "string"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<FleetContracts, 'id'>"
      },
      "FleetContractsWithRelations": {
        "title": "FleetContractsWithRelations",
        "type": "object",
        "description": "(tsType: FleetContractsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "contractReferenceNumber": {
            "type": "string"
          },
          "contractStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "contractEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "operatorName": {
            "type": "string"
          },
          "operatorMobile": {
            "type": "string"
          },
          "routeId": {
            "type": "number"
          },
          "shift": {
            "type": "number"
          },
          "vehicleRegistrationNumber": {
            "type": "string"
          },
          "vehicleCurbWeight": {
            "type": "number"
          },
          "vehicleOffloadCapacity": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "unionId": {
            "type": "number"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "refreshToken": {
            "type": "string"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "FleetContractsWithRelations"
      },
      "FleetContractsPartial": {
        "title": "FleetContractsPartial",
        "type": "object",
        "description": "(tsType: Partial<FleetContracts>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "contractReferenceNumber": {
            "type": "string"
          },
          "contractStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "contractEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "operatorName": {
            "type": "string"
          },
          "operatorMobile": {
            "type": "string"
          },
          "routeId": {
            "type": "number"
          },
          "shift": {
            "type": "number"
          },
          "vehicleRegistrationNumber": {
            "type": "string"
          },
          "vehicleCurbWeight": {
            "type": "number"
          },
          "vehicleOffloadCapacity": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "unionId": {
            "type": "number"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "accessToken": {
            "type": "string"
          },
          "refreshToken": {
            "type": "string"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<FleetContracts>"
      },
      "CustomerWithRelations": {
        "title": "CustomerWithRelations",
        "type": "object",
        "description": "(tsType: CustomerWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "fullName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "mobileNumber": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "otp": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "isVerified": {
            "type": "boolean"
          },
          "accessToken": {
            "type": "string"
          },
          "profilePhoto": {
            "type": "string"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          }
        },
        "required": [
          "mobileNumber"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CustomerWithRelations"
      },
      "Customer": {
        "title": "Customer",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "fullName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "mobileNumber": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "otp": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "isVerified": {
            "type": "boolean"
          },
          "accessToken": {
            "type": "string"
          },
          "profilePhoto": {
            "type": "string"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          }
        },
        "required": [
          "mobileNumber"
        ],
        "additionalProperties": false
      },
      "CustomerExcluding_id_": {
        "title": "CustomerExcluding_id_",
        "type": "object",
        "description": "(tsType: Omit<Customer, 'id'>, schemaOptions: { exclude: [ 'id' ] })",
        "properties": {
          "unionId": {
            "type": "number"
          },
          "fullName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "mobileNumber": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "otp": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "isVerified": {
            "type": "boolean"
          },
          "accessToken": {
            "type": "string"
          },
          "profilePhoto": {
            "type": "string"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          }
        },
        "required": [
          "mobileNumber"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Customer, 'id'>"
      },
      "Booth": {
        "title": "Booth",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "boothTypeId": {
            "type": "number"
          },
          "agentId": {
            "type": "number"
          },
          "zoneId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "oldRouteIdMorning": {
            "type": "number"
          },
          "oldRouteIdEvening": {
            "type": "number"
          },
          "accessToken": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "landmark": {
            "type": "string"
          },
          "boothCode": {
            "type": "string"
          },
          "imageLink": {
            "type": "string"
          },
          "isLocSubmit": {
            "type": "boolean"
          },
          "locExpireTime": {
            "type": "string"
          },
          "locationUrl": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "outstandingAmount": {
            "type": "number"
          },
          "isOnlinePayAllow": {
            "type": "boolean"
          },
          "isCreditPayAllow": {
            "type": "boolean"
          },
          "isWalletPayAllow": {
            "type": "boolean"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "boothType": {
            "type": "number"
          },
          "depositAmount": {
            "type": "number"
          },
          "depositDate": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BoothWithRelations": {
        "title": "BoothWithRelations",
        "type": "object",
        "description": "(tsType: BoothWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "boothTypeId": {
            "type": "number"
          },
          "agentId": {
            "type": "number"
          },
          "zoneId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "oldRouteIdMorning": {
            "type": "number"
          },
          "oldRouteIdEvening": {
            "type": "number"
          },
          "accessToken": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "landmark": {
            "type": "string"
          },
          "boothCode": {
            "type": "string"
          },
          "imageLink": {
            "type": "string"
          },
          "isLocSubmit": {
            "type": "boolean"
          },
          "locExpireTime": {
            "type": "string"
          },
          "locationUrl": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "outstandingAmount": {
            "type": "number"
          },
          "isOnlinePayAllow": {
            "type": "boolean"
          },
          "isCreditPayAllow": {
            "type": "boolean"
          },
          "isWalletPayAllow": {
            "type": "boolean"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "boothType": {
            "type": "number"
          },
          "depositAmount": {
            "type": "number"
          },
          "depositDate": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "BoothWithRelations"
      },
      "BoothTypeWithRelations": {
        "title": "BoothTypeWithRelations",
        "type": "object",
        "description": "(tsType: BoothTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "boothType": {
            "type": "string"
          },
          "isEnable": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "BoothTypeWithRelations"
      },
      "Zone": {
        "title": "Zone",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "zoneName": {
            "type": "string"
          },
          "unionId": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "number"
          }
        },
        "required": [
          "zoneName",
          "unionId"
        ],
        "additionalProperties": false
      },
      "ZoneWithRelations": {
        "title": "ZoneWithRelations",
        "type": "object",
        "description": "(tsType: ZoneWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "zoneName": {
            "type": "string"
          },
          "unionId": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedBy": {
            "type": "number"
          }
        },
        "required": [
          "zoneName",
          "unionId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ZoneWithRelations"
      },
      "BoothAssignment": {
        "title": "BoothAssignment",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "boothId": {
            "type": "number"
          },
          "agentId": {
            "type": "number"
          },
          "assignmentDate": {
            "type": "string"
          },
          "startDate": {
            "type": "string"
          },
          "endDate": {
            "type": "string"
          },
          "status": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewBoothAssignment": {
        "title": "NewBoothAssignment",
        "type": "object",
        "description": "(tsType: Omit<BoothAssignment, 'id' | 'boothId'>, schemaOptions: { title: 'NewBoothAssignment', exclude: [ 'id', 'boothId' ] })",
        "properties": {
          "unionId": {
            "type": "number"
          },
          "agentId": {
            "type": "number"
          },
          "assignmentDate": {
            "type": "string"
          },
          "startDate": {
            "type": "string"
          },
          "endDate": {
            "type": "string"
          },
          "status": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<BoothAssignment, 'id' | 'boothId'>"
      },
      "AgentWithRelations": {
        "title": "AgentWithRelations",
        "type": "object",
        "description": "(tsType: AgentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "mobileNumber": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "gstRegistered": {
            "type": "boolean"
          },
          "gstNumber": {
            "type": "string"
          },
          "legacyAgentCode": {
            "type": "string"
          },
          "aadharNumber": {
            "type": "string"
          },
          "aadharLink": {
            "type": "string"
          },
          "hasAadharVerified": {
            "type": "boolean"
          },
          "panNumber": {
            "type": "string"
          },
          "panCardLink": {
            "type": "string"
          },
          "hasPancardVerified": {
            "type": "boolean"
          },
          "isAadhaarKycVerified": {
            "type": "boolean"
          },
          "isPanKycVerified": {
            "type": "boolean"
          },
          "accountNumber": {
            "type": "string"
          },
          "accountHolderName": {
            "type": "string"
          },
          "ifscCode": {
            "type": "string"
          },
          "bankName": {
            "type": "string"
          },
          "bankBranch": {
            "type": "string"
          },
          "hasBankAccountVerified": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "accessToken": {
            "type": "string"
          },
          "otp": {
            "type": "string"
          },
          "profilePhoto": {
            "type": "string"
          },
          "fssaiNumber": {
            "type": "number"
          },
          "boothTypeId": {
            "type": "number"
          },
          "iosPushToken": {
            "type": "string"
          },
          "androidPushToken": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "appCurVersion": {
            "type": "string"
          },
          "dOsApi": {
            "type": "string"
          },
          "dManufacture": {
            "type": "string"
          },
          "dModel": {
            "type": "string"
          },
          "dOsVersion": {
            "type": "string"
          },
          "loginDevice": {
            "type": "string"
          },
          "lastLoginTime": {
            "type": "string"
          },
          "lastAutologinTime": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "mobileNumber",
          "gender",
          "aadharNumber",
          "panNumber",
          "bankBranch"
        ],
        "additionalProperties": false,
        "x-typescript-type": "AgentWithRelations"
      },
      "AgentTypeWithRelations": {
        "title": "AgentTypeWithRelations",
        "type": "object",
        "description": "(tsType: AgentTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "agentType": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "AgentTypeWithRelations"
      },
      "UnionWithRelations": {
        "title": "UnionWithRelations",
        "type": "object",
        "description": "(tsType: UnionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "stdUnionCode": {
            "type": "string"
          },
          "cbeUnionCode": {
            "type": "string"
          },
          "unionName": {
            "type": "string"
          },
          "district": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "eveningOrderCutoffTime": {
            "type": "string"
          },
          "morningOrderCutoffTime": {
            "type": "string"
          },
          "morningSlotDay": {
            "type": "number"
          },
          "eveningSlotDay": {
            "type": "number"
          },
          "isMorningSlotEnable": {
            "type": "boolean"
          },
          "isEveningSlotEnable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "UnionWithRelations"
      },
      "AdminUser": {
        "title": "AdminUser",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "mobileNumber": {
            "type": "string"
          },
          "passwordHash": {
            "type": "string"
          },
          "otp": {
            "type": "number"
          },
          "hasOtpVerified": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "profileImageUrl": {
            "type": "string"
          },
          "lastLoginIp": {
            "type": "string"
          },
          "lastLoginAt": {
            "type": "string",
            "format": "date-time"
          },
          "deviceInfo": {
            "type": "string"
          },
          "createdByUserId": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "accessToken": {
            "type": "string"
          },
          "refreshToken": {
            "type": "string"
          },
          "refreshTokenExpireAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "email",
          "passwordHash"
        ],
        "additionalProperties": false
      },
      "AdminUserWithRelations": {
        "title": "AdminUserWithRelations",
        "type": "object",
        "description": "(tsType: AdminUserWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "unionId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "mobileNumber": {
            "type": "string"
          },
          "passwordHash": {
            "type": "string"
          },
          "otp": {
            "type": "number"
          },
          "hasOtpVerified": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "profileImageUrl": {
            "type": "string"
          },
          "lastLoginIp": {
            "type": "string"
          },
          "lastLoginAt": {
            "type": "string",
            "format": "date-time"
          },
          "deviceInfo": {
            "type": "string"
          },
          "createdByUserId": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "accessToken": {
            "type": "string"
          },
          "refreshToken": {
            "type": "string"
          },
          "refreshTokenExpireAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "email",
          "passwordHash"
        ],
        "additionalProperties": false,
        "x-typescript-type": "AdminUserWithRelations"
      },
      "Society.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Society.ScopeFilter"
      },
      "Society.IncludeFilter.Items": {
        "title": "Society.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "userMappings",
              "kycRequests"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Society.ScopeFilter"
          }
        }
      },
      "Society.Filter": {
        "type": "object",
        "title": "Society.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "unionId": {
                    "type": "boolean"
                  },
                  "societyName": {
                    "type": "boolean"
                  },
                  "societyCode": {
                    "type": "boolean"
                  },
                  "registrationNumber": {
                    "type": "boolean"
                  },
                  "nameOfMpcs": {
                    "type": "boolean"
                  },
                  "societyType": {
                    "type": "boolean"
                  },
                  "zoneId": {
                    "type": "boolean"
                  },
                  "blockId": {
                    "type": "boolean"
                  },
                  "talukId": {
                    "type": "boolean"
                  },
                  "coordinates": {
                    "type": "boolean"
                  },
                  "morningRouteId": {
                    "type": "boolean"
                  },
                  "eveningRouteId": {
                    "type": "boolean"
                  },
                  "lat": {
                    "type": "boolean"
                  },
                  "lng": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "landmark": {
                    "type": "boolean"
                  },
                  "isLocSubmit": {
                    "type": "boolean"
                  },
                  "locExpireTime": {
                    "type": "boolean"
                  },
                  "locationUrl": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "unionId",
                    "societyName",
                    "societyCode",
                    "registrationNumber",
                    "nameOfMpcs",
                    "societyType",
                    "zoneId",
                    "blockId",
                    "talukId",
                    "coordinates",
                    "morningRouteId",
                    "eveningRouteId",
                    "lat",
                    "lng",
                    "address",
                    "landmark",
                    "isLocSubmit",
                    "locExpireTime",
                    "locationUrl",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "is_deleted"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Society.Fields"
          },
          "include": {
            "title": "Society.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Society.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Society>"
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ]
}