{
  "openapi": "3.0.0",
  "info": {
    "title": "docubucketai",
    "version": "1.0.0",
    "description": "DocuBucket AI",
    "contact": {
      "name": "Lexicon Networks"
    }
  },
  "paths": {
    "/auth/discovery": {
      "post": {
        "x-controller-name": "LoginController",
        "x-operation-name": "discoverSamlTenant",
        "tags": [
          "LoginController"
        ],
        "responses": {
          "200": {
            "description": "Auth discovery response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthDiscoveryResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginCodeRequest"
              }
            }
          }
        },
        "operationId": "LoginController.discoverSamlTenant"
      }
    },
    "/available-integrations/count": {
      "get": {
        "x-controller-name": "AvailableIntegrationController",
        "x-operation-name": "count",
        "tags": [
          "AvailableIntegrationController"
        ],
        "responses": {
          "200": {
            "description": "MstAvailableIntegrations model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MstAvailableIntegrations.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MstAvailableIntegrations>"
                }
              }
            }
          }
        ],
        "operationId": "AvailableIntegrationController.count"
      }
    },
    "/available-integrations/{id}": {
      "patch": {
        "x-controller-name": "AvailableIntegrationController",
        "x-operation-name": "updateById",
        "tags": [
          "AvailableIntegrationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MstAvailableIntegrations PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MstAvailableIntegrationsPartialExcluding_id-modified_at-created_at_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AvailableIntegrationController.updateById"
      },
      "get": {
        "x-controller-name": "AvailableIntegrationController",
        "x-operation-name": "findById",
        "tags": [
          "AvailableIntegrationController"
        ],
        "responses": {
          "200": {
            "description": "MstAvailableIntegrations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MstAvailableIntegrationsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MstAvailableIntegrations.Filter"
                }
              }
            }
          }
        ],
        "operationId": "AvailableIntegrationController.findById"
      },
      "delete": {
        "x-controller-name": "AvailableIntegrationController",
        "x-operation-name": "deleteById",
        "tags": [
          "AvailableIntegrationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MstAvailableIntegrations DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AvailableIntegrationController.deleteById"
      }
    },
    "/available-integrations": {
      "post": {
        "x-controller-name": "AvailableIntegrationController",
        "x-operation-name": "create",
        "tags": [
          "AvailableIntegrationController"
        ],
        "responses": {
          "200": {
            "description": "MstAvailableIntegrations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MstAvailableIntegrations"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMstAvailableIntegrations"
              }
            }
          }
        },
        "operationId": "AvailableIntegrationController.create"
      },
      "get": {
        "x-controller-name": "AvailableIntegrationController",
        "x-operation-name": "find",
        "tags": [
          "AvailableIntegrationController"
        ],
        "responses": {
          "200": {
            "description": "Array of MstAvailableIntegrations model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MstAvailableIntegrationsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MstAvailableIntegrations.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "AvailableIntegrationController.find"
      }
    },
    "/bot-bucket/{id}/train/document/{document_id}": {
      "get": {
        "x-controller-name": "BotBucketsController",
        "x-operation-name": "trainBucketDocument",
        "tags": [
          "BotBucketsController"
        ],
        "responses": {
          "200": {
            "description": "BotBuckets TRAIN success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "document_id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BotBucketsController.trainBucketDocument"
      }
    },
    "/bot-buckets/count": {
      "get": {
        "x-controller-name": "BotBucketsController",
        "x-operation-name": "count",
        "tags": [
          "BotBucketsController"
        ],
        "responses": {
          "200": {
            "description": "BotBuckets model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "BotBuckets.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<BotBuckets>"
                }
              }
            }
          }
        ],
        "operationId": "BotBucketsController.count"
      }
    },
    "/bot-buckets/{id}": {
      "patch": {
        "x-controller-name": "BotBucketsController",
        "x-operation-name": "updateById",
        "tags": [
          "BotBucketsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BotBuckets PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BotBucketsPartialExcluding_id-created_at-created_by-modified_at-tenant_id-gcp_project_id_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BotBucketsController.updateById"
      },
      "get": {
        "x-controller-name": "BotBucketsController",
        "x-operation-name": "findById",
        "tags": [
          "BotBucketsController"
        ],
        "responses": {
          "200": {
            "description": "BotBuckets model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotBucketsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotBuckets.Filter"
                }
              }
            }
          }
        ],
        "operationId": "BotBucketsController.findById"
      },
      "delete": {
        "x-controller-name": "BotBucketsController",
        "x-operation-name": "deleteById",
        "tags": [
          "BotBucketsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BotBuckets DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BotBucketsController.deleteById"
      }
    },
    "/bot-buckets": {
      "post": {
        "x-controller-name": "BotBucketsController",
        "x-operation-name": "create",
        "tags": [
          "BotBucketsController"
        ],
        "responses": {
          "200": {
            "description": "BotBuckets model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotBuckets"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewBotBuckets"
              }
            }
          }
        },
        "operationId": "BotBucketsController.create"
      },
      "get": {
        "x-controller-name": "BotBucketsController",
        "x-operation-name": "find",
        "tags": [
          "BotBucketsController"
        ],
        "responses": {
          "200": {
            "description": "Array of BotBuckets model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BotBucketsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotBuckets.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "BotBucketsController.find"
      }
    },
    "/bot-member-mappings/count": {
      "get": {
        "x-controller-name": "BotMemberMappingController",
        "x-operation-name": "count",
        "tags": [
          "BotMemberMappingController"
        ],
        "responses": {
          "200": {
            "description": "BotMemberMappings model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "BotMemberMappings.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<BotMemberMappings>"
                }
              }
            }
          }
        ],
        "operationId": "BotMemberMappingController.count"
      }
    },
    "/bot-member-mappings/{id}": {
      "patch": {
        "x-controller-name": "BotMemberMappingController",
        "x-operation-name": "updateById",
        "tags": [
          "BotMemberMappingController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BotMemberMappings PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BotMemberMappingsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BotMemberMappingController.updateById"
      },
      "get": {
        "x-controller-name": "BotMemberMappingController",
        "x-operation-name": "findById",
        "tags": [
          "BotMemberMappingController"
        ],
        "responses": {
          "200": {
            "description": "BotMemberMappings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotMemberMappingsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotMemberMappings.Filter"
                }
              }
            }
          }
        ],
        "operationId": "BotMemberMappingController.findById"
      }
    },
    "/bot-member-mappings": {
      "post": {
        "x-controller-name": "BotMemberMappingController",
        "x-operation-name": "create",
        "tags": [
          "BotMemberMappingController"
        ],
        "responses": {
          "200": {
            "description": "BotMemberMappings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotMemberMappings"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/NewBotMemberMappings"
                }
              }
            }
          }
        },
        "operationId": "BotMemberMappingController.create"
      },
      "get": {
        "x-controller-name": "BotMemberMappingController",
        "x-operation-name": "find",
        "tags": [
          "BotMemberMappingController"
        ],
        "responses": {
          "200": {
            "description": "Array of BotMemberMappings model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BotMemberMappingsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BotMemberMappings.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "BotMemberMappingController.find"
      },
      "delete": {
        "x-controller-name": "BotMemberMappingController",
        "x-operation-name": "deleteById",
        "tags": [
          "BotMemberMappingController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteBotMemberMappingsResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/DeleteBotMemberMappings"
                }
              }
            }
          }
        },
        "operationId": "BotMemberMappingController.deleteById"
      }
    },
    "/bucket-uploads/count": {
      "get": {
        "x-controller-name": "BucketUploadsController",
        "x-operation-name": "count",
        "tags": [
          "BucketUploadsController"
        ],
        "responses": {
          "200": {
            "description": "BucketUploads model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "BucketUploads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<BucketUploads>"
                }
              }
            }
          }
        ],
        "operationId": "BucketUploadsController.count"
      }
    },
    "/bucket-uploads/initiate-upload": {
      "post": {
        "x-controller-name": "BucketUploadsController",
        "x-operation-name": "initiateBucketUpload",
        "tags": [
          "BucketUploadsController"
        ],
        "responses": {
          "200": {
            "description": "Initiate bucket upload response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InitiateBucketUploadResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InitiateBucketUploadPayload"
              }
            }
          },
          "description": "Initiate bucket upload",
          "required": true
        },
        "operationId": "BucketUploadsController.initiateBucketUpload"
      }
    },
    "/bucket-uploads/{id}": {
      "patch": {
        "x-controller-name": "BucketUploadsController",
        "x-operation-name": "updateById",
        "tags": [
          "BucketUploadsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BucketUploads PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BucketUploadsPartialExcluding_id-created_at-created_by-modified_at-tenant_id_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BucketUploadsController.updateById"
      },
      "get": {
        "x-controller-name": "BucketUploadsController",
        "x-operation-name": "findById",
        "tags": [
          "BucketUploadsController"
        ],
        "responses": {
          "200": {
            "description": "BucketUploads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BucketUploadsWithRelations"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BucketUploadsController.findById"
      },
      "delete": {
        "x-controller-name": "BucketUploadsController",
        "x-operation-name": "deleteById",
        "tags": [
          "BucketUploadsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BucketUploads DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BucketUploadsController.deleteById"
      }
    },
    "/bucket-uploads": {
      "post": {
        "x-controller-name": "BucketUploadsController",
        "x-operation-name": "create",
        "tags": [
          "BucketUploadsController"
        ],
        "responses": {
          "200": {
            "description": "BucketUploads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BucketUploads"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewBucketUploads"
              }
            }
          }
        },
        "operationId": "BucketUploadsController.create"
      },
      "get": {
        "x-controller-name": "BucketUploadsController",
        "x-operation-name": "find",
        "tags": [
          "BucketUploadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of BucketUploads model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BucketUploadsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BucketUploads.Filter"
                }
              }
            }
          }
        ],
        "operationId": "BucketUploadsController.find"
      }
    },
    "/buckets/{bucketId}/consumed-storage": {
      "get": {
        "x-controller-name": "BucketUploadsController",
        "x-operation-name": "getConsumedStorage",
        "tags": [
          "BucketUploadsController"
        ],
        "responses": {
          "200": {
            "description": "Consumed storage of bucket",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "consumed_storage": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "bucketId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BucketUploadsController.getConsumedStorage"
      }
    },
    "/chat-bot/{bot_name}/availability": {
      "get": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "getChatBotAvailability",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ChatBotsController.getChatBotAvailability"
          }
        },
        "parameters": [
          {
            "name": "bot_name",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ChatBotsController.getChatBotAvailability"
      }
    },
    "/chat-bot/{id}/members": {
      "get": {
        "x-controller-name": "BotMemberMappingController",
        "x-operation-name": "findChatBotUsers",
        "tags": [
          "BotMemberMappingController"
        ],
        "responses": {
          "204": {
            "description": "Array of Users mapped to ChatBots",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChatBots"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "tenant_id",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "search_string",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "is_new_user",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "BotMemberMappingController.findChatBotUsers"
      }
    },
    "/chat-bots/configuration": {
      "post": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "updateAgentLanguage",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "example": {
                    "name": "projects/123456789/locations/global/agents/123456789",
                    "displayName": "Test Agent",
                    "defaultLanguageCode": "en",
                    "supportedLanguageCodes": [
                      "hi"
                    ],
                    "enableMultiLanguageTraining": true,
                    "timeZone": "America/Los_Angeles",
                    "description": "Test Agent"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgentConfigurationPayload"
              }
            }
          }
        },
        "operationId": "ChatBotsController.updateAgentLanguage"
      }
    },
    "/chat-bots/conversations": {
      "post": {
        "x-controller-name": "ChatBotConversationController",
        "x-operation-name": "chatBotConversations",
        "tags": [
          "ChatBotConversationController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ChatBotConversationController.chatBotConversations"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewChatBotConversations"
              }
            }
          }
        },
        "operationId": "ChatBotConversationController.chatBotConversations"
      }
    },
    "/chat-bots/count": {
      "get": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "count",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "200": {
            "description": "ChatBots model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ChatBots.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ChatBots>"
                }
              }
            }
          }
        ],
        "operationId": "ChatBotsController.count"
      }
    },
    "/chat-bots/{id}/agent-details": {
      "get": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "getAgentDetails",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {},
                  "example": {
                    "name": "projects/123456789/locations/global/agents/123456789",
                    "displayName": "Test Agent",
                    "defaultLanguageCode": "en",
                    "supportedLanguageCodes": [
                      "hi"
                    ],
                    "enableMultiLanguageTraining": true,
                    "timeZone": "America/Los_Angeles",
                    "description": "Test Agent"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChatBotsController.getAgentDetails"
      }
    },
    "/chat-bots/{id}/flows": {
      "get": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "getChatBotflows",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ChatBotsController.getChatBotflows"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ChatBotsController.getChatBotflows"
      }
    },
    "/chat-bots/{id}": {
      "patch": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "updateById",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ChatBots PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatBotsPartialExcluding_id-created_at-created_by-modified_at-tenant_id-gcp_project_id-app_id-agent_id-agent_name-bot_bucket_id_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChatBotsController.updateById"
      },
      "get": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "findById",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "200": {
            "description": "ChatBots model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatBotsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatBots.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ChatBotsController.findById"
      },
      "delete": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "deleteById",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ChatBots DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChatBotsController.deleteById"
      }
    },
    "/chat-bots": {
      "post": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "create",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "200": {
            "description": "ChatBots model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatBots"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewChatBots"
              }
            }
          }
        },
        "operationId": "ChatBotsController.create"
      },
      "get": {
        "x-controller-name": "ChatBotsController",
        "x-operation-name": "find",
        "tags": [
          "ChatBotsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ChatBots model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChatBotsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatBots.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ChatBotsController.find"
      }
    },
    "/contact-sales": {
      "post": {
        "x-controller-name": "ContactUsController",
        "x-operation-name": "sendCustomPlanEnquiryNotification",
        "tags": [
          "ContactUsController"
        ],
        "responses": {
          "200": {
            "description": "ContactSales model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewContactSales"
              }
            }
          }
        },
        "operationId": "ContactUsController.sendCustomPlanEnquiryNotification"
      }
    },
    "/contact-us": {
      "post": {
        "x-controller-name": "ContactUsController",
        "x-operation-name": "shareContactDetails",
        "tags": [
          "ContactUsController"
        ],
        "responses": {
          "200": {
            "description": "ContactUs model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewContactUs"
              }
            }
          }
        },
        "operationId": "ContactUsController.shareContactDetails"
      }
    },
    "/conversation-history/{agent_id}/count": {
      "post": {
        "x-controller-name": "ConversationHistoryController",
        "x-operation-name": "getConversationHistoryCount",
        "tags": [
          "ConversationHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ConversationHistoryController.getConversationHistoryCount"
          }
        },
        "parameters": [
          {
            "name": "agent_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WhereElements"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConversationHistoryController.getConversationHistoryCount"
      }
    },
    "/conversation-history/{agent_id}": {
      "post": {
        "x-controller-name": "ConversationHistoryController",
        "x-operation-name": "getConversationHistory",
        "tags": [
          "ConversationHistoryController"
        ],
        "responses": {
          "200": {
            "description": "ConversationHistory model count",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationHistoryResponse"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "agent_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConversationHistoryFilter"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ConversationHistoryController.getConversationHistory"
      }
    },
    "/conversation-users/{agent_id}": {
      "get": {
        "x-controller-name": "ConversationHistoryController",
        "x-operation-name": "getDistinctConversationUsers",
        "tags": [
          "ConversationHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ConversationHistoryController.getDistinctConversationUsers"
          }
        },
        "parameters": [
          {
            "name": "agent_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "user_name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ConversationHistoryController.getDistinctConversationUsers"
      }
    },
    "/customer/login": {
      "post": {
        "x-controller-name": "CustomerLoginController",
        "x-operation-name": "customerLogin",
        "tags": [
          "CustomerLoginController"
        ],
        "responses": {
          "200": {
            "description": "Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          }
        },
        "operationId": "CustomerLoginController.customerLogin"
      }
    },
    "/customer/signup": {
      "post": {
        "x-controller-name": "CustomerSignupController",
        "x-operation-name": "create",
        "tags": [
          "CustomerSignupController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCustomer"
              }
            }
          }
        },
        "operationId": "CustomerSignupController.create"
      }
    },
    "/customer-portal/{customer_id}": {
      "get": {
        "x-controller-name": "StripeCustomerController",
        "x-operation-name": "createCustomerPortalSession",
        "tags": [
          "StripeCustomerController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StripeCustomerController.createCustomerPortalSession"
          }
        },
        "parameters": [
          {
            "name": "customer_id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StripeCustomerController.createCustomerPortalSession"
      }
    },
    "/genai-customize-prompts/count": {
      "get": {
        "x-controller-name": "GenaiCustomizePromptsController",
        "x-operation-name": "count",
        "tags": [
          "GenaiCustomizePromptsController"
        ],
        "responses": {
          "200": {
            "description": "GenaiCustomizePrompts model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "GenaiCustomizePrompts.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<GenaiCustomizePrompts>"
                }
              }
            }
          }
        ],
        "operationId": "GenaiCustomizePromptsController.count"
      }
    },
    "/genai-customize-prompts/generate-prompt": {
      "post": {
        "x-controller-name": "GenaiCustomizePromptsController",
        "x-operation-name": "generateResponse",
        "tags": [
          "GenaiCustomizePromptsController"
        ],
        "responses": {
          "200": {
            "description": "Generate Prompts from Gemini AI",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GeminiPromptResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GeminiPromptRequest"
              }
            }
          },
          "required": true
        },
        "operationId": "GenaiCustomizePromptsController.generateResponse"
      }
    },
    "/genai-customize-prompts/{id}": {
      "patch": {
        "x-controller-name": "GenaiCustomizePromptsController",
        "x-operation-name": "updateById",
        "tags": [
          "GenaiCustomizePromptsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "GenaiCustomizePrompts PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenaiCustomizePromptsPartialExcluding_id-tenant_id-created_by-created_at-modified_at_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "GenaiCustomizePromptsController.updateById"
      },
      "get": {
        "x-controller-name": "GenaiCustomizePromptsController",
        "x-operation-name": "findById",
        "tags": [
          "GenaiCustomizePromptsController"
        ],
        "responses": {
          "200": {
            "description": "GenaiCustomizePrompts model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenaiCustomizePromptsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenaiCustomizePrompts.Filter"
                }
              }
            }
          }
        ],
        "operationId": "GenaiCustomizePromptsController.findById"
      },
      "delete": {
        "x-controller-name": "GenaiCustomizePromptsController",
        "x-operation-name": "deleteById",
        "tags": [
          "GenaiCustomizePromptsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "GenaiCustomizePrompts DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "GenaiCustomizePromptsController.deleteById"
      }
    },
    "/genai-customize-prompts": {
      "post": {
        "x-controller-name": "GenaiCustomizePromptsController",
        "x-operation-name": "create",
        "tags": [
          "GenaiCustomizePromptsController"
        ],
        "responses": {
          "200": {
            "description": "GenaiCustomizePrompts model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenaiCustomizePrompts"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewGenaiCustomizePrompts"
              }
            }
          }
        },
        "operationId": "GenaiCustomizePromptsController.create"
      },
      "get": {
        "x-controller-name": "GenaiCustomizePromptsController",
        "x-operation-name": "find",
        "tags": [
          "GenaiCustomizePromptsController"
        ],
        "responses": {
          "200": {
            "description": "Array of GenaiCustomizePrompts model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GenaiCustomizePromptsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenaiCustomizePrompts.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "GenaiCustomizePromptsController.find"
      }
    },
    "/generate-login-code": {
      "post": {
        "x-controller-name": "LoginController",
        "x-operation-name": "generateOtp",
        "tags": [
          "LoginController"
        ],
        "responses": {
          "200": {
            "description": "OTP generation",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginCodeRequest"
              }
            }
          }
        },
        "operationId": "LoginController.generateOtp"
      }
    },
    "/generate-signed-url/{fileName}": {
      "get": {
        "x-controller-name": "cloudMediaStreamController",
        "x-operation-name": "generateSignedUrl",
        "tags": [
          "cloudMediaStreamController"
        ],
        "responses": {
          "200": {
            "description": "Return value of cloudMediaStreamController.generateSignedUrl"
          }
        },
        "parameters": [
          {
            "name": "fileName",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "cloudMediaStreamController.generateSignedUrl"
      }
    },
    "/health-check/ping": {
      "get": {
        "x-controller-name": "HealthCheckController",
        "x-operation-name": "healthCheck",
        "tags": [
          "HealthCheckController"
        ],
        "responses": {
          "200": {
            "description": "Array of Classes model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthCheckModel"
                }
              }
            }
          }
        },
        "operationId": "HealthCheckController.healthCheck"
      }
    },
    "/login": {
      "post": {
        "x-controller-name": "LoginController",
        "x-operation-name": "login",
        "tags": [
          "LoginController"
        ],
        "responses": {
          "200": {
            "description": "User login successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          }
        },
        "operationId": "LoginController.login"
      }
    },
    "/payment/conversations/create-checkout-session": {
      "post": {
        "x-controller-name": "ConversationSessionController",
        "x-operation-name": "createSession",
        "tags": [
          "ConversationSessionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "price_id": {
                    "type": "string"
                  },
                  "quantity": {
                    "type": "number",
                    "minimum": 1
                  },
                  "conversation_expiry_disclaimer": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "price_id",
                  "quantity",
                  "conversation_expiry_disclaimer"
                ]
              }
            }
          }
        },
        "operationId": "ConversationSessionController.createSession"
      }
    },
    "/payment/create-checkout-session": {
      "post": {
        "x-controller-name": "StripeSessionController",
        "x-operation-name": "createSession",
        "tags": [
          "StripeSessionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "price_id",
                    "quantity"
                  ],
                  "properties": {
                    "price_id": {
                      "type": "string"
                    },
                    "quantity": {
                      "type": "number",
                      "minimum": 1
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "StripeSessionController.createSession"
      }
    },
    "/payment/get-config-key": {
      "get": {
        "x-controller-name": "StripeSessionController",
        "x-operation-name": "getKey",
        "tags": [
          "StripeSessionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "operationId": "StripeSessionController.getKey"
      }
    },
    "/plans/count": {
      "get": {
        "x-controller-name": "PlansController",
        "x-operation-name": "count",
        "tags": [
          "PlansController"
        ],
        "responses": {
          "200": {
            "description": "Plans model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Plans.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Plans>"
                }
              }
            }
          }
        ],
        "operationId": "PlansController.count"
      }
    },
    "/plans/{id}": {
      "patch": {
        "x-controller-name": "PlansController",
        "x-operation-name": "updateById",
        "tags": [
          "PlansController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Plans PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlansPartialExcluding_id-created_at-modified_at_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PlansController.updateById"
      },
      "get": {
        "x-controller-name": "PlansController",
        "x-operation-name": "findById",
        "tags": [
          "PlansController"
        ],
        "responses": {
          "200": {
            "description": "Plans model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlansWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Plans.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PlansController.findById"
      },
      "delete": {
        "x-controller-name": "PlansController",
        "x-operation-name": "deleteById",
        "tags": [
          "PlansController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Plans DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PlansController.deleteById"
      }
    },
    "/plans": {
      "post": {
        "x-controller-name": "PlansController",
        "x-operation-name": "create",
        "tags": [
          "PlansController"
        ],
        "responses": {
          "200": {
            "description": "Plans model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Plans"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPlans"
              }
            }
          }
        },
        "operationId": "PlansController.create"
      },
      "get": {
        "x-controller-name": "PlansController",
        "x-operation-name": "find",
        "tags": [
          "PlansController"
        ],
        "responses": {
          "200": {
            "description": "Array of Plans model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlansWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Plans.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "PlansController.find"
      }
    },
    "/pricing/plans": {
      "get": {
        "x-controller-name": "ProductsController",
        "x-operation-name": "getStripeProducts",
        "tags": [
          "ProductsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProductsController.getStripeProducts"
          }
        },
        "parameters": [
          {
            "name": "x-tenant-id",
            "in": "header",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "country",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProductsController.getStripeProducts"
      }
    },
    "/refresh-account": {
      "get": {
        "x-controller-name": "CustomerLoginController",
        "x-operation-name": "refreshAccount",
        "tags": [
          "CustomerLoginController"
        ],
        "responses": {
          "200": {
            "description": "Token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "operationId": "CustomerLoginController.refreshAccount"
      }
    },
    "/reports/bucket-uploads": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "getBucketsFileTypes",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Grouped file types count response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReportBucketUploadResponse"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportBucketUploadRequest"
              }
            }
          }
        },
        "operationId": "ReportsController.getBucketsFileTypes"
      }
    },
    "/reports/chatbot-conversations": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "generateChatbotConversationsReport",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Chatbot conversations report response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChatbotConversationsReportResponse"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportChatbotConversationsRequest"
              }
            }
          }
        },
        "operationId": "ReportsController.generateChatbotConversationsReport"
      }
    },
    "/reports/conversation-purchases": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "getMonthlyConversationPurchases",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Monthly aggregated conversation purchases",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ConversationPurchasedResponse"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportConversationRequest"
              }
            }
          }
        },
        "operationId": "ReportsController.getMonthlyConversationPurchases"
      }
    },
    "/reports/conversation-sentiments": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "generateConversationSentimentsReport",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Conversation sentiments report",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SentimentsReportResponse"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SentimentsReportRequest"
              }
            }
          }
        },
        "operationId": "ReportsController.generateConversationSentimentsReport"
      }
    },
    "/reports/export/conversations": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "getConversationExport",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "export of conversation trend data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReportExportConversationResponse"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReportExportConversationRequest"
              }
            }
          }
        },
        "operationId": "ReportsController.getConversationExport"
      }
    },
    "/reports/top-conversation-users": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "getTopConversationUsers",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Top 10 users by conversation count",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TopConversationUsersReportResponse"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TopConversationUsersReportRequest"
              }
            }
          }
        },
        "operationId": "ReportsController.getTopConversationUsers"
      }
    },
    "/reports/user-conversations": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "generateUserwiseConversationReport",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Top 10 users by conversation count",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserwiseConversationReportResponse"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserConversationReportRequest"
              }
            }
          }
        },
        "operationId": "ReportsController.generateUserwiseConversationReport"
      }
    },
    "/requested-integrations/count": {
      "get": {
        "x-controller-name": "RequestedIntegrationController",
        "x-operation-name": "count",
        "tags": [
          "RequestedIntegrationController"
        ],
        "responses": {
          "200": {
            "description": "RequestedIntegrations model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RequestedIntegrations.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RequestedIntegrations>"
                }
              }
            }
          }
        ],
        "operationId": "RequestedIntegrationController.count"
      }
    },
    "/requested-integrations/{id}": {
      "patch": {
        "x-controller-name": "RequestedIntegrationController",
        "x-operation-name": "updateById",
        "tags": [
          "RequestedIntegrationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RequestedIntegrations PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestedIntegrationsPartialExcluding_id-modified_at-created_at_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RequestedIntegrationController.updateById"
      },
      "get": {
        "x-controller-name": "RequestedIntegrationController",
        "x-operation-name": "findById",
        "tags": [
          "RequestedIntegrationController"
        ],
        "responses": {
          "200": {
            "description": "RequestedIntegrations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestedIntegrationsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestedIntegrations.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RequestedIntegrationController.findById"
      },
      "delete": {
        "x-controller-name": "RequestedIntegrationController",
        "x-operation-name": "deleteById",
        "tags": [
          "RequestedIntegrationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "RequestedIntegrations DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RequestedIntegrationController.deleteById"
      }
    },
    "/requested-integrations": {
      "post": {
        "x-controller-name": "RequestedIntegrationController",
        "x-operation-name": "create",
        "tags": [
          "RequestedIntegrationController"
        ],
        "responses": {
          "200": {
            "description": "RequestedIntegrations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestedIntegrations"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestedIntegrationsPayload"
              }
            }
          }
        },
        "operationId": "RequestedIntegrationController.create"
      },
      "get": {
        "x-controller-name": "RequestedIntegrationController",
        "x-operation-name": "find",
        "tags": [
          "RequestedIntegrationController"
        ],
        "responses": {
          "200": {
            "description": "Array of RequestedIntegrations model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RequestedIntegrationsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestedIntegrations.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RequestedIntegrationController.find"
      }
    },
    "/roles/count": {
      "get": {
        "x-controller-name": "RoleController",
        "x-operation-name": "count",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Roles model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Roles.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Roles>"
                }
              }
            }
          }
        ],
        "operationId": "RoleController.count"
      }
    },
    "/roles/{id}": {
      "patch": {
        "x-controller-name": "RoleController",
        "x-operation-name": "updateById",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Roles PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RolesPartialExcluding_modified_at-created_at-id_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RoleController.updateById"
      },
      "get": {
        "x-controller-name": "RoleController",
        "x-operation-name": "findById",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Roles model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RolesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Roles.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RoleController.findById"
      },
      "delete": {
        "x-controller-name": "RoleController",
        "x-operation-name": "deleteById",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Roles DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RoleController.deleteById"
      }
    },
    "/roles": {
      "post": {
        "x-controller-name": "RoleController",
        "x-operation-name": "create",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Roles model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Roles"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRoles"
              }
            }
          }
        },
        "operationId": "RoleController.create"
      },
      "get": {
        "x-controller-name": "RoleController",
        "x-operation-name": "find",
        "tags": [
          "RoleController"
        ],
        "responses": {
          "200": {
            "description": "Array of Roles model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RolesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Roles.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RoleController.find"
      }
    },
    "/scim-configs/count": {
      "get": {
        "x-controller-name": "ScimConfigsController",
        "x-operation-name": "count",
        "tags": [
          "ScimConfigsController"
        ],
        "responses": {
          "200": {
            "description": "ScimConfigs model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ScimConfigs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ScimConfigs>"
                }
              }
            }
          }
        ],
        "operationId": "ScimConfigsController.count"
      }
    },
    "/scim-configs/generate-auth-token": {
      "get": {
        "x-controller-name": "ScimConfigsController",
        "x-operation-name": "getSsoAuthToken",
        "tags": [
          "ScimConfigsController"
        ],
        "responses": {
          "200": {
            "description": "SCIM Auth Token generated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SsoAuthTokenResponse"
                }
              }
            }
          }
        },
        "operationId": "ScimConfigsController.getSsoAuthToken"
      }
    },
    "/scim-configs/{id}": {
      "patch": {
        "x-controller-name": "ScimConfigsController",
        "x-operation-name": "updateById",
        "tags": [
          "ScimConfigsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ScimConfigs PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimConfigsPartialExcluding_id-created_by-modified_by-created_at-modified_at-tenant_saml_config_id-tenant_id-scim_token-expires_at-masked_token_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ScimConfigsController.updateById"
      },
      "get": {
        "x-controller-name": "ScimConfigsController",
        "x-operation-name": "findById",
        "tags": [
          "ScimConfigsController"
        ],
        "responses": {
          "200": {
            "description": "ScimConfigs model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimConfigsExcluding_scim_token_WithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimConfigs.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ScimConfigsController.findById"
      },
      "delete": {
        "x-controller-name": "ScimConfigsController",
        "x-operation-name": "deleteById",
        "tags": [
          "ScimConfigsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ScimConfigs DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ScimConfigsController.deleteById"
      }
    },
    "/scim-configs": {
      "post": {
        "x-controller-name": "ScimConfigsController",
        "x-operation-name": "create",
        "tags": [
          "ScimConfigsController"
        ],
        "responses": {
          "200": {
            "description": "ScimConfigs model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimConfigs"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewScimConfigs"
              }
            }
          }
        },
        "operationId": "ScimConfigsController.create"
      },
      "get": {
        "x-controller-name": "ScimConfigsController",
        "x-operation-name": "find",
        "tags": [
          "ScimConfigsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ScimConfigs model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ScimConfigsExcluding_scim_token_WithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ScimConfigs.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ScimConfigsController.find"
      }
    },
    "/subscription-plan/{plan_id}/eligibility": {
      "get": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "usageReport",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionEligibiltyResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "plan_id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenantSubscriptionController.usageReport"
      }
    },
    "/tenant/{id}/branding-urls": {
      "get": {
        "x-controller-name": "TenantBrandingsController",
        "x-operation-name": "generateTenantBrandingUrl",
        "tags": [
          "TenantBrandingsController"
        ],
        "responses": {
          "200": {
            "description": "Generate signed URL for tenant branding files",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantBrandingURLResponse"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenantBrandingsController.generateTenantBrandingUrl"
      }
    },
    "/tenant/{id}/tenant-enterprise-plan-mappings": {
      "get": {
        "x-controller-name": "TenantEnterprisePlanMappingsController",
        "x-operation-name": "getTenantEnterprisePlans",
        "tags": [
          "TenantEnterprisePlanMappingsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Tenants has many TenantEnterprisePlanMappings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantEnterprisePlanMappings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TenantEnterprisePlanMappingsController.getTenantEnterprisePlans"
      }
    },
    "/tenant-brandings/count": {
      "get": {
        "x-controller-name": "TenantBrandingsController",
        "x-operation-name": "count",
        "tags": [
          "TenantBrandingsController"
        ],
        "responses": {
          "200": {
            "description": "TenantBrandings model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TenantBrandings.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TenantBrandings>"
                }
              }
            }
          }
        ],
        "operationId": "TenantBrandingsController.count"
      }
    },
    "/tenant-brandings/{id}": {
      "patch": {
        "x-controller-name": "TenantBrandingsController",
        "x-operation-name": "updateById",
        "tags": [
          "TenantBrandingsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantBrandings PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantBrandingsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenantBrandingsController.updateById"
      },
      "get": {
        "x-controller-name": "TenantBrandingsController",
        "x-operation-name": "findById",
        "tags": [
          "TenantBrandingsController"
        ],
        "responses": {
          "200": {
            "description": "TenantBrandings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantBrandingsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantBrandings.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TenantBrandingsController.findById"
      },
      "delete": {
        "x-controller-name": "TenantBrandingsController",
        "x-operation-name": "deleteById",
        "tags": [
          "TenantBrandingsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantBrandings DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenantBrandingsController.deleteById"
      }
    },
    "/tenant-brandings": {
      "post": {
        "x-controller-name": "TenantBrandingsController",
        "x-operation-name": "create",
        "tags": [
          "TenantBrandingsController"
        ],
        "responses": {
          "200": {
            "description": "TenantBrandings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantBrandings"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "description": "Tenant logo",
                    "type": "string",
                    "format": "binary"
                  },
                  "top": {
                    "type": "number"
                  },
                  "left": {
                    "type": "number"
                  },
                  "height": {
                    "type": "number"
                  },
                  "width": {
                    "type": "number"
                  },
                  "tenant_id": {
                    "type": "number"
                  },
                  "category": {
                    "type": "string",
                    "enum": [
                      "logo",
                      "icon"
                    ]
                  }
                }
              }
            }
          },
          "description": "multipart/form-data",
          "required": true
        },
        "operationId": "TenantBrandingsController.create"
      },
      "get": {
        "x-controller-name": "TenantBrandingsController",
        "x-operation-name": "find",
        "tags": [
          "TenantBrandingsController"
        ],
        "responses": {
          "200": {
            "description": "Array of TenantBrandings model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantBrandingsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantBrandings.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TenantBrandingsController.find"
      }
    },
    "/tenant-conversations/count": {
      "get": {
        "x-controller-name": "TenantConversationsController",
        "x-operation-name": "count",
        "tags": [
          "TenantConversationsController"
        ],
        "responses": {
          "200": {
            "description": "TenantConversations model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TenantConversations.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TenantConversations>"
                }
              }
            }
          }
        ],
        "operationId": "TenantConversationsController.count"
      }
    },
    "/tenant-conversations/quota": {
      "get": {
        "x-controller-name": "TenantConversationsController",
        "x-operation-name": "getActiveConversationsQuota",
        "tags": [
          "TenantConversationsController"
        ],
        "responses": {
          "200": {
            "description": "Active tenant conversations quota",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "number"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/TenantConversations"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TenantConversationsController.getActiveConversationsQuota"
      }
    },
    "/tenant-conversations/units-summary": {
      "get": {
        "x-controller-name": "TenantConversationsController",
        "x-operation-name": "getConversationUnitSummery",
        "tags": [
          "TenantConversationsController"
        ],
        "responses": {
          "200": {
            "description": "Summary of purchased and used units",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnitsSummary"
                }
              }
            }
          }
        },
        "operationId": "TenantConversationsController.getConversationUnitSummery"
      }
    },
    "/tenant-conversations/{id}": {
      "patch": {
        "x-controller-name": "TenantConversationsController",
        "x-operation-name": "updateById",
        "tags": [
          "TenantConversationsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantConversations PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantConversationsPartialExcluding_id-created_at-modified_at-tenant_id-is_expired_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenantConversationsController.updateById"
      },
      "get": {
        "x-controller-name": "TenantConversationsController",
        "x-operation-name": "findById",
        "tags": [
          "TenantConversationsController"
        ],
        "responses": {
          "200": {
            "description": "TenantConversations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantConversationsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantConversations.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TenantConversationsController.findById"
      },
      "delete": {
        "x-controller-name": "TenantConversationsController",
        "x-operation-name": "deleteById",
        "tags": [
          "TenantConversationsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantConversations DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenantConversationsController.deleteById"
      }
    },
    "/tenant-conversations": {
      "post": {
        "x-controller-name": "TenantConversationsController",
        "x-operation-name": "create",
        "tags": [
          "TenantConversationsController"
        ],
        "responses": {
          "200": {
            "description": "TenantConversations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantConversations"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTenantConversations"
              }
            }
          }
        },
        "operationId": "TenantConversationsController.create"
      },
      "get": {
        "x-controller-name": "TenantConversationsController",
        "x-operation-name": "find",
        "tags": [
          "TenantConversationsController"
        ],
        "responses": {
          "200": {
            "description": "Array of TenantConversations model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantConversationsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantConversations.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TenantConversationsController.find"
      }
    },
    "/tenant-enterprise-plan-mappings/count": {
      "get": {
        "x-controller-name": "TenantEnterprisePlanMappingsController",
        "x-operation-name": "count",
        "tags": [
          "TenantEnterprisePlanMappingsController"
        ],
        "responses": {
          "200": {
            "description": "TenantEnterprisePlanMappings model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TenantEnterprisePlanMappings.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TenantEnterprisePlanMappings>"
                }
              }
            }
          }
        ],
        "operationId": "TenantEnterprisePlanMappingsController.count"
      }
    },
    "/tenant-enterprise-plan-mappings/{id}": {
      "patch": {
        "x-controller-name": "TenantEnterprisePlanMappingsController",
        "x-operation-name": "updateById",
        "tags": [
          "TenantEnterprisePlanMappingsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantEnterprisePlanMappings PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantEnterprisePlanMappingsPartialExcluding_id-created_at-modified_at_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenantEnterprisePlanMappingsController.updateById"
      },
      "get": {
        "x-controller-name": "TenantEnterprisePlanMappingsController",
        "x-operation-name": "findById",
        "tags": [
          "TenantEnterprisePlanMappingsController"
        ],
        "responses": {
          "200": {
            "description": "TenantEnterprisePlanMappings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantEnterprisePlanMappingsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantEnterprisePlanMappings.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TenantEnterprisePlanMappingsController.findById"
      },
      "delete": {
        "x-controller-name": "TenantEnterprisePlanMappingsController",
        "x-operation-name": "deleteById",
        "tags": [
          "TenantEnterprisePlanMappingsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantEnterprisePlanMappings DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenantEnterprisePlanMappingsController.deleteById"
      }
    },
    "/tenant-enterprise-plan-mappings": {
      "post": {
        "x-controller-name": "TenantEnterprisePlanMappingsController",
        "x-operation-name": "create",
        "tags": [
          "TenantEnterprisePlanMappingsController"
        ],
        "responses": {
          "200": {
            "description": "TenantEnterprisePlanMappings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantEnterprisePlanMappings"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTenantEnterprisePlanMappings"
              }
            }
          }
        },
        "operationId": "TenantEnterprisePlanMappingsController.create"
      },
      "get": {
        "x-controller-name": "TenantEnterprisePlanMappingsController",
        "x-operation-name": "find",
        "tags": [
          "TenantEnterprisePlanMappingsController"
        ],
        "responses": {
          "200": {
            "description": "Array of TenantEnterprisePlanMappings model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantEnterprisePlanMappingsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantEnterprisePlanMappings.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TenantEnterprisePlanMappingsController.find"
      }
    },
    "/tenant-saml-configs/count": {
      "get": {
        "x-controller-name": "TenantSamlConfigController",
        "x-operation-name": "count",
        "tags": [
          "TenantSamlConfigController"
        ],
        "responses": {
          "200": {
            "description": "TenantSamlConfig model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TenantSamlConfig.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TenantSamlConfig>"
                }
              }
            }
          }
        ],
        "operationId": "TenantSamlConfigController.count"
      }
    },
    "/tenant-saml-configs/{id}": {
      "patch": {
        "x-controller-name": "TenantSamlConfigController",
        "x-operation-name": "updateById",
        "tags": [
          "TenantSamlConfigController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantSamlConfig PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantSamlConfigPartialExcluding_id-tenant_id-created_at-modified_at_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenantSamlConfigController.updateById"
      },
      "get": {
        "x-controller-name": "TenantSamlConfigController",
        "x-operation-name": "findById",
        "tags": [
          "TenantSamlConfigController"
        ],
        "responses": {
          "200": {
            "description": "TenantSamlConfig model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSamlConfigWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSamlConfig.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TenantSamlConfigController.findById"
      },
      "delete": {
        "x-controller-name": "TenantSamlConfigController",
        "x-operation-name": "deleteById",
        "tags": [
          "TenantSamlConfigController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantSamlConfig DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenantSamlConfigController.deleteById"
      }
    },
    "/tenant-saml-configs": {
      "post": {
        "x-controller-name": "TenantSamlConfigController",
        "x-operation-name": "create",
        "tags": [
          "TenantSamlConfigController"
        ],
        "responses": {
          "200": {
            "description": "TenantSamlConfig model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSamlConfig"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTenantSamlConfig"
              }
            }
          }
        },
        "operationId": "TenantSamlConfigController.create"
      },
      "get": {
        "x-controller-name": "TenantSamlConfigController",
        "x-operation-name": "find",
        "tags": [
          "TenantSamlConfigController"
        ],
        "responses": {
          "200": {
            "description": "TenantSamlConfig model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSamlConfigResponseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSamlConfig.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TenantSamlConfigController.find"
      }
    },
    "/tenant-subscriptions/count": {
      "get": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "count",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "200": {
            "description": "TenantSubscriptions model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TenantSubscriptions.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TenantSubscriptions>"
                }
              }
            }
          }
        ],
        "operationId": "TenantSubscriptionController.count"
      }
    },
    "/tenant-subscriptions/features": {
      "get": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "getTenantFeatures",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "200": {
            "description": "Tenant features",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantFeatures"
                }
              }
            }
          }
        },
        "operationId": "TenantSubscriptionController.getTenantFeatures"
      }
    },
    "/tenant-subscriptions/usage-report": {
      "get": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "getUsageReport",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeaturesConsumptionResponse"
                }
              }
            }
          }
        },
        "operationId": "TenantSubscriptionController.getUsageReport"
      }
    },
    "/tenant-subscriptions/{id}": {
      "patch": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "updateById",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantSubscriptions PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantSubscriptionsPartialExcluding_id-created_at-modified_at_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenantSubscriptionController.updateById"
      },
      "get": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "findById",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "200": {
            "description": "TenantSubscriptions model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSubscriptionsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSubscriptions.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TenantSubscriptionController.findById"
      },
      "delete": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "deleteById",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenantSubscriptions DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenantSubscriptionController.deleteById"
      }
    },
    "/tenant-subscriptions": {
      "post": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "create",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "200": {
            "description": "TenantSubscriptions model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSubscriptions"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTenantSubscriptions"
              }
            }
          }
        },
        "operationId": "TenantSubscriptionController.create"
      },
      "get": {
        "x-controller-name": "TenantSubscriptionController",
        "x-operation-name": "find",
        "tags": [
          "TenantSubscriptionController"
        ],
        "responses": {
          "200": {
            "description": "Array of TenantSubscriptions model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantSubscriptionsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSubscriptions.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TenantSubscriptionController.find"
      }
    },
    "/tenants/count": {
      "get": {
        "x-controller-name": "TenantsController",
        "x-operation-name": "count",
        "tags": [
          "TenantsController"
        ],
        "responses": {
          "200": {
            "description": "Tenants model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Tenants.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Tenants>"
                }
              }
            }
          }
        ],
        "operationId": "TenantsController.count"
      }
    },
    "/tenants/{id}": {
      "patch": {
        "x-controller-name": "TenantsController",
        "x-operation-name": "updateById",
        "tags": [
          "TenantsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Tenants PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantsPartialExcluding_id-e_dbpwd-db_user-modified_at-created_at-created_by-modified_by_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenantsController.updateById"
      },
      "get": {
        "x-controller-name": "TenantsController",
        "x-operation-name": "findById",
        "tags": [
          "TenantsController"
        ],
        "responses": {
          "200": {
            "description": "Tenants model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tenants.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TenantsController.findById"
      },
      "delete": {
        "x-controller-name": "TenantsController",
        "x-operation-name": "deleteById",
        "tags": [
          "TenantsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Tenants DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenantsController.deleteById"
      }
    },
    "/tenants": {
      "post": {
        "x-controller-name": "TenantsController",
        "x-operation-name": "create",
        "tags": [
          "TenantsController"
        ],
        "responses": {
          "200": {
            "description": "Tenants model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tenants"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTenants"
              }
            }
          }
        },
        "operationId": "TenantsController.create"
      },
      "get": {
        "x-controller-name": "TenantsController",
        "x-operation-name": "find",
        "tags": [
          "TenantsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Tenants model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenantsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tenants.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TenantsController.find"
      }
    },
    "/user/{id}/bot-member-mappings": {
      "get": {
        "x-controller-name": "BotMemberMappingController",
        "x-operation-name": "findUserBots",
        "tags": [
          "BotMemberMappingController"
        ],
        "responses": {
          "204": {
            "description": "Array of Users has many ChatBots through BotMemberMappings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChatBots"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "BotMemberMappingController.findUserBots"
      }
    },
    "/user-login-sessions/count": {
      "get": {
        "x-controller-name": "UserLoginSessionsController",
        "x-operation-name": "count",
        "tags": [
          "UserLoginSessionsController"
        ],
        "responses": {
          "200": {
            "description": "UserLoginSessions model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserLoginSessions.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserLoginSessions>"
                }
              }
            }
          }
        ],
        "operationId": "UserLoginSessionsController.count"
      }
    },
    "/user-login-sessions/{id}": {
      "patch": {
        "x-controller-name": "UserLoginSessionsController",
        "x-operation-name": "updateById",
        "tags": [
          "UserLoginSessionsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserLoginSessions PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserLoginSessionsPartialExcluding_id-login_timestamp-created_at-modified_at_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserLoginSessionsController.updateById"
      },
      "get": {
        "x-controller-name": "UserLoginSessionsController",
        "x-operation-name": "findById",
        "tags": [
          "UserLoginSessionsController"
        ],
        "responses": {
          "200": {
            "description": "UserLoginSessions model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserLoginSessionsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserLoginSessions.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserLoginSessionsController.findById"
      },
      "delete": {
        "x-controller-name": "UserLoginSessionsController",
        "x-operation-name": "deleteById",
        "tags": [
          "UserLoginSessionsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserLoginSessions DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserLoginSessionsController.deleteById"
      }
    },
    "/user-login-sessions": {
      "post": {
        "x-controller-name": "UserLoginSessionsController",
        "x-operation-name": "create",
        "tags": [
          "UserLoginSessionsController"
        ],
        "responses": {
          "200": {
            "description": "UserLoginSessions model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserLoginSessions"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUserLoginSessions"
              }
            }
          }
        },
        "operationId": "UserLoginSessionsController.create"
      },
      "get": {
        "x-controller-name": "UserLoginSessionsController",
        "x-operation-name": "find",
        "tags": [
          "UserLoginSessionsController"
        ],
        "responses": {
          "200": {
            "description": "Array of UserLoginSessions model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserLoginSessionsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserLoginSessions.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "UserLoginSessionsController.find"
      }
    },
    "/users/confirm": {
      "get": {
        "x-controller-name": "UsersController",
        "x-operation-name": "verifyUser",
        "tags": [
          "UsersController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Confirm user Account"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "uid",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country_of_operation",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "price_lookup_key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conversation_id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "conversation_quantity",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "UsersController.verifyUser"
      }
    },
    "/users/count": {
      "get": {
        "x-controller-name": "UsersController",
        "x-operation-name": "count",
        "tags": [
          "UsersController"
        ],
        "responses": {
          "200": {
            "description": "Users model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "operationId": "UsersController.count"
      }
    },
    "/users/logout": {
      "get": {
        "x-controller-name": "LoginController",
        "x-operation-name": "logout",
        "tags": [
          "LoginController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Logout User Account"
                }
              }
            }
          }
        },
        "operationId": "LoginController.logout"
      }
    },
    "/users/{id}/resend-invite": {
      "get": {
        "x-controller-name": "UsersController",
        "x-operation-name": "resendInvite",
        "tags": [
          "UsersController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CommonResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsersController.resendInvite"
      }
    },
    "/users/{id}": {
      "patch": {
        "x-controller-name": "UsersController",
        "x-operation-name": "updateById",
        "tags": [
          "UsersController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Users PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequestPartialExcluding_id-created_at-modified_at-email_verified-verification_token-tenant_id-customer_id-user_type_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersController.updateById"
      },
      "get": {
        "x-controller-name": "UsersController",
        "x-operation-name": "findById",
        "tags": [
          "UsersController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsersWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UsersController.findById"
      },
      "delete": {
        "x-controller-name": "UsersController",
        "x-operation-name": "deleteById",
        "tags": [
          "UsersController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Users DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsersController.deleteById"
      }
    },
    "/users": {
      "post": {
        "x-controller-name": "UsersController",
        "x-operation-name": "create",
        "tags": [
          "UsersController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateUserRequest"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsers"
              }
            }
          }
        },
        "operationId": "UsersController.create"
      },
      "get": {
        "x-controller-name": "UsersController",
        "x-operation-name": "find",
        "tags": [
          "UsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UsersWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "UsersController.find"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.docubucket.ai"
    }
  ],
  "components": {
    "schemas": {
      "CreateUserRequest": {
        "title": "CreateUserRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "first_name": {
            "type": "string",
            "nullable": false
          },
          "last_name": {
            "type": "string",
            "nullable": false
          },
          "email": {
            "type": "string",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "email_verified": {
            "type": "boolean",
            "nullable": false
          },
          "verification_token": {
            "type": "string",
            "nullable": true
          },
          "customer_id": {
            "type": "string",
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "billing_authority": {
            "type": "boolean",
            "nullable": false
          },
          "user_type": {
            "type": "string",
            "nullable": false,
            "enum": [
              "jwt_auth",
              "sso_auth"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "role_id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "bot_mapping": {
            "type": "array",
            "items": {
              "type": "object",
              "items": {
                "type": "object",
                "required": [
                  "bot_id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "bot_id": {
                    "type": "number"
                  }
                }
              },
              "nullable": true
            }
          },
          "deleted_bot_mapping": {
            "type": "array",
            "items": {
              "type": "object",
              "items": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "bot_id": {
                    "type": "number"
                  }
                }
              },
              "nullable": true
            }
          }
        },
        "required": [
          "first_name",
          "last_name",
          "email"
        ],
        "additionalProperties": false
      },
      "NewUsers": {
        "title": "NewUsers",
        "type": "object",
        "description": "(tsType: Omit<CreateUserRequest, 'id' | 'created_at' | 'modified_at' | 'is_active' | 'email_verified' | 'verification_token' | 'customer_id' | 'tenant_id' | 'user_type'>, schemaOptions: { title: 'NewUsers', exclude: [ 'id', 'created_at', 'modified_at', 'is_active', 'email_verified', 'verification_token', 'customer_id', 'tenant_id', 'user_type' ] })",
        "properties": {
          "first_name": {
            "type": "string",
            "nullable": false
          },
          "last_name": {
            "type": "string",
            "nullable": false
          },
          "email": {
            "type": "string",
            "nullable": false
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "billing_authority": {
            "type": "boolean",
            "nullable": false
          },
          "role_id": {
            "type": "number",
            "nullable": false
          },
          "bot_mapping": {
            "type": "array",
            "items": {
              "type": "object",
              "items": {
                "type": "object",
                "required": [
                  "bot_id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "bot_id": {
                    "type": "number"
                  }
                }
              },
              "nullable": true
            }
          },
          "deleted_bot_mapping": {
            "type": "array",
            "items": {
              "type": "object",
              "items": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "bot_id": {
                    "type": "number"
                  }
                }
              },
              "nullable": true
            }
          }
        },
        "required": [
          "first_name",
          "last_name",
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<CreateUserRequest, 'id' | 'created_at' | 'modified_at' | 'is_active' | 'email_verified' | 'verification_token' | 'customer_id' | 'tenant_id' | 'user_type'>"
      },
      "Roles": {
        "title": "Roles",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "role_name": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "required": [
          "role_name"
        ],
        "additionalProperties": false
      },
      "Tenants": {
        "title": "Tenants",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_name": {
            "type": "string",
            "nullable": false
          },
          "is_global": {
            "type": "boolean",
            "nullable": false
          },
          "slug": {
            "type": "string",
            "nullable": false
          },
          "db_user": {
            "type": "string",
            "nullable": false
          },
          "e_dbpwd": {
            "type": "string",
            "nullable": true
          },
          "contact_email": {
            "type": "string",
            "nullable": false
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "nullable": true
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "allow_saml_authentication": {
            "type": "boolean",
            "nullable": false
          },
          "country_of_operation": {
            "type": "string",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "modified_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "tenant_name",
          "slug",
          "db_user",
          "contact_email",
          "is_active"
        ],
        "additionalProperties": false
      },
      "BotMemberMappings": {
        "title": "BotMemberMappings",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "user_id",
          "bot_id"
        ],
        "additionalProperties": false
      },
      "ChatBots": {
        "title": "ChatBots",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "app_name": {
            "type": "string",
            "nullable": false
          },
          "app_id": {
            "type": "string",
            "nullable": false
          },
          "agent_id": {
            "type": "string",
            "nullable": false
          },
          "agent_name": {
            "type": "string",
            "nullable": false
          },
          "gcp_project_id": {
            "type": "string",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "show_disclaimer": {
            "type": "boolean",
            "nullable": false
          },
          "disclaimer_text": {
            "type": "string",
            "nullable": false
          },
          "bot_bucket_id": {
            "type": "number",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "app_name",
          "bot_bucket_id"
        ],
        "additionalProperties": false
      },
      "UserLoginSessions": {
        "title": "UserLoginSessions",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "ip_address": {
            "type": "string",
            "nullable": true
          },
          "user_agent": {
            "type": "string",
            "nullable": true
          },
          "login_timestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "user_id"
        ],
        "additionalProperties": false
      },
      "UsersWithRelations": {
        "title": "UsersWithRelations",
        "type": "object",
        "description": "(tsType: UsersWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "first_name": {
            "type": "string",
            "nullable": false
          },
          "last_name": {
            "type": "string",
            "nullable": false
          },
          "email": {
            "type": "string",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "email_verified": {
            "type": "boolean",
            "nullable": false
          },
          "verification_token": {
            "type": "string",
            "nullable": true
          },
          "customer_id": {
            "type": "string",
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "billing_authority": {
            "type": "boolean",
            "nullable": false
          },
          "user_type": {
            "type": "string",
            "nullable": false,
            "enum": [
              "jwt_auth",
              "sso_auth"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "role_id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "role": {
            "$ref": "#/components/schemas/Roles"
          },
          "foreignKey": {},
          "tenant": {
            "$ref": "#/components/schemas/Tenants"
          },
          "botMemberMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BotMemberMappings"
            }
          },
          "chatBots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatBots"
            }
          },
          "userLoginSessions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserLoginSessions"
            }
          }
        },
        "required": [
          "first_name",
          "last_name",
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "UsersWithRelations"
      },
      "CreateUserRequestPartialExcluding_id-created_at-modified_at-email_verified-verification_token-tenant_id-customer_id-user_type_": {
        "title": "CreateUserRequestPartialExcluding_id-created_at-modified_at-email_verified-verification_token-tenant_id-customer_id-user_type_",
        "type": "object",
        "description": "(tsType: Omit<Partial<CreateUserRequest>, 'id' | 'created_at' | 'modified_at' | 'email_verified' | 'verification_token' | 'tenant_id' | 'customer_id' | 'user_type'>, schemaOptions: { partial: true, exclude: [ 'id', 'created_at', 'modified_at', 'email_verified', 'verification_token', 'tenant_id', 'customer_id', 'user_type' ] })",
        "properties": {
          "first_name": {
            "type": "string",
            "nullable": false
          },
          "last_name": {
            "type": "string",
            "nullable": false
          },
          "email": {
            "type": "string",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "billing_authority": {
            "type": "boolean",
            "nullable": false
          },
          "role_id": {
            "type": "number",
            "nullable": false
          },
          "bot_mapping": {
            "type": "array",
            "items": {
              "type": "object",
              "items": {
                "type": "object",
                "required": [
                  "bot_id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "bot_id": {
                    "type": "number"
                  }
                }
              },
              "nullable": true
            }
          },
          "deleted_bot_mapping": {
            "type": "array",
            "items": {
              "type": "object",
              "items": {
                "type": "object",
                "required": [
                  "id"
                ],
                "properties": {
                  "id": {
                    "type": "number"
                  },
                  "bot_id": {
                    "type": "number"
                  }
                }
              },
              "nullable": true
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<CreateUserRequest>, 'id' | 'created_at' | 'modified_at' | 'email_verified' | 'verification_token' | 'tenant_id' | 'customer_id' | 'user_type'>"
      },
      "CommonResponse": {
        "title": "CommonResponse",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewUserLoginSessions": {
        "title": "NewUserLoginSessions",
        "type": "object",
        "description": "(tsType: Omit<UserLoginSessions, 'id' | 'login_timestamp' | 'created_at' | 'modified_at'>, schemaOptions: { title: 'NewUserLoginSessions', exclude: [ 'id', 'login_timestamp', 'created_at', 'modified_at' ] })",
        "properties": {
          "ip_address": {
            "type": "string",
            "nullable": true
          },
          "user_agent": {
            "type": "string",
            "nullable": true
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "user_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<UserLoginSessions, 'id' | 'login_timestamp' | 'created_at' | 'modified_at'>"
      },
      "Users": {
        "title": "Users",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "first_name": {
            "type": "string",
            "nullable": false
          },
          "last_name": {
            "type": "string",
            "nullable": false
          },
          "email": {
            "type": "string",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "email_verified": {
            "type": "boolean",
            "nullable": false
          },
          "verification_token": {
            "type": "string",
            "nullable": true
          },
          "customer_id": {
            "type": "string",
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "billing_authority": {
            "type": "boolean",
            "nullable": false
          },
          "user_type": {
            "type": "string",
            "nullable": false,
            "enum": [
              "jwt_auth",
              "sso_auth"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "role_id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "first_name",
          "last_name",
          "email"
        ],
        "additionalProperties": false
      },
      "UserLoginSessionsWithRelations": {
        "title": "UserLoginSessionsWithRelations",
        "type": "object",
        "description": "(tsType: UserLoginSessionsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "ip_address": {
            "type": "string",
            "nullable": true
          },
          "user_agent": {
            "type": "string",
            "nullable": true
          },
          "login_timestamp": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          },
          "users": {
            "$ref": "#/components/schemas/Users"
          },
          "foreignKey": {}
        },
        "required": [
          "user_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "UserLoginSessionsWithRelations"
      },
      "UserLoginSessionsPartialExcluding_id-login_timestamp-created_at-modified_at_": {
        "title": "UserLoginSessionsPartialExcluding_id-login_timestamp-created_at-modified_at_",
        "type": "object",
        "description": "(tsType: Omit<Partial<UserLoginSessions>, 'id' | 'login_timestamp' | 'created_at' | 'modified_at'>, schemaOptions: { partial: true, exclude: [ 'id', 'login_timestamp', 'created_at', 'modified_at' ] })",
        "properties": {
          "ip_address": {
            "type": "string",
            "nullable": true
          },
          "user_agent": {
            "type": "string",
            "nullable": true
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<UserLoginSessions>, 'id' | 'login_timestamp' | 'created_at' | 'modified_at'>"
      },
      "NewTenants": {
        "title": "NewTenants",
        "type": "object",
        "description": "(tsType: Omit<Tenants, 'id' | 'e_dbpwd' | 'db_user' | 'modified_at' | 'created_at' | 'created_by' | 'modified_by' | 'is_active'>, schemaOptions: { title: 'NewTenants', exclude: [ 'id', 'e_dbpwd', 'db_user', 'modified_at', 'created_at', 'created_by', 'modified_by', 'is_active' ] })",
        "properties": {
          "tenant_name": {
            "type": "string",
            "nullable": false
          },
          "is_global": {
            "type": "boolean",
            "nullable": false
          },
          "slug": {
            "type": "string",
            "nullable": false
          },
          "contact_email": {
            "type": "string",
            "nullable": false
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "nullable": true
          },
          "allow_saml_authentication": {
            "type": "boolean",
            "nullable": false
          },
          "country_of_operation": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "tenant_name",
          "slug",
          "contact_email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Tenants, 'id' | 'e_dbpwd' | 'db_user' | 'modified_at' | 'created_at' | 'created_by' | 'modified_by' | 'is_active'>"
      },
      "TenantSubscriptions": {
        "title": "TenantSubscriptions",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "stripe_subscription_id": {
            "type": "string",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "start_date": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "end_date": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "cancle_at_period_end": {
            "type": "boolean",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "plan_id": {
            "type": "number",
            "nullable": false
          },
          "subscribed_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "stripe_subscription_id",
          "status",
          "start_date",
          "end_date",
          "plan_id",
          "subscribed_by"
        ],
        "additionalProperties": false
      },
      "RequestedIntegrations": {
        "title": "RequestedIntegrations",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "email": {
            "type": "object",
            "nullable": false
          },
          "is_integrated": {
            "type": "boolean",
            "nullable": false
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          },
          "platform_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "email",
          "platform_id"
        ],
        "additionalProperties": false
      },
      "TenantSamlConfig": {
        "title": "TenantSamlConfig",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "identity_provider": {
            "type": "string",
            "nullable": false
          },
          "domain": {
            "type": "string",
            "nullable": false
          },
          "saml_sso_login_url": {
            "type": "string",
            "nullable": false
          },
          "ms_saml_cert_encrypted": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "identity_provider",
          "domain",
          "saml_sso_login_url",
          "ms_saml_cert_encrypted"
        ],
        "additionalProperties": false
      },
      "TenantEnterprisePlanMappings": {
        "title": "TenantEnterprisePlanMappings",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "plan_id": {
            "type": "number"
          }
        },
        "required": [
          "tenant_id"
        ],
        "additionalProperties": false
      },
      "TenantBrandings": {
        "title": "TenantBrandings",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "category": {
            "type": "string",
            "nullable": false,
            "enum": [
              "logo",
              "icon"
            ]
          },
          "gcs_name": {
            "type": "string",
            "nullable": false
          },
          "size": {
            "type": "number",
            "nullable": false
          },
          "mime_type": {
            "type": "string",
            "nullable": false
          },
          "gcs_bucket": {
            "type": "string",
            "nullable": false
          },
          "uploaded_by": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "required": [
          "tenant_id",
          "category",
          "gcs_name",
          "size",
          "mime_type",
          "gcs_bucket",
          "uploaded_by"
        ],
        "additionalProperties": false
      },
      "TenantsWithRelations": {
        "title": "TenantsWithRelations",
        "type": "object",
        "description": "(tsType: TenantsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_name": {
            "type": "string",
            "nullable": false
          },
          "is_global": {
            "type": "boolean",
            "nullable": false
          },
          "slug": {
            "type": "string",
            "nullable": false
          },
          "db_user": {
            "type": "string",
            "nullable": false
          },
          "e_dbpwd": {
            "type": "string",
            "nullable": true
          },
          "contact_email": {
            "type": "string",
            "nullable": false
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "nullable": true
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "allow_saml_authentication": {
            "type": "boolean",
            "nullable": false
          },
          "country_of_operation": {
            "type": "string",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "modified_by": {
            "type": "number",
            "nullable": false
          },
          "tenantSubscriptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantSubscriptions"
            }
          },
          "creator": {
            "$ref": "#/components/schemas/Users"
          },
          "foreignKey": {},
          "modifier": {
            "$ref": "#/components/schemas/Users"
          },
          "requested_integrations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestedIntegrations"
            }
          },
          "tenant_saml_config": {
            "$ref": "#/components/schemas/TenantSamlConfig"
          },
          "tenantEnterprisePlanMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantEnterprisePlanMappings"
            }
          },
          "tenantBrandings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantBrandings"
            }
          }
        },
        "required": [
          "tenant_name",
          "slug",
          "db_user",
          "contact_email",
          "is_active"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TenantsWithRelations"
      },
      "TenantsPartialExcluding_id-e_dbpwd-db_user-modified_at-created_at-created_by-modified_by_": {
        "title": "TenantsPartialExcluding_id-e_dbpwd-db_user-modified_at-created_at-created_by-modified_by_",
        "type": "object",
        "description": "(tsType: Omit<Partial<Tenants>, 'id' | 'e_dbpwd' | 'db_user' | 'modified_at' | 'created_at' | 'created_by' | 'modified_by'>, schemaOptions: { partial: true, exclude: [ 'id', 'e_dbpwd', 'db_user', 'modified_at', 'created_at', 'created_by', 'modified_by' ] })",
        "properties": {
          "tenant_name": {
            "type": "string",
            "nullable": false
          },
          "is_global": {
            "type": "boolean",
            "nullable": false
          },
          "slug": {
            "type": "string",
            "nullable": false
          },
          "contact_email": {
            "type": "string",
            "nullable": false
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "nullable": true
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "allow_saml_authentication": {
            "type": "boolean",
            "nullable": false
          },
          "country_of_operation": {
            "type": "string",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<Tenants>, 'id' | 'e_dbpwd' | 'db_user' | 'modified_at' | 'created_at' | 'created_by' | 'modified_by'>"
      },
      "NewTenantSubscriptions": {
        "title": "NewTenantSubscriptions",
        "type": "object",
        "description": "(tsType: Omit<TenantSubscriptions, 'id' | 'created_at' | 'modified_at' | 'tenant_id'>, schemaOptions: { title: 'NewTenantSubscriptions', exclude: [ 'id', 'created_at', 'modified_at', 'tenant_id' ] })",
        "properties": {
          "stripe_subscription_id": {
            "type": "string",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "start_date": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "end_date": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "cancle_at_period_end": {
            "type": "boolean",
            "nullable": false
          },
          "plan_id": {
            "type": "number",
            "nullable": false
          },
          "subscribed_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "stripe_subscription_id",
          "status",
          "start_date",
          "end_date",
          "plan_id",
          "subscribed_by"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TenantSubscriptions, 'id' | 'created_at' | 'modified_at' | 'tenant_id'>"
      },
      "Plans": {
        "title": "Plans",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "product_name": {
            "type": "string",
            "nullable": false
          },
          "product_id": {
            "type": "string",
            "nullable": false
          },
          "price_id": {
            "type": "string",
            "nullable": false
          },
          "price_look_up_key": {
            "type": "string",
            "nullable": false
          },
          "price": {
            "type": "number",
            "nullable": false
          },
          "tenure_in_months": {
            "type": "number",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "features": {
            "type": "object",
            "nullable": false
          },
          "plan_type": {
            "type": "string",
            "nullable": false
          },
          "currency": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "required": [
          "product_name",
          "product_id",
          "price_id",
          "price_look_up_key",
          "price",
          "tenure_in_months",
          "status",
          "features",
          "plan_type",
          "currency"
        ],
        "additionalProperties": false
      },
      "TenantSubscriptionsWithRelations": {
        "title": "TenantSubscriptionsWithRelations",
        "type": "object",
        "description": "(tsType: TenantSubscriptionsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "stripe_subscription_id": {
            "type": "string",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "start_date": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "end_date": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "cancle_at_period_end": {
            "type": "boolean",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "plan_id": {
            "type": "number",
            "nullable": false
          },
          "subscribed_by": {
            "type": "number",
            "nullable": false
          },
          "plan": {
            "$ref": "#/components/schemas/Plans"
          },
          "foreignKey": {},
          "subscriber": {
            "$ref": "#/components/schemas/Users"
          }
        },
        "required": [
          "stripe_subscription_id",
          "status",
          "start_date",
          "end_date",
          "plan_id",
          "subscribed_by"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TenantSubscriptionsWithRelations"
      },
      "TenantSubscriptionsPartialExcluding_id-created_at-modified_at_": {
        "title": "TenantSubscriptionsPartialExcluding_id-created_at-modified_at_",
        "type": "object",
        "description": "(tsType: Omit<Partial<TenantSubscriptions>, 'id' | 'created_at' | 'modified_at'>, schemaOptions: { partial: true, exclude: [ 'id', 'created_at', 'modified_at' ] })",
        "properties": {
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "stripe_subscription_id": {
            "type": "string",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "start_date": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "end_date": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "cancle_at_period_end": {
            "type": "boolean",
            "nullable": false
          },
          "plan_id": {
            "type": "number",
            "nullable": false
          },
          "subscribed_by": {
            "type": "number",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<TenantSubscriptions>, 'id' | 'created_at' | 'modified_at'>"
      },
      "Validity": {
        "title": "Validity",
        "type": "object",
        "properties": {
          "starts_at": {
            "type": "string",
            "format": "date"
          },
          "expires_at": {
            "type": "string"
          }
        },
        "required": [
          "starts_at",
          "expires_at"
        ],
        "additionalProperties": false
      },
      "BucketLimits": {
        "title": "BucketLimits",
        "type": "object",
        "properties": {
          "max_bucket_count": {
            "type": "object",
            "required": [
              "value",
              "unit"
            ],
            "properties": {
              "value": {
                "type": "number"
              }
            }
          },
          "bot_knowledge_megabytes": {
            "type": "object",
            "required": [
              "value",
              "unit"
            ],
            "properties": {
              "value": {
                "type": "number"
              },
              "unit": {
                "type": "string"
              }
            }
          }
        },
        "required": [
          "max_bucket_count",
          "bot_knowledge_megabytes"
        ],
        "additionalProperties": false
      },
      "ChatBotLimits": {
        "title": "ChatBotLimits",
        "type": "object",
        "properties": {
          "max_bot_count": {
            "type": "object",
            "required": [
              "value"
            ],
            "properties": {
              "value": {
                "type": "number"
              }
            }
          }
        },
        "required": [
          "max_bot_count"
        ],
        "additionalProperties": false
      },
      "ConversationLimits": {
        "title": "ConversationLimits",
        "type": "object",
        "properties": {
          "log_retention_days": {
            "type": "object",
            "required": [
              "value",
              "unit"
            ],
            "properties": {
              "value": {
                "type": "number"
              },
              "unit": {
                "type": "string"
              }
            }
          },
          "default_conversation_quota": {
            "type": "object",
            "required": [
              "value"
            ],
            "properties": {
              "value": {
                "type": "number"
              }
            }
          }
        },
        "required": [
          "log_retention_days",
          "default_conversation_quota"
        ],
        "additionalProperties": false
      },
      "TeamLimits": {
        "title": "TeamLimits",
        "type": "object",
        "properties": {
          "max_team_size": {
            "type": "object",
            "required": [
              "value"
            ],
            "properties": {
              "value": {
                "type": "number"
              }
            }
          }
        },
        "required": [
          "max_team_size"
        ],
        "additionalProperties": false
      },
      "Limits": {
        "title": "Limits",
        "type": "object",
        "properties": {
          "bucket": {
            "$ref": "#/components/schemas/BucketLimits"
          },
          "chat_bot": {
            "$ref": "#/components/schemas/ChatBotLimits"
          },
          "conversations": {
            "$ref": "#/components/schemas/ConversationLimits"
          },
          "team": {
            "$ref": "#/components/schemas/TeamLimits"
          }
        },
        "required": [
          "bucket",
          "chat_bot",
          "conversations",
          "team"
        ],
        "additionalProperties": false
      },
      "OrganizationSettings": {
        "title": "OrganizationSettings",
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "tenant_details": {
            "type": "boolean"
          },
          "saml_authentication": {
            "type": "boolean"
          },
          "tenant_branding": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled",
          "tenant_details",
          "saml_authentication",
          "tenant_branding"
        ],
        "additionalProperties": false
      },
      "ChatSettings": {
        "title": "ChatSettings",
        "type": "object",
        "properties": {
          "chat_log_retention": {
            "type": "boolean"
          },
          "sentiment_analysis": {
            "type": "boolean"
          }
        },
        "required": [
          "chat_log_retention",
          "sentiment_analysis"
        ],
        "additionalProperties": false
      },
      "ReportDashboard": {
        "title": "ReportDashboard",
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "permission_level": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "allow_export": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled",
          "permission_level",
          "allow_export"
        ],
        "additionalProperties": false
      },
      "AdvancedTuning": {
        "title": "AdvancedTuning",
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "view_multilingual_settings": {
            "type": "boolean"
          },
          "no_match_reply": {
            "type": "boolean"
          }
        },
        "required": [
          "enabled",
          "view_multilingual_settings",
          "no_match_reply"
        ],
        "additionalProperties": false
      },
      "PlatformIntegrations": {
        "title": "PlatformIntegrations",
        "type": "object",
        "properties": {
          "client_website": {
            "type": "boolean"
          },
          "docubucket_mobile_app": {
            "type": "boolean"
          },
          "docubucket_web_app": {
            "type": "boolean"
          },
          "client_web_app": {
            "type": "boolean"
          }
        },
        "required": [
          "docubucket_mobile_app",
          "docubucket_web_app",
          "client_web_app"
        ],
        "additionalProperties": false
      },
      "SupportSettings": {
        "title": "SupportSettings",
        "type": "object",
        "properties": {
          "level": {
            "type": "string"
          }
        },
        "required": [
          "level"
        ],
        "additionalProperties": false
      },
      "Features": {
        "title": "Features",
        "type": "object",
        "properties": {
          "organization_settings": {
            "$ref": "#/components/schemas/OrganizationSettings"
          },
          "chat_settings": {
            "$ref": "#/components/schemas/ChatSettings"
          },
          "report_dashboard": {
            "$ref": "#/components/schemas/ReportDashboard"
          },
          "advanced_tuning": {
            "$ref": "#/components/schemas/AdvancedTuning"
          },
          "platform_integrations": {
            "$ref": "#/components/schemas/PlatformIntegrations"
          },
          "support": {
            "$ref": "#/components/schemas/SupportSettings"
          }
        },
        "required": [
          "organization_settings",
          "chat_settings",
          "report_dashboard",
          "advanced_tuning",
          "platform_integrations",
          "support"
        ],
        "additionalProperties": false
      },
      "TenantFeatures": {
        "title": "TenantFeatures",
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "validity": {
            "$ref": "#/components/schemas/Validity"
          },
          "limits": {
            "$ref": "#/components/schemas/Limits"
          },
          "features": {
            "$ref": "#/components/schemas/Features"
          }
        },
        "required": [
          "version",
          "limits",
          "features"
        ],
        "additionalProperties": false
      },
      "SubscriptionEligibiltyResponse": {
        "title": "SubscriptionEligibiltyResponse",
        "type": "object",
        "properties": {
          "is_redirect": {
            "type": "boolean"
          },
          "extra_items": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "existing_plan": {
            "$ref": "#/components/schemas/TenantFeatures"
          },
          "existing_plan_name": {
            "type": "string"
          }
        },
        "required": [
          "is_redirect",
          "extra_items",
          "existing_plan",
          "existing_plan_name"
        ],
        "additionalProperties": false
      },
      "FeaturesConsumptionResponse": {
        "title": "FeaturesConsumptionResponse",
        "type": "object",
        "properties": {
          "consumed_bucket_storage": {
            "type": "number"
          },
          "bot_count": {
            "type": "number"
          },
          "bucket_count": {
            "type": "number"
          },
          "team_member_count": {
            "type": "number"
          },
          "id": {
            "type": "number"
          },
          "plan_id": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "subscribed_by": {
            "type": "number"
          },
          "start_date": {
            "type": "number"
          },
          "end_date": {
            "type": "string",
            "format": "date-time"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "modified_at": {
            "type": "string",
            "format": "date-time"
          },
          "plan": {
            "$ref": "#/components/schemas/Plans"
          }
        },
        "required": [
          "consumed_bucket_storage",
          "bot_count",
          "bucket_count",
          "team_member_count",
          "id",
          "plan_id",
          "status",
          "subscribed_by",
          "start_date",
          "end_date",
          "created_at",
          "modified_at",
          "plan"
        ],
        "additionalProperties": false
      },
      "NewTenantSamlConfig": {
        "title": "NewTenantSamlConfig",
        "type": "object",
        "description": "(tsType: Omit<TenantSamlConfig, 'id' | 'tenant_id' | 'created_at' | 'modified_at'>, schemaOptions: { title: 'NewTenantSamlConfig', exclude: [ 'id', 'tenant_id', 'created_at', 'modified_at' ] })",
        "properties": {
          "identity_provider": {
            "type": "string",
            "nullable": false
          },
          "domain": {
            "type": "string",
            "nullable": false
          },
          "saml_sso_login_url": {
            "type": "string",
            "nullable": false
          },
          "ms_saml_cert_encrypted": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "identity_provider",
          "domain",
          "saml_sso_login_url",
          "ms_saml_cert_encrypted"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TenantSamlConfig, 'id' | 'tenant_id' | 'created_at' | 'modified_at'>"
      },
      "SamlCertificate": {
        "title": "SamlCertificate",
        "type": "object",
        "properties": {
          "is_expired": {
            "type": "boolean"
          },
          "expires_at": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "TenantSamlConfigWithCertificate": {
        "title": "TenantSamlConfigWithCertificate",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "identity_provider": {
            "type": "string",
            "nullable": false
          },
          "domain": {
            "type": "string",
            "nullable": false
          },
          "saml_sso_login_url": {
            "type": "string",
            "nullable": false
          },
          "ms_saml_cert_encrypted": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "certificate": {
            "$ref": "#/components/schemas/SamlCertificate"
          }
        },
        "required": [
          "identity_provider",
          "domain",
          "saml_sso_login_url",
          "ms_saml_cert_encrypted"
        ],
        "additionalProperties": false
      },
      "TenantSamlConfigResponseWithRelations": {
        "title": "TenantSamlConfigResponseWithRelations",
        "type": "object",
        "description": "(tsType: TenantSamlConfigResponseWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantSamlConfigWithCertificate"
            }
          },
          "saml_identifier_url": {
            "type": "string"
          },
          "saml_callback_url": {
            "type": "string"
          },
          "saml_provisioning_url": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "TenantSamlConfigResponseWithRelations"
      },
      "ScimConfigs": {
        "title": "ScimConfigs",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "scim_token": {
            "type": "string",
            "nullable": false
          },
          "masked_token": {
            "type": "string",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_saml_config_id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "modified_by": {
            "type": "number",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "scim_token",
          "expires_at",
          "tenant_saml_config_id"
        ],
        "additionalProperties": false
      },
      "TenantSamlConfigWithRelations": {
        "title": "TenantSamlConfigWithRelations",
        "type": "object",
        "description": "(tsType: TenantSamlConfigWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "identity_provider": {
            "type": "string",
            "nullable": false
          },
          "domain": {
            "type": "string",
            "nullable": false
          },
          "saml_sso_login_url": {
            "type": "string",
            "nullable": false
          },
          "ms_saml_cert_encrypted": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenants"
          },
          "foreignKey": {},
          "scimConfigs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ScimConfigs"
            }
          }
        },
        "required": [
          "identity_provider",
          "domain",
          "saml_sso_login_url",
          "ms_saml_cert_encrypted"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TenantSamlConfigWithRelations"
      },
      "TenantSamlConfigPartialExcluding_id-tenant_id-created_at-modified_at_": {
        "title": "TenantSamlConfigPartialExcluding_id-tenant_id-created_at-modified_at_",
        "type": "object",
        "description": "(tsType: Omit<Partial<TenantSamlConfig>, 'id' | 'tenant_id' | 'created_at' | 'modified_at'>, schemaOptions: { partial: true, exclude: [ 'id', 'tenant_id', 'created_at', 'modified_at' ] })",
        "properties": {
          "identity_provider": {
            "type": "string",
            "nullable": false
          },
          "domain": {
            "type": "string",
            "nullable": false
          },
          "saml_sso_login_url": {
            "type": "string",
            "nullable": false
          },
          "ms_saml_cert_encrypted": {
            "type": "string",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<TenantSamlConfig>, 'id' | 'tenant_id' | 'created_at' | 'modified_at'>"
      },
      "NewTenantEnterprisePlanMappings": {
        "title": "NewTenantEnterprisePlanMappings",
        "type": "object",
        "description": "(tsType: Omit<TenantEnterprisePlanMappings, 'id' | 'created_at' | 'modified_at'>, schemaOptions: { title: 'NewTenantEnterprisePlanMappings', exclude: [ 'id', 'created_at', 'modified_at' ] })",
        "properties": {
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "plan_id": {
            "type": "number"
          }
        },
        "required": [
          "tenant_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TenantEnterprisePlanMappings, 'id' | 'created_at' | 'modified_at'>"
      },
      "TenantEnterprisePlanMappingsWithRelations": {
        "title": "TenantEnterprisePlanMappingsWithRelations",
        "type": "object",
        "description": "(tsType: TenantEnterprisePlanMappingsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "plan_id": {
            "type": "number"
          },
          "plan": {
            "$ref": "#/components/schemas/Plans"
          },
          "foreignKey": {}
        },
        "required": [
          "tenant_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TenantEnterprisePlanMappingsWithRelations"
      },
      "TenantEnterprisePlanMappingsPartialExcluding_id-created_at-modified_at_": {
        "title": "TenantEnterprisePlanMappingsPartialExcluding_id-created_at-modified_at_",
        "type": "object",
        "description": "(tsType: Omit<Partial<TenantEnterprisePlanMappings>, 'id' | 'created_at' | 'modified_at'>, schemaOptions: { partial: true, exclude: [ 'id', 'created_at', 'modified_at' ] })",
        "properties": {
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "plan_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<TenantEnterprisePlanMappings>, 'id' | 'created_at' | 'modified_at'>"
      },
      "TenantConversations": {
        "title": "TenantConversations",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "units_purchased": {
            "type": "number",
            "nullable": false
          },
          "total_amount": {
            "type": "number",
            "nullable": false
          },
          "product_id": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "price_lookup_key": {
            "type": "string",
            "nullable": true
          },
          "units_used": {
            "type": "number",
            "nullable": false
          },
          "is_expired": {
            "type": "boolean",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "purchased_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "units_purchased",
          "total_amount",
          "product_id",
          "units_used",
          "tenant_id",
          "purchased_by"
        ],
        "additionalProperties": false
      },
      "NewTenantConversations": {
        "title": "NewTenantConversations",
        "type": "object",
        "description": "(tsType: Omit<TenantConversations, 'id' | 'created_at' | 'modified_at' | 'tenant_id' | 'is_expired'>, schemaOptions: { title: 'NewTenantConversations', exclude: [ 'id', 'created_at', 'modified_at', 'tenant_id', 'is_expired' ] })",
        "properties": {
          "units_purchased": {
            "type": "number",
            "nullable": false
          },
          "total_amount": {
            "type": "number",
            "nullable": false
          },
          "product_id": {
            "type": "string",
            "nullable": false
          },
          "price_lookup_key": {
            "type": "string",
            "nullable": true
          },
          "units_used": {
            "type": "number",
            "nullable": false
          },
          "purchased_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "units_purchased",
          "total_amount",
          "product_id",
          "units_used",
          "purchased_by"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TenantConversations, 'id' | 'created_at' | 'modified_at' | 'tenant_id' | 'is_expired'>"
      },
      "TenantConversationsWithRelations": {
        "title": "TenantConversationsWithRelations",
        "type": "object",
        "description": "(tsType: TenantConversationsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "units_purchased": {
            "type": "number",
            "nullable": false
          },
          "total_amount": {
            "type": "number",
            "nullable": false
          },
          "product_id": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "price_lookup_key": {
            "type": "string",
            "nullable": true
          },
          "units_used": {
            "type": "number",
            "nullable": false
          },
          "is_expired": {
            "type": "boolean",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "purchased_by": {
            "type": "number",
            "nullable": false
          },
          "tenant": {
            "$ref": "#/components/schemas/Tenants"
          },
          "foreignKey": {},
          "purchaser": {
            "$ref": "#/components/schemas/Users"
          }
        },
        "required": [
          "units_purchased",
          "total_amount",
          "product_id",
          "units_used",
          "tenant_id",
          "purchased_by"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TenantConversationsWithRelations"
      },
      "TenantConversationsPartialExcluding_id-created_at-modified_at-tenant_id-is_expired_": {
        "title": "TenantConversationsPartialExcluding_id-created_at-modified_at-tenant_id-is_expired_",
        "type": "object",
        "description": "(tsType: Omit<Partial<TenantConversations>, 'id' | 'created_at' | 'modified_at' | 'tenant_id' | 'is_expired'>, schemaOptions: { exclude: [ 'id', 'created_at', 'modified_at', 'tenant_id', 'is_expired' ], partial: true })",
        "properties": {
          "units_purchased": {
            "type": "number",
            "nullable": false
          },
          "total_amount": {
            "type": "number",
            "nullable": false
          },
          "product_id": {
            "type": "string",
            "nullable": false
          },
          "price_lookup_key": {
            "type": "string",
            "nullable": true
          },
          "units_used": {
            "type": "number",
            "nullable": false
          },
          "purchased_by": {
            "type": "number",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<TenantConversations>, 'id' | 'created_at' | 'modified_at' | 'tenant_id' | 'is_expired'>"
      },
      "UnitsSummary": {
        "title": "UnitsSummary",
        "type": "object",
        "properties": {
          "remaining_units": {
            "type": "number"
          },
          "total_units": {
            "type": "number"
          },
          "total_used_units": {
            "type": "number"
          }
        },
        "required": [
          "remaining_units",
          "total_units",
          "total_used_units"
        ],
        "additionalProperties": false
      },
      "TenantConversationsQuotaFilter": {
        "title": "TenantConversationsQuotaFilter",
        "type": "object",
        "properties": {
          "limit": {
            "type": "number"
          },
          "offset": {
            "type": "number"
          },
          "order": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "TenantBrandingsWithRelations": {
        "title": "TenantBrandingsWithRelations",
        "type": "object",
        "description": "(tsType: TenantBrandingsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "category": {
            "type": "string",
            "nullable": false,
            "enum": [
              "logo",
              "icon"
            ]
          },
          "gcs_name": {
            "type": "string",
            "nullable": false
          },
          "size": {
            "type": "number",
            "nullable": false
          },
          "mime_type": {
            "type": "string",
            "nullable": false
          },
          "gcs_bucket": {
            "type": "string",
            "nullable": false
          },
          "uploaded_by": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "required": [
          "tenant_id",
          "category",
          "gcs_name",
          "size",
          "mime_type",
          "gcs_bucket",
          "uploaded_by"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TenantBrandingsWithRelations"
      },
      "TenantBrandingsPartial": {
        "title": "TenantBrandingsPartial",
        "type": "object",
        "description": "(tsType: Partial<TenantBrandings>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "category": {
            "type": "string",
            "nullable": false,
            "enum": [
              "logo",
              "icon"
            ]
          },
          "gcs_name": {
            "type": "string",
            "nullable": false
          },
          "size": {
            "type": "number",
            "nullable": false
          },
          "mime_type": {
            "type": "string",
            "nullable": false
          },
          "gcs_bucket": {
            "type": "string",
            "nullable": false
          },
          "uploaded_by": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<TenantBrandings>"
      },
      "TenantBrandingURLResponse": {
        "title": "TenantBrandingURLResponse",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "type": {
            "type": "string"
          },
          "mimetype": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "mimetype",
          "url"
        ],
        "additionalProperties": false
      },
      "NewScimConfigs": {
        "title": "NewScimConfigs",
        "type": "object",
        "description": "(tsType: Omit<ScimConfigsRequest, 'id' | 'is_active' | 'created_by' | 'modified_by' | 'created_at' | 'modified_at' | 'tenant_id' | 'masked_token'>, schemaOptions: { title: 'NewScimConfigs', exclude: [ 'id', 'is_active', 'created_by', 'modified_by', 'created_at', 'modified_at', 'tenant_id', 'masked_token' ] })",
        "properties": {
          "scim_token": {
            "type": "string",
            "nullable": false
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_saml_config_id": {
            "type": "number",
            "nullable": false
          },
          "plain_token": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "scim_token",
          "expires_at",
          "tenant_saml_config_id",
          "plain_token"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ScimConfigsRequest, 'id' | 'is_active' | 'created_by' | 'modified_by' | 'created_at' | 'modified_at' | 'tenant_id' | 'masked_token'>"
      },
      "TenantSamlConfigExcluding_scim_token_": {
        "title": "TenantSamlConfigExcluding_scim_token_",
        "type": "object",
        "description": "(tsType: Omit<TenantSamlConfig, 'scim_token'>, schemaOptions: { exclude: [ 'scim_token' ] })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "identity_provider": {
            "type": "string",
            "nullable": false
          },
          "domain": {
            "type": "string",
            "nullable": false
          },
          "saml_sso_login_url": {
            "type": "string",
            "nullable": false
          },
          "ms_saml_cert_encrypted": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "identity_provider",
          "domain",
          "saml_sso_login_url",
          "ms_saml_cert_encrypted"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TenantSamlConfig, 'scim_token'>"
      },
      "TenantsExcluding_scim_token_": {
        "title": "TenantsExcluding_scim_token_",
        "type": "object",
        "description": "(tsType: Omit<Tenants, 'scim_token'>, schemaOptions: { exclude: [ 'scim_token' ] })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_name": {
            "type": "string",
            "nullable": false
          },
          "is_global": {
            "type": "boolean",
            "nullable": false
          },
          "slug": {
            "type": "string",
            "nullable": false
          },
          "db_user": {
            "type": "string",
            "nullable": false
          },
          "e_dbpwd": {
            "type": "string",
            "nullable": true
          },
          "contact_email": {
            "type": "string",
            "nullable": false
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "address_line2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip_code": {
            "type": "string",
            "nullable": true
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "allow_saml_authentication": {
            "type": "boolean",
            "nullable": false
          },
          "country_of_operation": {
            "type": "string",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "modified_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "tenant_name",
          "slug",
          "db_user",
          "contact_email",
          "is_active"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Tenants, 'scim_token'>"
      },
      "UsersExcluding_scim_token_": {
        "title": "UsersExcluding_scim_token_",
        "type": "object",
        "description": "(tsType: Omit<Users, 'scim_token'>, schemaOptions: { exclude: [ 'scim_token' ] })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "first_name": {
            "type": "string",
            "nullable": false
          },
          "last_name": {
            "type": "string",
            "nullable": false
          },
          "email": {
            "type": "string",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "email_verified": {
            "type": "boolean",
            "nullable": false
          },
          "verification_token": {
            "type": "string",
            "nullable": true
          },
          "customer_id": {
            "type": "string",
            "nullable": true
          },
          "phone_number": {
            "type": "string",
            "nullable": true
          },
          "billing_authority": {
            "type": "boolean",
            "nullable": false
          },
          "user_type": {
            "type": "string",
            "nullable": false,
            "enum": [
              "jwt_auth",
              "sso_auth"
            ]
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "role_id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "first_name",
          "last_name",
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Users, 'scim_token'>"
      },
      "ScimConfigsExcluding_scim_token_WithRelations": {
        "title": "ScimConfigsExcluding_scim_token_WithRelations",
        "type": "object",
        "description": "(tsType: Omit<ScimConfigsWithRelations, 'scim_token'>, schemaOptions: { exclude: [ 'scim_token' ], includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "masked_token": {
            "type": "string",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "expires_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_saml_config_id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "modified_by": {
            "type": "number",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "tenantSamlConfig": {
            "$ref": "#/components/schemas/TenantSamlConfigExcluding_scim_token_"
          },
          "foreignKey": {},
          "tenant": {
            "$ref": "#/components/schemas/TenantsExcluding_scim_token_"
          },
          "modifiedBy": {
            "$ref": "#/components/schemas/UsersExcluding_scim_token_"
          },
          "createdBy": {
            "$ref": "#/components/schemas/UsersExcluding_scim_token_"
          }
        },
        "required": [
          "expires_at",
          "tenant_saml_config_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ScimConfigsWithRelations, 'scim_token'>"
      },
      "ScimConfigsPartialExcluding_id-created_by-modified_by-created_at-modified_at-tenant_saml_config_id-tenant_id-scim_token-expires_at-masked_token_": {
        "title": "ScimConfigsPartialExcluding_id-created_by-modified_by-created_at-modified_at-tenant_saml_config_id-tenant_id-scim_token-expires_at-masked_token_",
        "type": "object",
        "description": "(tsType: Omit<Partial<ScimConfigs>, 'id' | 'created_by' | 'modified_by' | 'created_at' | 'modified_at' | 'tenant_saml_config_id' | 'tenant_id' | 'scim_token' | 'expires_at' | 'masked_token'>, schemaOptions: { partial: true, exclude: [ 'id', 'created_by', 'modified_by', 'created_at', 'modified_at', 'tenant_saml_config_id', 'tenant_id', 'scim_token', 'expires_at', 'masked_token' ] })",
        "properties": {
          "is_active": {
            "type": "boolean",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<ScimConfigs>, 'id' | 'created_by' | 'modified_by' | 'created_at' | 'modified_at' | 'tenant_saml_config_id' | 'tenant_id' | 'scim_token' | 'expires_at' | 'masked_token'>"
      },
      "SsoAuthTokenResponse": {
        "title": "SsoAuthTokenResponse",
        "type": "object",
        "properties": {
          "plainToken": {
            "type": "string"
          },
          "tokenHash": {
            "type": "string"
          },
          "tenantId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewRoles": {
        "title": "NewRoles",
        "type": "object",
        "description": "(tsType: Omit<Roles, 'id' | 'modified_at' | 'created_at'>, schemaOptions: { title: 'NewRoles', exclude: [ 'id', 'modified_at', 'created_at' ] })",
        "properties": {
          "role_name": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "role_name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Roles, 'id' | 'modified_at' | 'created_at'>"
      },
      "RolesWithRelations": {
        "title": "RolesWithRelations",
        "type": "object",
        "description": "(tsType: RolesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "role_name": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "required": [
          "role_name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RolesWithRelations"
      },
      "RolesPartialExcluding_modified_at-created_at-id_": {
        "title": "RolesPartialExcluding_modified_at-created_at-id_",
        "type": "object",
        "description": "(tsType: Omit<Partial<Roles>, 'modified_at' | 'created_at' | 'id'>, schemaOptions: { partial: true, exclude: [ 'modified_at', 'created_at', 'id' ] })",
        "properties": {
          "role_name": {
            "type": "string",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<Roles>, 'modified_at' | 'created_at' | 'id'>"
      },
      "EmailPropertySchema": {
        "title": "EmailPropertySchema",
        "type": "object",
        "properties": {
          "to": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "email"
            },
            "minItems": 1,
            "uniqueItems": true
          }
        },
        "required": [
          "to"
        ],
        "additionalProperties": false
      },
      "RequestedIntegrationsPayload": {
        "title": "RequestedIntegrationsPayload",
        "type": "object",
        "properties": {
          "bot_id": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "platform_id": {
            "type": "number"
          },
          "email": {
            "$ref": "#/components/schemas/EmailPropertySchema"
          }
        },
        "required": [
          "bot_id",
          "platform_id",
          "email"
        ],
        "additionalProperties": false
      },
      "MstAvailableIntegrations": {
        "title": "MstAvailableIntegrations",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "platform_name": {
            "type": "string",
            "nullable": false
          },
          "is_deleted": {
            "type": "boolean",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "icon": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "category": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "platform_name",
          "icon",
          "category"
        ],
        "additionalProperties": false
      },
      "RequestedIntegrationsWithRelations": {
        "title": "RequestedIntegrationsWithRelations",
        "type": "object",
        "description": "(tsType: RequestedIntegrationsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "email": {
            "type": "object",
            "nullable": false
          },
          "is_integrated": {
            "type": "boolean",
            "nullable": false
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          },
          "platform_id": {
            "type": "number",
            "nullable": false
          },
          "users": {
            "$ref": "#/components/schemas/Users"
          },
          "foreignKey": {},
          "chat_bots": {
            "$ref": "#/components/schemas/ChatBots"
          },
          "available_integrations": {
            "$ref": "#/components/schemas/MstAvailableIntegrations"
          }
        },
        "required": [
          "email",
          "platform_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "RequestedIntegrationsWithRelations"
      },
      "RequestedIntegrationsPartialExcluding_id-modified_at-created_at_": {
        "title": "RequestedIntegrationsPartialExcluding_id-modified_at-created_at_",
        "type": "object",
        "description": "(tsType: Omit<Partial<RequestedIntegrations>, 'id' | 'modified_at' | 'created_at'>, schemaOptions: { partial: true, exclude: [ 'id', 'modified_at', 'created_at' ] })",
        "properties": {
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "email": {
            "type": "object",
            "nullable": false
          },
          "is_integrated": {
            "type": "boolean",
            "nullable": false
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "user_id": {
            "type": "number",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          },
          "platform_id": {
            "type": "number",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<RequestedIntegrations>, 'id' | 'modified_at' | 'created_at'>"
      },
      "ReportBucketUploadResponse": {
        "title": "ReportBucketUploadResponse",
        "type": "object",
        "properties": {
          "mime_type": {
            "type": "string"
          },
          "count": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "ReportBucketUploadRequest": {
        "title": "ReportBucketUploadRequest",
        "type": "object",
        "description": "(tsType: ReportBucketUploadRequest, schemaOptions: { title: 'ReportBucketUploadRequest' })",
        "properties": {
          "bot_buckets": {
            "type": "array",
            "items": {
              "type": "number"
            },
            "minItems": 1
          },
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ReportBucketUploadRequest"
      },
      "ChatbotConversationsReportResponse": {
        "title": "ChatbotConversationsReportResponse",
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "string"
          },
          "count": {
            "type": "number"
          },
          "created_at": {
            "type": "object",
            "properties": {
              "value": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        },
        "additionalProperties": false
      },
      "ReportChatbotConversationsRequest": {
        "title": "ReportChatbotConversationsRequest",
        "type": "object",
        "description": "(tsType: ChatbotConversationsReportRequest, schemaOptions: { title: 'ReportChatbotConversationsRequest' })",
        "properties": {
          "agent_id": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          },
          "spread_by_week": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ChatbotConversationsReportRequest"
      },
      "ChatbotConversationsReportRequest": {
        "title": "ChatbotConversationsReportRequest",
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          },
          "spread_by_week": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ConversationPurchasedResponse": {
        "title": "ConversationPurchasedResponse",
        "type": "object",
        "properties": {
          "month_label": {
            "type": "string"
          },
          "total_units_purchased": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "ReportConversationRequest": {
        "title": "ReportConversationRequest",
        "type": "object",
        "description": "(tsType: ConversationPurchasedRequest, schemaOptions: { title: 'ReportConversationRequest' })",
        "properties": {
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ConversationPurchasedRequest"
      },
      "ConversationPurchasedRequest": {
        "title": "ConversationPurchasedRequest",
        "type": "object",
        "properties": {
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "additionalProperties": false
      },
      "TopConversationUsersReportResponse": {
        "title": "TopConversationUsersReportResponse",
        "type": "object",
        "properties": {
          "user_id": {
            "type": "string"
          },
          "user_name": {
            "type": "string"
          },
          "count": {
            "type": "number"
          }
        },
        "required": [
          "user_id",
          "user_name",
          "count"
        ],
        "additionalProperties": false
      },
      "TopConversationUsersReportRequest": {
        "title": "TopConversationUsersReportRequest",
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "additionalProperties": false
      },
      "UserwiseConversationReportResponse": {
        "title": "UserwiseConversationReportResponse",
        "type": "object",
        "properties": {
          "user_id": {
            "type": "string"
          },
          "user_name": {
            "type": "string"
          },
          "agent_id": {
            "type": "string"
          },
          "count": {
            "type": "number"
          }
        },
        "required": [
          "user_id",
          "user_name",
          "agent_id",
          "count"
        ],
        "additionalProperties": false
      },
      "UserConversationReportRequest": {
        "title": "UserConversationReportRequest",
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          },
          "limit": {
            "type": "number"
          },
          "offset": {
            "type": "number"
          },
          "is_count": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ReportExportConversationResponse": {
        "title": "ReportExportConversationResponse",
        "type": "object",
        "properties": {
          "input": {
            "type": "string"
          },
          "output": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "agent_id": {
            "type": "string"
          },
          "request_time": {
            "type": "object"
          }
        },
        "required": [
          "agent_id"
        ],
        "additionalProperties": false
      },
      "ReportExportConversationRequest": {
        "title": "ReportExportConversationRequest",
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "additionalProperties": false
      },
      "SentimentsReportResponse": {
        "title": "SentimentsReportResponse",
        "type": "object",
        "properties": {
          "sentiment": {
            "type": "string"
          },
          "agent_id": {
            "type": "string"
          },
          "count": {
            "type": "number"
          }
        },
        "required": [
          "sentiment",
          "agent_id",
          "count"
        ],
        "additionalProperties": false
      },
      "SentimentsReportRequest": {
        "title": "SentimentsReportRequest",
        "type": "object",
        "properties": {
          "agent_id": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 1
          },
          "created_at": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          },
          "limit": {
            "type": "number"
          },
          "offset": {
            "type": "number"
          },
          "is_count": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NewPlans": {
        "title": "NewPlans",
        "type": "object",
        "description": "(tsType: Omit<Plans, 'id' | 'created_at' | 'modified_at'>, schemaOptions: { title: 'NewPlans', exclude: [ 'id', 'created_at', 'modified_at' ] })",
        "properties": {
          "product_name": {
            "type": "string",
            "nullable": false
          },
          "product_id": {
            "type": "string",
            "nullable": false
          },
          "price_id": {
            "type": "string",
            "nullable": false
          },
          "price_look_up_key": {
            "type": "string",
            "nullable": false
          },
          "price": {
            "type": "number",
            "nullable": false
          },
          "tenure_in_months": {
            "type": "number",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "features": {
            "type": "object",
            "nullable": false
          },
          "plan_type": {
            "type": "string",
            "nullable": false
          },
          "currency": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "product_name",
          "product_id",
          "price_id",
          "price_look_up_key",
          "price",
          "tenure_in_months",
          "status",
          "features",
          "plan_type",
          "currency"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Plans, 'id' | 'created_at' | 'modified_at'>"
      },
      "PlansWithRelations": {
        "title": "PlansWithRelations",
        "type": "object",
        "description": "(tsType: PlansWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "product_name": {
            "type": "string",
            "nullable": false
          },
          "product_id": {
            "type": "string",
            "nullable": false
          },
          "price_id": {
            "type": "string",
            "nullable": false
          },
          "price_look_up_key": {
            "type": "string",
            "nullable": false
          },
          "price": {
            "type": "number",
            "nullable": false
          },
          "tenure_in_months": {
            "type": "number",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "features": {
            "type": "object",
            "nullable": false
          },
          "plan_type": {
            "type": "string",
            "nullable": false
          },
          "currency": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "required": [
          "product_name",
          "product_id",
          "price_id",
          "price_look_up_key",
          "price",
          "tenure_in_months",
          "status",
          "features",
          "plan_type",
          "currency"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PlansWithRelations"
      },
      "PlansPartialExcluding_id-created_at-modified_at_": {
        "title": "PlansPartialExcluding_id-created_at-modified_at_",
        "type": "object",
        "description": "(tsType: Omit<Partial<Plans>, 'id' | 'created_at' | 'modified_at'>, schemaOptions: { partial: true, exclude: [ 'id', 'created_at', 'modified_at' ] })",
        "properties": {
          "product_name": {
            "type": "string",
            "nullable": false
          },
          "product_id": {
            "type": "string",
            "nullable": false
          },
          "price_id": {
            "type": "string",
            "nullable": false
          },
          "price_look_up_key": {
            "type": "string",
            "nullable": false
          },
          "price": {
            "type": "number",
            "nullable": false
          },
          "tenure_in_months": {
            "type": "number",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "features": {
            "type": "object",
            "nullable": false
          },
          "plan_type": {
            "type": "string",
            "nullable": false
          },
          "currency": {
            "type": "string",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<Plans>, 'id' | 'created_at' | 'modified_at'>"
      },
      "LoginCodeRequest": {
        "title": "LoginCodeRequest",
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "format": "email"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "LoginRequest": {
        "title": "LoginRequest",
        "type": "object",
        "properties": {
          "user_id": {
            "type": "number"
          },
          "otp": {
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "otp"
        ],
        "additionalProperties": false
      },
      "AuthDiscoveryResponse": {
        "title": "AuthDiscoveryResponse",
        "type": "object",
        "properties": {
          "sso_enabled": {
            "type": "boolean"
          },
          "tenant_id": {
            "type": "number"
          },
          "redirect_to": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "HealthCheckModel": {
        "title": "HealthCheckModel",
        "type": "object",
        "properties": {
          "uptime": {
            "type": "number"
          },
          "responsetime": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "message": {
            "type": "string"
          },
          "timestamp": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "GenaiCustomizePrompts": {
        "title": "GenaiCustomizePrompts",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          },
          "event_name": {
            "type": "string",
            "nullable": false
          },
          "event_type": {
            "type": "string",
            "nullable": false,
            "enum": [
              "event_handler",
              "transition_routes",
              "data_store"
            ]
          },
          "instructions": {
            "type": "string",
            "nullable": false
          },
          "model": {
            "type": "string",
            "nullable": false
          },
          "agent_id": {
            "type": "string",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "required": [
          "bot_id",
          "event_name",
          "event_type",
          "instructions"
        ],
        "additionalProperties": false
      },
      "NewGenaiCustomizePrompts": {
        "title": "NewGenaiCustomizePrompts",
        "type": "object",
        "description": "(tsType: Omit<GenaiCustomizePrompts, 'id' | 'tenant_id' | 'created_by' | 'created_at' | 'modified_at'>, schemaOptions: { title: 'NewGenaiCustomizePrompts', exclude: [ 'id', 'tenant_id', 'created_by', 'created_at', 'modified_at' ] })",
        "properties": {
          "bot_id": {
            "type": "number",
            "nullable": false
          },
          "event_name": {
            "type": "string",
            "nullable": false
          },
          "event_type": {
            "type": "string",
            "nullable": false,
            "enum": [
              "event_handler",
              "transition_routes",
              "data_store"
            ]
          },
          "instructions": {
            "type": "string",
            "nullable": false
          },
          "model": {
            "type": "string",
            "nullable": false
          },
          "agent_id": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "bot_id",
          "event_name",
          "event_type",
          "instructions"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<GenaiCustomizePrompts, 'id' | 'tenant_id' | 'created_by' | 'created_at' | 'modified_at'>"
      },
      "GenaiCustomizePromptsWithRelations": {
        "title": "GenaiCustomizePromptsWithRelations",
        "type": "object",
        "description": "(tsType: GenaiCustomizePromptsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          },
          "event_name": {
            "type": "string",
            "nullable": false
          },
          "event_type": {
            "type": "string",
            "nullable": false,
            "enum": [
              "event_handler",
              "transition_routes",
              "data_store"
            ]
          },
          "instructions": {
            "type": "string",
            "nullable": false
          },
          "model": {
            "type": "string",
            "nullable": false
          },
          "agent_id": {
            "type": "string",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          }
        },
        "required": [
          "bot_id",
          "event_name",
          "event_type",
          "instructions"
        ],
        "additionalProperties": false,
        "x-typescript-type": "GenaiCustomizePromptsWithRelations"
      },
      "GenaiCustomizePromptsPartialExcluding_id-tenant_id-created_by-created_at-modified_at_": {
        "title": "GenaiCustomizePromptsPartialExcluding_id-tenant_id-created_by-created_at-modified_at_",
        "type": "object",
        "description": "(tsType: Omit<Partial<GenaiCustomizePrompts>, 'id' | 'tenant_id' | 'created_by' | 'created_at' | 'modified_at'>, schemaOptions: { partial: true, exclude: [ 'id', 'tenant_id', 'created_by', 'created_at', 'modified_at' ] })",
        "properties": {
          "bot_id": {
            "type": "number",
            "nullable": false
          },
          "event_name": {
            "type": "string",
            "nullable": false
          },
          "event_type": {
            "type": "string",
            "nullable": false,
            "enum": [
              "event_handler",
              "transition_routes",
              "data_store"
            ]
          },
          "instructions": {
            "type": "string",
            "nullable": false
          },
          "model": {
            "type": "string",
            "nullable": false
          },
          "agent_id": {
            "type": "string",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<GenaiCustomizePrompts>, 'id' | 'tenant_id' | 'created_by' | 'created_at' | 'modified_at'>"
      },
      "GeminiPromptResponse": {
        "title": "GeminiPromptResponse",
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "GeminiPromptRequest": {
        "title": "GeminiPromptRequest",
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "text"
        ],
        "additionalProperties": false
      },
      "NewCustomer": {
        "title": "NewCustomer",
        "type": "object",
        "description": "(tsType: Omit<CustomerSignUpRequest, 'role_id' | 'verification_token' | 'tenant_id' | 'customer_id' | 'billing_authority'>, schemaOptions: { title: 'NewCustomer', exclude: [ 'role_id', 'verification_token', 'tenant_id', 'customer_id', 'billing_authority' ] })",
        "properties": {
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone_number": {
            "type": "string"
          },
          "price_lookup_key": {
            "type": "string"
          },
          "conversation_id": {
            "type": "string"
          },
          "conversation_quantity": {
            "type": "number"
          },
          "country_of_operation": {
            "type": "string"
          }
        },
        "required": [
          "first_name",
          "last_name",
          "email",
          "country_of_operation"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<CustomerSignUpRequest, 'role_id' | 'verification_token' | 'tenant_id' | 'customer_id' | 'billing_authority'>"
      },
      "CustomerSignUpRequest": {
        "title": "CustomerSignUpRequest",
        "type": "object",
        "properties": {
          "tenant_id": {
            "type": "number"
          },
          "first_name": {
            "type": "string"
          },
          "last_name": {
            "type": "string"
          },
          "customer_id": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone_number": {
            "type": "string"
          },
          "verification_token": {
            "type": "string"
          },
          "role_id": {
            "type": "number"
          },
          "billing_authority": {
            "type": "number"
          },
          "price_lookup_key": {
            "type": "string"
          },
          "conversation_id": {
            "type": "string"
          },
          "conversation_quantity": {
            "type": "number"
          },
          "country_of_operation": {
            "type": "string"
          }
        },
        "required": [
          "first_name",
          "last_name",
          "email",
          "country_of_operation"
        ],
        "additionalProperties": false
      },
      "WhereElements": {
        "title": "WhereElements",
        "type": "object",
        "properties": {
          "tenantId": {
            "type": "string",
            "nullable": true,
            "minLength": 1
          },
          "userId": {
            "type": "string",
            "nullable": true,
            "minLength": 1
          },
          "userName": {
            "type": "string",
            "nullable": true,
            "minLength": 1
          },
          "sessionId": {
            "type": "string",
            "minLength": 1
          },
          "request_time": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "minItems": 2,
            "maxItems": 2
          }
        },
        "additionalProperties": false
      },
      "RequestTime": {
        "title": "RequestTime",
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "value"
        ],
        "additionalProperties": false
      },
      "ConversationHistoryResponse": {
        "title": "ConversationHistoryResponse",
        "type": "object",
        "properties": {
          "input": {
            "type": "string"
          },
          "output": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tenantId": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "agentId": {
            "type": "string"
          },
          "sessionId": {
            "type": "string"
          },
          "request_time": {
            "$ref": "#/components/schemas/RequestTime"
          }
        },
        "required": [
          "agentId",
          "sessionId"
        ],
        "additionalProperties": false
      },
      "ConversationHistoryFilter": {
        "title": "ConversationHistoryFilter",
        "type": "object",
        "properties": {
          "limit": {
            "type": "number"
          },
          "offset": {
            "type": "number"
          },
          "order": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "where": {
            "$ref": "#/components/schemas/WhereElements"
          }
        },
        "additionalProperties": false
      },
      "NewContactUs": {
        "title": "NewContactUs",
        "type": "object",
        "description": "(tsType: ContactUsPayload, schemaOptions: { title: 'NewContactUs' })",
        "properties": {
          "name": {
            "type": "string",
            "nullable": false
          },
          "email": {
            "type": "string",
            "nullable": false,
            "format": "email"
          },
          "message": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "name",
          "email",
          "message"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ContactUsPayload"
      },
      "ContactUsPayload": {
        "title": "ContactUsPayload",
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": false
          },
          "email": {
            "type": "string",
            "nullable": false,
            "format": "email"
          },
          "message": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "name",
          "email",
          "message"
        ],
        "additionalProperties": false
      },
      "NewContactSales": {
        "title": "NewContactSales",
        "type": "object",
        "description": "(tsType: ContactSalesPayload, schemaOptions: { title: 'NewContactSales' })",
        "properties": {
          "email": {
            "type": "string",
            "nullable": false,
            "format": "email"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "first_name": {
            "type": "string",
            "nullable": false
          },
          "last_name": {
            "type": "string",
            "nullable": false
          },
          "organization_name": {
            "type": "string",
            "nullable": true
          },
          "job_title": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "email",
          "first_name",
          "last_name",
          "country"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ContactSalesPayload"
      },
      "ContactSalesPayload": {
        "title": "ContactSalesPayload",
        "type": "object",
        "properties": {
          "email": {
            "type": "string",
            "nullable": false,
            "format": "email"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "first_name": {
            "type": "string",
            "nullable": false
          },
          "last_name": {
            "type": "string",
            "nullable": false
          },
          "organization_name": {
            "type": "string",
            "nullable": true
          },
          "job_title": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "email",
          "first_name",
          "last_name",
          "country"
        ],
        "additionalProperties": false
      },
      "NewChatBots": {
        "title": "NewChatBots",
        "type": "object",
        "description": "(tsType: Omit<ChatBots, 'id' | 'app_id' | 'agent_id' | 'created_at' | 'created_by' | 'modified_at' | 'tenant_id' | 'gcp_project_id' | 'agent_name' | 'is_active'>, schemaOptions: { title: 'NewChatBots', exclude: [ 'id', 'app_id', 'agent_id', 'created_at', 'created_by', 'modified_at', 'tenant_id', 'gcp_project_id', 'agent_name', 'is_active' ] })",
        "properties": {
          "app_name": {
            "type": "string",
            "nullable": false
          },
          "show_disclaimer": {
            "type": "boolean",
            "nullable": false
          },
          "disclaimer_text": {
            "type": "string",
            "nullable": false
          },
          "bot_bucket_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "app_name",
          "bot_bucket_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ChatBots, 'id' | 'app_id' | 'agent_id' | 'created_at' | 'created_by' | 'modified_at' | 'tenant_id' | 'gcp_project_id' | 'agent_name' | 'is_active'>"
      },
      "BotBuckets": {
        "title": "BotBuckets",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "name": {
            "type": "string",
            "nullable": false
          },
          "store_id": {
            "type": "string",
            "nullable": false
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "gcp_project_id": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "name",
          "store_id"
        ],
        "additionalProperties": false
      },
      "ChatBotsWithRelations": {
        "title": "ChatBotsWithRelations",
        "type": "object",
        "description": "(tsType: ChatBotsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "app_name": {
            "type": "string",
            "nullable": false
          },
          "app_id": {
            "type": "string",
            "nullable": false
          },
          "agent_id": {
            "type": "string",
            "nullable": false
          },
          "agent_name": {
            "type": "string",
            "nullable": false
          },
          "gcp_project_id": {
            "type": "string",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "show_disclaimer": {
            "type": "boolean",
            "nullable": false
          },
          "disclaimer_text": {
            "type": "string",
            "nullable": false
          },
          "bot_bucket_id": {
            "type": "number",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "bot_bucket": {
            "$ref": "#/components/schemas/BotBuckets"
          },
          "foreignKey": {},
          "creator": {
            "$ref": "#/components/schemas/Users"
          },
          "genaiCustomizePrompts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GenaiCustomizePrompts"
            }
          }
        },
        "required": [
          "app_name",
          "bot_bucket_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ChatBotsWithRelations"
      },
      "ChatBotsPartialExcluding_id-created_at-created_by-modified_at-tenant_id-gcp_project_id-app_id-agent_id-agent_name-bot_bucket_id_": {
        "title": "ChatBotsPartialExcluding_id-created_at-created_by-modified_at-tenant_id-gcp_project_id-app_id-agent_id-agent_name-bot_bucket_id_",
        "type": "object",
        "description": "(tsType: Omit<Partial<ChatBots>, 'id' | 'created_at' | 'created_by' | 'modified_at' | 'tenant_id' | 'gcp_project_id' | 'app_id' | 'agent_id' | 'agent_name' | 'bot_bucket_id'>, schemaOptions: { partial: true, exclude: [ 'id', 'created_at', 'created_by', 'modified_at', 'tenant_id', 'gcp_project_id', 'app_id', 'agent_id', 'agent_name', 'bot_bucket_id' ] })",
        "properties": {
          "app_name": {
            "type": "string",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "show_disclaimer": {
            "type": "boolean",
            "nullable": false
          },
          "disclaimer_text": {
            "type": "string",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<ChatBots>, 'id' | 'created_at' | 'created_by' | 'modified_at' | 'tenant_id' | 'gcp_project_id' | 'app_id' | 'agent_id' | 'agent_name' | 'bot_bucket_id'>"
      },
      "AgentConfigurationPayload": {
        "title": "AgentConfigurationPayload",
        "type": "object",
        "properties": {
          "bot_id": {
            "type": "number"
          },
          "languages": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "hi",
                "es",
                "fr",
                "de",
                "it",
                "pt-br"
              ]
            }
          },
          "multi_language_training": {
            "type": "boolean"
          }
        },
        "required": [
          "bot_id",
          "languages"
        ],
        "additionalProperties": false
      },
      "NewChatBotConversations": {
        "title": "NewChatBotConversations",
        "type": "object",
        "description": "(tsType: ChatBotConversations, schemaOptions: { title: 'NewChatBotConversations' })",
        "properties": {
          "text": {
            "type": "string"
          },
          "agent_id": {
            "type": "string"
          },
          "session_id": {
            "type": "string"
          },
          "expires_at": {
            "type": "string"
          }
        },
        "required": [
          "text",
          "agent_id",
          "session_id",
          "expires_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ChatBotConversations"
      },
      "ChatBotConversations": {
        "title": "ChatBotConversations",
        "type": "object",
        "properties": {
          "text": {
            "type": "string"
          },
          "agent_id": {
            "type": "string"
          },
          "session_id": {
            "type": "string"
          },
          "expires_at": {
            "type": "string"
          }
        },
        "required": [
          "text",
          "agent_id",
          "session_id",
          "expires_at"
        ],
        "additionalProperties": false
      },
      "BucketUploads": {
        "title": "BucketUploads",
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "bot_bucket_id": {
            "type": "number",
            "nullable": false
          },
          "field_name": {
            "type": "string",
            "nullable": false
          },
          "original_name": {
            "type": "string",
            "nullable": false
          },
          "gcs_name": {
            "type": "string",
            "nullable": false
          },
          "gcs_bucket": {
            "type": "string",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "mime_type": {
            "type": "string",
            "nullable": false
          },
          "size": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "bot_bucket_id",
          "field_name",
          "original_name",
          "gcs_name",
          "gcs_bucket",
          "mime_type",
          "size"
        ],
        "additionalProperties": false
      },
      "NewBucketUploads": {
        "title": "NewBucketUploads",
        "type": "object",
        "description": "(tsType: Omit<BucketUploads, 'id' | 'tenant_id' | 'created_at' | 'status' | 'created_by' | 'modified_at'>, schemaOptions: { title: 'NewBucketUploads', exclude: [ 'id', 'tenant_id', 'created_at', 'status', 'created_by', 'modified_at' ] })",
        "properties": {
          "bot_bucket_id": {
            "type": "number",
            "nullable": false
          },
          "field_name": {
            "type": "string",
            "nullable": false
          },
          "original_name": {
            "type": "string",
            "nullable": false
          },
          "gcs_name": {
            "type": "string",
            "nullable": false
          },
          "gcs_bucket": {
            "type": "string",
            "nullable": false
          },
          "mime_type": {
            "type": "string",
            "nullable": false
          },
          "size": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "bot_bucket_id",
          "field_name",
          "original_name",
          "gcs_name",
          "gcs_bucket",
          "mime_type",
          "size"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<BucketUploads, 'id' | 'tenant_id' | 'created_at' | 'status' | 'created_by' | 'modified_at'>"
      },
      "BucketUploadsWithRelations": {
        "title": "BucketUploadsWithRelations",
        "type": "object",
        "description": "(tsType: BucketUploadsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "bot_bucket_id": {
            "type": "number",
            "nullable": false
          },
          "field_name": {
            "type": "string",
            "nullable": false
          },
          "original_name": {
            "type": "string",
            "nullable": false
          },
          "gcs_name": {
            "type": "string",
            "nullable": false
          },
          "gcs_bucket": {
            "type": "string",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "mime_type": {
            "type": "string",
            "nullable": false
          },
          "size": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "creator": {
            "$ref": "#/components/schemas/Users"
          },
          "foreignKey": {}
        },
        "required": [
          "bot_bucket_id",
          "field_name",
          "original_name",
          "gcs_name",
          "gcs_bucket",
          "mime_type",
          "size"
        ],
        "additionalProperties": false,
        "x-typescript-type": "BucketUploadsWithRelations"
      },
      "BucketUploadsPartialExcluding_id-created_at-created_by-modified_at-tenant_id_": {
        "title": "BucketUploadsPartialExcluding_id-created_at-created_by-modified_at-tenant_id_",
        "type": "object",
        "description": "(tsType: Omit<Partial<BucketUploads>, 'id' | 'created_at' | 'created_by' | 'modified_at' | 'tenant_id'>, schemaOptions: { partial: true, exclude: [ 'id', 'created_at', 'created_by', 'modified_at', 'tenant_id' ] })",
        "properties": {
          "bot_bucket_id": {
            "type": "number",
            "nullable": false
          },
          "field_name": {
            "type": "string",
            "nullable": false
          },
          "original_name": {
            "type": "string",
            "nullable": false
          },
          "gcs_name": {
            "type": "string",
            "nullable": false
          },
          "gcs_bucket": {
            "type": "string",
            "nullable": false
          },
          "status": {
            "type": "string",
            "nullable": false
          },
          "mime_type": {
            "type": "string",
            "nullable": false
          },
          "size": {
            "type": "number",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<BucketUploads>, 'id' | 'created_at' | 'created_by' | 'modified_at' | 'tenant_id'>"
      },
      "InitiateBucketUploadResponse": {
        "title": "InitiateBucketUploadResponse",
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": false
          },
          "filename": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "url",
          "filename"
        ],
        "additionalProperties": false
      },
      "InitiateBucketUploadPayload": {
        "title": "InitiateBucketUploadPayload",
        "type": "object",
        "properties": {
          "file_name": {
            "type": "string",
            "nullable": false
          },
          "bot_bucket_id": {
            "type": "number"
          }
        },
        "required": [
          "file_name",
          "bot_bucket_id"
        ],
        "additionalProperties": false
      },
      "NewBotMemberMappings": {
        "title": "NewBotMemberMappings",
        "type": "object",
        "description": "(tsType: Omit<BotMemberMappings, 'id' | 'tenant_id' | 'created_at' | 'modified_at'>, schemaOptions: { title: 'NewBotMemberMappings', exclude: [ 'id', 'tenant_id', 'created_at', 'modified_at' ] })",
        "properties": {
          "user_id": {
            "type": "number",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          }
        },
        "required": [
          "user_id",
          "bot_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<BotMemberMappings, 'id' | 'tenant_id' | 'created_at' | 'modified_at'>"
      },
      "BotMemberMappingsWithRelations": {
        "title": "BotMemberMappingsWithRelations",
        "type": "object",
        "description": "(tsType: BotMemberMappingsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          },
          "chat_bots": {
            "$ref": "#/components/schemas/ChatBots"
          },
          "foreignKey": {}
        },
        "required": [
          "user_id",
          "bot_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "BotMemberMappingsWithRelations"
      },
      "BotMemberMappingsPartial": {
        "title": "BotMemberMappingsPartial",
        "type": "object",
        "description": "(tsType: Partial<BotMemberMappings>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "user_id": {
            "type": "number",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "bot_id": {
            "type": "number",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<BotMemberMappings>"
      },
      "DeleteBotMemberMappingsResponse": {
        "title": "DeleteBotMemberMappingsResponse",
        "type": "object",
        "description": "(tsType: CommonResponse, schemaOptions: { title: 'DeleteBotMemberMappingsResponse' })",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CommonResponse"
      },
      "DeleteBotMemberMappings": {
        "title": "DeleteBotMemberMappings",
        "type": "object",
        "description": "(tsType: BotUnmappingRequest, schemaOptions: { title: 'DeleteBotMemberMappings' })",
        "properties": {
          "id": {
            "type": "number"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "BotUnmappingRequest"
      },
      "NewBotBuckets": {
        "title": "NewBotBuckets",
        "type": "object",
        "description": "(tsType: Omit<BotBuckets, 'id' | 'store_id' | 'tenant_id' | 'created_at' | 'created_by' | 'modified_at' | 'gcp_project_id'>, schemaOptions: { title: 'NewBotBuckets', exclude: [ 'id', 'store_id', 'tenant_id', 'created_at', 'created_by', 'modified_at', 'gcp_project_id' ] })",
        "properties": {
          "name": {
            "type": "string",
            "nullable": false
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<BotBuckets, 'id' | 'store_id' | 'tenant_id' | 'created_at' | 'created_by' | 'modified_at' | 'gcp_project_id'>"
      },
      "BotBucketsWithRelations": {
        "title": "BotBucketsWithRelations",
        "type": "object",
        "description": "(tsType: BotBucketsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "name": {
            "type": "string",
            "nullable": false
          },
          "store_id": {
            "type": "string",
            "nullable": false
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "gcp_project_id": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "tenant_id": {
            "type": "number",
            "nullable": false
          },
          "created_by": {
            "type": "number",
            "nullable": false
          },
          "bucket_uploads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BucketUploads"
            }
          },
          "chat_bots": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatBots"
            }
          },
          "creator": {
            "$ref": "#/components/schemas/Users"
          },
          "foreignKey": {}
        },
        "required": [
          "name",
          "store_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "BotBucketsWithRelations"
      },
      "BotBucketsPartialExcluding_id-created_at-created_by-modified_at-tenant_id-gcp_project_id_": {
        "title": "BotBucketsPartialExcluding_id-created_at-created_by-modified_at-tenant_id-gcp_project_id_",
        "type": "object",
        "description": "(tsType: Omit<Partial<BotBuckets>, 'id' | 'created_at' | 'created_by' | 'modified_at' | 'tenant_id' | 'gcp_project_id'>, schemaOptions: { partial: true, exclude: [ 'id', 'created_at', 'created_by', 'modified_at', 'tenant_id', 'gcp_project_id' ] })",
        "properties": {
          "name": {
            "type": "string",
            "nullable": false
          },
          "store_id": {
            "type": "string",
            "nullable": false
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<BotBuckets>, 'id' | 'created_at' | 'created_by' | 'modified_at' | 'tenant_id' | 'gcp_project_id'>"
      },
      "NewMstAvailableIntegrations": {
        "title": "NewMstAvailableIntegrations",
        "type": "object",
        "description": "(tsType: Omit<MstAvailableIntegrations, 'id' | 'modified_at' | 'created_at'>, schemaOptions: { title: 'NewMstAvailableIntegrations', exclude: [ 'id', 'modified_at', 'created_at' ] })",
        "properties": {
          "platform_name": {
            "type": "string",
            "nullable": false
          },
          "is_deleted": {
            "type": "boolean",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "icon": {
            "type": "string",
            "nullable": false
          },
          "category": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "platform_name",
          "icon",
          "category"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<MstAvailableIntegrations, 'id' | 'modified_at' | 'created_at'>"
      },
      "MstAvailableIntegrationsWithRelations": {
        "title": "MstAvailableIntegrationsWithRelations",
        "type": "object",
        "description": "(tsType: MstAvailableIntegrationsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number",
            "nullable": false
          },
          "platform_name": {
            "type": "string",
            "nullable": false
          },
          "is_deleted": {
            "type": "boolean",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "icon": {
            "type": "string",
            "nullable": false
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "modified_at": {
            "type": "string",
            "format": "date-time",
            "nullable": false
          },
          "category": {
            "type": "string",
            "nullable": false
          }
        },
        "required": [
          "platform_name",
          "icon",
          "category"
        ],
        "additionalProperties": false,
        "x-typescript-type": "MstAvailableIntegrationsWithRelations"
      },
      "MstAvailableIntegrationsPartialExcluding_id-modified_at-created_at_": {
        "title": "MstAvailableIntegrationsPartialExcluding_id-modified_at-created_at_",
        "type": "object",
        "description": "(tsType: Omit<Partial<MstAvailableIntegrations>, 'id' | 'modified_at' | 'created_at'>, schemaOptions: { partial: true, exclude: [ 'id', 'modified_at', 'created_at' ] })",
        "properties": {
          "platform_name": {
            "type": "string",
            "nullable": false
          },
          "is_deleted": {
            "type": "boolean",
            "nullable": false
          },
          "is_active": {
            "type": "boolean",
            "nullable": false
          },
          "icon": {
            "type": "string",
            "nullable": false
          },
          "category": {
            "type": "string",
            "nullable": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<MstAvailableIntegrations>, 'id' | 'modified_at' | 'created_at'>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "MstAvailableIntegrations.Filter": {
        "type": "object",
        "title": "MstAvailableIntegrations.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"
                  },
                  "platform_name": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "icon": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "category": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "platform_name",
                    "is_deleted",
                    "is_active",
                    "icon",
                    "created_at",
                    "modified_at",
                    "category"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "MstAvailableIntegrations.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MstAvailableIntegrations>"
      },
      "MstAvailableIntegrations.Filter1": {
        "type": "object",
        "title": "MstAvailableIntegrations.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": "MstAvailableIntegrations.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "platform_name": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "icon": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "category": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "platform_name",
                    "is_deleted",
                    "is_active",
                    "icon",
                    "created_at",
                    "modified_at",
                    "category"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "MstAvailableIntegrations.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MstAvailableIntegrations>"
      },
      "BotBuckets.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": "BotBuckets.ScopeFilter"
      },
      "BotBuckets.IncludeFilter.Items": {
        "title": "BotBuckets.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "bucket_uploads",
              "chat_bots",
              "creator"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/BotBuckets.ScopeFilter"
          }
        }
      },
      "BotBuckets.Filter": {
        "type": "object",
        "title": "BotBuckets.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"
                  },
                  "store_id": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "gcp_project_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "store_id",
                    "description",
                    "gcp_project_id",
                    "created_at",
                    "modified_at",
                    "tenant_id",
                    "created_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BotBuckets.Fields"
          },
          "include": {
            "title": "BotBuckets.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BotBuckets.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BotBuckets>"
      },
      "BotBuckets.Filter1": {
        "type": "object",
        "title": "BotBuckets.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": "BotBuckets.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "store_id": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "gcp_project_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "store_id",
                    "description",
                    "gcp_project_id",
                    "created_at",
                    "modified_at",
                    "tenant_id",
                    "created_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BotBuckets.Fields"
          },
          "include": {
            "title": "BotBuckets.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BotBuckets.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BotBuckets>"
      },
      "BotMemberMappings.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": "BotMemberMappings.ScopeFilter"
      },
      "BotMemberMappings.IncludeFilter.Items": {
        "title": "BotMemberMappings.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "chat_bots"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/BotMemberMappings.ScopeFilter"
          }
        }
      },
      "BotMemberMappings.Filter": {
        "type": "object",
        "title": "BotMemberMappings.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"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "user_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "bot_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "user_id",
                    "created_at",
                    "modified_at",
                    "bot_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BotMemberMappings.Fields"
          },
          "include": {
            "title": "BotMemberMappings.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BotMemberMappings.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BotMemberMappings>"
      },
      "BotMemberMappings.Filter1": {
        "type": "object",
        "title": "BotMemberMappings.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": "BotMemberMappings.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "user_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "bot_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "user_id",
                    "created_at",
                    "modified_at",
                    "bot_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BotMemberMappings.Fields"
          },
          "include": {
            "title": "BotMemberMappings.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BotMemberMappings.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BotMemberMappings>"
      },
      "BucketUploads.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": "BucketUploads.ScopeFilter"
      },
      "BucketUploads.IncludeFilter.Items": {
        "title": "BucketUploads.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "creator"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/BucketUploads.ScopeFilter"
          }
        }
      },
      "BucketUploads.Filter": {
        "type": "object",
        "title": "BucketUploads.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": "BucketUploads.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "bot_bucket_id": {
                    "type": "boolean"
                  },
                  "field_name": {
                    "type": "boolean"
                  },
                  "original_name": {
                    "type": "boolean"
                  },
                  "gcs_name": {
                    "type": "boolean"
                  },
                  "gcs_bucket": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "boolean"
                  },
                  "size": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "bot_bucket_id",
                    "field_name",
                    "original_name",
                    "gcs_name",
                    "gcs_bucket",
                    "status",
                    "mime_type",
                    "size",
                    "tenant_id",
                    "created_at",
                    "modified_at",
                    "created_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BucketUploads.Fields"
          },
          "include": {
            "title": "BucketUploads.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BucketUploads.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BucketUploads>"
      },
      "ChatBots.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": "ChatBots.ScopeFilter"
      },
      "ChatBots.IncludeFilter.Items": {
        "title": "ChatBots.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "bot_bucket",
              "creator",
              "genaiCustomizePrompts"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ChatBots.ScopeFilter"
          }
        }
      },
      "ChatBots.Filter": {
        "type": "object",
        "title": "ChatBots.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"
                  },
                  "app_name": {
                    "type": "boolean"
                  },
                  "app_id": {
                    "type": "boolean"
                  },
                  "agent_id": {
                    "type": "boolean"
                  },
                  "agent_name": {
                    "type": "boolean"
                  },
                  "gcp_project_id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "show_disclaimer": {
                    "type": "boolean"
                  },
                  "disclaimer_text": {
                    "type": "boolean"
                  },
                  "bot_bucket_id": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "app_name",
                    "app_id",
                    "agent_id",
                    "agent_name",
                    "gcp_project_id",
                    "tenant_id",
                    "created_at",
                    "modified_at",
                    "is_active",
                    "show_disclaimer",
                    "disclaimer_text",
                    "bot_bucket_id",
                    "created_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChatBots.Fields"
          },
          "include": {
            "title": "ChatBots.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChatBots.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChatBots>"
      },
      "ChatBots.Filter1": {
        "type": "object",
        "title": "ChatBots.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": "ChatBots.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "app_name": {
                    "type": "boolean"
                  },
                  "app_id": {
                    "type": "boolean"
                  },
                  "agent_id": {
                    "type": "boolean"
                  },
                  "agent_name": {
                    "type": "boolean"
                  },
                  "gcp_project_id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "show_disclaimer": {
                    "type": "boolean"
                  },
                  "disclaimer_text": {
                    "type": "boolean"
                  },
                  "bot_bucket_id": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "app_name",
                    "app_id",
                    "agent_id",
                    "agent_name",
                    "gcp_project_id",
                    "tenant_id",
                    "created_at",
                    "modified_at",
                    "is_active",
                    "show_disclaimer",
                    "disclaimer_text",
                    "bot_bucket_id",
                    "created_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChatBots.Fields"
          },
          "include": {
            "title": "ChatBots.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChatBots.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChatBots>"
      },
      "GenaiCustomizePrompts.Filter": {
        "type": "object",
        "title": "GenaiCustomizePrompts.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"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "bot_id": {
                    "type": "boolean"
                  },
                  "event_name": {
                    "type": "boolean"
                  },
                  "event_type": {
                    "type": "boolean"
                  },
                  "instructions": {
                    "type": "boolean"
                  },
                  "model": {
                    "type": "boolean"
                  },
                  "agent_id": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "bot_id",
                    "event_name",
                    "event_type",
                    "instructions",
                    "model",
                    "agent_id",
                    "created_by",
                    "created_at",
                    "modified_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "GenaiCustomizePrompts.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<GenaiCustomizePrompts>"
      },
      "GenaiCustomizePrompts.Filter1": {
        "type": "object",
        "title": "GenaiCustomizePrompts.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": "GenaiCustomizePrompts.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "bot_id": {
                    "type": "boolean"
                  },
                  "event_name": {
                    "type": "boolean"
                  },
                  "event_type": {
                    "type": "boolean"
                  },
                  "instructions": {
                    "type": "boolean"
                  },
                  "model": {
                    "type": "boolean"
                  },
                  "agent_id": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "bot_id",
                    "event_name",
                    "event_type",
                    "instructions",
                    "model",
                    "agent_id",
                    "created_by",
                    "created_at",
                    "modified_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "GenaiCustomizePrompts.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<GenaiCustomizePrompts>"
      },
      "Plans.Filter": {
        "type": "object",
        "title": "Plans.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"
                  },
                  "product_name": {
                    "type": "boolean"
                  },
                  "product_id": {
                    "type": "boolean"
                  },
                  "price_id": {
                    "type": "boolean"
                  },
                  "price_look_up_key": {
                    "type": "boolean"
                  },
                  "price": {
                    "type": "boolean"
                  },
                  "tenure_in_months": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "features": {
                    "type": "boolean"
                  },
                  "plan_type": {
                    "type": "boolean"
                  },
                  "currency": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "product_name",
                    "product_id",
                    "price_id",
                    "price_look_up_key",
                    "price",
                    "tenure_in_months",
                    "status",
                    "features",
                    "plan_type",
                    "currency",
                    "created_at",
                    "modified_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Plans.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Plans>"
      },
      "Plans.Filter1": {
        "type": "object",
        "title": "Plans.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": "Plans.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "product_name": {
                    "type": "boolean"
                  },
                  "product_id": {
                    "type": "boolean"
                  },
                  "price_id": {
                    "type": "boolean"
                  },
                  "price_look_up_key": {
                    "type": "boolean"
                  },
                  "price": {
                    "type": "boolean"
                  },
                  "tenure_in_months": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "features": {
                    "type": "boolean"
                  },
                  "plan_type": {
                    "type": "boolean"
                  },
                  "currency": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "product_name",
                    "product_id",
                    "price_id",
                    "price_look_up_key",
                    "price",
                    "tenure_in_months",
                    "status",
                    "features",
                    "plan_type",
                    "currency",
                    "created_at",
                    "modified_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Plans.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Plans>"
      },
      "RequestedIntegrations.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": "RequestedIntegrations.ScopeFilter"
      },
      "RequestedIntegrations.IncludeFilter.Items": {
        "title": "RequestedIntegrations.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "users",
              "chat_bots",
              "available_integrations"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/RequestedIntegrations.ScopeFilter"
          }
        }
      },
      "RequestedIntegrations.Filter": {
        "type": "object",
        "title": "RequestedIntegrations.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"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "is_integrated": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "user_id": {
                    "type": "boolean"
                  },
                  "bot_id": {
                    "type": "boolean"
                  },
                  "platform_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "email",
                    "is_integrated",
                    "description",
                    "created_at",
                    "modified_at",
                    "user_id",
                    "bot_id",
                    "platform_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RequestedIntegrations.Fields"
          },
          "include": {
            "title": "RequestedIntegrations.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RequestedIntegrations.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RequestedIntegrations>"
      },
      "RequestedIntegrations.Filter1": {
        "type": "object",
        "title": "RequestedIntegrations.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": "RequestedIntegrations.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "is_integrated": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "user_id": {
                    "type": "boolean"
                  },
                  "bot_id": {
                    "type": "boolean"
                  },
                  "platform_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "email",
                    "is_integrated",
                    "description",
                    "created_at",
                    "modified_at",
                    "user_id",
                    "bot_id",
                    "platform_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RequestedIntegrations.Fields"
          },
          "include": {
            "title": "RequestedIntegrations.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RequestedIntegrations.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RequestedIntegrations>"
      },
      "Roles.Filter": {
        "type": "object",
        "title": "Roles.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"
                  },
                  "role_name": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "role_name",
                    "created_at",
                    "modified_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Roles.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Roles>"
      },
      "Roles.Filter1": {
        "type": "object",
        "title": "Roles.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": "Roles.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "role_name": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "role_name",
                    "created_at",
                    "modified_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Roles.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Roles>"
      },
      "ScimConfigs.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": "ScimConfigs.ScopeFilter"
      },
      "ScimConfigs.IncludeFilter.Items": {
        "title": "ScimConfigs.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "tenantSamlConfig",
              "tenant",
              "modifiedBy",
              "createdBy"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ScimConfigs.ScopeFilter"
          }
        }
      },
      "ScimConfigs.Filter": {
        "type": "object",
        "title": "ScimConfigs.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"
                  },
                  "scim_token": {
                    "type": "boolean"
                  },
                  "masked_token": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "expires_at": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "tenant_saml_config_id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "modified_by": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "scim_token",
                    "masked_token",
                    "is_active",
                    "expires_at",
                    "created_at",
                    "modified_at",
                    "tenant_saml_config_id",
                    "tenant_id",
                    "modified_by",
                    "created_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ScimConfigs.Fields"
          },
          "include": {
            "title": "ScimConfigs.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ScimConfigs.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ScimConfigs>"
      },
      "ScimConfigs.Filter1": {
        "type": "object",
        "title": "ScimConfigs.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": "ScimConfigs.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "scim_token": {
                    "type": "boolean"
                  },
                  "masked_token": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "expires_at": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "tenant_saml_config_id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "modified_by": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "scim_token",
                    "masked_token",
                    "is_active",
                    "expires_at",
                    "created_at",
                    "modified_at",
                    "tenant_saml_config_id",
                    "tenant_id",
                    "modified_by",
                    "created_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ScimConfigs.Fields"
          },
          "include": {
            "title": "ScimConfigs.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ScimConfigs.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ScimConfigs>"
      },
      "TenantBrandings.Filter": {
        "type": "object",
        "title": "TenantBrandings.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"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "category": {
                    "type": "boolean"
                  },
                  "gcs_name": {
                    "type": "boolean"
                  },
                  "size": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "boolean"
                  },
                  "gcs_bucket": {
                    "type": "boolean"
                  },
                  "uploaded_by": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "category",
                    "gcs_name",
                    "size",
                    "mime_type",
                    "gcs_bucket",
                    "uploaded_by",
                    "created_at",
                    "modified_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantBrandings.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantBrandings>"
      },
      "TenantBrandings.Filter1": {
        "type": "object",
        "title": "TenantBrandings.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": "TenantBrandings.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "category": {
                    "type": "boolean"
                  },
                  "gcs_name": {
                    "type": "boolean"
                  },
                  "size": {
                    "type": "boolean"
                  },
                  "mime_type": {
                    "type": "boolean"
                  },
                  "gcs_bucket": {
                    "type": "boolean"
                  },
                  "uploaded_by": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "category",
                    "gcs_name",
                    "size",
                    "mime_type",
                    "gcs_bucket",
                    "uploaded_by",
                    "created_at",
                    "modified_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantBrandings.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantBrandings>"
      },
      "TenantConversations.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": "TenantConversations.ScopeFilter"
      },
      "TenantConversations.IncludeFilter.Items": {
        "title": "TenantConversations.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "tenant",
              "purchaser"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TenantConversations.ScopeFilter"
          }
        }
      },
      "TenantConversations.Filter": {
        "type": "object",
        "title": "TenantConversations.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"
                  },
                  "units_purchased": {
                    "type": "boolean"
                  },
                  "total_amount": {
                    "type": "boolean"
                  },
                  "product_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "price_lookup_key": {
                    "type": "boolean"
                  },
                  "units_used": {
                    "type": "boolean"
                  },
                  "is_expired": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "purchased_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "units_purchased",
                    "total_amount",
                    "product_id",
                    "created_at",
                    "modified_at",
                    "price_lookup_key",
                    "units_used",
                    "is_expired",
                    "tenant_id",
                    "purchased_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantConversations.Fields"
          },
          "include": {
            "title": "TenantConversations.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenantConversations.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantConversations>"
      },
      "TenantConversations.Filter1": {
        "type": "object",
        "title": "TenantConversations.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": "TenantConversations.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "units_purchased": {
                    "type": "boolean"
                  },
                  "total_amount": {
                    "type": "boolean"
                  },
                  "product_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "price_lookup_key": {
                    "type": "boolean"
                  },
                  "units_used": {
                    "type": "boolean"
                  },
                  "is_expired": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "purchased_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "units_purchased",
                    "total_amount",
                    "product_id",
                    "created_at",
                    "modified_at",
                    "price_lookup_key",
                    "units_used",
                    "is_expired",
                    "tenant_id",
                    "purchased_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantConversations.Fields"
          },
          "include": {
            "title": "TenantConversations.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenantConversations.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantConversations>"
      },
      "TenantEnterprisePlanMappings.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": "TenantEnterprisePlanMappings.ScopeFilter"
      },
      "TenantEnterprisePlanMappings.IncludeFilter.Items": {
        "title": "TenantEnterprisePlanMappings.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "plan"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TenantEnterprisePlanMappings.ScopeFilter"
          }
        }
      },
      "TenantEnterprisePlanMappings.Filter": {
        "type": "object",
        "title": "TenantEnterprisePlanMappings.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"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "plan_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "is_active",
                    "created_at",
                    "modified_at",
                    "plan_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantEnterprisePlanMappings.Fields"
          },
          "include": {
            "title": "TenantEnterprisePlanMappings.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenantEnterprisePlanMappings.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantEnterprisePlanMappings>"
      },
      "TenantEnterprisePlanMappings.Filter1": {
        "type": "object",
        "title": "TenantEnterprisePlanMappings.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": "TenantEnterprisePlanMappings.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "plan_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "is_active",
                    "created_at",
                    "modified_at",
                    "plan_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantEnterprisePlanMappings.Fields"
          },
          "include": {
            "title": "TenantEnterprisePlanMappings.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenantEnterprisePlanMappings.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantEnterprisePlanMappings>"
      },
      "TenantSamlConfig.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": "TenantSamlConfig.ScopeFilter"
      },
      "TenantSamlConfig.IncludeFilter.Items": {
        "title": "TenantSamlConfig.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "tenant",
              "scimConfigs"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TenantSamlConfig.ScopeFilter"
          }
        }
      },
      "TenantSamlConfig.Filter": {
        "type": "object",
        "title": "TenantSamlConfig.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"
                  },
                  "identity_provider": {
                    "type": "boolean"
                  },
                  "domain": {
                    "type": "boolean"
                  },
                  "saml_sso_login_url": {
                    "type": "boolean"
                  },
                  "ms_saml_cert_encrypted": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "identity_provider",
                    "domain",
                    "saml_sso_login_url",
                    "ms_saml_cert_encrypted",
                    "created_at",
                    "modified_at",
                    "tenant_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantSamlConfig.Fields"
          },
          "include": {
            "title": "TenantSamlConfig.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenantSamlConfig.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantSamlConfig>"
      },
      "TenantSamlConfig.Filter1": {
        "type": "object",
        "title": "TenantSamlConfig.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": "TenantSamlConfig.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "identity_provider": {
                    "type": "boolean"
                  },
                  "domain": {
                    "type": "boolean"
                  },
                  "saml_sso_login_url": {
                    "type": "boolean"
                  },
                  "ms_saml_cert_encrypted": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "identity_provider",
                    "domain",
                    "saml_sso_login_url",
                    "ms_saml_cert_encrypted",
                    "created_at",
                    "modified_at",
                    "tenant_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantSamlConfig.Fields"
          },
          "include": {
            "title": "TenantSamlConfig.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenantSamlConfig.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantSamlConfig>"
      },
      "TenantSubscriptions.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": "TenantSubscriptions.ScopeFilter"
      },
      "TenantSubscriptions.IncludeFilter.Items": {
        "title": "TenantSubscriptions.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "plan",
              "subscriber"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TenantSubscriptions.ScopeFilter"
          }
        }
      },
      "TenantSubscriptions.Filter": {
        "type": "object",
        "title": "TenantSubscriptions.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"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "stripe_subscription_id": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "start_date": {
                    "type": "boolean"
                  },
                  "end_date": {
                    "type": "boolean"
                  },
                  "cancle_at_period_end": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "plan_id": {
                    "type": "boolean"
                  },
                  "subscribed_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "stripe_subscription_id",
                    "status",
                    "start_date",
                    "end_date",
                    "cancle_at_period_end",
                    "created_at",
                    "modified_at",
                    "plan_id",
                    "subscribed_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantSubscriptions.Fields"
          },
          "include": {
            "title": "TenantSubscriptions.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenantSubscriptions.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantSubscriptions>"
      },
      "TenantSubscriptions.Filter1": {
        "type": "object",
        "title": "TenantSubscriptions.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": "TenantSubscriptions.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "stripe_subscription_id": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "start_date": {
                    "type": "boolean"
                  },
                  "end_date": {
                    "type": "boolean"
                  },
                  "cancle_at_period_end": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "plan_id": {
                    "type": "boolean"
                  },
                  "subscribed_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_id",
                    "stripe_subscription_id",
                    "status",
                    "start_date",
                    "end_date",
                    "cancle_at_period_end",
                    "created_at",
                    "modified_at",
                    "plan_id",
                    "subscribed_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenantSubscriptions.Fields"
          },
          "include": {
            "title": "TenantSubscriptions.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenantSubscriptions.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenantSubscriptions>"
      },
      "Tenants.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": "Tenants.ScopeFilter"
      },
      "Tenants.IncludeFilter.Items": {
        "title": "Tenants.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "tenantSubscriptions",
              "creator",
              "modifier",
              "requested_integrations",
              "tenant_saml_config",
              "tenantEnterprisePlanMappings",
              "tenantBrandings"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Tenants.ScopeFilter"
          }
        }
      },
      "Tenants.Filter": {
        "type": "object",
        "title": "Tenants.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"
                  },
                  "tenant_name": {
                    "type": "boolean"
                  },
                  "is_global": {
                    "type": "boolean"
                  },
                  "slug": {
                    "type": "boolean"
                  },
                  "db_user": {
                    "type": "boolean"
                  },
                  "e_dbpwd": {
                    "type": "boolean"
                  },
                  "contact_email": {
                    "type": "boolean"
                  },
                  "phone_number": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "address_line2": {
                    "type": "boolean"
                  },
                  "city": {
                    "type": "boolean"
                  },
                  "state": {
                    "type": "boolean"
                  },
                  "zip_code": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "allow_saml_authentication": {
                    "type": "boolean"
                  },
                  "country_of_operation": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "modified_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_name",
                    "is_global",
                    "slug",
                    "db_user",
                    "e_dbpwd",
                    "contact_email",
                    "phone_number",
                    "address",
                    "address_line2",
                    "city",
                    "state",
                    "zip_code",
                    "is_active",
                    "allow_saml_authentication",
                    "country_of_operation",
                    "modified_at",
                    "created_at",
                    "created_by",
                    "modified_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Tenants.Fields"
          },
          "include": {
            "title": "Tenants.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Tenants.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Tenants>"
      },
      "Tenants.Filter1": {
        "type": "object",
        "title": "Tenants.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": "Tenants.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tenant_name": {
                    "type": "boolean"
                  },
                  "is_global": {
                    "type": "boolean"
                  },
                  "slug": {
                    "type": "boolean"
                  },
                  "db_user": {
                    "type": "boolean"
                  },
                  "e_dbpwd": {
                    "type": "boolean"
                  },
                  "contact_email": {
                    "type": "boolean"
                  },
                  "phone_number": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "address_line2": {
                    "type": "boolean"
                  },
                  "city": {
                    "type": "boolean"
                  },
                  "state": {
                    "type": "boolean"
                  },
                  "zip_code": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "allow_saml_authentication": {
                    "type": "boolean"
                  },
                  "country_of_operation": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "modified_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tenant_name",
                    "is_global",
                    "slug",
                    "db_user",
                    "e_dbpwd",
                    "contact_email",
                    "phone_number",
                    "address",
                    "address_line2",
                    "city",
                    "state",
                    "zip_code",
                    "is_active",
                    "allow_saml_authentication",
                    "country_of_operation",
                    "modified_at",
                    "created_at",
                    "created_by",
                    "modified_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Tenants.Fields"
          },
          "include": {
            "title": "Tenants.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Tenants.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Tenants>"
      },
      "UserLoginSessions.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": "UserLoginSessions.ScopeFilter"
      },
      "UserLoginSessions.IncludeFilter.Items": {
        "title": "UserLoginSessions.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "users"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/UserLoginSessions.ScopeFilter"
          }
        }
      },
      "UserLoginSessions.Filter": {
        "type": "object",
        "title": "UserLoginSessions.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"
                  },
                  "ip_address": {
                    "type": "boolean"
                  },
                  "user_agent": {
                    "type": "boolean"
                  },
                  "login_timestamp": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "user_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "ip_address",
                    "user_agent",
                    "login_timestamp",
                    "tenant_id",
                    "created_at",
                    "modified_at",
                    "user_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "UserLoginSessions.Fields"
          },
          "include": {
            "title": "UserLoginSessions.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserLoginSessions.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserLoginSessions>"
      },
      "UserLoginSessions.Filter1": {
        "type": "object",
        "title": "UserLoginSessions.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": "UserLoginSessions.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "ip_address": {
                    "type": "boolean"
                  },
                  "user_agent": {
                    "type": "boolean"
                  },
                  "login_timestamp": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "user_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "ip_address",
                    "user_agent",
                    "login_timestamp",
                    "tenant_id",
                    "created_at",
                    "modified_at",
                    "user_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "UserLoginSessions.Fields"
          },
          "include": {
            "title": "UserLoginSessions.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserLoginSessions.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserLoginSessions>"
      },
      "Users.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": "Users.ScopeFilter"
      },
      "Users.IncludeFilter.Items": {
        "title": "Users.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "role",
              "tenant",
              "botMemberMappings",
              "chatBots",
              "userLoginSessions"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Users.ScopeFilter"
          }
        }
      },
      "Users.Filter": {
        "type": "object",
        "title": "Users.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"
                  },
                  "first_name": {
                    "type": "boolean"
                  },
                  "last_name": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "email_verified": {
                    "type": "boolean"
                  },
                  "verification_token": {
                    "type": "boolean"
                  },
                  "customer_id": {
                    "type": "boolean"
                  },
                  "phone_number": {
                    "type": "boolean"
                  },
                  "billing_authority": {
                    "type": "boolean"
                  },
                  "user_type": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "role_id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "first_name",
                    "last_name",
                    "email",
                    "is_active",
                    "email_verified",
                    "verification_token",
                    "customer_id",
                    "phone_number",
                    "billing_authority",
                    "user_type",
                    "created_at",
                    "modified_at",
                    "role_id",
                    "tenant_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Users.Fields"
          },
          "include": {
            "title": "Users.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Users.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Users>"
      },
      "Users.Filter1": {
        "type": "object",
        "title": "Users.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": "Users.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "first_name": {
                    "type": "boolean"
                  },
                  "last_name": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "email_verified": {
                    "type": "boolean"
                  },
                  "verification_token": {
                    "type": "boolean"
                  },
                  "customer_id": {
                    "type": "boolean"
                  },
                  "phone_number": {
                    "type": "boolean"
                  },
                  "billing_authority": {
                    "type": "boolean"
                  },
                  "user_type": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "modified_at": {
                    "type": "boolean"
                  },
                  "role_id": {
                    "type": "boolean"
                  },
                  "tenant_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "first_name",
                    "last_name",
                    "email",
                    "is_active",
                    "email_verified",
                    "verification_token",
                    "customer_id",
                    "phone_number",
                    "billing_authority",
                    "user_type",
                    "created_at",
                    "modified_at",
                    "role_id",
                    "tenant_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Users.Fields"
          },
          "include": {
            "title": "Users.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Users.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Users>"
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ]
}