{
  "openapi": "3.0.0",
  "info": {
    "title": "lchs-backend",
    "version": "0.0.1",
    "description": "lchs-backend",
    "contact": {
      "name": "Virendra Singh",
      "email": "vsingh1@bechtel.com"
    }
  },
  "paths": {
    "/aboutUs/count": {
      "get": {
        "x-controller-name": "AboutUsController",
        "x-operation-name": "count",
        "tags": [
          "AboutUsController"
        ],
        "responses": {
          "200": {
            "description": "AboutUs model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "AboutUs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<AboutUs>"
                }
              }
            }
          }
        ],
        "operationId": "AboutUsController.count"
      }
    },
    "/aboutUs/{id}": {
      "post": {
        "x-controller-name": "AboutUsController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "AboutUsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AboutUs POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AboutUsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AboutUsController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "AboutUsController",
        "x-operation-name": "replaceById",
        "tags": [
          "AboutUsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AboutUs PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AboutUs"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AboutUsController.replaceById"
      },
      "patch": {
        "x-controller-name": "AboutUsController",
        "x-operation-name": "updateById",
        "tags": [
          "AboutUsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AboutUs PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AboutUsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AboutUsController.updateById"
      },
      "get": {
        "x-controller-name": "AboutUsController",
        "x-operation-name": "findById",
        "tags": [
          "AboutUsController"
        ],
        "responses": {
          "200": {
            "description": "AboutUs model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AboutUsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AboutUs.Filter"
                }
              }
            }
          }
        ],
        "operationId": "AboutUsController.findById"
      },
      "delete": {
        "x-controller-name": "AboutUsController",
        "x-operation-name": "deleteById",
        "tags": [
          "AboutUsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AboutUs DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AboutUsController.deleteById"
      }
    },
    "/aboutUs": {
      "post": {
        "x-controller-name": "AboutUsController",
        "x-operation-name": "create",
        "tags": [
          "AboutUsController"
        ],
        "responses": {
          "200": {
            "description": "AboutUs model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AboutUs"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAboutUs"
              }
            }
          }
        },
        "operationId": "AboutUsController.create"
      },
      "get": {
        "x-controller-name": "AboutUsController",
        "x-operation-name": "find",
        "tags": [
          "AboutUsController"
        ],
        "responses": {
          "200": {
            "description": "Array of AboutUs model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AboutUsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AboutUs.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "AboutUsController.find"
      }
    },
    "/admin/staff/count": {
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "count",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User model count"
                }
              }
            }
          }
        },
        "operationId": "StaffController.count"
      }
    },
    "/admin/staff/prototype": {
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "findAll",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Staff prototype list"
                }
              }
            }
          }
        },
        "operationId": "StaffController.findAll"
      }
    },
    "/admin/staff/{id}": {
      "post": {
        "x-controller-name": "StaffController",
        "x-operation-name": "updateById",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update staff"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StaffController.updateById"
      },
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "findById",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Staff details"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StaffController.findById"
      }
    },
    "/admin/staff": {
      "post": {
        "x-controller-name": "StaffController",
        "x-operation-name": "create",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create staff"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "StaffController.create"
      },
      "get": {
        "x-controller-name": "StaffController",
        "x-operation-name": "find",
        "tags": [
          "StaffController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Staff list"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "isPagination",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "searchbar",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "role",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "nextToken",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "StaffController.find"
      }
    },
    "/areaOfConcern/count": {
      "get": {
        "x-controller-name": "AreaOfConcernController",
        "x-operation-name": "count",
        "tags": [
          "AreaOfConcernController"
        ],
        "responses": {
          "200": {
            "description": "AreaOfConcern model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "AreaOfConcern.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<AreaOfConcern>"
                }
              }
            }
          }
        ],
        "operationId": "AreaOfConcernController.count"
      }
    },
    "/areaOfConcern/{id}": {
      "post": {
        "x-controller-name": "AreaOfConcernController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "AreaOfConcernController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AreaOfConcern POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AreaOfConcernPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AreaOfConcernController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "AreaOfConcernController",
        "x-operation-name": "replaceById",
        "tags": [
          "AreaOfConcernController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AreaOfConcern PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AreaOfConcern"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AreaOfConcernController.replaceById"
      },
      "patch": {
        "x-controller-name": "AreaOfConcernController",
        "x-operation-name": "updateById",
        "tags": [
          "AreaOfConcernController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AreaOfConcern PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AreaOfConcernPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AreaOfConcernController.updateById"
      },
      "get": {
        "x-controller-name": "AreaOfConcernController",
        "x-operation-name": "findById",
        "tags": [
          "AreaOfConcernController"
        ],
        "responses": {
          "200": {
            "description": "AreaOfConcern model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaOfConcernWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaOfConcern.Filter"
                }
              }
            }
          }
        ],
        "operationId": "AreaOfConcernController.findById"
      },
      "delete": {
        "x-controller-name": "AreaOfConcernController",
        "x-operation-name": "deleteById",
        "tags": [
          "AreaOfConcernController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "AreaOfConcern DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AreaOfConcernController.deleteById"
      }
    },
    "/areaOfConcern": {
      "post": {
        "x-controller-name": "AreaOfConcernController",
        "x-operation-name": "create",
        "tags": [
          "AreaOfConcernController"
        ],
        "responses": {
          "200": {
            "description": "AreaOfConcern model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaOfConcern"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAreaOfConcern"
              }
            }
          }
        },
        "operationId": "AreaOfConcernController.create"
      },
      "get": {
        "x-controller-name": "AreaOfConcernController",
        "x-operation-name": "find",
        "tags": [
          "AreaOfConcernController"
        ],
        "responses": {
          "200": {
            "description": "Array of AreaOfConcern model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AreaOfConcernWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AreaOfConcern.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "AreaOfConcernController.find"
      }
    },
    "/assessments/assessmentId/{assessmentId}": {
      "get": {
        "x-controller-name": "AssessmentController",
        "x-operation-name": "findByAssessmentId",
        "tags": [
          "AssessmentController"
        ],
        "responses": {
          "200": {
            "description": "Assessment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssessmentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "assessmentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AssessmentController.findByAssessmentId"
      }
    },
    "/assessments/{id}/useranswer": {
      "post": {
        "x-controller-name": "AssessmentController",
        "x-operation-name": "submitAnswers",
        "tags": [
          "AssessmentController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Submit assessment answers"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "answers": {
                    "type": "string"
                  },
                  "lifeScoreRate": {
                    "type": "string"
                  },
                  "categoryWiseRate": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AssessmentController.submitAnswers"
      }
    },
    "/assessments/{subId}": {
      "post": {
        "x-controller-name": "AssessmentController",
        "x-operation-name": "create",
        "tags": [
          "AssessmentController"
        ],
        "responses": {
          "200": {
            "description": "Assessment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Assessment"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAssessment"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AssessmentController.create"
      },
      "get": {
        "x-controller-name": "AssessmentController",
        "x-operation-name": "findBySubId",
        "tags": [
          "AssessmentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Assessment model instances for a user",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssessmentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "assessmentType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AssessmentController.findBySubId"
      }
    },
    "/assessments/{id}": {
      "patch": {
        "x-controller-name": "AssessmentController",
        "x-operation-name": "updateById",
        "tags": [
          "AssessmentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Assessment PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssessmentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AssessmentController.updateById"
      },
      "delete": {
        "x-controller-name": "AssessmentController",
        "x-operation-name": "deleteById",
        "tags": [
          "AssessmentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Assessment DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AssessmentController.deleteById"
      }
    },
    "/assessments/{assessmentId}": {
      "get": {
        "x-controller-name": "AssessmentController",
        "x-operation-name": "findById",
        "tags": [
          "AssessmentController"
        ],
        "responses": {
          "200": {
            "description": "Assessment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssessmentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "assessmentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AssessmentController.findById"
      }
    },
    "/auth/change-password": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "changePassword",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "204": {
            "description": "Password changed successfully"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "oldPassword",
                  "newPassword"
                ],
                "properties": {
                  "oldPassword": {
                    "type": "string"
                  },
                  "newPassword": {
                    "type": "string",
                    "minLength": 8
                  }
                }
              }
            }
          }
        },
        "operationId": "AuthController.changePassword"
      }
    },
    "/auth/forgot-password": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "forgotPassword",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Password reset email sent",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "X-Frontend-Url",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  }
                }
              }
            }
          }
        },
        "operationId": "AuthController.forgotPassword"
      }
    },
    "/auth/login": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "login",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "User login",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "string"
                    },
                    "user": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        },
                        "email": {
                          "type": "string"
                        },
                        "firstName": {
                          "type": "string"
                        },
                        "lastName": {
                          "type": "string"
                        },
                        "role": {
                          "type": "number"
                        },
                        "roleName": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "X-App-Name",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "description": "Email address or username"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "AuthController.login"
      }
    },
    "/auth/register": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "register",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "User registration",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "string"
                    },
                    "user": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        },
                        "email": {
                          "type": "string"
                        },
                        "firstName": {
                          "type": "string"
                        },
                        "lastName": {
                          "type": "string"
                        },
                        "role": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "password": {
                    "type": "string",
                    "minLength": 8
                  },
                  "name": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string",
                    "description": "Defaults to email if not provided"
                  },
                  "gender": {
                    "type": "string",
                    "enum": [
                      "Male",
                      "Female",
                      "Other",
                      "Not Mentioned"
                    ]
                  },
                  "roleId": {
                    "type": "number",
                    "description": "Must reference a valid role_master.id"
                  }
                }
              }
            }
          }
        },
        "operationId": "AuthController.register"
      }
    },
    "/auth/reset-password": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "resetPassword",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Password reset successful",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token",
                  "newPassword"
                ],
                "properties": {
                  "token": {
                    "type": "string"
                  },
                  "newPassword": {
                    "type": "string",
                    "minLength": 8
                  }
                }
              }
            }
          }
        },
        "operationId": "AuthController.resetPassword"
      }
    },
    "/auth/verify-reset-token": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "verifyResetToken",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Token verification result",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "valid": {
                      "type": "boolean"
                    },
                    "email": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "token"
                ],
                "properties": {
                  "token": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "AuthController.verifyResetToken"
      }
    },
    "/auth/whoami": {
      "get": {
        "x-controller-name": "AuthController",
        "x-operation-name": "whoAmI",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Current user profile",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "userId": {
                      "type": "number"
                    },
                    "email": {
                      "type": "string"
                    },
                    "firstName": {
                      "type": "string"
                    },
                    "lastName": {
                      "type": "string"
                    },
                    "phoneNumber": {
                      "type": "string"
                    },
                    "role": {
                      "type": "number"
                    },
                    "roleName": {
                      "type": "string"
                    },
                    "profilePic": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "X-App-Name",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AuthController.whoAmI"
      }
    },
    "/breakdown": {
      "get": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "getPayoutBreakdown",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Payout breakdown"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "payoutId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "PayoutController.getPayoutBreakdown"
      }
    },
    "/bulk-hold/nutritionist/{id}/approve": {
      "put": {
        "x-controller-name": "BulkOperationsController",
        "x-operation-name": "approveNutritionistBulkHold",
        "tags": [
          "BulkOperationsController"
        ],
        "responses": {
          "200": {
            "description": "Approve or reject nutritionist bulk hold request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NutritionistBulkHoldRequest"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "approved",
                      "reject"
                    ]
                  },
                  "approverComment": {
                    "type": "string"
                  },
                  "approverName": {
                    "type": "string"
                  },
                  "approvedById": {
                    "type": "number"
                  }
                },
                "required": [
                  "status"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BulkOperationsController.approveNutritionistBulkHold"
      }
    },
    "/bulk-hold/nutritionist": {
      "post": {
        "x-controller-name": "BulkOperationsController",
        "x-operation-name": "createNutritionistBulkHold",
        "tags": [
          "BulkOperationsController"
        ],
        "responses": {
          "200": {
            "description": "Create nutritionist bulk hold request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NutritionistBulkHoldRequest"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNutritionistBulkHoldRequest"
              }
            }
          }
        },
        "operationId": "BulkOperationsController.createNutritionistBulkHold"
      },
      "get": {
        "x-controller-name": "BulkOperationsController",
        "x-operation-name": "findNutritionistBulkHolds",
        "tags": [
          "BulkOperationsController"
        ],
        "responses": {
          "200": {
            "description": "List nutritionist bulk hold requests",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NutritionistBulkHoldRequest"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BulkOperationsController.findNutritionistBulkHolds"
      }
    },
    "/bulk-hold/organization/{id}/programs": {
      "get": {
        "x-controller-name": "BulkOperationsController",
        "x-operation-name": "getOrganizationHoldPrograms",
        "tags": [
          "BulkOperationsController"
        ],
        "responses": {
          "200": {
            "description": "Get programs affected by organization hold",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "request": {
                      "$ref": "#/components/schemas/LukeHolidayHoldRequest"
                    },
                    "totalPrograms": {
                      "type": "number"
                    },
                    "holds": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/LukeHolidayHold"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BulkOperationsController.getOrganizationHoldPrograms"
      }
    },
    "/bulk-hold/organization": {
      "post": {
        "x-controller-name": "BulkOperationsController",
        "x-operation-name": "createOrganizationHold",
        "tags": [
          "BulkOperationsController"
        ],
        "responses": {
          "200": {
            "description": "Create organization-wide holiday hold",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LukeHolidayHoldRequest"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLukeHolidayHoldRequest"
              }
            }
          }
        },
        "operationId": "BulkOperationsController.createOrganizationHold"
      },
      "get": {
        "x-controller-name": "BulkOperationsController",
        "x-operation-name": "findOrganizationHolds",
        "tags": [
          "BulkOperationsController"
        ],
        "responses": {
          "200": {
            "description": "List organization holiday hold requests",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LukeHolidayHoldRequest"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "requesterId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BulkOperationsController.findOrganizationHolds"
      }
    },
    "/businessUnit": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getBusinessUnits",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Business units"
                }
              }
            }
          }
        },
        "operationId": "AdminSupportController.getBusinessUnits"
      }
    },
    "/category": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getCategories",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Assessment categories"
                }
              }
            }
          }
        },
        "operationId": "AdminSupportController.getCategories"
      }
    },
    "/childConfiguration/count": {
      "get": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "countChildConfigs",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "ChildConfiguration model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ChildConfiguration.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ChildConfiguration>"
                }
              }
            }
          }
        ],
        "operationId": "ConfigurationController.countChildConfigs"
      }
    },
    "/childConfiguration/{id}": {
      "post": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "updateChildConfigByIdPost",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ChildConfiguration POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChildConfigurationPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConfigurationController.updateChildConfigByIdPost"
      },
      "patch": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "updateChildConfigById",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ChildConfiguration PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChildConfigurationPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConfigurationController.updateChildConfigById"
      },
      "get": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "findChildConfigById",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "ChildConfiguration model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChildConfigurationWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChildConfiguration.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ConfigurationController.findChildConfigById"
      },
      "delete": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "deleteChildConfigById",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ChildConfiguration DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConfigurationController.deleteChildConfigById"
      }
    },
    "/childConfiguration": {
      "post": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "createChildConfig",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "ChildConfiguration model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChildConfiguration"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewChildConfiguration"
              }
            }
          }
        },
        "operationId": "ConfigurationController.createChildConfig"
      },
      "get": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "findChildConfigs",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "Array of ChildConfiguration model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChildConfigurationWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "masterConfigId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChildConfiguration.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ConfigurationController.findChildConfigs"
      }
    },
    "/childfeedback/count": {
      "get": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "count",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "ProgramFeedback model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProgramFeedback.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProgramFeedback>"
                }
              }
            }
          }
        ],
        "operationId": "FeedbackController.count"
      }
    },
    "/childfeedback/escalation/list": {
      "get": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "getEscalationFeedbacks",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "Feedbacks flagged for escalation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramFeedback"
                  }
                }
              }
            }
          }
        },
        "operationId": "FeedbackController.getEscalationFeedbacks"
      }
    },
    "/childfeedback/negative/list": {
      "get": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "getNegativeFeedbacks",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "Negative feedbacks requiring action",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramFeedback"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "actionPending",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "FeedbackController.getNegativeFeedbacks"
      }
    },
    "/childfeedback/nps/score": {
      "get": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "calculateNPS",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "Calculate NPS score",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "npsScore": {
                      "type": "number"
                    },
                    "promoters": {
                      "type": "number"
                    },
                    "passives": {
                      "type": "number"
                    },
                    "detractors": {
                      "type": "number"
                    },
                    "totalResponses": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FeedbackController.calculateNPS"
      }
    },
    "/childfeedback/statistics/summary": {
      "get": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "getStatistics",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "Feedback statistics",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalFeedbacks": {
                      "type": "number"
                    },
                    "positive": {
                      "type": "number"
                    },
                    "negative": {
                      "type": "number"
                    },
                    "neutral": {
                      "type": "number"
                    },
                    "averageOverallRating": {
                      "type": "number"
                    },
                    "averageNPS": {
                      "type": "number"
                    },
                    "escalationRequired": {
                      "type": "number"
                    },
                    "actionPending": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "nutritionistId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FeedbackController.getStatistics"
      }
    },
    "/childfeedback/testimonial/list": {
      "get": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "getTestimonialFeedbacks",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "Feedbacks suitable for testimonials",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramFeedback"
                  }
                }
              }
            }
          }
        },
        "operationId": "FeedbackController.getTestimonialFeedbacks"
      }
    },
    "/childfeedback/{feedbackId}": {
      "post": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "updateById",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProgramFeedback update/review"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "feedbackId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProgramFeedbackPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FeedbackController.updateById"
      },
      "patch": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProgramFeedback PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "feedbackId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProgramFeedbackPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FeedbackController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "findById",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "ProgramFeedback model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProgramFeedback"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "feedbackId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FeedbackController.findById"
      },
      "delete": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "deleteById",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProgramFeedback DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "feedbackId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FeedbackController.deleteById"
      }
    },
    "/childfeedback": {
      "post": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "create",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "ProgramFeedback model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProgramFeedback"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProgramFeedback"
              }
            }
          }
        },
        "operationId": "FeedbackController.create"
      },
      "get": {
        "x-controller-name": "FeedbackController",
        "x-operation-name": "find",
        "tags": [
          "FeedbackController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProgramFeedback model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramFeedback"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "isPagination",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "progId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "feedbackStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tag",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "clientId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "nutritionistId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "searchbar",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "FeedbackController.find"
      }
    },
    "/cities": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "getCities",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Array of cities",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "cityName": {
                        "type": "string"
                      },
                      "cityCode": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "LeadController.getCities"
      }
    },
    "/corporate/{id}/assessment/statistics": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "corporateAssessmentStatistics",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Corporate assessment statistics"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AdminSupportController.corporateAssessmentStatistics"
      }
    },
    "/corporate/{id}/question": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "saveCorporateQuestions",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Attach corporate questions"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AdminSupportController.saveCorporateQuestions"
      }
    },
    "/corporate/{id}": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "updateCorporate",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update corporate"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AdminSupportController.updateCorporate"
      },
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getCorporateById",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Corporate details"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AdminSupportController.getCorporateById"
      }
    },
    "/corporate": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "createCorporate",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create corporate"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AdminSupportController.createCorporate"
      },
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getCorporates",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Corporate list"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "isPagination",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "cq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isActive",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "AdminSupportController.getCorporates"
      }
    },
    "/currencyTypes/count": {
      "get": {
        "x-controller-name": "CurrencyTypeController",
        "x-operation-name": "count",
        "tags": [
          "CurrencyTypeController"
        ],
        "responses": {
          "200": {
            "description": "CurrencyType model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "CurrencyType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<CurrencyType>"
                }
              }
            }
          }
        ],
        "operationId": "CurrencyTypeController.count"
      }
    },
    "/currencyTypes/{id}": {
      "post": {
        "x-controller-name": "CurrencyTypeController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "CurrencyTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CurrencyType POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CurrencyTypeController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "CurrencyTypeController",
        "x-operation-name": "replaceById",
        "tags": [
          "CurrencyTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CurrencyType PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyType"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CurrencyTypeController.replaceById"
      },
      "patch": {
        "x-controller-name": "CurrencyTypeController",
        "x-operation-name": "updateById",
        "tags": [
          "CurrencyTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CurrencyType PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CurrencyTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CurrencyTypeController.updateById"
      },
      "get": {
        "x-controller-name": "CurrencyTypeController",
        "x-operation-name": "findById",
        "tags": [
          "CurrencyTypeController"
        ],
        "responses": {
          "200": {
            "description": "CurrencyType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyTypeWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyType.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CurrencyTypeController.findById"
      },
      "delete": {
        "x-controller-name": "CurrencyTypeController",
        "x-operation-name": "deleteById",
        "tags": [
          "CurrencyTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CurrencyType DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CurrencyTypeController.deleteById"
      }
    },
    "/currencyTypes": {
      "post": {
        "x-controller-name": "CurrencyTypeController",
        "x-operation-name": "create",
        "tags": [
          "CurrencyTypeController"
        ],
        "responses": {
          "200": {
            "description": "CurrencyType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyType"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCurrencyType"
              }
            }
          }
        },
        "operationId": "CurrencyTypeController.create"
      },
      "get": {
        "x-controller-name": "CurrencyTypeController",
        "x-operation-name": "find",
        "tags": [
          "CurrencyTypeController"
        ],
        "responses": {
          "200": {
            "description": "Array of CurrencyType model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CurrencyTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrencyType.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CurrencyTypeController.find"
      }
    },
    "/department": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getDepartments",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Departments"
                }
              }
            }
          }
        },
        "operationId": "AdminSupportController.getDepartments"
      }
    },
    "/dosage": {
      "get": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "getDosageOptions",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get dosage options"
                }
              }
            }
          }
        },
        "operationId": "SupplementMasterController.getDosageOptions"
      }
    },
    "/email/send": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "sendEmail",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Send email"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AdminSupportController.sendEmail"
      }
    },
    "/email/template/generation": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "generateEmailTemplate",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Generate email template"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AdminSupportController.generateEmailTemplate"
      }
    },
    "/event/belowTable": {
      "get": {
        "x-controller-name": "EventController",
        "x-operation-name": "getBelowTable",
        "tags": [
          "EventController"
        ],
        "responses": {
          "200": {
            "description": "Program events below table",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "es",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "EventController.getBelowTable"
      }
    },
    "/event/multiusereventlist": {
      "get": {
        "x-controller-name": "EventController",
        "x-operation-name": "getMultiUserEvents",
        "tags": [
          "EventController"
        ],
        "responses": {
          "200": {
            "description": "Get events for multiple users or by date",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramCallLog"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "assignNutriId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "EventController.getMultiUserEvents"
      }
    },
    "/event/timeline/{progId}": {
      "get": {
        "x-controller-name": "EventController",
        "x-operation-name": "getTimeline",
        "tags": [
          "EventController"
        ],
        "responses": {
          "200": {
            "description": "Get program timeline/events",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramCallLog"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "progId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EventController.getTimeline"
      }
    },
    "/event/{subId}/multiusereventlist": {
      "get": {
        "x-controller-name": "EventController",
        "x-operation-name": "getUserEvents",
        "tags": [
          "EventController"
        ],
        "responses": {
          "200": {
            "description": "Get user events",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramCallLog"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "date",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "EventController.getUserEvents"
      }
    },
    "/event/{progId}": {
      "post": {
        "x-controller-name": "EventController",
        "x-operation-name": "createEvent",
        "tags": [
          "EventController"
        ],
        "responses": {
          "200": {
            "description": "Create or update program event",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProgramCallLog"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "progId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProgramCallLog"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EventController.createEvent"
      }
    },
    "/event/{id}": {
      "put": {
        "x-controller-name": "EventController",
        "x-operation-name": "replaceById",
        "tags": [
          "EventController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Event PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProgramCallLog"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EventController.replaceById"
      },
      "patch": {
        "x-controller-name": "EventController",
        "x-operation-name": "updateById",
        "tags": [
          "EventController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Event PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProgramCallLogPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EventController.updateById"
      },
      "delete": {
        "x-controller-name": "EventController",
        "x-operation-name": "deleteById",
        "tags": [
          "EventController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Event DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EventController.deleteById"
      }
    },
    "/event": {
      "post": {
        "x-controller-name": "EventController",
        "x-operation-name": "create",
        "tags": [
          "EventController"
        ],
        "responses": {
          "200": {
            "description": "Create program event",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProgramCallLog"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProgramCallLog"
              }
            }
          }
        },
        "operationId": "EventController.create"
      }
    },
    "/exercise/count": {
      "get": {
        "x-controller-name": "ExerciseMasterController",
        "x-operation-name": "count",
        "tags": [
          "ExerciseMasterController"
        ],
        "responses": {
          "200": {
            "description": "Exercise model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Exercise.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Exercise>"
                }
              }
            }
          }
        ],
        "operationId": "ExerciseMasterController.count"
      }
    },
    "/exercise/{id}": {
      "post": {
        "x-controller-name": "ExerciseMasterController",
        "x-operation-name": "updateById",
        "tags": [
          "ExerciseMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Exercise update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExercisePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ExerciseMasterController.updateById"
      },
      "patch": {
        "x-controller-name": "ExerciseMasterController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "ExerciseMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Exercise PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExercisePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ExerciseMasterController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "ExerciseMasterController",
        "x-operation-name": "findById",
        "tags": [
          "ExerciseMasterController"
        ],
        "responses": {
          "200": {
            "description": "Exercise model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExerciseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ExerciseMasterController.findById"
      },
      "delete": {
        "x-controller-name": "ExerciseMasterController",
        "x-operation-name": "deleteById",
        "tags": [
          "ExerciseMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Exercise DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ExerciseMasterController.deleteById"
      }
    },
    "/exercise": {
      "post": {
        "x-controller-name": "ExerciseMasterController",
        "x-operation-name": "create",
        "tags": [
          "ExerciseMasterController"
        ],
        "responses": {
          "200": {
            "description": "Exercise model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Exercise"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewExercise"
              }
            }
          }
        },
        "operationId": "ExerciseMasterController.create"
      },
      "get": {
        "x-controller-name": "ExerciseMasterController",
        "x-operation-name": "find",
        "tags": [
          "ExerciseMasterController"
        ],
        "responses": {
          "200": {
            "description": "Array of Exercise model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExerciseWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "muscleGroup",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "difficultyLevel",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ExerciseMasterController.find"
      }
    },
    "/featureDuration": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getFeatureDuration",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Feature duration types"
                }
              }
            }
          }
        },
        "operationId": "AdminSupportController.getFeatureDuration"
      }
    },
    "/foodItem/count": {
      "get": {
        "x-controller-name": "NutritionMasterController",
        "x-operation-name": "count",
        "tags": [
          "NutritionMasterController"
        ],
        "responses": {
          "200": {
            "description": "FoodItem model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FoodItem.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FoodItem>"
                }
              }
            }
          }
        ],
        "operationId": "NutritionMasterController.count"
      }
    },
    "/foodItem/{id}": {
      "post": {
        "x-controller-name": "NutritionMasterController",
        "x-operation-name": "updateById",
        "tags": [
          "NutritionMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FoodItem update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FoodItemPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NutritionMasterController.updateById"
      },
      "patch": {
        "x-controller-name": "NutritionMasterController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "NutritionMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FoodItem PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FoodItemPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NutritionMasterController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "NutritionMasterController",
        "x-operation-name": "findById",
        "tags": [
          "NutritionMasterController"
        ],
        "responses": {
          "200": {
            "description": "FoodItem model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodItemWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NutritionMasterController.findById"
      },
      "delete": {
        "x-controller-name": "NutritionMasterController",
        "x-operation-name": "deleteById",
        "tags": [
          "NutritionMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FoodItem DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NutritionMasterController.deleteById"
      }
    },
    "/foodItem": {
      "post": {
        "x-controller-name": "NutritionMasterController",
        "x-operation-name": "create",
        "tags": [
          "NutritionMasterController"
        ],
        "responses": {
          "200": {
            "description": "FoodItem model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodItem"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFoodItem"
              }
            }
          }
        },
        "operationId": "NutritionMasterController.create"
      },
      "get": {
        "x-controller-name": "NutritionMasterController",
        "x-operation-name": "find",
        "tags": [
          "NutritionMasterController"
        ],
        "responses": {
          "200": {
            "description": "Array of FoodItem model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FoodItemWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dietPreference",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "foodCategory",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "NutritionMasterController.find"
      }
    },
    "/frequency": {
      "get": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "getFrequencyOptions",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get frequency options"
                }
              }
            }
          }
        },
        "operationId": "SupplementMasterController.getFrequencyOptions"
      }
    },
    "/goals/{goalsId}": {
      "post": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "updateGoal",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Update goal/progress",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "goalsId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProgramDetailsSupportController.updateGoal"
      }
    },
    "/goals": {
      "post": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "createGoal",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Create goal",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ProgramDetailsSupportController.createGoal"
      },
      "get": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "getGoals",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Goals by program",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "gq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProgramDetailsSupportController.getGoals"
      }
    },
    "/healthInsight/{reportId}/blueprint": {
      "get": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "getHealthInsightBlueprint",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Health insight blueprint",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "reportId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ProgramDetailsSupportController.getHealthInsightBlueprint"
      }
    },
    "/healthInsight": {
      "get": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "getHealthInsight",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Health insight biomarker data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "hiq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProgramDetailsSupportController.getHealthInsight"
      }
    },
    "/hnReview": {
      "get": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "hnReview",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "HN Review data"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ReportsController.hnReview"
      }
    },
    "/intakeTiming": {
      "get": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "getIntakeTimingOptions",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get intake timing options"
                }
              }
            }
          }
        },
        "operationId": "SupplementMasterController.getIntakeTimingOptions"
      }
    },
    "/lead/count": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "count",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Lead model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Lead.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Lead>"
                }
              }
            }
          }
        ],
        "operationId": "LeadController.count"
      }
    },
    "/lead/pending-status": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "getPendingStatus",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Pending status analytics for lead dashboard",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "requestCounts": {
                      "type": "object",
                      "properties": {
                        "PAYMENT_PENDING": {
                          "type": "number"
                        },
                        "PDFORM_PENDING": {
                          "type": "number"
                        },
                        "MR_PENDING": {
                          "type": "number"
                        },
                        "ASSIGNMENT_PENDING": {
                          "type": "number"
                        },
                        "ASSIGNMENT_COMPLETED": {
                          "type": "number"
                        },
                        "TRANSFER_PENDING": {
                          "type": "number"
                        }
                      }
                    },
                    "getTotalUserCount": {
                      "type": "number"
                    },
                    "getAsignmentPendingrequest": {
                      "type": "object",
                      "properties": {
                        "Senior": {
                          "type": "number"
                        },
                        "Junior": {
                          "type": "number"
                        },
                        "Exclusive": {
                          "type": "number"
                        },
                        "Priority": {
                          "type": "number"
                        }
                      }
                    },
                    "getTotalAssignmentPendingCount": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "qp",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "LeadController.getPendingStatus"
      }
    },
    "/lead/{leadId}/status": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "getLeadStatus",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Get lead status with assignment eligibility info",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "leadId": {
                      "type": "number"
                    },
                    "programId": {
                      "type": "number",
                      "nullable": true
                    },
                    "clientId": {
                      "type": "number",
                      "nullable": true
                    },
                    "consultTakenBy": {
                      "type": "number",
                      "nullable": true
                    },
                    "referredByNutritionistId": {
                      "type": "number",
                      "nullable": true
                    },
                    "nutritionistAssignId": {
                      "type": "number",
                      "nullable": true
                    },
                    "coordinatorMessage": {
                      "type": "string",
                      "nullable": true
                    },
                    "productId": {
                      "type": "number",
                      "nullable": true
                    },
                    "mrReportUpload": {
                      "type": "boolean"
                    },
                    "userAssignId": {
                      "type": "number",
                      "nullable": true
                    },
                    "isProgramCreated": {
                      "type": "boolean"
                    },
                    "paymentApprovedDate": {
                      "type": "string",
                      "nullable": true
                    },
                    "inquiryMasterId": {
                      "type": "number",
                      "nullable": true
                    },
                    "leadStatusId": {
                      "type": "number",
                      "nullable": true
                    },
                    "leadStatusSubId": {
                      "type": "number",
                      "nullable": true
                    },
                    "leadTypeId": {
                      "type": "number",
                      "nullable": true
                    },
                    "mrApprovalDate": {
                      "type": "string",
                      "nullable": true
                    },
                    "journeyStatus": {
                      "type": "string"
                    },
                    "canAssignProgram": {
                      "type": "boolean"
                    },
                    "isTransferLead": {
                      "type": "boolean"
                    },
                    "pdFormUploaded": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.getLeadStatus"
      }
    },
    "/lead/{id}": {
      "put": {
        "x-controller-name": "LeadController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Lead PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Lead"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Lead PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.updateById"
      },
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "findById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Lead model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadController.findById"
      },
      "delete": {
        "x-controller-name": "LeadController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Lead DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.deleteById"
      }
    },
    "/lead": {
      "post": {
        "x-controller-name": "LeadController",
        "x-operation-name": "create",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Lead model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLead"
              }
            }
          }
        },
        "operationId": "LeadController.create"
      },
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "find",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Array of Lead model instances with pagination support",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/LeadWithRelations"
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "total": {
                          "type": "number"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "offset": {
                          "type": "number"
                        },
                        "nextToken": {
                          "type": "string",
                          "nullable": true
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "isPagination",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "cq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "gender",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "leadTypeId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "leadStatusId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nextToken",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "LeadController.find"
      }
    },
    "/leadAssignHistory/count": {
      "get": {
        "x-controller-name": "LeadAssignHistoryController",
        "x-operation-name": "count",
        "tags": [
          "LeadAssignHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadAssignHistory model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeadAssignHistory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeadAssignHistory>"
                }
              }
            }
          }
        ],
        "operationId": "LeadAssignHistoryController.count"
      }
    },
    "/leadAssignHistory/{id}": {
      "post": {
        "x-controller-name": "LeadAssignHistoryController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "LeadAssignHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadAssignHistory POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadAssignHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadAssignHistoryController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "LeadAssignHistoryController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadAssignHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadAssignHistory PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadAssignHistory"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadAssignHistoryController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadAssignHistoryController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadAssignHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadAssignHistory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadAssignHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadAssignHistoryController.updateById"
      },
      "get": {
        "x-controller-name": "LeadAssignHistoryController",
        "x-operation-name": "findById",
        "tags": [
          "LeadAssignHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadAssignHistory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadAssignHistoryWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadAssignHistory.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadAssignHistoryController.findById"
      },
      "delete": {
        "x-controller-name": "LeadAssignHistoryController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadAssignHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadAssignHistory DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadAssignHistoryController.deleteById"
      }
    },
    "/leadAssignHistory": {
      "post": {
        "x-controller-name": "LeadAssignHistoryController",
        "x-operation-name": "create",
        "tags": [
          "LeadAssignHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadAssignHistory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadAssignHistory"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadAssignHistory"
              }
            }
          }
        },
        "operationId": "LeadAssignHistoryController.create"
      },
      "get": {
        "x-controller-name": "LeadAssignHistoryController",
        "x-operation-name": "find",
        "tags": [
          "LeadAssignHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeadAssignHistory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadAssignHistoryWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadAssignHistory.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadAssignHistoryController.find"
      }
    },
    "/leadDiscount/count": {
      "get": {
        "x-controller-name": "LeadDiscountController",
        "x-operation-name": "count",
        "tags": [
          "LeadDiscountController"
        ],
        "responses": {
          "200": {
            "description": "LeadDiscount model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeadDiscount.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeadDiscount>"
                }
              }
            }
          }
        ],
        "operationId": "LeadDiscountController.count"
      }
    },
    "/leadDiscount/{id}": {
      "post": {
        "x-controller-name": "LeadDiscountController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "LeadDiscountController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadDiscount POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadDiscountPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadDiscountController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "LeadDiscountController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadDiscountController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadDiscount PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadDiscount"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadDiscountController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadDiscountController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadDiscountController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadDiscount PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadDiscountPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadDiscountController.updateById"
      },
      "get": {
        "x-controller-name": "LeadDiscountController",
        "x-operation-name": "findById",
        "tags": [
          "LeadDiscountController"
        ],
        "responses": {
          "200": {
            "description": "LeadDiscount model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadDiscountWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadDiscount.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadDiscountController.findById"
      },
      "delete": {
        "x-controller-name": "LeadDiscountController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadDiscountController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadDiscount DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadDiscountController.deleteById"
      }
    },
    "/leadDiscount": {
      "post": {
        "x-controller-name": "LeadDiscountController",
        "x-operation-name": "create",
        "tags": [
          "LeadDiscountController"
        ],
        "responses": {
          "200": {
            "description": "LeadDiscount model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadDiscount"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadDiscount"
              }
            }
          }
        },
        "operationId": "LeadDiscountController.create"
      },
      "get": {
        "x-controller-name": "LeadDiscountController",
        "x-operation-name": "find",
        "tags": [
          "LeadDiscountController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeadDiscount model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadDiscountWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadDiscount.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadDiscountController.find"
      }
    },
    "/leadPaymentHistory/count": {
      "get": {
        "x-controller-name": "LeadPaymentHistoryController",
        "x-operation-name": "count",
        "tags": [
          "LeadPaymentHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadPaymentHistory model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeadPaymentHistory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeadPaymentHistory>"
                }
              }
            }
          }
        ],
        "operationId": "LeadPaymentHistoryController.count"
      }
    },
    "/leadPaymentHistory/{id}": {
      "post": {
        "x-controller-name": "LeadPaymentHistoryController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "LeadPaymentHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadPaymentHistory POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadPaymentHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadPaymentHistoryController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "LeadPaymentHistoryController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadPaymentHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadPaymentHistory PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadPaymentHistory"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadPaymentHistoryController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadPaymentHistoryController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadPaymentHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadPaymentHistory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadPaymentHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadPaymentHistoryController.updateById"
      },
      "get": {
        "x-controller-name": "LeadPaymentHistoryController",
        "x-operation-name": "findById",
        "tags": [
          "LeadPaymentHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadPaymentHistory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPaymentHistoryWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPaymentHistory.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadPaymentHistoryController.findById"
      },
      "delete": {
        "x-controller-name": "LeadPaymentHistoryController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadPaymentHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadPaymentHistory DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadPaymentHistoryController.deleteById"
      }
    },
    "/leadPaymentHistory": {
      "post": {
        "x-controller-name": "LeadPaymentHistoryController",
        "x-operation-name": "create",
        "tags": [
          "LeadPaymentHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadPaymentHistory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPaymentHistory"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadPaymentHistory"
              }
            }
          }
        },
        "operationId": "LeadPaymentHistoryController.create"
      },
      "get": {
        "x-controller-name": "LeadPaymentHistoryController",
        "x-operation-name": "find",
        "tags": [
          "LeadPaymentHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeadPaymentHistory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadPaymentHistoryWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPaymentHistory.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadPaymentHistoryController.find"
      }
    },
    "/leadPaymentStatusHistory/count": {
      "get": {
        "x-controller-name": "LeadPaymentStatusHistoryController",
        "x-operation-name": "count",
        "tags": [
          "LeadPaymentStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadPaymentStatusHistory model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeadPaymentStatusHistory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeadPaymentStatusHistory>"
                }
              }
            }
          }
        ],
        "operationId": "LeadPaymentStatusHistoryController.count"
      }
    },
    "/leadPaymentStatusHistory/{id}": {
      "post": {
        "x-controller-name": "LeadPaymentStatusHistoryController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "LeadPaymentStatusHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadPaymentStatusHistory POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadPaymentStatusHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadPaymentStatusHistoryController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "LeadPaymentStatusHistoryController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadPaymentStatusHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadPaymentStatusHistory PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadPaymentStatusHistory"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadPaymentStatusHistoryController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadPaymentStatusHistoryController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadPaymentStatusHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadPaymentStatusHistory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadPaymentStatusHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadPaymentStatusHistoryController.updateById"
      },
      "get": {
        "x-controller-name": "LeadPaymentStatusHistoryController",
        "x-operation-name": "findById",
        "tags": [
          "LeadPaymentStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadPaymentStatusHistory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPaymentStatusHistoryWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPaymentStatusHistory.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadPaymentStatusHistoryController.findById"
      },
      "delete": {
        "x-controller-name": "LeadPaymentStatusHistoryController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadPaymentStatusHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadPaymentStatusHistory DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadPaymentStatusHistoryController.deleteById"
      }
    },
    "/leadPaymentStatusHistory": {
      "post": {
        "x-controller-name": "LeadPaymentStatusHistoryController",
        "x-operation-name": "create",
        "tags": [
          "LeadPaymentStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadPaymentStatusHistory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPaymentStatusHistory"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadPaymentStatusHistory"
              }
            }
          }
        },
        "operationId": "LeadPaymentStatusHistoryController.create"
      },
      "get": {
        "x-controller-name": "LeadPaymentStatusHistoryController",
        "x-operation-name": "find",
        "tags": [
          "LeadPaymentStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeadPaymentStatusHistory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadPaymentStatusHistoryWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadPaymentStatusHistory.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadPaymentStatusHistoryController.find"
      }
    },
    "/leadSource/count": {
      "get": {
        "x-controller-name": "LeadSourceController",
        "x-operation-name": "count",
        "tags": [
          "LeadSourceController"
        ],
        "responses": {
          "200": {
            "description": "LeadSource model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeadSource.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeadSource>"
                }
              }
            }
          }
        ],
        "operationId": "LeadSourceController.count"
      }
    },
    "/leadSource/{id}": {
      "post": {
        "x-controller-name": "LeadSourceController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "LeadSourceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadSource POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadSourcePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadSourceController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "LeadSourceController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadSourceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadSource PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadSource"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadSourceController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadSourceController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadSourceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadSource PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadSourcePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadSourceController.updateById"
      },
      "get": {
        "x-controller-name": "LeadSourceController",
        "x-operation-name": "findById",
        "tags": [
          "LeadSourceController"
        ],
        "responses": {
          "200": {
            "description": "LeadSource model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadSourceWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadSource.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadSourceController.findById"
      },
      "delete": {
        "x-controller-name": "LeadSourceController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadSourceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadSource DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadSourceController.deleteById"
      }
    },
    "/leadSource": {
      "post": {
        "x-controller-name": "LeadSourceController",
        "x-operation-name": "create",
        "tags": [
          "LeadSourceController"
        ],
        "responses": {
          "200": {
            "description": "LeadSource model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadSource"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadSource"
              }
            }
          }
        },
        "operationId": "LeadSourceController.create"
      },
      "get": {
        "x-controller-name": "LeadSourceController",
        "x-operation-name": "find",
        "tags": [
          "LeadSourceController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeadSource model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadSourceWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadSource.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadSourceController.find"
      }
    },
    "/leadStatus/count": {
      "get": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "count",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "200": {
            "description": "LeadStatus model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeadStatus.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeadStatus>"
                }
              }
            }
          }
        ],
        "operationId": "LeadStatusController.count"
      }
    },
    "/leadStatus/{id}/children": {
      "get": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "findChildren",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "200": {
            "description": "Child lead statuses for a parent lead status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadStatus"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadStatusController.findChildren"
      }
    },
    "/leadStatus/{id}": {
      "post": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadStatus POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadStatusPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadStatusController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadStatus PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadStatus"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadStatusController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadStatus PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadStatusPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadStatusController.updateById"
      },
      "get": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "findById",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "200": {
            "description": "LeadStatus model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadStatusWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadStatus.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadStatusController.findById"
      },
      "delete": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadStatus DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadStatusController.deleteById"
      }
    },
    "/leadStatus": {
      "post": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "create",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "200": {
            "description": "LeadStatus model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadStatus"
              }
            }
          }
        },
        "operationId": "LeadStatusController.create"
      },
      "get": {
        "x-controller-name": "LeadStatusController",
        "x-operation-name": "find",
        "tags": [
          "LeadStatusController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeadStatus model instances (with optional children)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "includeChildren",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadStatus.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadStatusController.find"
      }
    },
    "/leadStatusHistory/count": {
      "get": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "count",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadStatusHistory model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeadStatusHistory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeadStatusHistory>"
                }
              }
            }
          }
        ],
        "operationId": "LeadStatusHistoryController.count"
      }
    },
    "/leadStatusHistory/lead/{leadId}/timeline": {
      "get": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "getLeadStatusTimeline",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Lead status timeline for status history tab",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadStatusHistoryController.getLeadStatusTimeline"
      }
    },
    "/leadStatusHistory/{id}": {
      "post": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadStatusHistory POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadStatusHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadStatusHistoryController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadStatusHistory PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadStatusHistory"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadStatusHistoryController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadStatusHistory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadStatusHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadStatusHistoryController.updateById"
      },
      "get": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "findById",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadStatusHistory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadStatusHistoryWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadStatusHistory.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadStatusHistoryController.findById"
      },
      "delete": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadStatusHistory DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadStatusHistoryController.deleteById"
      }
    },
    "/leadStatusHistory": {
      "post": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "create",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "LeadStatusHistory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadStatusHistory"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadStatusHistory"
              }
            }
          }
        },
        "operationId": "LeadStatusHistoryController.create"
      },
      "get": {
        "x-controller-name": "LeadStatusHistoryController",
        "x-operation-name": "find",
        "tags": [
          "LeadStatusHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeadStatusHistory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadStatusHistoryWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadStatusHistory.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadStatusHistoryController.find"
      }
    },
    "/leadType/count": {
      "get": {
        "x-controller-name": "LeadTypeController",
        "x-operation-name": "count",
        "tags": [
          "LeadTypeController"
        ],
        "responses": {
          "200": {
            "description": "LeadType model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeadType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeadType>"
                }
              }
            }
          }
        ],
        "operationId": "LeadTypeController.count"
      }
    },
    "/leadType/{id}": {
      "post": {
        "x-controller-name": "LeadTypeController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "LeadTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadType POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadTypeController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "LeadTypeController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadType PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadType"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadTypeController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadTypeController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadType PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadTypeController.updateById"
      },
      "get": {
        "x-controller-name": "LeadTypeController",
        "x-operation-name": "findById",
        "tags": [
          "LeadTypeController"
        ],
        "responses": {
          "200": {
            "description": "LeadType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadTypeWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadType.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadTypeController.findById"
      },
      "delete": {
        "x-controller-name": "LeadTypeController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeadType DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadTypeController.deleteById"
      }
    },
    "/leadType": {
      "post": {
        "x-controller-name": "LeadTypeController",
        "x-operation-name": "create",
        "tags": [
          "LeadTypeController"
        ],
        "responses": {
          "200": {
            "description": "LeadType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadType"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadType"
              }
            }
          }
        },
        "operationId": "LeadTypeController.create"
      },
      "get": {
        "x-controller-name": "LeadTypeController",
        "x-operation-name": "find",
        "tags": [
          "LeadTypeController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeadType model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadType.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadTypeController.find"
      }
    },
    "/leads/{leadId}/assign-program": {
      "post": {
        "x-controller-name": "ProgramAssignmentController",
        "x-operation-name": "assignProgram",
        "tags": [
          "ProgramAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "Assign a new program to a lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    },
                    "programId": {
                      "type": "number"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "programId": {
                    "type": "number"
                  },
                  "clientId": {
                    "type": "number"
                  },
                  "productId": {
                    "type": "number"
                  },
                  "assignedUsers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        },
                        "roleId": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "verticalHeadUser": {
                    "type": "number"
                  },
                  "programAssignmentComment": {
                    "type": "string"
                  },
                  "isComplimentary": {
                    "type": "boolean"
                  },
                  "scheduleDate": {
                    "type": "string"
                  },
                  "programStartDate": {
                    "type": "string"
                  },
                  "programEndDate": {
                    "type": "string"
                  },
                  "notes": {
                    "type": "string"
                  },
                  "progStatus": {
                    "type": "string"
                  }
                },
                "required": [
                  "clientId",
                  "productId",
                  "assignedUsers"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProgramAssignmentController.assignProgram"
      }
    },
    "/leads/{leadId}/journey-status": {
      "get": {
        "x-controller-name": "ProgramAssignmentController",
        "x-operation-name": "getJourneyStatus",
        "tags": [
          "ProgramAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "Get journey status for a lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "leadId": {
                      "type": "number"
                    },
                    "programId": {
                      "type": "number"
                    },
                    "clientId": {
                      "type": "number"
                    },
                    "journeyStatus": {
                      "type": "string"
                    },
                    "canAssignProgram": {
                      "type": "boolean"
                    },
                    "isTransferLead": {
                      "type": "boolean"
                    },
                    "conditions": {
                      "type": "object",
                      "properties": {
                        "mrReportUploaded": {
                          "type": "boolean"
                        },
                        "pdFormUpload": {
                          "type": "boolean"
                        },
                        "paymentApprovedDate": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProgramAssignmentController.getJourneyStatus"
      }
    },
    "/leads/{leadId}/program-assignments": {
      "get": {
        "x-controller-name": "ProgramAssignmentController",
        "x-operation-name": "getProgramAssignments",
        "tags": [
          "ProgramAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "Get program assignments with full details for a lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "programId": {
                        "type": "number"
                      },
                      "leadId": {
                        "type": "number"
                      },
                      "clientId": {
                        "type": "number"
                      },
                      "productId": {
                        "type": "number"
                      },
                      "assignedDate": {
                        "type": "string"
                      },
                      "notes": {
                        "type": "string"
                      },
                      "assignedBy": {
                        "type": "number"
                      },
                      "progStatus": {
                        "type": "string"
                      },
                      "programStartDate": {
                        "type": "string"
                      },
                      "programEndDate": {
                        "type": "string"
                      },
                      "createdAt": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      },
                      "productName": {
                        "type": "string"
                      },
                      "productLevelName": {
                        "type": "string"
                      },
                      "assignedByInfo": {
                        "type": "array"
                      },
                      "assignedNutritionistInfo": {
                        "type": "array"
                      },
                      "reportingHNInfo": {
                        "type": "array"
                      },
                      "qcTeamsInfo": {
                        "type": "array"
                      },
                      "careTeamInfo": {
                        "type": "array"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProgramAssignmentController.getProgramAssignments"
      }
    },
    "/leave/count": {
      "get": {
        "x-controller-name": "LeaveController",
        "x-operation-name": "count",
        "tags": [
          "LeaveController"
        ],
        "responses": {
          "200": {
            "description": "LeaveRequest model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LeaveRequest.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LeaveRequest>"
                }
              }
            }
          }
        ],
        "operationId": "LeaveController.count"
      }
    },
    "/leave/statistics/summary": {
      "get": {
        "x-controller-name": "LeaveController",
        "x-operation-name": "getStatistics",
        "tags": [
          "LeaveController"
        ],
        "responses": {
          "200": {
            "description": "Leave statistics",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalLeaves": {
                      "type": "number"
                    },
                    "pendingLeaves": {
                      "type": "number"
                    },
                    "approvedLeaves": {
                      "type": "number"
                    },
                    "rejectedLeaves": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "LeaveController.getStatistics"
      }
    },
    "/leave/{leaveId}": {
      "post": {
        "x-controller-name": "LeaveController",
        "x-operation-name": "updateById",
        "tags": [
          "LeaveController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeaveRequest approval/rejection"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leaveId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeaveController.updateById"
      },
      "patch": {
        "x-controller-name": "LeaveController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "LeaveController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeaveRequest PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leaveId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeaveRequestPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeaveController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "LeaveController",
        "x-operation-name": "findById",
        "tags": [
          "LeaveController"
        ],
        "responses": {
          "200": {
            "description": "LeaveRequest model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeaveRequestWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leaveId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeaveController.findById"
      },
      "delete": {
        "x-controller-name": "LeaveController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeaveController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LeaveRequest DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leaveId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeaveController.deleteById"
      }
    },
    "/leave": {
      "post": {
        "x-controller-name": "LeaveController",
        "x-operation-name": "create",
        "tags": [
          "LeaveController"
        ],
        "responses": {
          "200": {
            "description": "LeaveRequest model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeaveRequest"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeaveRequest"
              }
            }
          }
        },
        "operationId": "LeaveController.create"
      },
      "get": {
        "x-controller-name": "LeaveController",
        "x-operation-name": "find",
        "tags": [
          "LeaveController"
        ],
        "responses": {
          "200": {
            "description": "Array of LeaveRequest model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeaveRequestWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "lq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "LeaveController.find"
      }
    },
    "/lifestyleActivity/{id}": {
      "post": {
        "x-controller-name": "LifestyleMasterController",
        "x-operation-name": "updateById",
        "tags": [
          "LifestyleMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update lifestyle activity"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LifestyleMasterController.updateById"
      },
      "get": {
        "x-controller-name": "LifestyleMasterController",
        "x-operation-name": "findById",
        "tags": [
          "LifestyleMasterController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Lifestyle activity detail"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LifestyleMasterController.findById"
      },
      "delete": {
        "x-controller-name": "LifestyleMasterController",
        "x-operation-name": "deleteById",
        "tags": [
          "LifestyleMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Delete lifestyle activity"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LifestyleMasterController.deleteById"
      }
    },
    "/lifestyleActivity": {
      "post": {
        "x-controller-name": "LifestyleMasterController",
        "x-operation-name": "create",
        "tags": [
          "LifestyleMasterController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create lifestyle activity"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "LifestyleMasterController.create"
      },
      "get": {
        "x-controller-name": "LifestyleMasterController",
        "x-operation-name": "find",
        "tags": [
          "LifestyleMasterController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Lifestyle activity list"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "LifestyleMasterController.find"
      }
    },
    "/location": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getLocations",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Locations"
                }
              }
            }
          }
        },
        "operationId": "AdminSupportController.getLocations"
      }
    },
    "/masterConfiguration/count": {
      "get": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "countMasterConfigs",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "MasterConfiguration model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MasterConfiguration.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MasterConfiguration>"
                }
              }
            }
          }
        ],
        "operationId": "ConfigurationController.countMasterConfigs"
      }
    },
    "/masterConfiguration/{id}": {
      "post": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "updateMasterConfigByIdPost",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MasterConfiguration POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MasterConfigurationPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConfigurationController.updateMasterConfigByIdPost"
      },
      "patch": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "updateMasterConfigById",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MasterConfiguration PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MasterConfigurationPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConfigurationController.updateMasterConfigById"
      },
      "get": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "findMasterConfigById",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "MasterConfiguration model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MasterConfigurationWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MasterConfiguration.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ConfigurationController.findMasterConfigById"
      },
      "delete": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "deleteMasterConfigById",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MasterConfiguration DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ConfigurationController.deleteMasterConfigById"
      }
    },
    "/masterConfiguration": {
      "post": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "createMasterConfig",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "MasterConfiguration model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MasterConfiguration"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMasterConfiguration"
              }
            }
          }
        },
        "operationId": "ConfigurationController.createMasterConfig"
      },
      "get": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "findMasterConfigs",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "Array of MasterConfiguration model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterConfigurationWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MasterConfiguration.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ConfigurationController.findMasterConfigs"
      }
    },
    "/masterFeedback/count": {
      "get": {
        "x-controller-name": "MasterFeedbackController",
        "x-operation-name": "count",
        "tags": [
          "MasterFeedbackController"
        ],
        "responses": {
          "200": {
            "description": "MasterFeedback model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MasterFeedback.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MasterFeedback>"
                }
              }
            }
          }
        ],
        "operationId": "MasterFeedbackController.count"
      }
    },
    "/masterFeedback/{id}": {
      "post": {
        "x-controller-name": "MasterFeedbackController",
        "x-operation-name": "updateById",
        "tags": [
          "MasterFeedbackController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MasterFeedback update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MasterFeedbackPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MasterFeedbackController.updateById"
      },
      "patch": {
        "x-controller-name": "MasterFeedbackController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "MasterFeedbackController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MasterFeedback PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MasterFeedbackPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MasterFeedbackController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "MasterFeedbackController",
        "x-operation-name": "findById",
        "tags": [
          "MasterFeedbackController"
        ],
        "responses": {
          "200": {
            "description": "MasterFeedback model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MasterFeedback"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MasterFeedbackController.findById"
      },
      "delete": {
        "x-controller-name": "MasterFeedbackController",
        "x-operation-name": "deleteById",
        "tags": [
          "MasterFeedbackController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MasterFeedback DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MasterFeedbackController.deleteById"
      }
    },
    "/masterFeedback": {
      "post": {
        "x-controller-name": "MasterFeedbackController",
        "x-operation-name": "create",
        "tags": [
          "MasterFeedbackController"
        ],
        "responses": {
          "200": {
            "description": "MasterFeedback model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MasterFeedback"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMasterFeedback"
              }
            }
          }
        },
        "operationId": "MasterFeedbackController.create"
      },
      "get": {
        "x-controller-name": "MasterFeedbackController",
        "x-operation-name": "find",
        "tags": [
          "MasterFeedbackController"
        ],
        "responses": {
          "200": {
            "description": "Array of MasterFeedback model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MasterFeedback"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "feedbackType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "MasterFeedbackController.find"
      }
    },
    "/medicalhistory": {
      "post": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "createMedicalHistory",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Create medical history records",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ProgramDetailsSupportController.createMedicalHistory"
      },
      "get": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "getMedicalHistory",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Medical history list for a client",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "mhq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProgramDetailsSupportController.getMedicalHistory"
      }
    },
    "/miscellaneouspayment/{paymentId}": {
      "patch": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "updateMiscellaneousPayment",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update additional payout"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "paymentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PayoutController.updateMiscellaneousPayment"
      },
      "delete": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "deleteMiscellaneousPayment",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Delete additional payout"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "paymentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PayoutController.deleteMiscellaneousPayment"
      }
    },
    "/miscellaneouspayment": {
      "post": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "createMiscellaneousPayment",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create additional payout"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "PayoutController.createMiscellaneousPayment"
      },
      "get": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "findMiscellaneousPayments",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Additional payouts"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "PayoutController.findMiscellaneousPayments"
      }
    },
    "/monthlypayout/approver/list": {
      "get": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "getApproversList",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Payout approvers"
                }
              }
            }
          }
        },
        "operationId": "PayoutController.getApproversList"
      }
    },
    "/monthlypayout/approver/upsert": {
      "post": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "upsertApprovers",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Upsert payout approvers"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array"
              }
            }
          }
        },
        "operationId": "PayoutController.upsertApprovers"
      }
    },
    "/monthlypayout/payout": {
      "post": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "submitPayout",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Upsert monthly payout"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "PayoutController.submitPayout"
      }
    },
    "/monthlypayout": {
      "get": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "findMonthlyPayouts",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Monthly payout list"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "PayoutController.findMonthlyPayouts"
      }
    },
    "/nutritionpayout": {
      "get": {
        "x-controller-name": "PayoutController",
        "x-operation-name": "getNutritionistPayouts",
        "tags": [
          "PayoutController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Nutrition payout rows"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "month",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "PayoutController.getNutritionistPayouts"
      }
    },
    "/payment/count": {
      "get": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "count",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "200": {
            "description": "Payment model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Payment.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Payment>"
                }
              }
            }
          }
        ],
        "operationId": "PaymentController.count"
      }
    },
    "/payment/statistics/summary": {
      "get": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "getStatistics",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "200": {
            "description": "Payment statistics",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalPayments": {
                      "type": "number"
                    },
                    "totalAmount": {
                      "type": "number"
                    },
                    "pendingConfirmation": {
                      "type": "number"
                    },
                    "approved": {
                      "type": "number"
                    },
                    "unpaid": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "PaymentController.getStatistics"
      }
    },
    "/payment/{paymentId}": {
      "post": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "updateById",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Payment update/confirmation"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "paymentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "paymentStatus"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  },
                  "invoiceType": {
                    "type": "string"
                  },
                  "paymentStatus": {
                    "type": "string"
                  },
                  "price": {
                    "type": "number"
                  },
                  "currencyId": {
                    "type": "number"
                  },
                  "productPrice": {
                    "type": "number"
                  },
                  "productTotal": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PaymentController.updateById"
      },
      "patch": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Payment PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "paymentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "paymentStatus"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  },
                  "invoiceType": {
                    "type": "string"
                  },
                  "paymentStatus": {
                    "type": "string"
                  },
                  "price": {
                    "type": "number"
                  },
                  "currencyId": {
                    "type": "number"
                  },
                  "productPrice": {
                    "type": "number"
                  },
                  "productTotal": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PaymentController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "findById",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "200": {
            "description": "Payment model instance with related data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "paymentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PaymentController.findById"
      },
      "delete": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "deleteById",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Payment DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "paymentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PaymentController.deleteById"
      }
    },
    "/payment": {
      "post": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "create",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "200": {
            "description": "Payment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Payment"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "leadId",
                  "invoiceType",
                  "paymentStatus"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  },
                  "invoiceType": {
                    "type": "string"
                  },
                  "paymentStatus": {
                    "type": "string"
                  },
                  "price": {
                    "type": "number"
                  },
                  "currencyId": {
                    "type": "number"
                  },
                  "productPrice": {
                    "type": "number"
                  },
                  "productTotal": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "PaymentController.create"
      },
      "get": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "find",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Payment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "pq",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "paymentStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "PaymentController.find"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "ping",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "PingController.ping"
      }
    },
    "/product/config": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getProductConfig",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product configuration"
                }
              }
            }
          }
        },
        "operationId": "AdminSupportController.getProductConfig"
      }
    },
    "/product/count": {
      "get": {
        "x-controller-name": "ProductController",
        "x-operation-name": "count",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product count"
                }
              }
            }
          }
        },
        "operationId": "ProductController.count"
      }
    },
    "/product/event/{productId}": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getProductEvents",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product feature events"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "productId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AdminSupportController.getProductEvents"
      }
    },
    "/product/event": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "saveProductEvents",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Save product feature events"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AdminSupportController.saveProductEvents"
      }
    },
    "/product/{id}": {
      "post": {
        "x-controller-name": "ProductController",
        "x-operation-name": "updateById",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update product"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductController.updateById"
      },
      "get": {
        "x-controller-name": "ProductController",
        "x-operation-name": "findById",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product details"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ProductController.findById"
      }
    },
    "/product": {
      "post": {
        "x-controller-name": "ProductController",
        "x-operation-name": "create",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create product"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ProductController.create"
      },
      "get": {
        "x-controller-name": "ProductController",
        "x-operation-name": "find",
        "tags": [
          "ProductController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Product list"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "isPagination",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "searchbar",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "nextToken",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProductController.find"
      }
    },
    "/productPrice/count": {
      "get": {
        "x-controller-name": "ProductPriceController",
        "x-operation-name": "count",
        "tags": [
          "ProductPriceController"
        ],
        "responses": {
          "200": {
            "description": "ProductPrice model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProductPrice.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProductPrice>"
                }
              }
            }
          }
        ],
        "operationId": "ProductPriceController.count"
      }
    },
    "/productPrice/{id}": {
      "post": {
        "x-controller-name": "ProductPriceController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "ProductPriceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductPrice POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductPricePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductPriceController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "ProductPriceController",
        "x-operation-name": "replaceById",
        "tags": [
          "ProductPriceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductPrice PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductPrice"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductPriceController.replaceById"
      },
      "patch": {
        "x-controller-name": "ProductPriceController",
        "x-operation-name": "updateById",
        "tags": [
          "ProductPriceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductPrice PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductPricePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductPriceController.updateById"
      },
      "get": {
        "x-controller-name": "ProductPriceController",
        "x-operation-name": "findById",
        "tags": [
          "ProductPriceController"
        ],
        "responses": {
          "200": {
            "description": "ProductPrice model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductPriceWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductPrice.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProductPriceController.findById"
      },
      "delete": {
        "x-controller-name": "ProductPriceController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProductPriceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductPrice DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProductPriceController.deleteById"
      }
    },
    "/productPrice": {
      "post": {
        "x-controller-name": "ProductPriceController",
        "x-operation-name": "create",
        "tags": [
          "ProductPriceController"
        ],
        "responses": {
          "200": {
            "description": "ProductPrice model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductPrice"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProductPrice"
              }
            }
          }
        },
        "operationId": "ProductPriceController.create"
      },
      "get": {
        "x-controller-name": "ProductPriceController",
        "x-operation-name": "find",
        "tags": [
          "ProductPriceController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProductPrice model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductPriceWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductPrice.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ProductPriceController.find"
      }
    },
    "/productType/count": {
      "get": {
        "x-controller-name": "ProductTypeController",
        "x-operation-name": "count",
        "tags": [
          "ProductTypeController"
        ],
        "responses": {
          "200": {
            "description": "ProductType model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProductType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProductType>"
                }
              }
            }
          }
        ],
        "operationId": "ProductTypeController.count"
      }
    },
    "/productType/{id}": {
      "post": {
        "x-controller-name": "ProductTypeController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "ProductTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductType POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductTypeController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "ProductTypeController",
        "x-operation-name": "replaceById",
        "tags": [
          "ProductTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductType PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductType"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductTypeController.replaceById"
      },
      "patch": {
        "x-controller-name": "ProductTypeController",
        "x-operation-name": "updateById",
        "tags": [
          "ProductTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductType PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductTypeController.updateById"
      },
      "get": {
        "x-controller-name": "ProductTypeController",
        "x-operation-name": "findById",
        "tags": [
          "ProductTypeController"
        ],
        "responses": {
          "200": {
            "description": "ProductType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductTypeWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductType.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProductTypeController.findById"
      },
      "delete": {
        "x-controller-name": "ProductTypeController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProductTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductType DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProductTypeController.deleteById"
      }
    },
    "/productType": {
      "post": {
        "x-controller-name": "ProductTypeController",
        "x-operation-name": "create",
        "tags": [
          "ProductTypeController"
        ],
        "responses": {
          "200": {
            "description": "ProductType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductType"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProductType"
              }
            }
          }
        },
        "operationId": "ProductTypeController.create"
      },
      "get": {
        "x-controller-name": "ProductTypeController",
        "x-operation-name": "find",
        "tags": [
          "ProductTypeController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProductType model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductType.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ProductTypeController.find"
      }
    },
    "/program/analysis": {
      "get": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "getAnalytics",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Program analytics",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalPrograms": {
                      "type": "number"
                    },
                    "activePrograms": {
                      "type": "number"
                    },
                    "completedPrograms": {
                      "type": "number"
                    },
                    "onHoldPrograms": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "qp",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ni",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ProgramController.getAnalytics"
      }
    },
    "/program/assignment/history/{leadId}": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "getProgramAssignmentHistory",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Get program assignment history for a lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramAssignmentHistory"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leadId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.getProgramAssignmentHistory"
      }
    },
    "/program/count": {
      "get": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "count",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Program model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Program.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Program>"
                }
              }
            }
          }
        ],
        "operationId": "ProgramController.count"
      }
    },
    "/program/{userId}/nutridashboard": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "nutritionistDashboard",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Nutritionist dashboard counters"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AdminSupportController.nutritionistDashboard"
      }
    },
    "/program/{subId}": {
      "post": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "updateBySubIdPost",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Program POST (update) success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "cq",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProgramPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProgramController.updateBySubIdPost"
      },
      "patch": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "updateBySubId",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Program PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "cq",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProgramPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProgramController.updateBySubId"
      },
      "get": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "findBySubId",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Program model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProgramWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "cq",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ProgramController.findBySubId"
      }
    },
    "/program/{id}": {
      "put": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "replaceById",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Program PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Program"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProgramController.replaceById"
      },
      "delete": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Program DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProgramController.deleteById"
      }
    },
    "/program": {
      "post": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "create",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Program model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Program"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProgram"
              }
            }
          }
        },
        "operationId": "ProgramController.create"
      },
      "get": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "find",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Array of Program model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProgramWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "productType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isPagination",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "searchbar",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "progStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nextToken",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "assignedTo",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "reportingTo",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "programState",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "productCode",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isProgramStartedFlag",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "isRedFlag",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "isProgramUnresponsiveFlag",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "sortDirection",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ProgramController.find"
      }
    },
    "/program-assignments/{id}/status": {
      "patch": {
        "x-controller-name": "ProgramAssignmentController",
        "x-operation-name": "updateStatus",
        "tags": [
          "ProgramAssignmentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProgramAssignmentHistory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "progStatus": {
                    "type": "string"
                  },
                  "assignStatus": {
                    "type": "string"
                  },
                  "notes": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProgramAssignmentController.updateStatus"
      }
    },
    "/programHistory": {
      "get": {
        "x-controller-name": "ProgramController",
        "x-operation-name": "getProgramHistory",
        "tags": [
          "ProgramController"
        ],
        "responses": {
          "200": {
            "description": "Program status and assignment history",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "phq",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ProgramController.getProgramHistory"
      }
    },
    "/programs/{programId}/assigned-users": {
      "get": {
        "x-controller-name": "ProgramAssignmentController",
        "x-operation-name": "getAssignedUsers",
        "tags": [
          "ProgramAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "Get assigned users for a program",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "programId": {
                      "type": "number"
                    },
                    "users": {
                      "type": "array"
                    },
                    "nutritionists": {
                      "type": "array"
                    },
                    "qc": {
                      "type": "array"
                    },
                    "hn": {
                      "type": "array"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "programId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProgramAssignmentController.getAssignedUsers"
      }
    },
    "/programs/{programId}/dates": {
      "get": {
        "x-controller-name": "ProgramAssignmentController",
        "x-operation-name": "getProgramDates",
        "tags": [
          "ProgramAssignmentController"
        ],
        "responses": {
          "200": {
            "description": "Get program dates",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "programId": {
                      "type": "number"
                    },
                    "startDate": {
                      "type": "string"
                    },
                    "endDate": {
                      "type": "string"
                    },
                    "assignedDate": {
                      "type": "string"
                    },
                    "duration": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "programId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProgramAssignmentController.getProgramDates"
      }
    },
    "/question": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getQuestions",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Assessment question bank"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "corporateId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AdminSupportController.getQuestions"
      }
    },
    "/randr": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "randrPost",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "R&R data"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ReportsController.randrPost"
      },
      "get": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "randr",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "R&R data"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ReportsController.randr"
      }
    },
    "/report/count": {
      "get": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "count",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "200": {
            "description": "MedicalReport model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MedicalReport.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MedicalReport>"
                }
              }
            }
          }
        ],
        "operationId": "MedicalReportController.count"
      }
    },
    "/report/upload": {
      "post": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "upload",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "200": {
            "description": "Uploaded medical report model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MedicalReport"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "MedicalReportController.upload"
      }
    },
    "/report/{id}": {
      "post": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MedicalReport POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MedicalReportPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MedicalReportController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "replaceById",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MedicalReport PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MedicalReport"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MedicalReportController.replaceById"
      },
      "patch": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "updateById",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MedicalReport PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MedicalReportPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MedicalReportController.updateById"
      },
      "get": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "findById",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "200": {
            "description": "MedicalReport model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MedicalReportWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MedicalReport.Filter"
                }
              }
            }
          }
        ],
        "operationId": "MedicalReportController.findById"
      },
      "delete": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "deleteById",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MedicalReport DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MedicalReportController.deleteById"
      }
    },
    "/report": {
      "post": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "create",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "200": {
            "description": "MedicalReport model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MedicalReport"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMedicalReport"
              }
            }
          }
        },
        "operationId": "MedicalReportController.create"
      },
      "get": {
        "x-controller-name": "MedicalReportController",
        "x-operation-name": "find",
        "tags": [
          "MedicalReportController"
        ],
        "responses": {
          "200": {
            "description": "Array of MedicalReport model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MedicalReportWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "clientId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "programId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MedicalReport.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "MedicalReportController.find"
      }
    },
    "/reports/analytics": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "analytics",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Reports analytics data"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ReportsController.analytics"
      }
    },
    "/request/analysis": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "requestAnalysis",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Dashboard request analysis"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "qp",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AdminSupportController.requestAnalysis"
      }
    },
    "/request/count": {
      "get": {
        "x-controller-name": "RequestController",
        "x-operation-name": "count",
        "tags": [
          "RequestController"
        ],
        "responses": {
          "200": {
            "description": "Request model count",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "operationId": "RequestController.count"
      }
    },
    "/request/statistics": {
      "get": {
        "x-controller-name": "RequestController",
        "x-operation-name": "getStatistics",
        "tags": [
          "RequestController"
        ],
        "responses": {
          "200": {
            "description": "Request statistics",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalRequests": {
                      "type": "number"
                    },
                    "pendingRequests": {
                      "type": "number"
                    },
                    "approvedRequests": {
                      "type": "number"
                    },
                    "rejectedRequests": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "RequestController.getStatistics"
      }
    },
    "/request/{reqId}": {
      "post": {
        "x-controller-name": "RequestController",
        "x-operation-name": "updateById",
        "tags": [
          "RequestController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Request approval workflow update"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "reqId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RequestController.updateById"
      },
      "get": {
        "x-controller-name": "RequestController",
        "x-operation-name": "findById",
        "tags": [
          "RequestController"
        ],
        "responses": {
          "200": {
            "description": "Request detail",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "reqId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "RequestController.findById"
      }
    },
    "/request": {
      "post": {
        "x-controller-name": "RequestController",
        "x-operation-name": "create",
        "tags": [
          "RequestController"
        ],
        "responses": {
          "200": {
            "description": "Create request and route by reqType",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "RequestController.create"
      },
      "get": {
        "x-controller-name": "RequestController",
        "x-operation-name": "find",
        "tags": [
          "RequestController"
        ],
        "responses": {
          "200": {
            "description": "Unified request list",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "rp",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "isPagination",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reqType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "reqtype",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestorSubId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "approvedBySubId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "fromDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "nextToken",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "RequestController.find"
      }
    },
    "/role": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getRoles",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Role list"
                }
              }
            }
          }
        },
        "operationId": "AdminSupportController.getRoles"
      }
    },
    "/salescall/count": {
      "get": {
        "x-controller-name": "SalesCallController",
        "x-operation-name": "count",
        "tags": [
          "SalesCallController"
        ],
        "responses": {
          "200": {
            "description": "SalesCall model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "SalesCall.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<SalesCall>"
                }
              }
            }
          }
        ],
        "operationId": "SalesCallController.count"
      }
    },
    "/salescall/{id}": {
      "post": {
        "x-controller-name": "SalesCallController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "SalesCallController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SalesCall POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesCallPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SalesCallController.updateByIdPost"
      },
      "put": {
        "x-controller-name": "SalesCallController",
        "x-operation-name": "replaceById",
        "tags": [
          "SalesCallController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SalesCall PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesCall"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SalesCallController.replaceById"
      },
      "patch": {
        "x-controller-name": "SalesCallController",
        "x-operation-name": "updateById",
        "tags": [
          "SalesCallController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SalesCall PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SalesCallPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SalesCallController.updateById"
      },
      "get": {
        "x-controller-name": "SalesCallController",
        "x-operation-name": "findById",
        "tags": [
          "SalesCallController"
        ],
        "responses": {
          "200": {
            "description": "SalesCall model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCallWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCall.Filter"
                }
              }
            }
          }
        ],
        "operationId": "SalesCallController.findById"
      },
      "delete": {
        "x-controller-name": "SalesCallController",
        "x-operation-name": "deleteById",
        "tags": [
          "SalesCallController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SalesCall DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SalesCallController.deleteById"
      }
    },
    "/salescall": {
      "post": {
        "x-controller-name": "SalesCallController",
        "x-operation-name": "create",
        "tags": [
          "SalesCallController"
        ],
        "responses": {
          "200": {
            "description": "SalesCall model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCall"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSalesCall"
              }
            }
          }
        },
        "operationId": "SalesCallController.create"
      },
      "get": {
        "x-controller-name": "SalesCallController",
        "x-operation-name": "find",
        "tags": [
          "SalesCallController"
        ],
        "responses": {
          "200": {
            "description": "Array of SalesCall model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SalesCallWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "pq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "leadId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SalesCall.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "SalesCallController.find"
      }
    },
    "/suppleduration": {
      "get": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "getDurationOptions",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Get duration options"
                }
              }
            }
          }
        },
        "operationId": "SupplementMasterController.getDurationOptions"
      }
    },
    "/supplement/count": {
      "get": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "count",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "200": {
            "description": "Supplement model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Supplement.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Supplement>"
                }
              }
            }
          }
        ],
        "operationId": "SupplementMasterController.count"
      }
    },
    "/supplement/{id}": {
      "post": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "updateById",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Supplement update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplementPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SupplementMasterController.updateById"
      },
      "patch": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Supplement PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplementPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SupplementMasterController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "findById",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "200": {
            "description": "Supplement model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupplementWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SupplementMasterController.findById"
      },
      "delete": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "deleteById",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Supplement DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SupplementMasterController.deleteById"
      }
    },
    "/supplement": {
      "post": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "create",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "200": {
            "description": "Supplement model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Supplement"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSupplement"
              }
            }
          }
        },
        "operationId": "SupplementMasterController.create"
      },
      "get": {
        "x-controller-name": "SupplementMasterController",
        "x-operation-name": "find",
        "tags": [
          "SupplementMasterController"
        ],
        "responses": {
          "200": {
            "description": "Array of Supplement model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SupplementWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "form",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "frequency",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "SupplementMasterController.find"
      }
    },
    "/template/count": {
      "get": {
        "x-controller-name": "TemplateMasterController",
        "x-operation-name": "count",
        "tags": [
          "TemplateMasterController"
        ],
        "responses": {
          "200": {
            "description": "Template model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Template.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Template>"
                }
              }
            }
          }
        ],
        "operationId": "TemplateMasterController.count"
      }
    },
    "/template/landingPage": {
      "get": {
        "x-controller-name": "TemplateMasterController",
        "x-operation-name": "getLandingPageTemplates",
        "tags": [
          "TemplateMasterController"
        ],
        "responses": {
          "200": {
            "description": "Landing page templates",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "TemplateMasterController.getLandingPageTemplates"
      }
    },
    "/template/{id}": {
      "post": {
        "x-controller-name": "TemplateMasterController",
        "x-operation-name": "updateById",
        "tags": [
          "TemplateMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Template update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplatePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TemplateMasterController.updateById"
      },
      "patch": {
        "x-controller-name": "TemplateMasterController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "TemplateMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Template PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplatePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TemplateMasterController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "TemplateMasterController",
        "x-operation-name": "findById",
        "tags": [
          "TemplateMasterController"
        ],
        "responses": {
          "200": {
            "description": "Template model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TemplateMasterController.findById"
      },
      "delete": {
        "x-controller-name": "TemplateMasterController",
        "x-operation-name": "deleteById",
        "tags": [
          "TemplateMasterController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Template DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TemplateMasterController.deleteById"
      }
    },
    "/template": {
      "post": {
        "x-controller-name": "TemplateMasterController",
        "x-operation-name": "create",
        "tags": [
          "TemplateMasterController"
        ],
        "responses": {
          "200": {
            "description": "Template model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Template"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTemplate"
              }
            }
          }
        },
        "operationId": "TemplateMasterController.create"
      },
      "get": {
        "x-controller-name": "TemplateMasterController",
        "x-operation-name": "find",
        "tags": [
          "TemplateMasterController"
        ],
        "responses": {
          "200": {
            "description": "Array of Template model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TemplateWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "tq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "programId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "TemplateMasterController.find"
      }
    },
    "/todoItem/{todoId}": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "updateTodo",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update todo item"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "todoId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AdminSupportController.updateTodo"
      }
    },
    "/todoItem": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "createTodo",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Create todo item"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AdminSupportController.createTodo"
      },
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getTodoItems",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Todo items"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "tq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AdminSupportController.getTodoItems"
      }
    },
    "/triggerEvent": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "getTriggerEvents",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Trigger events"
                }
              }
            }
          }
        },
        "operationId": "AdminSupportController.getTriggerEvents"
      }
    },
    "/user/analysis": {
      "get": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "userAnalysis",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Dashboard user analysis"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "qp",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AdminSupportController.userAnalysis"
      }
    },
    "/user/assessment/statistics": {
      "post": {
        "x-controller-name": "LeadController",
        "x-operation-name": "getStatistics",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Lead statistics",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalLeads": {
                      "type": "number"
                    },
                    "completedLeads": {
                      "type": "number"
                    },
                    "activeLeads": {
                      "type": "number"
                    },
                    "convertedLeads": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "startDate": {
                    "type": "string"
                  },
                  "endDate": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "LeadController.getStatistics"
      }
    },
    "/user/config": {
      "post": {
        "x-controller-name": "AdminSupportController",
        "x-operation-name": "updateUserConfig",
        "tags": [
          "AdminSupportController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User config update"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AdminSupportController.updateUserConfig"
      }
    },
    "/user/count": {
      "get": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "count",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "200": {
            "description": "Client model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Client.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Client>"
                }
              }
            }
          }
        ],
        "operationId": "ClientManagementController.count"
      }
    },
    "/user/pdForm/{subId}": {
      "get": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "getPdFormBySubId",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "200": {
            "description": "PD Form by client id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ClientManagementController.getPdFormBySubId"
      }
    },
    "/user/pdForm": {
      "post": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "createPdForm",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "200": {
            "description": "PD Form created/updated",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PdForm"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPdForm"
              }
            }
          }
        },
        "operationId": "ClientManagementController.createPdForm"
      }
    },
    "/user/{subId}/lead/{leadId}/pdForm": {
      "get": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "getPdForm",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "200": {
            "description": "PD Form instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PdFormWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "leadId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientManagementController.getPdForm"
      }
    },
    "/user/{id}": {
      "post": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "updateByIdPost",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Client POST update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientManagementController.updateByIdPost"
      },
      "patch": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "updateById",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Client PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientManagementController.updateById"
      },
      "delete": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "deleteById",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Client DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientManagementController.deleteById"
      }
    },
    "/user/{subId}": {
      "get": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "findBySubId",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "200": {
            "description": "Client model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "subId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ClientManagementController.findBySubId"
      }
    },
    "/user": {
      "post": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "create",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "200": {
            "description": "Client model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Client"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClient"
              }
            }
          }
        },
        "operationId": "ClientManagementController.create"
      },
      "get": {
        "x-controller-name": "ClientManagementController",
        "x-operation-name": "find",
        "tags": [
          "ClientManagementController"
        ],
        "responses": {
          "200": {
            "description": "Array of Client model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ClientWithRelations"
                      }
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "total": {
                          "type": "number"
                        },
                        "limit": {
                          "type": "number"
                        },
                        "offset": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "userType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "action",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "gender",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cityId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "ClientManagementController.find"
      }
    },
    "/userLog": {
      "get": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "getUserLog",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Tracker logs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "ulq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProgramDetailsSupportController.getUserLog"
      }
    },
    "/userTracker": {
      "post": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "createUserTracker",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Create custom tracker",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ProgramDetailsSupportController.createUserTracker"
      },
      "get": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "getUserTracker",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "Trackers by client",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "utq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProgramDetailsSupportController.getUserTracker"
      }
    },
    "/usertemplate/count": {
      "get": {
        "x-controller-name": "UserTemplateController",
        "x-operation-name": "count",
        "tags": [
          "UserTemplateController"
        ],
        "responses": {
          "200": {
            "description": "UserTemplate model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserTemplate.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserTemplate>"
                }
              }
            }
          }
        ],
        "operationId": "UserTemplateController.count"
      }
    },
    "/usertemplate/sharing": {
      "get": {
        "x-controller-name": "UserTemplateController",
        "x-operation-name": "getSharedTemplate",
        "tags": [
          "UserTemplateController"
        ],
        "responses": {
          "200": {
            "description": "Get shareable food plan by token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserTemplateWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "UserTemplateController.getSharedTemplate"
      }
    },
    "/usertemplate/update": {
      "post": {
        "x-controller-name": "UserTemplateController",
        "x-operation-name": "updateFoodPlan",
        "tags": [
          "UserTemplateController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Update user food plan"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "subId": {
                    "type": "string"
                  },
                  "programId": {
                    "type": "number"
                  },
                  "clientId": {
                    "type": "number"
                  },
                  "journeyId": {
                    "type": "number"
                  },
                  "sectionType": {
                    "type": "string"
                  },
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "UserTemplateController.updateFoodPlan"
      }
    },
    "/usertemplate/{id}": {
      "post": {
        "x-controller-name": "UserTemplateController",
        "x-operation-name": "updateById",
        "tags": [
          "UserTemplateController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserTemplate update success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserTemplatePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserTemplateController.updateById"
      },
      "patch": {
        "x-controller-name": "UserTemplateController",
        "x-operation-name": "updateByIdPatch",
        "tags": [
          "UserTemplateController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserTemplate PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserTemplatePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserTemplateController.updateByIdPatch"
      },
      "get": {
        "x-controller-name": "UserTemplateController",
        "x-operation-name": "findById",
        "tags": [
          "UserTemplateController"
        ],
        "responses": {
          "200": {
            "description": "UserTemplate model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserTemplateWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserTemplateController.findById"
      },
      "delete": {
        "x-controller-name": "UserTemplateController",
        "x-operation-name": "deleteById",
        "tags": [
          "UserTemplateController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserTemplate DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserTemplateController.deleteById"
      }
    },
    "/usertemplate": {
      "post": {
        "x-controller-name": "UserTemplateController",
        "x-operation-name": "create",
        "tags": [
          "UserTemplateController"
        ],
        "responses": {
          "200": {
            "description": "UserTemplate model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserTemplate"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUserTemplate"
              }
            }
          }
        },
        "operationId": "UserTemplateController.create"
      },
      "get": {
        "x-controller-name": "ProgramDetailsSupportController",
        "x-operation-name": "getUserTemplate",
        "tags": [
          "ProgramDetailsSupportController"
        ],
        "responses": {
          "200": {
            "description": "User template sections for plan export",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "uq",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "secType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProgramDetailsSupportController.getUserTemplate"
      }
    },
    "/workrole/count": {
      "get": {
        "x-controller-name": "WorkRoleController",
        "x-operation-name": "count",
        "tags": [
          "WorkRoleController"
        ],
        "responses": {
          "200": {
            "description": "WorkRole model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "WorkRole.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<WorkRole>"
                }
              }
            }
          }
        ],
        "operationId": "WorkRoleController.count"
      }
    },
    "/workrole/{id}": {
      "put": {
        "x-controller-name": "WorkRoleController",
        "x-operation-name": "replaceById",
        "tags": [
          "WorkRoleController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "WorkRole PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkRole"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WorkRoleController.replaceById"
      },
      "patch": {
        "x-controller-name": "WorkRoleController",
        "x-operation-name": "updateById",
        "tags": [
          "WorkRoleController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "WorkRole PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkRolePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WorkRoleController.updateById"
      },
      "get": {
        "x-controller-name": "WorkRoleController",
        "x-operation-name": "findById",
        "tags": [
          "WorkRoleController"
        ],
        "responses": {
          "200": {
            "description": "WorkRole model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkRoleWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkRole.Filter"
                }
              }
            }
          }
        ],
        "operationId": "WorkRoleController.findById"
      },
      "delete": {
        "x-controller-name": "WorkRoleController",
        "x-operation-name": "deleteById",
        "tags": [
          "WorkRoleController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "WorkRole DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "WorkRoleController.deleteById"
      }
    },
    "/workrole": {
      "post": {
        "x-controller-name": "WorkRoleController",
        "x-operation-name": "create",
        "tags": [
          "WorkRoleController"
        ],
        "responses": {
          "200": {
            "description": "WorkRole model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkRole"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewWorkRole"
              }
            }
          }
        },
        "operationId": "WorkRoleController.create"
      },
      "get": {
        "x-controller-name": "WorkRoleController",
        "x-operation-name": "find",
        "tags": [
          "WorkRoleController"
        ],
        "responses": {
          "200": {
            "description": "Array of WorkRole model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WorkRoleWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkRole.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "WorkRoleController.find"
      }
    }
  },
  "servers": [
    {
      "url": "https://lchs-backend.duckdns.org"
    }
  ],
  "components": {
    "schemas": {
      "WorkRole": {
        "title": "WorkRole",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "roleName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "roleName"
        ],
        "additionalProperties": false
      },
      "NewWorkRole": {
        "title": "NewWorkRole",
        "type": "object",
        "description": "(tsType: Omit<WorkRole, 'id'>, schemaOptions: { title: 'NewWorkRole', exclude: [ 'id' ] })",
        "properties": {
          "roleName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "roleName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<WorkRole, 'id'>"
      },
      "WorkRoleWithRelations": {
        "title": "WorkRoleWithRelations",
        "type": "object",
        "description": "(tsType: WorkRoleWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "roleName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "roleName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "WorkRoleWithRelations"
      },
      "WorkRolePartial": {
        "title": "WorkRolePartial",
        "type": "object",
        "description": "(tsType: Partial<WorkRole>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "roleName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<WorkRole>"
      },
      "UserTemplate": {
        "title": "UserTemplate",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "subId": {
            "type": "string"
          },
          "programId": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "journeyId": {
            "type": "number"
          },
          "sectionType": {
            "type": "string"
          },
          "planType": {
            "type": "string"
          },
          "templateId": {
            "type": "number"
          },
          "foodItemId": {
            "type": "number"
          },
          "supplementId": {
            "type": "number"
          },
          "lifestyleActivityId": {
            "type": "number"
          },
          "exerciseId": {
            "type": "number"
          },
          "mealName": {
            "type": "string"
          },
          "scheduleTime": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "dayOfWeek": {
            "type": "string"
          },
          "sharingToken": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewUserTemplate": {
        "title": "NewUserTemplate",
        "type": "object",
        "description": "(tsType: Omit<UserTemplate, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewUserTemplate', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "subId": {
            "type": "string"
          },
          "programId": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "journeyId": {
            "type": "number"
          },
          "sectionType": {
            "type": "string"
          },
          "planType": {
            "type": "string"
          },
          "templateId": {
            "type": "number"
          },
          "foodItemId": {
            "type": "number"
          },
          "supplementId": {
            "type": "number"
          },
          "lifestyleActivityId": {
            "type": "number"
          },
          "exerciseId": {
            "type": "number"
          },
          "mealName": {
            "type": "string"
          },
          "scheduleTime": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "dayOfWeek": {
            "type": "string"
          },
          "sharingToken": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<UserTemplate, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "LeadWithRelations": {
        "title": "LeadWithRelations",
        "type": "object",
        "description": "(tsType: LeadWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "zohoOppId": {
            "type": "string"
          },
          "groupContractId": {
            "type": "number"
          },
          "isGroupLead": {
            "type": "boolean"
          },
          "clientId": {
            "type": "number"
          },
          "userAssignId": {
            "type": "number"
          },
          "consultTakenBy": {
            "type": "number"
          },
          "createdByUserId": {
            "type": "number"
          },
          "nutritionistAssignId": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "leadSourceId": {
            "type": "number"
          },
          "leadTypeId": {
            "type": "number"
          },
          "isConsult": {
            "type": "boolean"
          },
          "isConvertedFromConsult": {
            "type": "boolean"
          },
          "renewalFromProgramId": {
            "type": "number"
          },
          "renewalFromNoOfDays": {
            "type": "number"
          },
          "renewalFromNutritionistId": {
            "type": "number"
          },
          "nutritionistChangeRequested": {
            "type": "number"
          },
          "changeOfNutritionistReason": {
            "type": "string"
          },
          "leadComplementoryId": {
            "type": "number"
          },
          "inquiryMasterId": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "isProgramCreated": {
            "type": "boolean"
          },
          "paymentApprovedDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentProofUploadDate": {
            "type": "string",
            "format": "date-time"
          },
          "isPaymentComplete": {
            "type": "boolean"
          },
          "areaOfConcernId": {
            "type": "number"
          },
          "leadStatusId": {
            "type": "number"
          },
          "leadStatusSubId": {
            "type": "number"
          },
          "leadCloseDate": {
            "type": "string",
            "format": "date-time"
          },
          "clientMessage": {
            "type": "string"
          },
          "coordinatorMessage": {
            "type": "string"
          },
          "nutritionistClientMessageUpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isComplementry": {
            "type": "boolean"
          },
          "mrReportUpload": {
            "type": "boolean"
          },
          "mrApprovalDate": {
            "type": "string",
            "format": "date-time"
          },
          "pdMrException": {
            "type": "boolean"
          },
          "markForWebinar": {
            "type": "boolean"
          },
          "isProgramConsulted": {
            "type": "boolean"
          },
          "leadInquiryDate": {
            "type": "string",
            "format": "date-time"
          },
          "productPrice": {
            "type": "number"
          },
          "currencyId": {
            "type": "number"
          },
          "productGst": {
            "type": "number"
          },
          "productTotal": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "discountProductTotal": {
            "type": "number"
          },
          "referredBy": {
            "type": "number"
          },
          "keepReferedByConfidential": {
            "type": "boolean"
          },
          "referredByProgramId": {
            "type": "number"
          },
          "referralFromNoOfDays": {
            "type": "number"
          },
          "referredByNutritionistId": {
            "type": "number"
          },
          "transferFromProgramId": {
            "type": "number"
          },
          "duration": {
            "type": "number"
          },
          "numberOfInstallments": {
            "type": "number"
          },
          "daysFrequency": {
            "type": "number"
          },
          "consultedById": {
            "type": "number"
          },
          "consultDate": {
            "type": "string",
            "format": "date-time"
          },
          "consultProgramId": {
            "type": "number"
          },
          "referredByUserId": {
            "type": "number"
          },
          "referralClientId": {
            "type": "number"
          },
          "isSystemGenerated": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "currencyId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "LeadWithRelations"
      },
      "ClientWithRelations": {
        "title": "ClientWithRelations",
        "type": "object",
        "description": "(tsType: ClientWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "forgotPasswordToken": {
            "type": "string"
          },
          "mesiboToken": {
            "type": "object"
          },
          "phone": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "gender": {
            "type": "string"
          },
          "age": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "cityId": {
            "type": "number"
          },
          "roleId": {
            "type": "number"
          },
          "isVip": {
            "type": "boolean"
          },
          "pdFormUpload": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "isCredentialSent": {
            "type": "boolean"
          },
          "emailVerifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "rememberToken": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "gender"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ClientWithRelations"
      },
      "ProductWithRelations": {
        "title": "ProductWithRelations",
        "type": "object",
        "description": "(tsType: ProductWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "productCode": {
            "type": "string"
          },
          "productCategory": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "zohoBooksProductId": {
            "type": "number"
          },
          "zohoBooksProductName": {
            "type": "string"
          },
          "programTierId": {
            "type": "number"
          },
          "productTypeId": {
            "type": "number"
          },
          "subProductTypeId": {
            "type": "number"
          },
          "programFeatureId": {
            "type": "number"
          },
          "duration": {
            "type": "number"
          },
          "isHold": {
            "type": "boolean"
          },
          "maximumHoldDays": {
            "type": "number"
          },
          "numberOfHoldDaysAvailable": {
            "type": "number"
          },
          "approvalDaysSetting": {
            "type": "number"
          },
          "uptoSixMonthComplitionPayout": {
            "type": "number"
          },
          "postSixMonthComplitionPayout": {
            "type": "number"
          },
          "postEighteenMonthComplitionPayout": {
            "type": "number"
          },
          "uptoSevenReferralPayout": {
            "type": "number"
          },
          "sevenPlusReferralPayout": {
            "type": "number"
          },
          "uptoThreeReferralPayout": {
            "type": "number"
          },
          "renewalPayout": {
            "type": "number"
          },
          "nutritionistConversionBonus": {
            "type": "number"
          },
          "consultPayout": {
            "type": "number"
          },
          "monthlyPayPerProgram": {
            "type": "number"
          },
          "isComplimentary": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name",
          "productCode"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProductWithRelations"
      },
      "ProgramAssignmentHistoryWithRelations": {
        "title": "ProgramAssignmentHistoryWithRelations",
        "type": "object",
        "description": "(tsType: ProgramAssignmentHistoryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "notes": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ProgramAssignmentHistoryWithRelations"
      },
      "ProgramAssignUserWithRelations": {
        "title": "ProgramAssignUserWithRelations",
        "type": "object",
        "description": "(tsType: ProgramAssignUserWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "roleId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "modifiedByUser": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "notes": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ProgramAssignUserWithRelations"
      },
      "ProgramWithRelations": {
        "title": "ProgramWithRelations",
        "type": "object",
        "description": "(tsType: ProgramWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "programType": {
            "type": "string"
          },
          "consultDate": {
            "type": "string",
            "format": "date-time"
          },
          "consultTime": {
            "type": "string"
          },
          "leadId": {
            "type": "number"
          },
          "groupContractId": {
            "type": "number"
          },
          "watsappGroupCreationDate": {
            "type": "string",
            "format": "date-time"
          },
          "clientId": {
            "type": "number"
          },
          "mesiboToken": {
            "type": "object"
          },
          "mesiboGroupName": {
            "type": "string"
          },
          "productId": {
            "type": "number"
          },
          "programAssignmentComment": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "midProgramFeedbackEmailSent": {
            "type": "boolean"
          },
          "endProgramFeedbackEmailSent": {
            "type": "boolean"
          },
          "clientDoesNotWantCall": {
            "type": "boolean"
          },
          "followUpDone": {
            "type": "boolean"
          },
          "originalEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "isComplimentory": {
            "type": "boolean"
          },
          "parentProgramId": {
            "type": "number"
          },
          "referralFromNoOfDays": {
            "type": "number"
          },
          "renewalFromNoOfDays": {
            "type": "number"
          },
          "isRenewalEmailSent": {
            "type": "boolean"
          },
          "programBasedPayoutAmount": {
            "type": "number"
          },
          "nutritionistPayoutClassification": {
            "type": "string"
          },
          "payoutRemaining": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lead": {
            "$ref": "#/components/schemas/LeadWithRelations"
          },
          "foreignKey": {},
          "client": {
            "$ref": "#/components/schemas/ClientWithRelations"
          },
          "product": {
            "$ref": "#/components/schemas/ProductWithRelations"
          },
          "programAssignmentHistories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProgramAssignmentHistoryWithRelations"
            }
          },
          "programAssignUsers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProgramAssignUserWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ProgramWithRelations"
      },
      "TemplateWithRelations": {
        "title": "TemplateWithRelations",
        "type": "object",
        "description": "(tsType: TemplateWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "templateName": {
            "type": "string"
          },
          "sectionType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "programId": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "userTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserTemplateWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "TemplateWithRelations"
      },
      "FoodItemWithRelations": {
        "title": "FoodItemWithRelations",
        "type": "object",
        "description": "(tsType: FoodItemWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "foodItemName": {
            "type": "string"
          },
          "protein": {
            "type": "number"
          },
          "fat": {
            "type": "number"
          },
          "carbs": {
            "type": "number"
          },
          "fiber": {
            "type": "number"
          },
          "calories": {
            "type": "number"
          },
          "recipeLink": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "dietPreference": {
            "type": "string"
          },
          "foodCategory": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "userTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserTemplateWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "FoodItemWithRelations"
      },
      "SupplementWithRelations": {
        "title": "SupplementWithRelations",
        "type": "object",
        "description": "(tsType: SupplementWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "supplementName": {
            "type": "string"
          },
          "dosage": {
            "type": "string"
          },
          "form": {
            "type": "string"
          },
          "route": {
            "type": "string"
          },
          "whenToTake": {
            "type": "string"
          },
          "frequency": {
            "type": "string"
          },
          "duration": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "userTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserTemplateWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "SupplementWithRelations"
      },
      "LifestyleActivityWithRelations": {
        "title": "LifestyleActivityWithRelations",
        "type": "object",
        "description": "(tsType: LifestyleActivityWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "activityName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "frequency": {
            "type": "string"
          },
          "duration": {
            "type": "string"
          },
          "benefits": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "userTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserTemplateWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LifestyleActivityWithRelations"
      },
      "ExerciseWithRelations": {
        "title": "ExerciseWithRelations",
        "type": "object",
        "description": "(tsType: ExerciseWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "exerciseName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "muscleGroup": {
            "type": "string"
          },
          "durationMinutes": {
            "type": "number"
          },
          "caloriesBurned": {
            "type": "number"
          },
          "difficultyLevel": {
            "type": "string"
          },
          "instructions": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "userTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserTemplateWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ExerciseWithRelations"
      },
      "UserTemplateWithRelations": {
        "title": "UserTemplateWithRelations",
        "type": "object",
        "description": "(tsType: UserTemplateWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "subId": {
            "type": "string"
          },
          "programId": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "journeyId": {
            "type": "number"
          },
          "sectionType": {
            "type": "string"
          },
          "planType": {
            "type": "string"
          },
          "templateId": {
            "type": "number"
          },
          "foodItemId": {
            "type": "number"
          },
          "supplementId": {
            "type": "number"
          },
          "lifestyleActivityId": {
            "type": "number"
          },
          "exerciseId": {
            "type": "number"
          },
          "mealName": {
            "type": "string"
          },
          "scheduleTime": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "dayOfWeek": {
            "type": "string"
          },
          "sharingToken": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "program": {
            "$ref": "#/components/schemas/ProgramWithRelations"
          },
          "foreignKey": {},
          "template": {
            "$ref": "#/components/schemas/TemplateWithRelations"
          },
          "foodItem": {
            "$ref": "#/components/schemas/FoodItemWithRelations"
          },
          "supplement": {
            "$ref": "#/components/schemas/SupplementWithRelations"
          },
          "lifestyleActivity": {
            "$ref": "#/components/schemas/LifestyleActivityWithRelations"
          },
          "exercise": {
            "$ref": "#/components/schemas/ExerciseWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "UserTemplateWithRelations"
      },
      "UserTemplatePartial": {
        "title": "UserTemplatePartial",
        "type": "object",
        "description": "(tsType: Partial<UserTemplate>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "subId": {
            "type": "string"
          },
          "programId": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "journeyId": {
            "type": "number"
          },
          "sectionType": {
            "type": "string"
          },
          "planType": {
            "type": "string"
          },
          "templateId": {
            "type": "number"
          },
          "foodItemId": {
            "type": "number"
          },
          "supplementId": {
            "type": "number"
          },
          "lifestyleActivityId": {
            "type": "number"
          },
          "exerciseId": {
            "type": "number"
          },
          "mealName": {
            "type": "string"
          },
          "scheduleTime": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "quantity": {
            "type": "number"
          },
          "unit": {
            "type": "string"
          },
          "dayOfWeek": {
            "type": "string"
          },
          "sharingToken": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<UserTemplate>"
      },
      "Template": {
        "title": "Template",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "templateName": {
            "type": "string"
          },
          "sectionType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "programId": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewTemplate": {
        "title": "NewTemplate",
        "type": "object",
        "description": "(tsType: Omit<Template, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewTemplate', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "templateName": {
            "type": "string"
          },
          "sectionType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "programId": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Template, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "TemplatePartial": {
        "title": "TemplatePartial",
        "type": "object",
        "description": "(tsType: Partial<Template>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "templateName": {
            "type": "string"
          },
          "sectionType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "programId": {
            "type": "number"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Template>"
      },
      "Supplement": {
        "title": "Supplement",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "supplementName": {
            "type": "string"
          },
          "dosage": {
            "type": "string"
          },
          "form": {
            "type": "string"
          },
          "route": {
            "type": "string"
          },
          "whenToTake": {
            "type": "string"
          },
          "frequency": {
            "type": "string"
          },
          "duration": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewSupplement": {
        "title": "NewSupplement",
        "type": "object",
        "description": "(tsType: Omit<Supplement, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewSupplement', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "supplementName": {
            "type": "string"
          },
          "dosage": {
            "type": "string"
          },
          "form": {
            "type": "string"
          },
          "route": {
            "type": "string"
          },
          "whenToTake": {
            "type": "string"
          },
          "frequency": {
            "type": "string"
          },
          "duration": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Supplement, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "SupplementPartial": {
        "title": "SupplementPartial",
        "type": "object",
        "description": "(tsType: Partial<Supplement>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "supplementName": {
            "type": "string"
          },
          "dosage": {
            "type": "string"
          },
          "form": {
            "type": "string"
          },
          "route": {
            "type": "string"
          },
          "whenToTake": {
            "type": "string"
          },
          "frequency": {
            "type": "string"
          },
          "duration": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Supplement>"
      },
      "SalesCall": {
        "title": "SalesCall",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "communicationChannelId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "leadSubStatusId": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewSalesCall": {
        "title": "NewSalesCall",
        "type": "object",
        "description": "(tsType: Omit<SalesCall, 'id'>, schemaOptions: { title: 'NewSalesCall', exclude: [ 'id' ] })",
        "properties": {
          "leadId": {
            "type": "number"
          },
          "communicationChannelId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "leadSubStatusId": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<SalesCall, 'id'>"
      },
      "SalesCallWithRelations": {
        "title": "SalesCallWithRelations",
        "type": "object",
        "description": "(tsType: SalesCallWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "communicationChannelId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "leadSubStatusId": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "SalesCallWithRelations"
      },
      "SalesCallPartial": {
        "title": "SalesCallPartial",
        "type": "object",
        "description": "(tsType: Partial<SalesCall>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "communicationChannelId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "leadSubStatusId": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<SalesCall>"
      },
      "Program": {
        "title": "Program",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "programType": {
            "type": "string"
          },
          "consultDate": {
            "type": "string",
            "format": "date-time"
          },
          "consultTime": {
            "type": "string"
          },
          "leadId": {
            "type": "number"
          },
          "groupContractId": {
            "type": "number"
          },
          "watsappGroupCreationDate": {
            "type": "string",
            "format": "date-time"
          },
          "clientId": {
            "type": "number"
          },
          "mesiboToken": {
            "type": "object"
          },
          "mesiboGroupName": {
            "type": "string"
          },
          "productId": {
            "type": "number"
          },
          "programAssignmentComment": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "midProgramFeedbackEmailSent": {
            "type": "boolean"
          },
          "endProgramFeedbackEmailSent": {
            "type": "boolean"
          },
          "clientDoesNotWantCall": {
            "type": "boolean"
          },
          "followUpDone": {
            "type": "boolean"
          },
          "originalEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "isComplimentory": {
            "type": "boolean"
          },
          "parentProgramId": {
            "type": "number"
          },
          "referralFromNoOfDays": {
            "type": "number"
          },
          "renewalFromNoOfDays": {
            "type": "number"
          },
          "isRenewalEmailSent": {
            "type": "boolean"
          },
          "programBasedPayoutAmount": {
            "type": "number"
          },
          "nutritionistPayoutClassification": {
            "type": "string"
          },
          "payoutRemaining": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewProgram": {
        "title": "NewProgram",
        "type": "object",
        "description": "(tsType: Omit<Program, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewProgram', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "programType": {
            "type": "string"
          },
          "consultDate": {
            "type": "string",
            "format": "date-time"
          },
          "consultTime": {
            "type": "string"
          },
          "leadId": {
            "type": "number"
          },
          "groupContractId": {
            "type": "number"
          },
          "watsappGroupCreationDate": {
            "type": "string",
            "format": "date-time"
          },
          "clientId": {
            "type": "number"
          },
          "mesiboToken": {
            "type": "object"
          },
          "mesiboGroupName": {
            "type": "string"
          },
          "productId": {
            "type": "number"
          },
          "programAssignmentComment": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "midProgramFeedbackEmailSent": {
            "type": "boolean"
          },
          "endProgramFeedbackEmailSent": {
            "type": "boolean"
          },
          "clientDoesNotWantCall": {
            "type": "boolean"
          },
          "followUpDone": {
            "type": "boolean"
          },
          "originalEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "isComplimentory": {
            "type": "boolean"
          },
          "parentProgramId": {
            "type": "number"
          },
          "referralFromNoOfDays": {
            "type": "number"
          },
          "renewalFromNoOfDays": {
            "type": "number"
          },
          "isRenewalEmailSent": {
            "type": "boolean"
          },
          "programBasedPayoutAmount": {
            "type": "number"
          },
          "nutritionistPayoutClassification": {
            "type": "string"
          },
          "payoutRemaining": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Program, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "ProgramPartial": {
        "title": "ProgramPartial",
        "type": "object",
        "description": "(tsType: Partial<Program>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "programType": {
            "type": "string"
          },
          "consultDate": {
            "type": "string",
            "format": "date-time"
          },
          "consultTime": {
            "type": "string"
          },
          "leadId": {
            "type": "number"
          },
          "groupContractId": {
            "type": "number"
          },
          "watsappGroupCreationDate": {
            "type": "string",
            "format": "date-time"
          },
          "clientId": {
            "type": "number"
          },
          "mesiboToken": {
            "type": "object"
          },
          "mesiboGroupName": {
            "type": "string"
          },
          "productId": {
            "type": "number"
          },
          "programAssignmentComment": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "midProgramFeedbackEmailSent": {
            "type": "boolean"
          },
          "endProgramFeedbackEmailSent": {
            "type": "boolean"
          },
          "clientDoesNotWantCall": {
            "type": "boolean"
          },
          "followUpDone": {
            "type": "boolean"
          },
          "originalEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "isComplimentory": {
            "type": "boolean"
          },
          "parentProgramId": {
            "type": "number"
          },
          "referralFromNoOfDays": {
            "type": "number"
          },
          "renewalFromNoOfDays": {
            "type": "number"
          },
          "isRenewalEmailSent": {
            "type": "boolean"
          },
          "programBasedPayoutAmount": {
            "type": "number"
          },
          "nutritionistPayoutClassification": {
            "type": "string"
          },
          "payoutRemaining": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Program>"
      },
      "ProductType": {
        "title": "ProductType",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "parentId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewProductType": {
        "title": "NewProductType",
        "type": "object",
        "description": "(tsType: Omit<ProductType, 'id'>, schemaOptions: { title: 'NewProductType', exclude: [ 'id' ] })",
        "properties": {
          "parentId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProductType, 'id'>"
      },
      "ProductTypeWithRelations": {
        "title": "ProductTypeWithRelations",
        "type": "object",
        "description": "(tsType: ProductTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "parentId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ProductTypeWithRelations"
      },
      "ProductTypePartial": {
        "title": "ProductTypePartial",
        "type": "object",
        "description": "(tsType: Partial<ProductType>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "parentId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProductType>"
      },
      "ProductPrice": {
        "title": "ProductPrice",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "currencyId": {
            "type": "number"
          },
          "productPrice": {
            "type": "number"
          },
          "gst": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "productPrice",
          "gst",
          "total"
        ],
        "additionalProperties": false
      },
      "NewProductPrice": {
        "title": "NewProductPrice",
        "type": "object",
        "description": "(tsType: Omit<ProductPrice, 'id' | 'createdAt' | 'updatedAt'>, schemaOptions: { title: 'NewProductPrice', exclude: [ 'id', 'createdAt', 'updatedAt' ] })",
        "properties": {
          "productId": {
            "type": "number"
          },
          "currencyId": {
            "type": "number"
          },
          "productPrice": {
            "type": "number"
          },
          "gst": {
            "type": "number"
          },
          "total": {
            "type": "number"
          }
        },
        "required": [
          "productPrice",
          "gst",
          "total"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProductPrice, 'id' | 'createdAt' | 'updatedAt'>"
      },
      "CurrencyTypeWithRelations": {
        "title": "CurrencyTypeWithRelations",
        "type": "object",
        "description": "(tsType: CurrencyTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CurrencyTypeWithRelations"
      },
      "ProductPriceWithRelations": {
        "title": "ProductPriceWithRelations",
        "type": "object",
        "description": "(tsType: ProductPriceWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "currencyId": {
            "type": "number"
          },
          "productPrice": {
            "type": "number"
          },
          "gst": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "product": {
            "$ref": "#/components/schemas/ProductWithRelations"
          },
          "foreignKey": {},
          "currency": {
            "$ref": "#/components/schemas/CurrencyTypeWithRelations"
          }
        },
        "required": [
          "productPrice",
          "gst",
          "total"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProductPriceWithRelations"
      },
      "ProductPricePartial": {
        "title": "ProductPricePartial",
        "type": "object",
        "description": "(tsType: Partial<ProductPrice>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "currencyId": {
            "type": "number"
          },
          "productPrice": {
            "type": "number"
          },
          "gst": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProductPrice>"
      },
      "Payment": {
        "title": "Payment",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "invoiceType": {
            "type": "string"
          },
          "proofUpdateDate": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceDueDate": {
            "type": "string",
            "format": "date-time"
          },
          "proofType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "paymentStatus": {
            "type": "string"
          },
          "isConfirm": {
            "type": "boolean"
          },
          "confirmByUser": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "isTds": {
            "type": "boolean"
          },
          "tdsAmount": {
            "type": "number"
          },
          "tdsDescription": {
            "type": "string"
          },
          "amountReceived": {
            "type": "number"
          },
          "amountReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "editedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "invoiceType"
        ],
        "additionalProperties": false
      },
      "UserWithRelations": {
        "title": "UserWithRelations",
        "type": "object",
        "description": "(tsType: UserWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "roleId": {
            "type": "number"
          },
          "parentId": {
            "type": "number"
          },
          "qualityCoordinatorId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "additionalRoles": {
            "type": "object"
          },
          "email": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "emailVerifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "password": {
            "type": "string"
          },
          "forgotPasswordToken": {
            "type": "string"
          },
          "mesiboToken": {
            "type": "object"
          },
          "status": {
            "type": "number"
          },
          "isHead": {
            "type": "number"
          },
          "lastWorkingDate": {
            "type": "string",
            "format": "date-time"
          },
          "lastLogin": {
            "type": "string",
            "format": "date-time"
          },
          "rememberToken": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "username",
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "UserWithRelations"
      },
      "PaymentWithRelations": {
        "title": "PaymentWithRelations",
        "type": "object",
        "description": "(tsType: PaymentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "invoiceType": {
            "type": "string"
          },
          "proofUpdateDate": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceDueDate": {
            "type": "string",
            "format": "date-time"
          },
          "proofType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "paymentStatus": {
            "type": "string"
          },
          "isConfirm": {
            "type": "boolean"
          },
          "confirmByUser": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "isTds": {
            "type": "boolean"
          },
          "tdsAmount": {
            "type": "number"
          },
          "tdsDescription": {
            "type": "string"
          },
          "amountReceived": {
            "type": "number"
          },
          "amountReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "editedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lead": {
            "$ref": "#/components/schemas/LeadWithRelations"
          },
          "foreignKey": {}
        },
        "required": [
          "invoiceType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PaymentWithRelations"
      },
      "FoodItem": {
        "title": "FoodItem",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "foodItemName": {
            "type": "string"
          },
          "protein": {
            "type": "number"
          },
          "fat": {
            "type": "number"
          },
          "carbs": {
            "type": "number"
          },
          "fiber": {
            "type": "number"
          },
          "calories": {
            "type": "number"
          },
          "recipeLink": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "dietPreference": {
            "type": "string"
          },
          "foodCategory": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewFoodItem": {
        "title": "NewFoodItem",
        "type": "object",
        "description": "(tsType: Omit<FoodItem, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewFoodItem', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "foodItemName": {
            "type": "string"
          },
          "protein": {
            "type": "number"
          },
          "fat": {
            "type": "number"
          },
          "carbs": {
            "type": "number"
          },
          "fiber": {
            "type": "number"
          },
          "calories": {
            "type": "number"
          },
          "recipeLink": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "dietPreference": {
            "type": "string"
          },
          "foodCategory": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<FoodItem, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "FoodItemPartial": {
        "title": "FoodItemPartial",
        "type": "object",
        "description": "(tsType: Partial<FoodItem>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "foodItemName": {
            "type": "string"
          },
          "protein": {
            "type": "number"
          },
          "fat": {
            "type": "number"
          },
          "carbs": {
            "type": "number"
          },
          "fiber": {
            "type": "number"
          },
          "calories": {
            "type": "number"
          },
          "recipeLink": {
            "type": "string"
          },
          "unit": {
            "type": "string"
          },
          "dietPreference": {
            "type": "string"
          },
          "foodCategory": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<FoodItem>"
      },
      "MedicalReport": {
        "title": "MedicalReport",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "reportFile": {
            "type": "string"
          },
          "reportName": {
            "type": "string"
          },
          "reportType": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewMedicalReport": {
        "title": "NewMedicalReport",
        "type": "object",
        "description": "(tsType: Omit<MedicalReport, 'id'>, schemaOptions: { title: 'NewMedicalReport', exclude: [ 'id' ] })",
        "properties": {
          "clientId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "reportFile": {
            "type": "string"
          },
          "reportName": {
            "type": "string"
          },
          "reportType": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<MedicalReport, 'id'>"
      },
      "MedicalReportWithRelations": {
        "title": "MedicalReportWithRelations",
        "type": "object",
        "description": "(tsType: MedicalReportWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "reportFile": {
            "type": "string"
          },
          "reportName": {
            "type": "string"
          },
          "reportType": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "MedicalReportWithRelations"
      },
      "MedicalReportPartial": {
        "title": "MedicalReportPartial",
        "type": "object",
        "description": "(tsType: Partial<MedicalReport>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "reportFile": {
            "type": "string"
          },
          "reportName": {
            "type": "string"
          },
          "reportType": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<MedicalReport>"
      },
      "MasterFeedback": {
        "title": "MasterFeedback",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "feedbackName": {
            "type": "string"
          },
          "feedbackType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "questions": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewMasterFeedback": {
        "title": "NewMasterFeedback",
        "type": "object",
        "description": "(tsType: Omit<MasterFeedback, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewMasterFeedback', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "feedbackName": {
            "type": "string"
          },
          "feedbackType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "questions": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<MasterFeedback, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "MasterFeedbackPartial": {
        "title": "MasterFeedbackPartial",
        "type": "object",
        "description": "(tsType: Partial<MasterFeedback>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "feedbackName": {
            "type": "string"
          },
          "feedbackType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "questions": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<MasterFeedback>"
      },
      "LeaveRequest": {
        "title": "LeaveRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "approvedBy": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "numberOfDays": {
            "type": "number"
          }
        },
        "required": [
          "startDate",
          "endDate",
          "status"
        ],
        "additionalProperties": false
      },
      "NewLeaveRequest": {
        "title": "NewLeaveRequest",
        "type": "object",
        "description": "(tsType: Omit<LeaveRequest, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewLeaveRequest', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "userId": {
            "type": "number"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "approvedBy": {
            "type": "number"
          },
          "numberOfDays": {
            "type": "number"
          }
        },
        "required": [
          "startDate",
          "endDate",
          "status"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeaveRequest, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "LeaveRequestWithRelations": {
        "title": "LeaveRequestWithRelations",
        "type": "object",
        "description": "(tsType: LeaveRequestWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "approvedBy": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "numberOfDays": {
            "type": "number"
          },
          "user": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "foreignKey": {}
        },
        "required": [
          "startDate",
          "endDate",
          "status"
        ],
        "additionalProperties": false,
        "x-typescript-type": "LeaveRequestWithRelations"
      },
      "LeaveRequestPartial": {
        "title": "LeaveRequestPartial",
        "type": "object",
        "description": "(tsType: Partial<LeaveRequest>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "reason": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "approvedBy": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "numberOfDays": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeaveRequest>"
      },
      "Lead": {
        "title": "Lead",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "zohoOppId": {
            "type": "string"
          },
          "groupContractId": {
            "type": "number"
          },
          "isGroupLead": {
            "type": "boolean"
          },
          "clientId": {
            "type": "number"
          },
          "userAssignId": {
            "type": "number"
          },
          "consultTakenBy": {
            "type": "number"
          },
          "createdByUserId": {
            "type": "number"
          },
          "nutritionistAssignId": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "leadSourceId": {
            "type": "number"
          },
          "leadTypeId": {
            "type": "number"
          },
          "isConsult": {
            "type": "boolean"
          },
          "isConvertedFromConsult": {
            "type": "boolean"
          },
          "renewalFromProgramId": {
            "type": "number"
          },
          "renewalFromNoOfDays": {
            "type": "number"
          },
          "renewalFromNutritionistId": {
            "type": "number"
          },
          "nutritionistChangeRequested": {
            "type": "number"
          },
          "changeOfNutritionistReason": {
            "type": "string"
          },
          "leadComplementoryId": {
            "type": "number"
          },
          "inquiryMasterId": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "isProgramCreated": {
            "type": "boolean"
          },
          "paymentApprovedDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentProofUploadDate": {
            "type": "string",
            "format": "date-time"
          },
          "isPaymentComplete": {
            "type": "boolean"
          },
          "areaOfConcernId": {
            "type": "number"
          },
          "leadStatusId": {
            "type": "number"
          },
          "leadStatusSubId": {
            "type": "number"
          },
          "leadCloseDate": {
            "type": "string",
            "format": "date-time"
          },
          "clientMessage": {
            "type": "string"
          },
          "coordinatorMessage": {
            "type": "string"
          },
          "nutritionistClientMessageUpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isComplementry": {
            "type": "boolean"
          },
          "mrReportUpload": {
            "type": "boolean"
          },
          "mrApprovalDate": {
            "type": "string",
            "format": "date-time"
          },
          "pdMrException": {
            "type": "boolean"
          },
          "markForWebinar": {
            "type": "boolean"
          },
          "isProgramConsulted": {
            "type": "boolean"
          },
          "leadInquiryDate": {
            "type": "string",
            "format": "date-time"
          },
          "productPrice": {
            "type": "number"
          },
          "currencyId": {
            "type": "number"
          },
          "productGst": {
            "type": "number"
          },
          "productTotal": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "discountProductTotal": {
            "type": "number"
          },
          "referredBy": {
            "type": "number"
          },
          "keepReferedByConfidential": {
            "type": "boolean"
          },
          "referredByProgramId": {
            "type": "number"
          },
          "referralFromNoOfDays": {
            "type": "number"
          },
          "referredByNutritionistId": {
            "type": "number"
          },
          "transferFromProgramId": {
            "type": "number"
          },
          "duration": {
            "type": "number"
          },
          "numberOfInstallments": {
            "type": "number"
          },
          "daysFrequency": {
            "type": "number"
          },
          "consultedById": {
            "type": "number"
          },
          "consultDate": {
            "type": "string",
            "format": "date-time"
          },
          "consultProgramId": {
            "type": "number"
          },
          "referredByUserId": {
            "type": "number"
          },
          "referralClientId": {
            "type": "number"
          },
          "isSystemGenerated": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "currencyId"
        ],
        "additionalProperties": false
      },
      "NewLead": {
        "title": "NewLead",
        "type": "object",
        "description": "(tsType: Omit<Lead, 'id'>, schemaOptions: { title: 'NewLead', exclude: [ 'id' ] })",
        "properties": {
          "zohoOppId": {
            "type": "string"
          },
          "groupContractId": {
            "type": "number"
          },
          "isGroupLead": {
            "type": "boolean"
          },
          "clientId": {
            "type": "number"
          },
          "userAssignId": {
            "type": "number"
          },
          "consultTakenBy": {
            "type": "number"
          },
          "createdByUserId": {
            "type": "number"
          },
          "nutritionistAssignId": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "leadSourceId": {
            "type": "number"
          },
          "leadTypeId": {
            "type": "number"
          },
          "isConsult": {
            "type": "boolean"
          },
          "isConvertedFromConsult": {
            "type": "boolean"
          },
          "renewalFromProgramId": {
            "type": "number"
          },
          "renewalFromNoOfDays": {
            "type": "number"
          },
          "renewalFromNutritionistId": {
            "type": "number"
          },
          "nutritionistChangeRequested": {
            "type": "number"
          },
          "changeOfNutritionistReason": {
            "type": "string"
          },
          "leadComplementoryId": {
            "type": "number"
          },
          "inquiryMasterId": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "isProgramCreated": {
            "type": "boolean"
          },
          "paymentApprovedDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentProofUploadDate": {
            "type": "string",
            "format": "date-time"
          },
          "isPaymentComplete": {
            "type": "boolean"
          },
          "areaOfConcernId": {
            "type": "number"
          },
          "leadStatusId": {
            "type": "number"
          },
          "leadStatusSubId": {
            "type": "number"
          },
          "leadCloseDate": {
            "type": "string",
            "format": "date-time"
          },
          "clientMessage": {
            "type": "string"
          },
          "coordinatorMessage": {
            "type": "string"
          },
          "nutritionistClientMessageUpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isComplementry": {
            "type": "boolean"
          },
          "mrReportUpload": {
            "type": "boolean"
          },
          "mrApprovalDate": {
            "type": "string",
            "format": "date-time"
          },
          "pdMrException": {
            "type": "boolean"
          },
          "markForWebinar": {
            "type": "boolean"
          },
          "isProgramConsulted": {
            "type": "boolean"
          },
          "leadInquiryDate": {
            "type": "string",
            "format": "date-time"
          },
          "productPrice": {
            "type": "number"
          },
          "currencyId": {
            "type": "number"
          },
          "productGst": {
            "type": "number"
          },
          "productTotal": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "discountProductTotal": {
            "type": "number"
          },
          "referredBy": {
            "type": "number"
          },
          "keepReferedByConfidential": {
            "type": "boolean"
          },
          "referredByProgramId": {
            "type": "number"
          },
          "referralFromNoOfDays": {
            "type": "number"
          },
          "referredByNutritionistId": {
            "type": "number"
          },
          "transferFromProgramId": {
            "type": "number"
          },
          "duration": {
            "type": "number"
          },
          "numberOfInstallments": {
            "type": "number"
          },
          "daysFrequency": {
            "type": "number"
          },
          "consultedById": {
            "type": "number"
          },
          "consultDate": {
            "type": "string",
            "format": "date-time"
          },
          "consultProgramId": {
            "type": "number"
          },
          "referredByUserId": {
            "type": "number"
          },
          "referralClientId": {
            "type": "number"
          },
          "isSystemGenerated": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "currencyId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Lead, 'id'>"
      },
      "LeadPartial": {
        "title": "LeadPartial",
        "type": "object",
        "description": "(tsType: Partial<Lead>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "zohoOppId": {
            "type": "string"
          },
          "groupContractId": {
            "type": "number"
          },
          "isGroupLead": {
            "type": "boolean"
          },
          "clientId": {
            "type": "number"
          },
          "userAssignId": {
            "type": "number"
          },
          "consultTakenBy": {
            "type": "number"
          },
          "createdByUserId": {
            "type": "number"
          },
          "nutritionistAssignId": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "leadSourceId": {
            "type": "number"
          },
          "leadTypeId": {
            "type": "number"
          },
          "isConsult": {
            "type": "boolean"
          },
          "isConvertedFromConsult": {
            "type": "boolean"
          },
          "renewalFromProgramId": {
            "type": "number"
          },
          "renewalFromNoOfDays": {
            "type": "number"
          },
          "renewalFromNutritionistId": {
            "type": "number"
          },
          "nutritionistChangeRequested": {
            "type": "number"
          },
          "changeOfNutritionistReason": {
            "type": "string"
          },
          "leadComplementoryId": {
            "type": "number"
          },
          "inquiryMasterId": {
            "type": "number"
          },
          "productId": {
            "type": "number"
          },
          "isProgramCreated": {
            "type": "boolean"
          },
          "paymentApprovedDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentProofUploadDate": {
            "type": "string",
            "format": "date-time"
          },
          "isPaymentComplete": {
            "type": "boolean"
          },
          "areaOfConcernId": {
            "type": "number"
          },
          "leadStatusId": {
            "type": "number"
          },
          "leadStatusSubId": {
            "type": "number"
          },
          "leadCloseDate": {
            "type": "string",
            "format": "date-time"
          },
          "clientMessage": {
            "type": "string"
          },
          "coordinatorMessage": {
            "type": "string"
          },
          "nutritionistClientMessageUpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isComplementry": {
            "type": "boolean"
          },
          "mrReportUpload": {
            "type": "boolean"
          },
          "mrApprovalDate": {
            "type": "string",
            "format": "date-time"
          },
          "pdMrException": {
            "type": "boolean"
          },
          "markForWebinar": {
            "type": "boolean"
          },
          "isProgramConsulted": {
            "type": "boolean"
          },
          "leadInquiryDate": {
            "type": "string",
            "format": "date-time"
          },
          "productPrice": {
            "type": "number"
          },
          "currencyId": {
            "type": "number"
          },
          "productGst": {
            "type": "number"
          },
          "productTotal": {
            "type": "number"
          },
          "discountAmount": {
            "type": "number"
          },
          "discountProductTotal": {
            "type": "number"
          },
          "referredBy": {
            "type": "number"
          },
          "keepReferedByConfidential": {
            "type": "boolean"
          },
          "referredByProgramId": {
            "type": "number"
          },
          "referralFromNoOfDays": {
            "type": "number"
          },
          "referredByNutritionistId": {
            "type": "number"
          },
          "transferFromProgramId": {
            "type": "number"
          },
          "duration": {
            "type": "number"
          },
          "numberOfInstallments": {
            "type": "number"
          },
          "daysFrequency": {
            "type": "number"
          },
          "consultedById": {
            "type": "number"
          },
          "consultDate": {
            "type": "string",
            "format": "date-time"
          },
          "consultProgramId": {
            "type": "number"
          },
          "referredByUserId": {
            "type": "number"
          },
          "referralClientId": {
            "type": "number"
          },
          "isSystemGenerated": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Lead>"
      },
      "ProgramAssignmentHistory": {
        "title": "ProgramAssignmentHistory",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "notes": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "LeadType": {
        "title": "LeadType",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewLeadType": {
        "title": "NewLeadType",
        "type": "object",
        "description": "(tsType: Omit<LeadType, 'id'>, schemaOptions: { title: 'NewLeadType', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeadType, 'id'>"
      },
      "LeadTypeWithRelations": {
        "title": "LeadTypeWithRelations",
        "type": "object",
        "description": "(tsType: LeadTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LeadTypeWithRelations"
      },
      "LeadTypePartial": {
        "title": "LeadTypePartial",
        "type": "object",
        "description": "(tsType: Partial<LeadType>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeadType>"
      },
      "LeadStatus": {
        "title": "LeadStatus",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "parentId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewLeadStatus": {
        "title": "NewLeadStatus",
        "type": "object",
        "description": "(tsType: Omit<LeadStatus, 'id'>, schemaOptions: { title: 'NewLeadStatus', exclude: [ 'id' ] })",
        "properties": {
          "parentId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeadStatus, 'id'>"
      },
      "LeadStatusWithRelations": {
        "title": "LeadStatusWithRelations",
        "type": "object",
        "description": "(tsType: LeadStatusWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "parentId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LeadStatusWithRelations"
      },
      "LeadStatusPartial": {
        "title": "LeadStatusPartial",
        "type": "object",
        "description": "(tsType: Partial<LeadStatus>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "parentId": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeadStatus>"
      },
      "LeadStatusHistory": {
        "title": "LeadStatusHistory",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "subStatusId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewLeadStatusHistory": {
        "title": "NewLeadStatusHistory",
        "type": "object",
        "description": "(tsType: Omit<LeadStatusHistory, 'id'>, schemaOptions: { title: 'NewLeadStatusHistory', exclude: [ 'id' ] })",
        "properties": {
          "leadId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "subStatusId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeadStatusHistory, 'id'>"
      },
      "LeadStatusHistoryWithRelations": {
        "title": "LeadStatusHistoryWithRelations",
        "type": "object",
        "description": "(tsType: LeadStatusHistoryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "subStatusId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LeadStatusHistoryWithRelations"
      },
      "LeadStatusHistoryPartial": {
        "title": "LeadStatusHistoryPartial",
        "type": "object",
        "description": "(tsType: Partial<LeadStatusHistory>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "subStatusId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeadStatusHistory>"
      },
      "LeadSource": {
        "title": "LeadSource",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewLeadSource": {
        "title": "NewLeadSource",
        "type": "object",
        "description": "(tsType: Omit<LeadSource, 'id'>, schemaOptions: { title: 'NewLeadSource', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeadSource, 'id'>"
      },
      "LeadSourceWithRelations": {
        "title": "LeadSourceWithRelations",
        "type": "object",
        "description": "(tsType: LeadSourceWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LeadSourceWithRelations"
      },
      "LeadSourcePartial": {
        "title": "LeadSourcePartial",
        "type": "object",
        "description": "(tsType: Partial<LeadSource>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeadSource>"
      },
      "LeadPaymentStatusHistory": {
        "title": "LeadPaymentStatusHistory",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadPaymentHistoryId": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "changeById": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewLeadPaymentStatusHistory": {
        "title": "NewLeadPaymentStatusHistory",
        "type": "object",
        "description": "(tsType: Omit<LeadPaymentStatusHistory, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewLeadPaymentStatusHistory', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "leadPaymentHistoryId": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "changeById": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeadPaymentStatusHistory, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "LeadPaymentHistoryWithRelations": {
        "title": "LeadPaymentHistoryWithRelations",
        "type": "object",
        "description": "(tsType: LeadPaymentHistoryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "invoiceType": {
            "type": "string"
          },
          "proofUpdateDate": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceDueDate": {
            "type": "string",
            "format": "date-time"
          },
          "proofType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "paymentStatus": {
            "type": "string"
          },
          "isConfirm": {
            "type": "boolean"
          },
          "confirmByUser": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "isTds": {
            "type": "boolean"
          },
          "tdsAmount": {
            "type": "number"
          },
          "tdsDescription": {
            "type": "string"
          },
          "amountReceived": {
            "type": "number"
          },
          "amountReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "editedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "lead": {
            "$ref": "#/components/schemas/LeadWithRelations"
          },
          "foreignKey": {}
        },
        "required": [
          "invoiceType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "LeadPaymentHistoryWithRelations"
      },
      "LeadPaymentStatusHistoryWithRelations": {
        "title": "LeadPaymentStatusHistoryWithRelations",
        "type": "object",
        "description": "(tsType: LeadPaymentStatusHistoryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadPaymentHistoryId": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "changeById": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "leadPaymentHistory": {
            "$ref": "#/components/schemas/LeadPaymentHistoryWithRelations"
          },
          "foreignKey": {},
          "changeBy": {
            "$ref": "#/components/schemas/UserWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LeadPaymentStatusHistoryWithRelations"
      },
      "LeadPaymentStatusHistoryPartial": {
        "title": "LeadPaymentStatusHistoryPartial",
        "type": "object",
        "description": "(tsType: Partial<LeadPaymentStatusHistory>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadPaymentHistoryId": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "changeById": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeadPaymentStatusHistory>"
      },
      "LeadPaymentHistory": {
        "title": "LeadPaymentHistory",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "invoiceType": {
            "type": "string"
          },
          "proofUpdateDate": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceDueDate": {
            "type": "string",
            "format": "date-time"
          },
          "proofType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "paymentStatus": {
            "type": "string"
          },
          "isConfirm": {
            "type": "boolean"
          },
          "confirmByUser": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "isTds": {
            "type": "boolean"
          },
          "tdsAmount": {
            "type": "number"
          },
          "tdsDescription": {
            "type": "string"
          },
          "amountReceived": {
            "type": "number"
          },
          "amountReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "editedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "invoiceType"
        ],
        "additionalProperties": false
      },
      "NewLeadPaymentHistory": {
        "title": "NewLeadPaymentHistory",
        "type": "object",
        "description": "(tsType: Omit<LeadPaymentHistory, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewLeadPaymentHistory', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "leadId": {
            "type": "number"
          },
          "invoiceType": {
            "type": "string"
          },
          "proofUpdateDate": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceDueDate": {
            "type": "string",
            "format": "date-time"
          },
          "proofType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "paymentStatus": {
            "type": "string"
          },
          "isConfirm": {
            "type": "boolean"
          },
          "confirmByUser": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "isTds": {
            "type": "boolean"
          },
          "tdsAmount": {
            "type": "number"
          },
          "tdsDescription": {
            "type": "string"
          },
          "amountReceived": {
            "type": "number"
          },
          "amountReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "editedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "invoiceType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeadPaymentHistory, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "LeadPaymentHistoryPartial": {
        "title": "LeadPaymentHistoryPartial",
        "type": "object",
        "description": "(tsType: Partial<LeadPaymentHistory>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "invoiceType": {
            "type": "string"
          },
          "proofUpdateDate": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceDueDate": {
            "type": "string",
            "format": "date-time"
          },
          "proofType": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "paymentStatus": {
            "type": "string"
          },
          "isConfirm": {
            "type": "boolean"
          },
          "confirmByUser": {
            "type": "number"
          },
          "price": {
            "type": "number"
          },
          "isTds": {
            "type": "boolean"
          },
          "tdsAmount": {
            "type": "number"
          },
          "tdsDescription": {
            "type": "string"
          },
          "amountReceived": {
            "type": "number"
          },
          "amountReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "editedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeadPaymentHistory>"
      },
      "LeadDiscount": {
        "title": "LeadDiscount",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "managerId": {
            "type": "number"
          },
          "discountType": {
            "type": "boolean"
          },
          "giveComplimentory": {
            "type": "boolean"
          },
          "isRenewalDiscount": {
            "type": "boolean"
          },
          "discountAmount": {
            "type": "number"
          },
          "isManual": {
            "type": "boolean"
          },
          "confirmByManager": {
            "type": "string"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "actionDate": {
            "type": "string",
            "format": "date-time"
          },
          "coordinatorMessage": {
            "type": "string"
          },
          "managerMessage": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewLeadDiscount": {
        "title": "NewLeadDiscount",
        "type": "object",
        "description": "(tsType: Omit<LeadDiscount, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewLeadDiscount', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "createdBy": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "managerId": {
            "type": "number"
          },
          "discountType": {
            "type": "boolean"
          },
          "giveComplimentory": {
            "type": "boolean"
          },
          "isRenewalDiscount": {
            "type": "boolean"
          },
          "discountAmount": {
            "type": "number"
          },
          "isManual": {
            "type": "boolean"
          },
          "confirmByManager": {
            "type": "string"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "actionDate": {
            "type": "string",
            "format": "date-time"
          },
          "coordinatorMessage": {
            "type": "string"
          },
          "managerMessage": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeadDiscount, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "LeadDiscountWithRelations": {
        "title": "LeadDiscountWithRelations",
        "type": "object",
        "description": "(tsType: LeadDiscountWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "managerId": {
            "type": "number"
          },
          "discountType": {
            "type": "boolean"
          },
          "giveComplimentory": {
            "type": "boolean"
          },
          "isRenewalDiscount": {
            "type": "boolean"
          },
          "discountAmount": {
            "type": "number"
          },
          "isManual": {
            "type": "boolean"
          },
          "confirmByManager": {
            "type": "string"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "actionDate": {
            "type": "string",
            "format": "date-time"
          },
          "coordinatorMessage": {
            "type": "string"
          },
          "managerMessage": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdByUser": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "foreignKey": {},
          "lead": {
            "$ref": "#/components/schemas/LeadWithRelations"
          },
          "manager": {
            "$ref": "#/components/schemas/UserWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LeadDiscountWithRelations"
      },
      "LeadDiscountPartial": {
        "title": "LeadDiscountPartial",
        "type": "object",
        "description": "(tsType: Partial<LeadDiscount>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdBy": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "managerId": {
            "type": "number"
          },
          "discountType": {
            "type": "boolean"
          },
          "giveComplimentory": {
            "type": "boolean"
          },
          "isRenewalDiscount": {
            "type": "boolean"
          },
          "discountAmount": {
            "type": "number"
          },
          "isManual": {
            "type": "boolean"
          },
          "confirmByManager": {
            "type": "string"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "actionDate": {
            "type": "string",
            "format": "date-time"
          },
          "coordinatorMessage": {
            "type": "string"
          },
          "managerMessage": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeadDiscount>"
      },
      "LeadAssignHistory": {
        "title": "LeadAssignHistory",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadMasterId": {
            "type": "number"
          },
          "fromAssignUserId": {
            "type": "number"
          },
          "toAssignUserId": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewLeadAssignHistory": {
        "title": "NewLeadAssignHistory",
        "type": "object",
        "description": "(tsType: Omit<LeadAssignHistory, 'id'>, schemaOptions: { title: 'NewLeadAssignHistory', exclude: [ 'id' ] })",
        "properties": {
          "leadMasterId": {
            "type": "number"
          },
          "fromAssignUserId": {
            "type": "number"
          },
          "toAssignUserId": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LeadAssignHistory, 'id'>"
      },
      "LeadAssignHistoryWithRelations": {
        "title": "LeadAssignHistoryWithRelations",
        "type": "object",
        "description": "(tsType: LeadAssignHistoryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadMasterId": {
            "type": "number"
          },
          "fromAssignUserId": {
            "type": "number"
          },
          "toAssignUserId": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LeadAssignHistoryWithRelations"
      },
      "LeadAssignHistoryPartial": {
        "title": "LeadAssignHistoryPartial",
        "type": "object",
        "description": "(tsType: Partial<LeadAssignHistory>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "leadMasterId": {
            "type": "number"
          },
          "fromAssignUserId": {
            "type": "number"
          },
          "toAssignUserId": {
            "type": "number"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LeadAssignHistory>"
      },
      "ProgramFeedback": {
        "title": "ProgramFeedback",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "programName": {
            "type": "string"
          },
          "nutritionistId": {
            "type": "number"
          },
          "nutritionistName": {
            "type": "string"
          },
          "clientId": {
            "type": "number"
          },
          "clientName": {
            "type": "string"
          },
          "feedback": {
            "type": "string"
          },
          "file": {
            "type": "string"
          },
          "feedbackReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "overallRating": {
            "type": "number"
          },
          "nutritionistRating": {
            "type": "number"
          },
          "feelCared": {
            "type": "boolean"
          },
          "recommendationScale": {
            "type": "number"
          },
          "useTestimonialOnSocialMedia": {
            "type": "string"
          },
          "likeToRenew": {
            "type": "boolean"
          },
          "goalAchived": {
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          },
          "tagUsers": {
            "type": "string"
          },
          "useForTestimonial": {
            "type": "boolean"
          },
          "useForEscalation": {
            "type": "boolean"
          },
          "gapIdentification": {
            "type": "string"
          },
          "scopeOfImprovement": {
            "type": "string"
          },
          "faultDetection": {
            "type": "string"
          },
          "nutritionistView": {
            "type": "string"
          },
          "lastCoachingDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "createdByName": {
            "type": "string"
          },
          "actionTaken": {
            "type": "string"
          },
          "transferRemainderDaysReqId": {
            "type": "number"
          },
          "refundReqId": {
            "type": "number"
          },
          "extendProgramReqId": {
            "type": "number"
          },
          "transferNtReqId": {
            "type": "number"
          },
          "actionTakenBy": {
            "type": "number"
          },
          "actionSummary": {
            "type": "string"
          },
          "generalClassification": {
            "type": "string"
          },
          "clientFaultClassification": {
            "type": "string"
          },
          "callDone": {
            "type": "boolean"
          },
          "callDate": {
            "type": "string",
            "format": "date-time"
          },
          "emailSent": {
            "type": "boolean"
          },
          "emailSentDate": {
            "type": "string",
            "format": "date-time"
          },
          "newEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "generalClassificationComment": {
            "type": "string"
          },
          "feedbackTaggedAt": {
            "type": "string",
            "format": "date-time"
          },
          "feedbackTagComment": {
            "type": "string"
          },
          "hnAcknowledgmentDate": {
            "type": "string",
            "format": "date-time"
          },
          "actionTakenAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewProgramFeedback": {
        "title": "NewProgramFeedback",
        "type": "object",
        "description": "(tsType: Omit<ProgramFeedback, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewProgramFeedback', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "programId": {
            "type": "number"
          },
          "programName": {
            "type": "string"
          },
          "nutritionistId": {
            "type": "number"
          },
          "nutritionistName": {
            "type": "string"
          },
          "clientId": {
            "type": "number"
          },
          "clientName": {
            "type": "string"
          },
          "feedback": {
            "type": "string"
          },
          "file": {
            "type": "string"
          },
          "feedbackReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "overallRating": {
            "type": "number"
          },
          "nutritionistRating": {
            "type": "number"
          },
          "feelCared": {
            "type": "boolean"
          },
          "recommendationScale": {
            "type": "number"
          },
          "useTestimonialOnSocialMedia": {
            "type": "string"
          },
          "likeToRenew": {
            "type": "boolean"
          },
          "goalAchived": {
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          },
          "tagUsers": {
            "type": "string"
          },
          "useForTestimonial": {
            "type": "boolean"
          },
          "useForEscalation": {
            "type": "boolean"
          },
          "gapIdentification": {
            "type": "string"
          },
          "scopeOfImprovement": {
            "type": "string"
          },
          "faultDetection": {
            "type": "string"
          },
          "nutritionistView": {
            "type": "string"
          },
          "lastCoachingDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "createdByName": {
            "type": "string"
          },
          "actionTaken": {
            "type": "string"
          },
          "transferRemainderDaysReqId": {
            "type": "number"
          },
          "refundReqId": {
            "type": "number"
          },
          "extendProgramReqId": {
            "type": "number"
          },
          "transferNtReqId": {
            "type": "number"
          },
          "actionTakenBy": {
            "type": "number"
          },
          "actionSummary": {
            "type": "string"
          },
          "generalClassification": {
            "type": "string"
          },
          "clientFaultClassification": {
            "type": "string"
          },
          "callDone": {
            "type": "boolean"
          },
          "callDate": {
            "type": "string",
            "format": "date-time"
          },
          "emailSent": {
            "type": "boolean"
          },
          "emailSentDate": {
            "type": "string",
            "format": "date-time"
          },
          "newEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "generalClassificationComment": {
            "type": "string"
          },
          "feedbackTaggedAt": {
            "type": "string",
            "format": "date-time"
          },
          "feedbackTagComment": {
            "type": "string"
          },
          "hnAcknowledgmentDate": {
            "type": "string",
            "format": "date-time"
          },
          "actionTakenAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProgramFeedback, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "ProgramFeedbackPartial": {
        "title": "ProgramFeedbackPartial",
        "type": "object",
        "description": "(tsType: Partial<ProgramFeedback>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "programName": {
            "type": "string"
          },
          "nutritionistId": {
            "type": "number"
          },
          "nutritionistName": {
            "type": "string"
          },
          "clientId": {
            "type": "number"
          },
          "clientName": {
            "type": "string"
          },
          "feedback": {
            "type": "string"
          },
          "file": {
            "type": "string"
          },
          "feedbackReceivedDate": {
            "type": "string",
            "format": "date-time"
          },
          "overallRating": {
            "type": "number"
          },
          "nutritionistRating": {
            "type": "number"
          },
          "feelCared": {
            "type": "boolean"
          },
          "recommendationScale": {
            "type": "number"
          },
          "useTestimonialOnSocialMedia": {
            "type": "string"
          },
          "likeToRenew": {
            "type": "boolean"
          },
          "goalAchived": {
            "type": "boolean"
          },
          "source": {
            "type": "string"
          },
          "tag": {
            "type": "string"
          },
          "tagUsers": {
            "type": "string"
          },
          "useForTestimonial": {
            "type": "boolean"
          },
          "useForEscalation": {
            "type": "boolean"
          },
          "gapIdentification": {
            "type": "string"
          },
          "scopeOfImprovement": {
            "type": "string"
          },
          "faultDetection": {
            "type": "string"
          },
          "nutritionistView": {
            "type": "string"
          },
          "lastCoachingDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "createdByName": {
            "type": "string"
          },
          "actionTaken": {
            "type": "string"
          },
          "transferRemainderDaysReqId": {
            "type": "number"
          },
          "refundReqId": {
            "type": "number"
          },
          "extendProgramReqId": {
            "type": "number"
          },
          "transferNtReqId": {
            "type": "number"
          },
          "actionTakenBy": {
            "type": "number"
          },
          "actionSummary": {
            "type": "string"
          },
          "generalClassification": {
            "type": "string"
          },
          "clientFaultClassification": {
            "type": "string"
          },
          "callDone": {
            "type": "boolean"
          },
          "callDate": {
            "type": "string",
            "format": "date-time"
          },
          "emailSent": {
            "type": "boolean"
          },
          "emailSentDate": {
            "type": "string",
            "format": "date-time"
          },
          "newEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "generalClassificationComment": {
            "type": "string"
          },
          "feedbackTaggedAt": {
            "type": "string",
            "format": "date-time"
          },
          "feedbackTagComment": {
            "type": "string"
          },
          "hnAcknowledgmentDate": {
            "type": "string",
            "format": "date-time"
          },
          "actionTakenAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProgramFeedback>"
      },
      "Exercise": {
        "title": "Exercise",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "exerciseName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "muscleGroup": {
            "type": "string"
          },
          "durationMinutes": {
            "type": "number"
          },
          "caloriesBurned": {
            "type": "number"
          },
          "difficultyLevel": {
            "type": "string"
          },
          "instructions": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewExercise": {
        "title": "NewExercise",
        "type": "object",
        "description": "(tsType: Omit<Exercise, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewExercise', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "exerciseName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "muscleGroup": {
            "type": "string"
          },
          "durationMinutes": {
            "type": "number"
          },
          "caloriesBurned": {
            "type": "number"
          },
          "difficultyLevel": {
            "type": "string"
          },
          "instructions": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Exercise, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "ExercisePartial": {
        "title": "ExercisePartial",
        "type": "object",
        "description": "(tsType: Partial<Exercise>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "exerciseName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "muscleGroup": {
            "type": "string"
          },
          "durationMinutes": {
            "type": "number"
          },
          "caloriesBurned": {
            "type": "number"
          },
          "difficultyLevel": {
            "type": "string"
          },
          "instructions": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Exercise>"
      },
      "ProgramCallLog": {
        "title": "ProgramCallLog",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "featureId": {
            "type": "number"
          },
          "datetimeOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "isMedicineRequired": {
            "type": "string"
          },
          "medicineComment": {
            "type": "string"
          },
          "dateOfMedicineSent": {
            "type": "string",
            "format": "date-time"
          },
          "logType": {
            "type": "string"
          },
          "clientDoesNotWantCall": {
            "type": "boolean"
          },
          "followUpDone": {
            "type": "boolean"
          },
          "clientUnresponsive": {
            "type": "boolean"
          },
          "scheduleDateOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "oldScheduleDateOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "internalTeamComment": {
            "type": "string"
          },
          "internalCommentDatetime": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewProgramCallLog": {
        "title": "NewProgramCallLog",
        "type": "object",
        "description": "(tsType: Omit<ProgramCallLog, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewProgramCallLog', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "programId": {
            "type": "number"
          },
          "featureId": {
            "type": "number"
          },
          "datetimeOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "isMedicineRequired": {
            "type": "string"
          },
          "medicineComment": {
            "type": "string"
          },
          "dateOfMedicineSent": {
            "type": "string",
            "format": "date-time"
          },
          "logType": {
            "type": "string"
          },
          "clientDoesNotWantCall": {
            "type": "boolean"
          },
          "followUpDone": {
            "type": "boolean"
          },
          "clientUnresponsive": {
            "type": "boolean"
          },
          "scheduleDateOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "oldScheduleDateOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "internalTeamComment": {
            "type": "string"
          },
          "internalCommentDatetime": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProgramCallLog, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "ProgramCallLogPartial": {
        "title": "ProgramCallLogPartial",
        "type": "object",
        "description": "(tsType: Partial<ProgramCallLog>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "featureId": {
            "type": "number"
          },
          "datetimeOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "isMedicineRequired": {
            "type": "string"
          },
          "medicineComment": {
            "type": "string"
          },
          "dateOfMedicineSent": {
            "type": "string",
            "format": "date-time"
          },
          "logType": {
            "type": "string"
          },
          "clientDoesNotWantCall": {
            "type": "boolean"
          },
          "followUpDone": {
            "type": "boolean"
          },
          "clientUnresponsive": {
            "type": "boolean"
          },
          "scheduleDateOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "oldScheduleDateOfCall": {
            "type": "string",
            "format": "date-time"
          },
          "internalTeamComment": {
            "type": "string"
          },
          "internalCommentDatetime": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProgramCallLog>"
      },
      "CurrencyType": {
        "title": "CurrencyType",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewCurrencyType": {
        "title": "NewCurrencyType",
        "type": "object",
        "description": "(tsType: Omit<CurrencyType, 'id'>, schemaOptions: { title: 'NewCurrencyType', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<CurrencyType, 'id'>"
      },
      "CurrencyTypePartial": {
        "title": "CurrencyTypePartial",
        "type": "object",
        "description": "(tsType: Partial<CurrencyType>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "symbol": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<CurrencyType>"
      },
      "MasterConfigurationWithRelations": {
        "title": "MasterConfigurationWithRelations",
        "type": "object",
        "description": "(tsType: MasterConfigurationWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "categoryName": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "categoryName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "MasterConfigurationWithRelations"
      },
      "MasterConfiguration": {
        "title": "MasterConfiguration",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "categoryName": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "categoryName"
        ],
        "additionalProperties": false
      },
      "NewMasterConfiguration": {
        "title": "NewMasterConfiguration",
        "type": "object",
        "description": "(tsType: Omit<MasterConfiguration, 'id'>, schemaOptions: { title: 'NewMasterConfiguration', exclude: [ 'id' ] })",
        "properties": {
          "categoryName": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "categoryName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<MasterConfiguration, 'id'>"
      },
      "MasterConfigurationPartial": {
        "title": "MasterConfigurationPartial",
        "type": "object",
        "description": "(tsType: Partial<MasterConfiguration>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "categoryName": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<MasterConfiguration>"
      },
      "ChildConfigurationWithRelations": {
        "title": "ChildConfigurationWithRelations",
        "type": "object",
        "description": "(tsType: ChildConfigurationWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "masterConfigId": {
            "type": "number"
          },
          "configLabel": {
            "type": "string"
          },
          "configValues": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "masterConfigId",
          "configLabel"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ChildConfigurationWithRelations"
      },
      "ChildConfiguration": {
        "title": "ChildConfiguration",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "masterConfigId": {
            "type": "number"
          },
          "configLabel": {
            "type": "string"
          },
          "configValues": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "masterConfigId",
          "configLabel"
        ],
        "additionalProperties": false
      },
      "NewChildConfiguration": {
        "title": "NewChildConfiguration",
        "type": "object",
        "description": "(tsType: Omit<ChildConfiguration, 'id'>, schemaOptions: { title: 'NewChildConfiguration', exclude: [ 'id' ] })",
        "properties": {
          "masterConfigId": {
            "type": "number"
          },
          "configLabel": {
            "type": "string"
          },
          "configValues": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "masterConfigId",
          "configLabel"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ChildConfiguration, 'id'>"
      },
      "ChildConfigurationPartial": {
        "title": "ChildConfigurationPartial",
        "type": "object",
        "description": "(tsType: Partial<ChildConfiguration>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "masterConfigId": {
            "type": "number"
          },
          "configLabel": {
            "type": "string"
          },
          "configValues": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isActive": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ChildConfiguration>"
      },
      "Client": {
        "title": "Client",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "forgotPasswordToken": {
            "type": "string"
          },
          "mesiboToken": {
            "type": "object"
          },
          "phone": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "gender": {
            "type": "string"
          },
          "age": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "cityId": {
            "type": "number"
          },
          "roleId": {
            "type": "number"
          },
          "isVip": {
            "type": "boolean"
          },
          "pdFormUpload": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "isCredentialSent": {
            "type": "boolean"
          },
          "emailVerifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "rememberToken": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "gender"
        ],
        "additionalProperties": false
      },
      "NewClient": {
        "title": "NewClient",
        "type": "object",
        "description": "(tsType: Omit<Client, 'id'>, schemaOptions: { title: 'NewClient', exclude: [ 'id' ] })",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "forgotPasswordToken": {
            "type": "string"
          },
          "mesiboToken": {
            "type": "object"
          },
          "phone": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "gender": {
            "type": "string"
          },
          "age": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "cityId": {
            "type": "number"
          },
          "roleId": {
            "type": "number"
          },
          "isVip": {
            "type": "boolean"
          },
          "pdFormUpload": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "isCredentialSent": {
            "type": "boolean"
          },
          "emailVerifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "rememberToken": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "gender"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Client, 'id'>"
      },
      "ClientPartial": {
        "title": "ClientPartial",
        "type": "object",
        "description": "(tsType: Partial<Client>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "forgotPasswordToken": {
            "type": "string"
          },
          "mesiboToken": {
            "type": "object"
          },
          "phone": {
            "type": "string"
          },
          "profileImage": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "gender": {
            "type": "string"
          },
          "age": {
            "type": "number"
          },
          "countryId": {
            "type": "number"
          },
          "cityId": {
            "type": "number"
          },
          "roleId": {
            "type": "number"
          },
          "isVip": {
            "type": "boolean"
          },
          "pdFormUpload": {
            "type": "boolean"
          },
          "status": {
            "type": "boolean"
          },
          "isCredentialSent": {
            "type": "boolean"
          },
          "emailVerifiedAt": {
            "type": "string",
            "format": "date-time"
          },
          "rememberToken": {
            "type": "string"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Client>"
      },
      "PdForm": {
        "title": "PdForm",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "formInfo": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "invoiceAddress": {
            "type": "string"
          },
          "invoiceGst": {
            "type": "string"
          },
          "invoiceName": {
            "type": "string"
          },
          "screenRecreationTime": {
            "type": "string"
          },
          "sleepDisorderComment": {
            "type": "string"
          },
          "havingSleepDisorder": {
            "type": "string"
          },
          "havingWellRestedSleep": {
            "type": "string"
          },
          "sleepingSchedule": {
            "type": "string"
          },
          "havingSleepingTrouble": {
            "type": "string"
          },
          "sleepHr": {
            "type": "string"
          },
          "coachingIntensityPreference": {
            "type": "string"
          },
          "pastEmotionalEventComment": {
            "type": "string"
          },
          "pastEmotionalEvent": {
            "type": "string"
          },
          "emotionalPracticingComment": {
            "type": "string"
          },
          "emotionalPracticing": {
            "type": "string"
          },
          "havingStress": {
            "type": "string"
          },
          "selfEmotionalRating": {
            "type": "string"
          },
          "physicalLimitationComment": {
            "type": "string"
          },
          "havingPhysicalLimitation": {
            "type": "string"
          },
          "fitnessInvolvementComment": {
            "type": "string"
          },
          "fitnessInvolvement": {
            "type": "string"
          },
          "exercisePreferenceComment": {
            "type": "string"
          },
          "exercisePreference": {
            "type": "string"
          },
          "exerciseFrequency": {
            "type": "string"
          },
          "waterConsumption": {
            "type": "string"
          },
          "tobaccoConsumption": {
            "type": "string"
          },
          "recreationalDrugConsumption": {
            "type": "string"
          },
          "alcoholConsumption": {
            "type": "string"
          },
          "beveragesConsumption": {
            "type": "string"
          },
          "teaCoffeeConsumption": {
            "type": "string"
          },
          "teaCoffee": {
            "type": "string"
          },
          "foodAllergiesComment": {
            "type": "string"
          },
          "digestiveSymptoms": {
            "type": "string"
          },
          "digestiveSymptomsComment": {
            "type": "string"
          },
          "havingFoodAllergies": {
            "type": "string"
          },
          "isFastEater": {
            "type": "string"
          },
          "fastFoodFrequency": {
            "type": "string"
          },
          "dietaryPreference": {
            "type": "string"
          },
          "foodInfo": {
            "type": "string"
          },
          "menstrualCycle": {
            "type": "string"
          },
          "inheritedMedicalConditionComment": {
            "type": "string"
          },
          "inheritedMedicalCondition": {
            "type": "string"
          },
          "surgicalHistoryComment": {
            "type": "string"
          },
          "surgicalHistory": {
            "type": "string"
          },
          "supplementAndMedicationComment": {
            "type": "string"
          },
          "takingSupplementAndMedication": {
            "type": "string"
          },
          "chronicMedicalConditionComment": {
            "type": "string"
          },
          "chronicMedicalCondition": {
            "type": "string"
          },
          "hadChronicMedicalCondition": {
            "type": "string"
          },
          "healthGoalComment": {
            "type": "string"
          },
          "earlyAntibiotics": {
            "type": "string"
          },
          "earlyAntibioticsComment": {
            "type": "string"
          },
          "healthGoal": {
            "type": "string"
          },
          "programNutritionist": {
            "type": "string"
          },
          "programYear": {
            "type": "string"
          },
          "hadProgram": {
            "type": "string"
          },
          "hearedFromEmail": {
            "type": "string"
          },
          "hearedFromName": {
            "type": "string"
          },
          "heared": {
            "type": "string"
          },
          "employmentComment": {
            "type": "string"
          },
          "employmentStatus": {
            "type": "string"
          },
          "havingKids": {
            "type": "string"
          },
          "maritalStatus": {
            "type": "string"
          },
          "minWeightLast5Years": {
            "type": "string"
          },
          "weight": {
            "type": "string"
          },
          "height": {
            "type": "string"
          },
          "dob": {
            "type": "string",
            "format": "date-time"
          },
          "age": {
            "type": "number"
          },
          "gender": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "tncAccepted": {
            "type": "boolean"
          },
          "havingCovidHistory": {
            "type": "string"
          },
          "havingCovidHistoryComment": {
            "type": "string"
          },
          "takenCovidVaccination": {
            "type": "string"
          },
          "takenCovidVaccinationComment": {
            "type": "string"
          },
          "teaCoffeCups": {
            "type": "string"
          },
          "lifestyleComment": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "painkillerUse": {
            "type": "string"
          },
          "painkillerUseComment": {
            "type": "string"
          },
          "chronicAnxietyDepression": {
            "type": "string"
          },
          "stiDiagnosis": {
            "type": "string"
          },
          "heavyMetalExposure": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewPdForm": {
        "title": "NewPdForm",
        "type": "object",
        "description": "(tsType: Omit<PdForm, 'id'>, schemaOptions: { title: 'NewPdForm', exclude: [ 'id' ] })",
        "properties": {
          "clientId": {
            "type": "number"
          },
          "formInfo": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "invoiceAddress": {
            "type": "string"
          },
          "invoiceGst": {
            "type": "string"
          },
          "invoiceName": {
            "type": "string"
          },
          "screenRecreationTime": {
            "type": "string"
          },
          "sleepDisorderComment": {
            "type": "string"
          },
          "havingSleepDisorder": {
            "type": "string"
          },
          "havingWellRestedSleep": {
            "type": "string"
          },
          "sleepingSchedule": {
            "type": "string"
          },
          "havingSleepingTrouble": {
            "type": "string"
          },
          "sleepHr": {
            "type": "string"
          },
          "coachingIntensityPreference": {
            "type": "string"
          },
          "pastEmotionalEventComment": {
            "type": "string"
          },
          "pastEmotionalEvent": {
            "type": "string"
          },
          "emotionalPracticingComment": {
            "type": "string"
          },
          "emotionalPracticing": {
            "type": "string"
          },
          "havingStress": {
            "type": "string"
          },
          "selfEmotionalRating": {
            "type": "string"
          },
          "physicalLimitationComment": {
            "type": "string"
          },
          "havingPhysicalLimitation": {
            "type": "string"
          },
          "fitnessInvolvementComment": {
            "type": "string"
          },
          "fitnessInvolvement": {
            "type": "string"
          },
          "exercisePreferenceComment": {
            "type": "string"
          },
          "exercisePreference": {
            "type": "string"
          },
          "exerciseFrequency": {
            "type": "string"
          },
          "waterConsumption": {
            "type": "string"
          },
          "tobaccoConsumption": {
            "type": "string"
          },
          "recreationalDrugConsumption": {
            "type": "string"
          },
          "alcoholConsumption": {
            "type": "string"
          },
          "beveragesConsumption": {
            "type": "string"
          },
          "teaCoffeeConsumption": {
            "type": "string"
          },
          "teaCoffee": {
            "type": "string"
          },
          "foodAllergiesComment": {
            "type": "string"
          },
          "digestiveSymptoms": {
            "type": "string"
          },
          "digestiveSymptomsComment": {
            "type": "string"
          },
          "havingFoodAllergies": {
            "type": "string"
          },
          "isFastEater": {
            "type": "string"
          },
          "fastFoodFrequency": {
            "type": "string"
          },
          "dietaryPreference": {
            "type": "string"
          },
          "foodInfo": {
            "type": "string"
          },
          "menstrualCycle": {
            "type": "string"
          },
          "inheritedMedicalConditionComment": {
            "type": "string"
          },
          "inheritedMedicalCondition": {
            "type": "string"
          },
          "surgicalHistoryComment": {
            "type": "string"
          },
          "surgicalHistory": {
            "type": "string"
          },
          "supplementAndMedicationComment": {
            "type": "string"
          },
          "takingSupplementAndMedication": {
            "type": "string"
          },
          "chronicMedicalConditionComment": {
            "type": "string"
          },
          "chronicMedicalCondition": {
            "type": "string"
          },
          "hadChronicMedicalCondition": {
            "type": "string"
          },
          "healthGoalComment": {
            "type": "string"
          },
          "earlyAntibiotics": {
            "type": "string"
          },
          "earlyAntibioticsComment": {
            "type": "string"
          },
          "healthGoal": {
            "type": "string"
          },
          "programNutritionist": {
            "type": "string"
          },
          "programYear": {
            "type": "string"
          },
          "hadProgram": {
            "type": "string"
          },
          "hearedFromEmail": {
            "type": "string"
          },
          "hearedFromName": {
            "type": "string"
          },
          "heared": {
            "type": "string"
          },
          "employmentComment": {
            "type": "string"
          },
          "employmentStatus": {
            "type": "string"
          },
          "havingKids": {
            "type": "string"
          },
          "maritalStatus": {
            "type": "string"
          },
          "minWeightLast5Years": {
            "type": "string"
          },
          "weight": {
            "type": "string"
          },
          "height": {
            "type": "string"
          },
          "dob": {
            "type": "string",
            "format": "date-time"
          },
          "age": {
            "type": "number"
          },
          "gender": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "tncAccepted": {
            "type": "boolean"
          },
          "havingCovidHistory": {
            "type": "string"
          },
          "havingCovidHistoryComment": {
            "type": "string"
          },
          "takenCovidVaccination": {
            "type": "string"
          },
          "takenCovidVaccinationComment": {
            "type": "string"
          },
          "teaCoffeCups": {
            "type": "string"
          },
          "lifestyleComment": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "painkillerUse": {
            "type": "string"
          },
          "painkillerUseComment": {
            "type": "string"
          },
          "chronicAnxietyDepression": {
            "type": "string"
          },
          "stiDiagnosis": {
            "type": "string"
          },
          "heavyMetalExposure": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<PdForm, 'id'>"
      },
      "PdFormWithRelations": {
        "title": "PdFormWithRelations",
        "type": "object",
        "description": "(tsType: PdFormWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "clientId": {
            "type": "number"
          },
          "formInfo": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "invoiceAddress": {
            "type": "string"
          },
          "invoiceGst": {
            "type": "string"
          },
          "invoiceName": {
            "type": "string"
          },
          "screenRecreationTime": {
            "type": "string"
          },
          "sleepDisorderComment": {
            "type": "string"
          },
          "havingSleepDisorder": {
            "type": "string"
          },
          "havingWellRestedSleep": {
            "type": "string"
          },
          "sleepingSchedule": {
            "type": "string"
          },
          "havingSleepingTrouble": {
            "type": "string"
          },
          "sleepHr": {
            "type": "string"
          },
          "coachingIntensityPreference": {
            "type": "string"
          },
          "pastEmotionalEventComment": {
            "type": "string"
          },
          "pastEmotionalEvent": {
            "type": "string"
          },
          "emotionalPracticingComment": {
            "type": "string"
          },
          "emotionalPracticing": {
            "type": "string"
          },
          "havingStress": {
            "type": "string"
          },
          "selfEmotionalRating": {
            "type": "string"
          },
          "physicalLimitationComment": {
            "type": "string"
          },
          "havingPhysicalLimitation": {
            "type": "string"
          },
          "fitnessInvolvementComment": {
            "type": "string"
          },
          "fitnessInvolvement": {
            "type": "string"
          },
          "exercisePreferenceComment": {
            "type": "string"
          },
          "exercisePreference": {
            "type": "string"
          },
          "exerciseFrequency": {
            "type": "string"
          },
          "waterConsumption": {
            "type": "string"
          },
          "tobaccoConsumption": {
            "type": "string"
          },
          "recreationalDrugConsumption": {
            "type": "string"
          },
          "alcoholConsumption": {
            "type": "string"
          },
          "beveragesConsumption": {
            "type": "string"
          },
          "teaCoffeeConsumption": {
            "type": "string"
          },
          "teaCoffee": {
            "type": "string"
          },
          "foodAllergiesComment": {
            "type": "string"
          },
          "digestiveSymptoms": {
            "type": "string"
          },
          "digestiveSymptomsComment": {
            "type": "string"
          },
          "havingFoodAllergies": {
            "type": "string"
          },
          "isFastEater": {
            "type": "string"
          },
          "fastFoodFrequency": {
            "type": "string"
          },
          "dietaryPreference": {
            "type": "string"
          },
          "foodInfo": {
            "type": "string"
          },
          "menstrualCycle": {
            "type": "string"
          },
          "inheritedMedicalConditionComment": {
            "type": "string"
          },
          "inheritedMedicalCondition": {
            "type": "string"
          },
          "surgicalHistoryComment": {
            "type": "string"
          },
          "surgicalHistory": {
            "type": "string"
          },
          "supplementAndMedicationComment": {
            "type": "string"
          },
          "takingSupplementAndMedication": {
            "type": "string"
          },
          "chronicMedicalConditionComment": {
            "type": "string"
          },
          "chronicMedicalCondition": {
            "type": "string"
          },
          "hadChronicMedicalCondition": {
            "type": "string"
          },
          "healthGoalComment": {
            "type": "string"
          },
          "earlyAntibiotics": {
            "type": "string"
          },
          "earlyAntibioticsComment": {
            "type": "string"
          },
          "healthGoal": {
            "type": "string"
          },
          "programNutritionist": {
            "type": "string"
          },
          "programYear": {
            "type": "string"
          },
          "hadProgram": {
            "type": "string"
          },
          "hearedFromEmail": {
            "type": "string"
          },
          "hearedFromName": {
            "type": "string"
          },
          "heared": {
            "type": "string"
          },
          "employmentComment": {
            "type": "string"
          },
          "employmentStatus": {
            "type": "string"
          },
          "havingKids": {
            "type": "string"
          },
          "maritalStatus": {
            "type": "string"
          },
          "minWeightLast5Years": {
            "type": "string"
          },
          "weight": {
            "type": "string"
          },
          "height": {
            "type": "string"
          },
          "dob": {
            "type": "string",
            "format": "date-time"
          },
          "age": {
            "type": "number"
          },
          "gender": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "tncAccepted": {
            "type": "boolean"
          },
          "havingCovidHistory": {
            "type": "string"
          },
          "havingCovidHistoryComment": {
            "type": "string"
          },
          "takenCovidVaccination": {
            "type": "string"
          },
          "takenCovidVaccinationComment": {
            "type": "string"
          },
          "teaCoffeCups": {
            "type": "string"
          },
          "lifestyleComment": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "painkillerUse": {
            "type": "string"
          },
          "painkillerUseComment": {
            "type": "string"
          },
          "chronicAnxietyDepression": {
            "type": "string"
          },
          "stiDiagnosis": {
            "type": "string"
          },
          "heavyMetalExposure": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "PdFormWithRelations"
      },
      "NutritionistBulkHoldRequest": {
        "title": "NutritionistBulkHoldRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          },
          "userName": {
            "type": "string"
          },
          "programIds": {
            "type": "string"
          },
          "holdStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "holdEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "totalHoldDays": {
            "type": "number"
          },
          "nutritionistComment": {
            "type": "string"
          },
          "approverComment": {
            "type": "string"
          },
          "approverName": {
            "type": "string"
          },
          "approvedById": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "approved",
              "reject"
            ]
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "approvedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewNutritionistBulkHoldRequest": {
        "title": "NewNutritionistBulkHoldRequest",
        "type": "object",
        "description": "(tsType: Omit<NutritionistBulkHoldRequest, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewNutritionistBulkHoldRequest', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "userId": {
            "type": "number"
          },
          "userName": {
            "type": "string"
          },
          "programIds": {
            "type": "string"
          },
          "holdStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "holdEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "totalHoldDays": {
            "type": "number"
          },
          "nutritionistComment": {
            "type": "string"
          },
          "approverComment": {
            "type": "string"
          },
          "approverName": {
            "type": "string"
          },
          "approvedById": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "approved",
              "reject"
            ]
          },
          "requestedAt": {
            "type": "string",
            "format": "date-time"
          },
          "approvedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<NutritionistBulkHoldRequest, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "LukeHolidayHoldRequest": {
        "title": "LukeHolidayHoldRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "requesterFromUser": {
            "type": "number"
          },
          "programId": {
            "type": "string"
          },
          "holdStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "holdEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "excludedUsers": {
            "type": "string"
          },
          "programsToExclude": {
            "type": "string"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "isActive": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewLukeHolidayHoldRequest": {
        "title": "NewLukeHolidayHoldRequest",
        "type": "object",
        "description": "(tsType: Omit<LukeHolidayHoldRequest, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewLukeHolidayHoldRequest', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "requesterFromUser": {
            "type": "number"
          },
          "programId": {
            "type": "string"
          },
          "holdStartDate": {
            "type": "string",
            "format": "date-time"
          },
          "holdEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "excludedUsers": {
            "type": "string"
          },
          "programsToExclude": {
            "type": "string"
          },
          "requestDate": {
            "type": "string",
            "format": "date-time"
          },
          "isActive": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LukeHolidayHoldRequest, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "LukeHolidayHold": {
        "title": "LukeHolidayHold",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "lukeHolidayRequestId": {
            "type": "number"
          },
          "holdOverlap": {
            "type": "boolean"
          },
          "holdDays": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "holdDays"
        ],
        "additionalProperties": false
      },
      "Assessment": {
        "title": "Assessment",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "subId": {
            "type": "string"
          },
          "clientId": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "assessmentType": {
            "type": "string"
          },
          "lifeScoreRate": {
            "type": "string"
          },
          "categoryWiseRate": {
            "type": "string"
          },
          "questions": {
            "type": "string"
          },
          "answers": {
            "type": "string"
          },
          "assessmentDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewAssessment": {
        "title": "NewAssessment",
        "type": "object",
        "description": "(tsType: Omit<Assessment, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>, schemaOptions: { title: 'NewAssessment', exclude: [ 'id', 'createdAt', 'updatedAt', 'deletedAt' ] })",
        "properties": {
          "subId": {
            "type": "string"
          },
          "clientId": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "assessmentType": {
            "type": "string"
          },
          "lifeScoreRate": {
            "type": "string"
          },
          "categoryWiseRate": {
            "type": "string"
          },
          "questions": {
            "type": "string"
          },
          "answers": {
            "type": "string"
          },
          "assessmentDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Assessment, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt'>"
      },
      "AssessmentWithRelations": {
        "title": "AssessmentWithRelations",
        "type": "object",
        "description": "(tsType: AssessmentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "subId": {
            "type": "string"
          },
          "clientId": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "assessmentType": {
            "type": "string"
          },
          "lifeScoreRate": {
            "type": "string"
          },
          "categoryWiseRate": {
            "type": "string"
          },
          "questions": {
            "type": "string"
          },
          "answers": {
            "type": "string"
          },
          "assessmentDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "AssessmentWithRelations"
      },
      "AssessmentPartial": {
        "title": "AssessmentPartial",
        "type": "object",
        "description": "(tsType: Partial<Assessment>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "subId": {
            "type": "string"
          },
          "clientId": {
            "type": "number"
          },
          "programId": {
            "type": "number"
          },
          "assessmentType": {
            "type": "string"
          },
          "lifeScoreRate": {
            "type": "string"
          },
          "categoryWiseRate": {
            "type": "string"
          },
          "questions": {
            "type": "string"
          },
          "answers": {
            "type": "string"
          },
          "assessmentDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Assessment>"
      },
      "AreaOfConcern": {
        "title": "AreaOfConcern",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewAreaOfConcern": {
        "title": "NewAreaOfConcern",
        "type": "object",
        "description": "(tsType: Omit<AreaOfConcern, 'id'>, schemaOptions: { title: 'NewAreaOfConcern', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<AreaOfConcern, 'id'>"
      },
      "AreaOfConcernWithRelations": {
        "title": "AreaOfConcernWithRelations",
        "type": "object",
        "description": "(tsType: AreaOfConcernWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "AreaOfConcernWithRelations"
      },
      "AreaOfConcernPartial": {
        "title": "AreaOfConcernPartial",
        "type": "object",
        "description": "(tsType: Partial<AreaOfConcern>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<AreaOfConcern>"
      },
      "AboutUs": {
        "title": "AboutUs",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewAboutUs": {
        "title": "NewAboutUs",
        "type": "object",
        "description": "(tsType: Omit<AboutUs, 'id'>, schemaOptions: { title: 'NewAboutUs', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<AboutUs, 'id'>"
      },
      "AboutUsWithRelations": {
        "title": "AboutUsWithRelations",
        "type": "object",
        "description": "(tsType: AboutUsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "AboutUsWithRelations"
      },
      "AboutUsPartial": {
        "title": "AboutUsPartial",
        "type": "object",
        "description": "(tsType: Partial<AboutUs>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<AboutUs>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "AboutUs.Filter": {
        "type": "object",
        "title": "AboutUs.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"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "AboutUs.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AboutUs>"
      },
      "AboutUs.Filter1": {
        "type": "object",
        "title": "AboutUs.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"
                }
              }
            ]
          },
          "where": {
            "title": "AboutUs.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "AboutUs.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AboutUs>"
      },
      "AreaOfConcern.Filter": {
        "type": "object",
        "title": "AreaOfConcern.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"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "AreaOfConcern.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AreaOfConcern>"
      },
      "AreaOfConcern.Filter1": {
        "type": "object",
        "title": "AreaOfConcern.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"
                }
              }
            ]
          },
          "where": {
            "title": "AreaOfConcern.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "AreaOfConcern.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AreaOfConcern>"
      },
      "ChildConfiguration.Filter": {
        "type": "object",
        "title": "ChildConfiguration.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"
                  },
                  "masterConfigId": {
                    "type": "boolean"
                  },
                  "configLabel": {
                    "type": "boolean"
                  },
                  "configValues": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "masterConfigId",
                    "configLabel",
                    "configValues",
                    "isActive",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChildConfiguration.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChildConfiguration>"
      },
      "ChildConfiguration.Filter1": {
        "type": "object",
        "title": "ChildConfiguration.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"
                }
              }
            ]
          },
          "where": {
            "title": "ChildConfiguration.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "masterConfigId": {
                    "type": "boolean"
                  },
                  "configLabel": {
                    "type": "boolean"
                  },
                  "configValues": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "masterConfigId",
                    "configLabel",
                    "configValues",
                    "isActive",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChildConfiguration.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChildConfiguration>"
      },
      "CurrencyType.Filter": {
        "type": "object",
        "title": "CurrencyType.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"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "symbol": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "code",
                    "symbol",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "CurrencyType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CurrencyType>"
      },
      "CurrencyType.Filter1": {
        "type": "object",
        "title": "CurrencyType.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"
                }
              }
            ]
          },
          "where": {
            "title": "CurrencyType.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "symbol": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "code",
                    "symbol",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "CurrencyType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CurrencyType>"
      },
      "Lead.Filter": {
        "type": "object",
        "title": "Lead.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"
                  },
                  "zohoOppId": {
                    "type": "boolean"
                  },
                  "groupContractId": {
                    "type": "boolean"
                  },
                  "isGroupLead": {
                    "type": "boolean"
                  },
                  "clientId": {
                    "type": "boolean"
                  },
                  "userAssignId": {
                    "type": "boolean"
                  },
                  "consultTakenBy": {
                    "type": "boolean"
                  },
                  "createdByUserId": {
                    "type": "boolean"
                  },
                  "nutritionistAssignId": {
                    "type": "boolean"
                  },
                  "programId": {
                    "type": "boolean"
                  },
                  "leadSourceId": {
                    "type": "boolean"
                  },
                  "leadTypeId": {
                    "type": "boolean"
                  },
                  "isConsult": {
                    "type": "boolean"
                  },
                  "isConvertedFromConsult": {
                    "type": "boolean"
                  },
                  "renewalFromProgramId": {
                    "type": "boolean"
                  },
                  "renewalFromNoOfDays": {
                    "type": "boolean"
                  },
                  "renewalFromNutritionistId": {
                    "type": "boolean"
                  },
                  "nutritionistChangeRequested": {
                    "type": "boolean"
                  },
                  "changeOfNutritionistReason": {
                    "type": "boolean"
                  },
                  "leadComplementoryId": {
                    "type": "boolean"
                  },
                  "inquiryMasterId": {
                    "type": "boolean"
                  },
                  "productId": {
                    "type": "boolean"
                  },
                  "isProgramCreated": {
                    "type": "boolean"
                  },
                  "paymentApprovedDate": {
                    "type": "boolean"
                  },
                  "paymentReceivedDate": {
                    "type": "boolean"
                  },
                  "paymentProofUploadDate": {
                    "type": "boolean"
                  },
                  "isPaymentComplete": {
                    "type": "boolean"
                  },
                  "areaOfConcernId": {
                    "type": "boolean"
                  },
                  "leadStatusId": {
                    "type": "boolean"
                  },
                  "leadStatusSubId": {
                    "type": "boolean"
                  },
                  "leadCloseDate": {
                    "type": "boolean"
                  },
                  "clientMessage": {
                    "type": "boolean"
                  },
                  "coordinatorMessage": {
                    "type": "boolean"
                  },
                  "nutritionistClientMessageUpdatedAt": {
                    "type": "boolean"
                  },
                  "isComplementry": {
                    "type": "boolean"
                  },
                  "mrReportUpload": {
                    "type": "boolean"
                  },
                  "mrApprovalDate": {
                    "type": "boolean"
                  },
                  "pdMrException": {
                    "type": "boolean"
                  },
                  "markForWebinar": {
                    "type": "boolean"
                  },
                  "isProgramConsulted": {
                    "type": "boolean"
                  },
                  "leadInquiryDate": {
                    "type": "boolean"
                  },
                  "productPrice": {
                    "type": "boolean"
                  },
                  "currencyId": {
                    "type": "boolean"
                  },
                  "productGst": {
                    "type": "boolean"
                  },
                  "productTotal": {
                    "type": "boolean"
                  },
                  "discountAmount": {
                    "type": "boolean"
                  },
                  "discountProductTotal": {
                    "type": "boolean"
                  },
                  "referredBy": {
                    "type": "boolean"
                  },
                  "keepReferedByConfidential": {
                    "type": "boolean"
                  },
                  "referredByProgramId": {
                    "type": "boolean"
                  },
                  "referralFromNoOfDays": {
                    "type": "boolean"
                  },
                  "referredByNutritionistId": {
                    "type": "boolean"
                  },
                  "transferFromProgramId": {
                    "type": "boolean"
                  },
                  "duration": {
                    "type": "boolean"
                  },
                  "numberOfInstallments": {
                    "type": "boolean"
                  },
                  "daysFrequency": {
                    "type": "boolean"
                  },
                  "consultedById": {
                    "type": "boolean"
                  },
                  "consultDate": {
                    "type": "boolean"
                  },
                  "consultProgramId": {
                    "type": "boolean"
                  },
                  "referredByUserId": {
                    "type": "boolean"
                  },
                  "referralClientId": {
                    "type": "boolean"
                  },
                  "isSystemGenerated": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "zohoOppId",
                    "groupContractId",
                    "isGroupLead",
                    "clientId",
                    "userAssignId",
                    "consultTakenBy",
                    "createdByUserId",
                    "nutritionistAssignId",
                    "programId",
                    "leadSourceId",
                    "leadTypeId",
                    "isConsult",
                    "isConvertedFromConsult",
                    "renewalFromProgramId",
                    "renewalFromNoOfDays",
                    "renewalFromNutritionistId",
                    "nutritionistChangeRequested",
                    "changeOfNutritionistReason",
                    "leadComplementoryId",
                    "inquiryMasterId",
                    "productId",
                    "isProgramCreated",
                    "paymentApprovedDate",
                    "paymentReceivedDate",
                    "paymentProofUploadDate",
                    "isPaymentComplete",
                    "areaOfConcernId",
                    "leadStatusId",
                    "leadStatusSubId",
                    "leadCloseDate",
                    "clientMessage",
                    "coordinatorMessage",
                    "nutritionistClientMessageUpdatedAt",
                    "isComplementry",
                    "mrReportUpload",
                    "mrApprovalDate",
                    "pdMrException",
                    "markForWebinar",
                    "isProgramConsulted",
                    "leadInquiryDate",
                    "productPrice",
                    "currencyId",
                    "productGst",
                    "productTotal",
                    "discountAmount",
                    "discountProductTotal",
                    "referredBy",
                    "keepReferedByConfidential",
                    "referredByProgramId",
                    "referralFromNoOfDays",
                    "referredByNutritionistId",
                    "transferFromProgramId",
                    "duration",
                    "numberOfInstallments",
                    "daysFrequency",
                    "consultedById",
                    "consultDate",
                    "consultProgramId",
                    "referredByUserId",
                    "referralClientId",
                    "isSystemGenerated",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Lead.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Lead>"
      },
      "LeadAssignHistory.Filter": {
        "type": "object",
        "title": "LeadAssignHistory.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"
                  },
                  "leadMasterId": {
                    "type": "boolean"
                  },
                  "fromAssignUserId": {
                    "type": "boolean"
                  },
                  "toAssignUserId": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadMasterId",
                    "fromAssignUserId",
                    "toAssignUserId",
                    "deletedAt",
                    "createdAt",
                    "updatedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadAssignHistory.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadAssignHistory>"
      },
      "LeadAssignHistory.Filter1": {
        "type": "object",
        "title": "LeadAssignHistory.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"
                }
              }
            ]
          },
          "where": {
            "title": "LeadAssignHistory.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "leadMasterId": {
                    "type": "boolean"
                  },
                  "fromAssignUserId": {
                    "type": "boolean"
                  },
                  "toAssignUserId": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadMasterId",
                    "fromAssignUserId",
                    "toAssignUserId",
                    "deletedAt",
                    "createdAt",
                    "updatedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadAssignHistory.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadAssignHistory>"
      },
      "LeadDiscount.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": "LeadDiscount.ScopeFilter"
      },
      "LeadDiscount.IncludeFilter.Items": {
        "title": "LeadDiscount.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "createdByUser",
              "lead",
              "manager"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/LeadDiscount.ScopeFilter"
          }
        }
      },
      "LeadDiscount.Filter": {
        "type": "object",
        "title": "LeadDiscount.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "managerId": {
                    "type": "boolean"
                  },
                  "discountType": {
                    "type": "boolean"
                  },
                  "giveComplimentory": {
                    "type": "boolean"
                  },
                  "isRenewalDiscount": {
                    "type": "boolean"
                  },
                  "discountAmount": {
                    "type": "boolean"
                  },
                  "isManual": {
                    "type": "boolean"
                  },
                  "confirmByManager": {
                    "type": "boolean"
                  },
                  "requestDate": {
                    "type": "boolean"
                  },
                  "actionDate": {
                    "type": "boolean"
                  },
                  "coordinatorMessage": {
                    "type": "boolean"
                  },
                  "managerMessage": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdBy",
                    "leadId",
                    "managerId",
                    "discountType",
                    "giveComplimentory",
                    "isRenewalDiscount",
                    "discountAmount",
                    "isManual",
                    "confirmByManager",
                    "requestDate",
                    "actionDate",
                    "coordinatorMessage",
                    "managerMessage",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadDiscount.Fields"
          },
          "include": {
            "title": "LeadDiscount.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/LeadDiscount.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadDiscount>"
      },
      "LeadDiscount.Filter1": {
        "type": "object",
        "title": "LeadDiscount.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"
                }
              }
            ]
          },
          "where": {
            "title": "LeadDiscount.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "managerId": {
                    "type": "boolean"
                  },
                  "discountType": {
                    "type": "boolean"
                  },
                  "giveComplimentory": {
                    "type": "boolean"
                  },
                  "isRenewalDiscount": {
                    "type": "boolean"
                  },
                  "discountAmount": {
                    "type": "boolean"
                  },
                  "isManual": {
                    "type": "boolean"
                  },
                  "confirmByManager": {
                    "type": "boolean"
                  },
                  "requestDate": {
                    "type": "boolean"
                  },
                  "actionDate": {
                    "type": "boolean"
                  },
                  "coordinatorMessage": {
                    "type": "boolean"
                  },
                  "managerMessage": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdBy",
                    "leadId",
                    "managerId",
                    "discountType",
                    "giveComplimentory",
                    "isRenewalDiscount",
                    "discountAmount",
                    "isManual",
                    "confirmByManager",
                    "requestDate",
                    "actionDate",
                    "coordinatorMessage",
                    "managerMessage",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadDiscount.Fields"
          },
          "include": {
            "title": "LeadDiscount.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/LeadDiscount.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadDiscount>"
      },
      "LeadPaymentHistory.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": "LeadPaymentHistory.ScopeFilter"
      },
      "LeadPaymentHistory.IncludeFilter.Items": {
        "title": "LeadPaymentHistory.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "lead",
              "confirmByUser"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/LeadPaymentHistory.ScopeFilter"
          }
        }
      },
      "LeadPaymentHistory.Filter": {
        "type": "object",
        "title": "LeadPaymentHistory.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"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "invoiceType": {
                    "type": "boolean"
                  },
                  "proofUpdateDate": {
                    "type": "boolean"
                  },
                  "invoiceDueDate": {
                    "type": "boolean"
                  },
                  "proofType": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "paymentStatus": {
                    "type": "boolean"
                  },
                  "isConfirm": {
                    "type": "boolean"
                  },
                  "confirmByUser": {
                    "type": "boolean"
                  },
                  "price": {
                    "type": "boolean"
                  },
                  "isTds": {
                    "type": "boolean"
                  },
                  "tdsAmount": {
                    "type": "boolean"
                  },
                  "tdsDescription": {
                    "type": "boolean"
                  },
                  "amountReceived": {
                    "type": "boolean"
                  },
                  "amountReceivedDate": {
                    "type": "boolean"
                  },
                  "editedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadId",
                    "invoiceType",
                    "proofUpdateDate",
                    "invoiceDueDate",
                    "proofType",
                    "description",
                    "paymentStatus",
                    "isConfirm",
                    "confirmByUser",
                    "price",
                    "isTds",
                    "tdsAmount",
                    "tdsDescription",
                    "amountReceived",
                    "amountReceivedDate",
                    "editedAt",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadPaymentHistory.Fields"
          },
          "include": {
            "title": "LeadPaymentHistory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/LeadPaymentHistory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadPaymentHistory>"
      },
      "LeadPaymentHistory.Filter1": {
        "type": "object",
        "title": "LeadPaymentHistory.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"
                }
              }
            ]
          },
          "where": {
            "title": "LeadPaymentHistory.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "invoiceType": {
                    "type": "boolean"
                  },
                  "proofUpdateDate": {
                    "type": "boolean"
                  },
                  "invoiceDueDate": {
                    "type": "boolean"
                  },
                  "proofType": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "paymentStatus": {
                    "type": "boolean"
                  },
                  "isConfirm": {
                    "type": "boolean"
                  },
                  "confirmByUser": {
                    "type": "boolean"
                  },
                  "price": {
                    "type": "boolean"
                  },
                  "isTds": {
                    "type": "boolean"
                  },
                  "tdsAmount": {
                    "type": "boolean"
                  },
                  "tdsDescription": {
                    "type": "boolean"
                  },
                  "amountReceived": {
                    "type": "boolean"
                  },
                  "amountReceivedDate": {
                    "type": "boolean"
                  },
                  "editedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadId",
                    "invoiceType",
                    "proofUpdateDate",
                    "invoiceDueDate",
                    "proofType",
                    "description",
                    "paymentStatus",
                    "isConfirm",
                    "confirmByUser",
                    "price",
                    "isTds",
                    "tdsAmount",
                    "tdsDescription",
                    "amountReceived",
                    "amountReceivedDate",
                    "editedAt",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadPaymentHistory.Fields"
          },
          "include": {
            "title": "LeadPaymentHistory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/LeadPaymentHistory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadPaymentHistory>"
      },
      "LeadPaymentStatusHistory.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": "LeadPaymentStatusHistory.ScopeFilter"
      },
      "LeadPaymentStatusHistory.IncludeFilter.Items": {
        "title": "LeadPaymentStatusHistory.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "leadPaymentHistory",
              "changeBy"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/LeadPaymentStatusHistory.ScopeFilter"
          }
        }
      },
      "LeadPaymentStatusHistory.Filter": {
        "type": "object",
        "title": "LeadPaymentStatusHistory.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"
                  },
                  "leadPaymentHistoryId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "changeById": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadPaymentHistoryId",
                    "status",
                    "changeById",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadPaymentStatusHistory.Fields"
          },
          "include": {
            "title": "LeadPaymentStatusHistory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/LeadPaymentStatusHistory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadPaymentStatusHistory>"
      },
      "LeadPaymentStatusHistory.Filter1": {
        "type": "object",
        "title": "LeadPaymentStatusHistory.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"
                }
              }
            ]
          },
          "where": {
            "title": "LeadPaymentStatusHistory.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "leadPaymentHistoryId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "changeById": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadPaymentHistoryId",
                    "status",
                    "changeById",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadPaymentStatusHistory.Fields"
          },
          "include": {
            "title": "LeadPaymentStatusHistory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/LeadPaymentStatusHistory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadPaymentStatusHistory>"
      },
      "LeadSource.Filter": {
        "type": "object",
        "title": "LeadSource.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"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadSource.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadSource>"
      },
      "LeadSource.Filter1": {
        "type": "object",
        "title": "LeadSource.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"
                }
              }
            ]
          },
          "where": {
            "title": "LeadSource.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadSource.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadSource>"
      },
      "LeadStatus.Filter": {
        "type": "object",
        "title": "LeadStatus.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"
                  },
                  "parentId": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "parentId",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadStatus.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadStatus>"
      },
      "LeadStatus.Filter1": {
        "type": "object",
        "title": "LeadStatus.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"
                }
              }
            ]
          },
          "where": {
            "title": "LeadStatus.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "parentId": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "parentId",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadStatus.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadStatus>"
      },
      "LeadStatusHistory.Filter": {
        "type": "object",
        "title": "LeadStatusHistory.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"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "subStatusId": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadId",
                    "statusId",
                    "subStatusId",
                    "userId",
                    "deletedAt",
                    "createdAt",
                    "updatedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadStatusHistory.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadStatusHistory>"
      },
      "LeadStatusHistory.Filter1": {
        "type": "object",
        "title": "LeadStatusHistory.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"
                }
              }
            ]
          },
          "where": {
            "title": "LeadStatusHistory.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "subStatusId": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadId",
                    "statusId",
                    "subStatusId",
                    "userId",
                    "deletedAt",
                    "createdAt",
                    "updatedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadStatusHistory.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadStatusHistory>"
      },
      "LeadType.Filter": {
        "type": "object",
        "title": "LeadType.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"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadType>"
      },
      "LeadType.Filter1": {
        "type": "object",
        "title": "LeadType.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"
                }
              }
            ]
          },
          "where": {
            "title": "LeadType.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "status",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LeadType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LeadType>"
      },
      "MasterConfiguration.Filter": {
        "type": "object",
        "title": "MasterConfiguration.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"
                  },
                  "categoryName": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "categoryName",
                    "isActive",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "MasterConfiguration.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MasterConfiguration>"
      },
      "MasterConfiguration.Filter1": {
        "type": "object",
        "title": "MasterConfiguration.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"
                }
              }
            ]
          },
          "where": {
            "title": "MasterConfiguration.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "categoryName": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "categoryName",
                    "isActive",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "MasterConfiguration.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MasterConfiguration>"
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "ProductPrice.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": "ProductPrice.ScopeFilter"
      },
      "ProductPrice.IncludeFilter.Items": {
        "title": "ProductPrice.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "product",
              "currency"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ProductPrice.ScopeFilter"
          }
        }
      },
      "ProductPrice.Filter": {
        "type": "object",
        "title": "ProductPrice.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"
                  },
                  "productId": {
                    "type": "boolean"
                  },
                  "currencyId": {
                    "type": "boolean"
                  },
                  "productPrice": {
                    "type": "boolean"
                  },
                  "gst": {
                    "type": "boolean"
                  },
                  "total": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "productId",
                    "currencyId",
                    "productPrice",
                    "gst",
                    "total",
                    "createdAt",
                    "updatedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProductPrice.Fields"
          },
          "include": {
            "title": "ProductPrice.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProductPrice.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProductPrice>"
      },
      "ProductPrice.Filter1": {
        "type": "object",
        "title": "ProductPrice.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"
                }
              }
            ]
          },
          "where": {
            "title": "ProductPrice.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "productId": {
                    "type": "boolean"
                  },
                  "currencyId": {
                    "type": "boolean"
                  },
                  "productPrice": {
                    "type": "boolean"
                  },
                  "gst": {
                    "type": "boolean"
                  },
                  "total": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "productId",
                    "currencyId",
                    "productPrice",
                    "gst",
                    "total",
                    "createdAt",
                    "updatedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProductPrice.Fields"
          },
          "include": {
            "title": "ProductPrice.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProductPrice.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProductPrice>"
      },
      "ProductType.Filter": {
        "type": "object",
        "title": "ProductType.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"
                  },
                  "parentId": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "image": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "parentId",
                    "name",
                    "description",
                    "image",
                    "status",
                    "deletedAt",
                    "createdAt",
                    "updatedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProductType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProductType>"
      },
      "ProductType.Filter1": {
        "type": "object",
        "title": "ProductType.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"
                }
              }
            ]
          },
          "where": {
            "title": "ProductType.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "parentId": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "image": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "parentId",
                    "name",
                    "description",
                    "image",
                    "status",
                    "deletedAt",
                    "createdAt",
                    "updatedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProductType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProductType>"
      },
      "MedicalReport.Filter": {
        "type": "object",
        "title": "MedicalReport.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"
                  },
                  "clientId": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "reportFile": {
                    "type": "boolean"
                  },
                  "reportName": {
                    "type": "boolean"
                  },
                  "reportType": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "clientId",
                    "leadId",
                    "reportFile",
                    "reportName",
                    "reportType",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "MedicalReport.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MedicalReport>"
      },
      "MedicalReport.Filter1": {
        "type": "object",
        "title": "MedicalReport.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"
                }
              }
            ]
          },
          "where": {
            "title": "MedicalReport.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "clientId": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "reportFile": {
                    "type": "boolean"
                  },
                  "reportName": {
                    "type": "boolean"
                  },
                  "reportType": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "clientId",
                    "leadId",
                    "reportFile",
                    "reportName",
                    "reportType",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "MedicalReport.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MedicalReport>"
      },
      "SalesCall.Filter": {
        "type": "object",
        "title": "SalesCall.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"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "communicationChannelId": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "leadSubStatusId": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadId",
                    "communicationChannelId",
                    "userId",
                    "description",
                    "leadSubStatusId",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "SalesCall.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<SalesCall>"
      },
      "SalesCall.Filter1": {
        "type": "object",
        "title": "SalesCall.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"
                }
              }
            ]
          },
          "where": {
            "title": "SalesCall.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "communicationChannelId": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "leadSubStatusId": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "leadId",
                    "communicationChannelId",
                    "userId",
                    "description",
                    "leadSubStatusId",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "SalesCall.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<SalesCall>"
      },
      "WorkRole.Filter": {
        "type": "object",
        "title": "WorkRole.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"
                  },
                  "roleName": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "roleName",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "WorkRole.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<WorkRole>"
      },
      "WorkRole.Filter1": {
        "type": "object",
        "title": "WorkRole.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"
                }
              }
            ]
          },
          "where": {
            "title": "WorkRole.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "roleName": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "roleName",
                    "createdAt",
                    "updatedAt",
                    "deletedAt"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "WorkRole.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<WorkRole>"
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ]
}