{
  "openapi": "3.0.0",
  "info": {
    "title": "b2b_framework",
    "version": "0.0.1",
    "description": "",
    "contact": {
      "name": "",
      "email": "merna.hanna@xlab-group.com"
    }
  },
  "paths": {
    "/agencies/count": {
      "get": {
        "x-controller-name": "AgenciesController",
        "x-operation-name": "count",
        "tags": [
          "AgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Agencies model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Agencies.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Agencies>"
                }
              }
            }
          }
        ],
        "operationId": "AgenciesController.count"
      }
    },
    "/agencies/{id}/channels": {
      "post": {
        "x-controller-name": "AgenciesChannelsController",
        "x-operation-name": "create",
        "tags": [
          "AgenciesChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Agencies model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channels"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewChannelsInAgencies"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AgenciesChannelsController.create"
      },
      "patch": {
        "x-controller-name": "AgenciesChannelsController",
        "x-operation-name": "patch",
        "tags": [
          "AgenciesChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Agencies.Channels PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Channels.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Channels>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChannelsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AgenciesChannelsController.patch"
      },
      "get": {
        "x-controller-name": "AgenciesChannelsController",
        "x-operation-name": "find",
        "tags": [
          "AgenciesChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Agencies has many Channels",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Channels"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "AgenciesChannelsController.find"
      },
      "delete": {
        "x-controller-name": "AgenciesChannelsController",
        "x-operation-name": "delete",
        "tags": [
          "AgenciesChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Agencies.Channels DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Channels.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Channels>"
                }
              }
            }
          }
        ],
        "operationId": "AgenciesChannelsController.delete"
      }
    },
    "/agencies/{id}/cities": {
      "get": {
        "x-controller-name": "AgenciesCitiesController",
        "x-operation-name": "getCities",
        "tags": [
          "AgenciesCitiesController"
        ],
        "responses": {
          "200": {
            "description": "Cities belonging to Agencies",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Cities"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AgenciesCitiesController.getCities"
      }
    },
    "/agencies/{id}/clients": {
      "post": {
        "x-controller-name": "AgenciesClientsController",
        "x-operation-name": "create",
        "tags": [
          "AgenciesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Agencies model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Clients"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClientsInAgencies"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AgenciesClientsController.create"
      },
      "patch": {
        "x-controller-name": "AgenciesClientsController",
        "x-operation-name": "patch",
        "tags": [
          "AgenciesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Agencies.Clients PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Clients.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Clients>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AgenciesClientsController.patch"
      },
      "get": {
        "x-controller-name": "AgenciesClientsController",
        "x-operation-name": "find",
        "tags": [
          "AgenciesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Agencies has many Clients",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "AgenciesClientsController.find"
      },
      "delete": {
        "x-controller-name": "AgenciesClientsController",
        "x-operation-name": "delete",
        "tags": [
          "AgenciesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Agencies.Clients DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Clients.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Clients>"
                }
              }
            }
          }
        ],
        "operationId": "AgenciesClientsController.delete"
      }
    },
    "/agencies/{id}/countries": {
      "get": {
        "x-controller-name": "AgenciesCountriesController",
        "x-operation-name": "getCountries",
        "tags": [
          "AgenciesCountriesController"
        ],
        "responses": {
          "200": {
            "description": "Countries belonging to Agencies",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Countries"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AgenciesCountriesController.getCountries"
      }
    },
    "/agencies/{id}/packages": {
      "get": {
        "x-controller-name": "AgenciesPackagesController",
        "x-operation-name": "getPackages",
        "tags": [
          "AgenciesPackagesController"
        ],
        "responses": {
          "200": {
            "description": "Packages belonging to Agencies",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Packages"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AgenciesPackagesController.getPackages"
      }
    },
    "/agencies/{id}/users": {
      "post": {
        "x-controller-name": "AgenciesUsersController",
        "x-operation-name": "create",
        "tags": [
          "AgenciesUsersController"
        ],
        "responses": {
          "200": {
            "description": "Agencies model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsersInAgencies"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AgenciesUsersController.create"
      },
      "patch": {
        "x-controller-name": "AgenciesUsersController",
        "x-operation-name": "patch",
        "tags": [
          "AgenciesUsersController"
        ],
        "responses": {
          "200": {
            "description": "Agencies.Users PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AgenciesUsersController.patch"
      },
      "get": {
        "x-controller-name": "AgenciesUsersController",
        "x-operation-name": "find",
        "tags": [
          "AgenciesUsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of Agencies has many Users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "AgenciesUsersController.find"
      },
      "delete": {
        "x-controller-name": "AgenciesUsersController",
        "x-operation-name": "delete",
        "tags": [
          "AgenciesUsersController"
        ],
        "responses": {
          "200": {
            "description": "Agencies.Users DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "operationId": "AgenciesUsersController.delete"
      }
    },
    "/agencies/{id}": {
      "put": {
        "x-controller-name": "AgenciesController",
        "x-operation-name": "replaceById",
        "tags": [
          "AgenciesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agencies PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Agencies"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AgenciesController.replaceById"
      },
      "patch": {
        "x-controller-name": "AgenciesController",
        "x-operation-name": "updateById",
        "tags": [
          "AgenciesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agencies PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgenciesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AgenciesController.updateById"
      },
      "get": {
        "x-controller-name": "AgenciesController",
        "x-operation-name": "findById",
        "tags": [
          "AgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Agencies model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AgenciesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agencies.Filter"
                }
              }
            }
          }
        ],
        "operationId": "AgenciesController.findById"
      },
      "delete": {
        "x-controller-name": "AgenciesController",
        "x-operation-name": "deleteById",
        "tags": [
          "AgenciesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agencies DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AgenciesController.deleteById"
      }
    },
    "/agencies": {
      "post": {
        "x-controller-name": "AgenciesController",
        "x-operation-name": "create",
        "tags": [
          "AgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Agencies model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agencies"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAgencies"
              }
            }
          }
        },
        "operationId": "AgenciesController.create"
      },
      "patch": {
        "x-controller-name": "AgenciesController",
        "x-operation-name": "updateAll",
        "tags": [
          "AgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Agencies PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Agencies.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Agencies>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgenciesPartial"
              }
            }
          }
        },
        "operationId": "AgenciesController.updateAll"
      },
      "get": {
        "x-controller-name": "AgenciesController",
        "x-operation-name": "find",
        "tags": [
          "AgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Agencies model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AgenciesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agencies.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "AgenciesController.find"
      }
    },
    "/assignment-histories/auto-assign-lead": {
      "post": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "autoAssignLeadToMember",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Automatically assigns a lead to a member",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "leadId"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Auto Assign Lead to Member",
          "required": true
        },
        "operationId": "AssignmentHistoryUsersController.autoAssignLeadToMember"
      }
    },
    "/assignment-histories/bulk-auto-assign": {
      "post": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "bulkAutoAssign",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Calculate response time and auto assign for bulk leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array"
              }
            }
          }
        },
        "operationId": "AssignmentHistoryUsersController.bulkAutoAssign"
      }
    },
    "/assignment-histories/calculate-member-score": {
      "post": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "calculateMemberScore",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Calculate member score in campaign",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "memberId"
                ],
                "properties": {
                  "campaignId": {
                    "type": "number"
                  },
                  "memberId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Calculate Member Score",
          "required": true
        },
        "operationId": "AssignmentHistoryUsersController.calculateMemberScore"
      }
    },
    "/assignment-histories/calculate-response-time": {
      "post": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "calculateRespondTime",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Calculate response time on lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "leadId",
                  "memberId",
                  "ratingId",
                  "is_included_in_score"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  },
                  "memberId": {
                    "type": "number"
                  },
                  "is_included_in_score": {
                    "type": "boolean"
                  },
                  "ratingId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Calculate Response Time",
          "required": true
        },
        "operationId": "AssignmentHistoryUsersController.calculateRespondTime"
      }
    },
    "/assignment-histories/count": {
      "get": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "count",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Assignment History model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "AssignmentHistory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<AssignmentHistory>"
                }
              }
            }
          }
        ],
        "operationId": "AssignmentHistoryUsersController.count"
      }
    },
    "/assignment-histories/rotate-leads": {
      "post": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "rotateLeads",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Automatically rotates leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "memberId",
                  "campaignId",
                  "ratingId"
                ],
                "properties": {
                  "memberId": {
                    "type": "number"
                  },
                  "campaignId": {
                    "type": "number"
                  },
                  "ratingId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Rotate Leads",
          "required": true
        },
        "operationId": "AssignmentHistoryUsersController.rotateLeads"
      }
    },
    "/assignment-histories/{id}/leads": {
      "get": {
        "x-controller-name": "AssignmentHistoryLeadsController",
        "x-operation-name": "getLeads",
        "tags": [
          "AssignmentHistoryLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads belonging to AssignmentHistory",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AssignmentHistoryLeadsController.getLeads"
      }
    },
    "/assignment-histories/{id}/ratings": {
      "get": {
        "x-controller-name": "AssignmentHistoryRatingsController",
        "x-operation-name": "getRatings",
        "tags": [
          "AssignmentHistoryRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings belonging to AssignmentHistory",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AssignmentHistoryRatingsController.getRatings"
      }
    },
    "/assignment-histories/{id}/users": {
      "get": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to AssignmentHistory",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AssignmentHistoryUsersController.getUsers"
      }
    },
    "/assignment-histories/{id}": {
      "put": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "replaceById",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Assignment Histories PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignmentHistory"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AssignmentHistoryUsersController.replaceById"
      },
      "patch": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "updateById",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Assignment Histories PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignmentHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "AssignmentHistoryUsersController.updateById"
      },
      "get": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "findById",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Assignment History model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssignmentHistory"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssignmentHistory.Filter"
                }
              }
            }
          }
        ],
        "operationId": "AssignmentHistoryUsersController.findById"
      },
      "delete": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "deleteById",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Assignment History DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AssignmentHistoryUsersController.deleteById"
      }
    },
    "/assignment-histories": {
      "post": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "create",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Assignment History model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssignmentHistory"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/New Assignment History"
              }
            }
          }
        },
        "operationId": "AssignmentHistoryUsersController.create"
      },
      "patch": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "updateAll",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Assignment History PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "AssignmentHistory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<AssignmentHistory>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignmentHistoryPartial"
              }
            }
          }
        },
        "operationId": "AssignmentHistoryUsersController.updateAll"
      },
      "get": {
        "x-controller-name": "AssignmentHistoryUsersController",
        "x-operation-name": "find",
        "tags": [
          "AssignmentHistoryUsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of Assignment History model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssignmentHistory"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssignmentHistory.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "AssignmentHistoryUsersController.find"
      }
    },
    "/campaigns/count": {
      "get": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "count",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Campaigns.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Campaigns>"
                }
              }
            }
          }
        ],
        "operationId": "CampaignsController.count"
      }
    },
    "/campaigns/fetchCampaigns": {
      "post": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "fetchCampaigns",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Campaigns model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CampaignsController.fetchCampaigns"
      }
    },
    "/campaigns/filter_by_project": {
      "post": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "filterByProjectId",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Campaigns model instances by project id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Campaigns"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "CampaignsController.filterByProjectId"
      }
    },
    "/campaigns/{id}/channels": {
      "post": {
        "x-controller-name": "CampaignsChannelsController",
        "x-operation-name": "create",
        "tags": [
          "CampaignsChannelsController"
        ],
        "responses": {
          "200": {
            "description": "create a Channels model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channels"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewChannelsInCampaigns"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CampaignsChannelsController.create"
      },
      "patch": {
        "x-controller-name": "CampaignsChannelsController",
        "x-operation-name": "patch",
        "tags": [
          "CampaignsChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns.Channels PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Channels.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Channels>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChannelsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CampaignsChannelsController.patch"
      },
      "get": {
        "x-controller-name": "CampaignsChannelsController",
        "x-operation-name": "find",
        "tags": [
          "CampaignsChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Campaigns has many Channels through CampaignChannels",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Channels"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CampaignsChannelsController.find"
      },
      "delete": {
        "x-controller-name": "CampaignsChannelsController",
        "x-operation-name": "delete",
        "tags": [
          "CampaignsChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns.Channels DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Channels.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Channels>"
                }
              }
            }
          }
        ],
        "operationId": "CampaignsChannelsController.delete"
      }
    },
    "/campaigns/{id}/clients": {
      "get": {
        "x-controller-name": "CampaignsClientsController",
        "x-operation-name": "getClients",
        "tags": [
          "CampaignsClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients belonging to Campaigns",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CampaignsClientsController.getClients"
      }
    },
    "/campaigns/{id}/leads": {
      "post": {
        "x-controller-name": "CampaignsLeadsController",
        "x-operation-name": "create",
        "tags": [
          "CampaignsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadsInCampaigns"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CampaignsLeadsController.create"
      },
      "patch": {
        "x-controller-name": "CampaignsLeadsController",
        "x-operation-name": "patch",
        "tags": [
          "CampaignsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns.Leads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CampaignsLeadsController.patch"
      },
      "get": {
        "x-controller-name": "CampaignsLeadsController",
        "x-operation-name": "find",
        "tags": [
          "CampaignsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Campaigns has many Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CampaignsLeadsController.find"
      },
      "delete": {
        "x-controller-name": "CampaignsLeadsController",
        "x-operation-name": "delete",
        "tags": [
          "CampaignsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns.Leads DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "operationId": "CampaignsLeadsController.delete"
      }
    },
    "/campaigns/{id}/projects": {
      "get": {
        "x-controller-name": "CampaignsProjectsController",
        "x-operation-name": "getProjects",
        "tags": [
          "CampaignsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Projects belonging to Campaigns",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Projects"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CampaignsProjectsController.getProjects"
      }
    },
    "/campaigns/{id}/users": {
      "get": {
        "x-controller-name": "CampaignsUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "CampaignsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to Campaigns",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CampaignsUsersController.getUsers"
      }
    },
    "/campaigns/{id}": {
      "put": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "replaceById",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Campaigns PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Campaigns"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CampaignsController.replaceById"
      },
      "patch": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "updateById",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Campaigns PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CampaignsController.updateById"
      },
      "get": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "findById",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CampaignsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Campaigns.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CampaignsController.findById"
      },
      "delete": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "deleteById",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Campaigns DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CampaignsController.deleteById"
      }
    },
    "/campaigns": {
      "post": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "create",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Campaigns"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCampaigns"
              }
            }
          }
        },
        "operationId": "CampaignsController.create"
      },
      "patch": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "updateAll",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Campaigns.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Campaigns>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignsPartial"
              }
            }
          }
        },
        "operationId": "CampaignsController.updateAll"
      },
      "get": {
        "x-controller-name": "CampaignsController",
        "x-operation-name": "find",
        "tags": [
          "CampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Campaigns model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CampaignsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Campaigns.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CampaignsController.find"
      }
    },
    "/channel-salesforce-mappings/{id}/channels": {
      "get": {
        "x-controller-name": "ChannelSalesforceMappingChannelsController",
        "x-operation-name": "getChannels",
        "tags": [
          "ChannelSalesforceMappingChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Channels belonging to ChannelSalesforceMapping",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channels"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChannelSalesforceMappingChannelsController.getChannels"
      }
    },
    "/channel-salesforce-mappings/{id}/client-salesforce": {
      "get": {
        "x-controller-name": "ChannelSalesforceMappingClientSalesforceController",
        "x-operation-name": "getClientSalesforce",
        "tags": [
          "ChannelSalesforceMappingClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce belonging to ChannelSalesforceMapping",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSalesforce"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChannelSalesforceMappingClientSalesforceController.getClientSalesforce"
      }
    },
    "/channels/count": {
      "get": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "count",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Channels model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Channels.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Channels>"
                }
              }
            }
          }
        ],
        "operationId": "ChannelsController.count"
      }
    },
    "/channels/{id}/agencies": {
      "get": {
        "x-controller-name": "ChannelsAgenciesController",
        "x-operation-name": "getAgencies",
        "tags": [
          "ChannelsAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Agencies belonging to Channels",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Agencies"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChannelsAgenciesController.getAgencies"
      }
    },
    "/channels/{id}/leads": {
      "post": {
        "x-controller-name": "ChannelsLeadsController",
        "x-operation-name": "create",
        "tags": [
          "ChannelsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Channels model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadsInChannels"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChannelsLeadsController.create"
      },
      "patch": {
        "x-controller-name": "ChannelsLeadsController",
        "x-operation-name": "patch",
        "tags": [
          "ChannelsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Channels.Leads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChannelsLeadsController.patch"
      },
      "get": {
        "x-controller-name": "ChannelsLeadsController",
        "x-operation-name": "find",
        "tags": [
          "ChannelsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Channels has many Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ChannelsLeadsController.find"
      },
      "delete": {
        "x-controller-name": "ChannelsLeadsController",
        "x-operation-name": "delete",
        "tags": [
          "ChannelsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Channels.Leads DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "operationId": "ChannelsLeadsController.delete"
      }
    },
    "/channels/{id}": {
      "put": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "replaceById",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Channels PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Channels"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChannelsController.replaceById"
      },
      "patch": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "updateById",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Channels PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChannelsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChannelsController.updateById"
      },
      "get": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "findById",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Channels model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChannelsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channels.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ChannelsController.findById"
      },
      "delete": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "deleteById",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Channels DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChannelsController.deleteById"
      }
    },
    "/channels": {
      "post": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "create",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Channels model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channels"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewChannels"
              }
            }
          }
        },
        "operationId": "ChannelsController.create"
      },
      "patch": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "updateAll",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Channels PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Channels.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Channels>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChannelsPartial"
              }
            }
          }
        },
        "operationId": "ChannelsController.updateAll"
      },
      "get": {
        "x-controller-name": "ChannelsController",
        "x-operation-name": "find",
        "tags": [
          "ChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Channels model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChannelsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Channels.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ChannelsController.find"
      }
    },
    "/chat-logs/count": {
      "get": {
        "x-controller-name": "ChatLogsController",
        "x-operation-name": "count",
        "tags": [
          "ChatLogsController"
        ],
        "responses": {
          "200": {
            "description": "ChatLogs model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ChatLogs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ChatLogs>"
                }
              }
            }
          }
        ],
        "operationId": "ChatLogsController.count"
      }
    },
    "/chat-logs/{id}": {
      "put": {
        "x-controller-name": "ChatLogsController",
        "x-operation-name": "replaceById",
        "tags": [
          "ChatLogsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ChatLogs PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatLogs"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChatLogsController.replaceById"
      },
      "patch": {
        "x-controller-name": "ChatLogsController",
        "x-operation-name": "updateById",
        "tags": [
          "ChatLogsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ChatLogs PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatLogsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChatLogsController.updateById"
      },
      "get": {
        "x-controller-name": "ChatLogsController",
        "x-operation-name": "findById",
        "tags": [
          "ChatLogsController"
        ],
        "responses": {
          "200": {
            "description": "ChatLogs model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatLogsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatLogs.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ChatLogsController.findById"
      },
      "delete": {
        "x-controller-name": "ChatLogsController",
        "x-operation-name": "deleteById",
        "tags": [
          "ChatLogsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ChatLogs DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChatLogsController.deleteById"
      }
    },
    "/chat-logs": {
      "post": {
        "x-controller-name": "ChatLogsController",
        "x-operation-name": "create",
        "tags": [
          "ChatLogsController"
        ],
        "responses": {
          "200": {
            "description": "ChatLogs model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatLogs"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewChatLogs"
              }
            }
          }
        },
        "operationId": "ChatLogsController.create"
      },
      "patch": {
        "x-controller-name": "ChatLogsController",
        "x-operation-name": "updateAll",
        "tags": [
          "ChatLogsController"
        ],
        "responses": {
          "200": {
            "description": "ChatLogs PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ChatLogs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ChatLogs>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatLogsPartial"
              }
            }
          }
        },
        "operationId": "ChatLogsController.updateAll"
      },
      "get": {
        "x-controller-name": "ChatLogsController",
        "x-operation-name": "find",
        "tags": [
          "ChatLogsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ChatLogs model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChatLogsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatLogs.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ChatLogsController.find"
      }
    },
    "/cities/count": {
      "get": {
        "x-controller-name": "CitiesController",
        "x-operation-name": "count",
        "tags": [
          "CitiesController"
        ],
        "responses": {
          "200": {
            "description": "Cities model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Cities.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Cities>"
                }
              }
            }
          }
        ],
        "operationId": "CitiesController.count"
      }
    },
    "/cities/{id}/agencies": {
      "post": {
        "x-controller-name": "CitiesAgenciesController",
        "x-operation-name": "create",
        "tags": [
          "CitiesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Cities model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agencies"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAgenciesInCities"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CitiesAgenciesController.create"
      },
      "patch": {
        "x-controller-name": "CitiesAgenciesController",
        "x-operation-name": "patch",
        "tags": [
          "CitiesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Cities.Agencies PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Agencies.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Agencies>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgenciesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CitiesAgenciesController.patch"
      },
      "get": {
        "x-controller-name": "CitiesAgenciesController",
        "x-operation-name": "find",
        "tags": [
          "CitiesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Cities has many Agencies",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Agencies"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CitiesAgenciesController.find"
      },
      "delete": {
        "x-controller-name": "CitiesAgenciesController",
        "x-operation-name": "delete",
        "tags": [
          "CitiesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Cities.Agencies DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Agencies.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Agencies>"
                }
              }
            }
          }
        ],
        "operationId": "CitiesAgenciesController.delete"
      }
    },
    "/cities/{id}/clients": {
      "post": {
        "x-controller-name": "CitiesClientsController",
        "x-operation-name": "create",
        "tags": [
          "CitiesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Cities model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Clients"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClientsInCities"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CitiesClientsController.create"
      },
      "patch": {
        "x-controller-name": "CitiesClientsController",
        "x-operation-name": "patch",
        "tags": [
          "CitiesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Cities.Clients PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Clients.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Clients>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CitiesClientsController.patch"
      },
      "get": {
        "x-controller-name": "CitiesClientsController",
        "x-operation-name": "find",
        "tags": [
          "CitiesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Cities has many Clients",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CitiesClientsController.find"
      },
      "delete": {
        "x-controller-name": "CitiesClientsController",
        "x-operation-name": "delete",
        "tags": [
          "CitiesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Cities.Clients DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Clients.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Clients>"
                }
              }
            }
          }
        ],
        "operationId": "CitiesClientsController.delete"
      }
    },
    "/cities/{id}": {
      "put": {
        "x-controller-name": "CitiesController",
        "x-operation-name": "replaceById",
        "tags": [
          "CitiesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cities PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Cities"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CitiesController.replaceById"
      },
      "patch": {
        "x-controller-name": "CitiesController",
        "x-operation-name": "updateById",
        "tags": [
          "CitiesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cities PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CitiesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CitiesController.updateById"
      },
      "get": {
        "x-controller-name": "CitiesController",
        "x-operation-name": "findById",
        "tags": [
          "CitiesController"
        ],
        "responses": {
          "200": {
            "description": "Cities model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CitiesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cities.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CitiesController.findById"
      },
      "delete": {
        "x-controller-name": "CitiesController",
        "x-operation-name": "deleteById",
        "tags": [
          "CitiesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Cities DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CitiesController.deleteById"
      }
    },
    "/cities": {
      "post": {
        "x-controller-name": "CitiesController",
        "x-operation-name": "create",
        "tags": [
          "CitiesController"
        ],
        "responses": {
          "200": {
            "description": "Cities model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cities"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCities"
              }
            }
          }
        },
        "operationId": "CitiesController.create"
      },
      "patch": {
        "x-controller-name": "CitiesController",
        "x-operation-name": "updateAll",
        "tags": [
          "CitiesController"
        ],
        "responses": {
          "200": {
            "description": "Cities PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Cities.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Cities>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CitiesPartial"
              }
            }
          }
        },
        "operationId": "CitiesController.updateAll"
      },
      "get": {
        "x-controller-name": "CitiesController",
        "x-operation-name": "find",
        "tags": [
          "CitiesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Cities model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CitiesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Cities.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CitiesController.find"
      }
    },
    "/client-salesforces/add": {
      "post": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "createSalesforceClient",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "add new salesforce client credentials",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "client_id",
                  "url",
                  "username",
                  "password",
                  "grant_type",
                  "salesforce_client_id",
                  "salesforce_client_secret",
                  "add_bulk_url",
                  "record_type_id"
                ],
                "properties": {
                  "client_id": {
                    "type": "number"
                  },
                  "url": {
                    "type": "string"
                  },
                  "username": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  },
                  "grant_type": {
                    "type": "string"
                  },
                  "salesforce_client_id": {
                    "type": "string"
                  },
                  "salesforce_client_secret": {
                    "type": "string"
                  },
                  "add_bulk_url": {
                    "type": "string"
                  },
                  "record_type_id": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Add salesforce client credentials",
          "required": true
        },
        "operationId": "ClientSalesforceController.createSalesforceClient"
      }
    },
    "/client-salesforces/count": {
      "get": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "count",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ClientSalesforce.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ClientSalesforce>"
                }
              }
            }
          }
        ],
        "operationId": "ClientSalesforceController.count"
      }
    },
    "/client-salesforces/sync-lead": {
      "post": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "syncLead",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "sync lead to salesforce",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "lead_id",
                  "interstedProjects"
                ],
                "properties": {
                  "lead_id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "sync lead to salesforce",
          "required": true
        },
        "operationId": "ClientSalesforceController.syncLead"
      }
    },
    "/client-salesforces/{id}/channel-salesforce-mappings": {
      "post": {
        "x-controller-name": "ClientSalesforceChannelSalesforceMappingController",
        "x-operation-name": "create",
        "tags": [
          "ClientSalesforceChannelSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChannelSalesforceMapping"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewChannelSalesforceMappingInClientSalesforce"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientSalesforceChannelSalesforceMappingController.create"
      },
      "patch": {
        "x-controller-name": "ClientSalesforceChannelSalesforceMappingController",
        "x-operation-name": "patch",
        "tags": [
          "ClientSalesforceChannelSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce.ChannelSalesforceMapping PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ChannelSalesforceMapping.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ChannelSalesforceMapping>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChannelSalesforceMappingPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientSalesforceChannelSalesforceMappingController.patch"
      },
      "get": {
        "x-controller-name": "ClientSalesforceChannelSalesforceMappingController",
        "x-operation-name": "find",
        "tags": [
          "ClientSalesforceChannelSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "Array of ClientSalesforce has many ChannelSalesforceMapping",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChannelSalesforceMapping"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientSalesforceChannelSalesforceMappingController.find"
      },
      "delete": {
        "x-controller-name": "ClientSalesforceChannelSalesforceMappingController",
        "x-operation-name": "delete",
        "tags": [
          "ClientSalesforceChannelSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce.ChannelSalesforceMapping DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ChannelSalesforceMapping.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ChannelSalesforceMapping>"
                }
              }
            }
          }
        ],
        "operationId": "ClientSalesforceChannelSalesforceMappingController.delete"
      }
    },
    "/client-salesforces/{id}/clients": {
      "get": {
        "x-controller-name": "ClientSalesforceClientsController",
        "x-operation-name": "getClients",
        "tags": [
          "ClientSalesforceClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients belonging to ClientSalesforce",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Clients"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientSalesforceClientsController.getClients"
      }
    },
    "/client-salesforces/{id}/rating-salesforce-mappings": {
      "post": {
        "x-controller-name": "ClientSalesforceRatingSalesforceMappingController",
        "x-operation-name": "create",
        "tags": [
          "ClientSalesforceRatingSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RatingSalesforceMapping"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRatingSalesforceMappingInClientSalesforce"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientSalesforceRatingSalesforceMappingController.create"
      },
      "patch": {
        "x-controller-name": "ClientSalesforceRatingSalesforceMappingController",
        "x-operation-name": "patch",
        "tags": [
          "ClientSalesforceRatingSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce.RatingSalesforceMapping PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RatingSalesforceMapping.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RatingSalesforceMapping>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RatingSalesforceMappingPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientSalesforceRatingSalesforceMappingController.patch"
      },
      "get": {
        "x-controller-name": "ClientSalesforceRatingSalesforceMappingController",
        "x-operation-name": "find",
        "tags": [
          "ClientSalesforceRatingSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "Array of ClientSalesforce has many RatingSalesforceMapping",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RatingSalesforceMapping"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientSalesforceRatingSalesforceMappingController.find"
      },
      "delete": {
        "x-controller-name": "ClientSalesforceRatingSalesforceMappingController",
        "x-operation-name": "delete",
        "tags": [
          "ClientSalesforceRatingSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce.RatingSalesforceMapping DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RatingSalesforceMapping.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RatingSalesforceMapping>"
                }
              }
            }
          }
        ],
        "operationId": "ClientSalesforceRatingSalesforceMappingController.delete"
      }
    },
    "/client-salesforces/{id}": {
      "put": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "replaceById",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ClientSalesforce PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSalesforce"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientSalesforceController.replaceById"
      },
      "patch": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "updateById",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ClientSalesforce PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSalesforcePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientSalesforceController.updateById"
      },
      "get": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "findById",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSalesforceWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSalesforce.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ClientSalesforceController.findById"
      },
      "delete": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "deleteById",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ClientSalesforce DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientSalesforceController.deleteById"
      }
    },
    "/client-salesforces": {
      "post": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "create",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSalesforce"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClientSalesforce"
              }
            }
          }
        },
        "operationId": "ClientSalesforceController.create"
      },
      "patch": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "updateAll",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ClientSalesforce.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ClientSalesforce>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSalesforcePartial"
              }
            }
          }
        },
        "operationId": "ClientSalesforceController.updateAll"
      },
      "get": {
        "x-controller-name": "ClientSalesforceController",
        "x-operation-name": "find",
        "tags": [
          "ClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "Array of ClientSalesforce model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientSalesforceWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSalesforce.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ClientSalesforceController.find"
      }
    },
    "/client-sms-templates/count": {
      "get": {
        "x-controller-name": "ClientSmsTemplateController",
        "x-operation-name": "count",
        "tags": [
          "ClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "ClientSmsTemplate model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ClientSmsTemplate.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ClientSmsTemplate>"
                }
              }
            }
          }
        ],
        "operationId": "ClientSmsTemplateController.count"
      }
    },
    "/client-sms-templates/{id}/clients": {
      "get": {
        "x-controller-name": "ClientSmsTemplateClientsController",
        "x-operation-name": "getClients",
        "tags": [
          "ClientSmsTemplateClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients belonging to ClientSmsTemplate",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientSmsTemplateClientsController.getClients"
      }
    },
    "/client-sms-templates/{id}": {
      "put": {
        "x-controller-name": "ClientSmsTemplateController",
        "x-operation-name": "replaceById",
        "tags": [
          "ClientSmsTemplateController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ClientSmsTemplate PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSmsTemplate"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientSmsTemplateController.replaceById"
      },
      "patch": {
        "x-controller-name": "ClientSmsTemplateController",
        "x-operation-name": "updateById",
        "tags": [
          "ClientSmsTemplateController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ClientSmsTemplate PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSmsTemplatePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientSmsTemplateController.updateById"
      },
      "get": {
        "x-controller-name": "ClientSmsTemplateController",
        "x-operation-name": "findById",
        "tags": [
          "ClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "ClientSmsTemplate model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSmsTemplateWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSmsTemplate.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ClientSmsTemplateController.findById"
      },
      "delete": {
        "x-controller-name": "ClientSmsTemplateController",
        "x-operation-name": "deleteById",
        "tags": [
          "ClientSmsTemplateController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ClientSmsTemplate DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientSmsTemplateController.deleteById"
      }
    },
    "/client-sms-templates": {
      "post": {
        "x-controller-name": "ClientSmsTemplateController",
        "x-operation-name": "create",
        "tags": [
          "ClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "ClientSmsTemplate model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSmsTemplate"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClientSmsTemplate"
              }
            }
          }
        },
        "operationId": "ClientSmsTemplateController.create"
      },
      "patch": {
        "x-controller-name": "ClientSmsTemplateController",
        "x-operation-name": "updateAll",
        "tags": [
          "ClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "ClientSmsTemplate PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ClientSmsTemplate.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ClientSmsTemplate>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSmsTemplatePartial"
              }
            }
          }
        },
        "operationId": "ClientSmsTemplateController.updateAll"
      },
      "get": {
        "x-controller-name": "ClientSmsTemplateController",
        "x-operation-name": "find",
        "tags": [
          "ClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "Array of ClientSmsTemplate model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientSmsTemplateWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSmsTemplate.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ClientSmsTemplateController.find"
      }
    },
    "/clients/count": {
      "get": {
        "x-controller-name": "ClientsController",
        "x-operation-name": "count",
        "tags": [
          "ClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Clients.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Clients>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsController.count"
      }
    },
    "/clients/{id}/agencies": {
      "get": {
        "x-controller-name": "ClientsAgenciesController",
        "x-operation-name": "getAgencies",
        "tags": [
          "ClientsAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Agencies belonging to Clients",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Agencies"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientsAgenciesController.getAgencies"
      }
    },
    "/clients/{id}/campaigns": {
      "post": {
        "x-controller-name": "ClientsCampaignsController",
        "x-operation-name": "create",
        "tags": [
          "ClientsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Campaigns"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCampaignsInClients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsCampaignsController.create"
      },
      "patch": {
        "x-controller-name": "ClientsCampaignsController",
        "x-operation-name": "patch",
        "tags": [
          "ClientsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Clients.Campaigns PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Campaigns.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Campaigns>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsCampaignsController.patch"
      },
      "get": {
        "x-controller-name": "ClientsCampaignsController",
        "x-operation-name": "find",
        "tags": [
          "ClientsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Clients has many Campaigns",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Campaigns"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientsCampaignsController.find"
      },
      "delete": {
        "x-controller-name": "ClientsCampaignsController",
        "x-operation-name": "delete",
        "tags": [
          "ClientsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Clients.Campaigns DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Campaigns.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Campaigns>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsCampaignsController.delete"
      }
    },
    "/clients/{id}/cities": {
      "get": {
        "x-controller-name": "ClientsCitiesController",
        "x-operation-name": "getCities",
        "tags": [
          "ClientsCitiesController"
        ],
        "responses": {
          "200": {
            "description": "Cities belonging to Clients",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Cities"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientsCitiesController.getCities"
      }
    },
    "/clients/{id}/client-salesforce": {
      "post": {
        "x-controller-name": "ClientsClientSalesforceController",
        "x-operation-name": "create",
        "tags": [
          "ClientsClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSalesforce"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClientSalesforceInClients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsClientSalesforceController.create"
      },
      "patch": {
        "x-controller-name": "ClientsClientSalesforceController",
        "x-operation-name": "patch",
        "tags": [
          "ClientsClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "Clients.ClientSalesforce PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ClientSalesforce.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ClientSalesforce>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSalesforcePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsClientSalesforceController.patch"
      },
      "get": {
        "x-controller-name": "ClientsClientSalesforceController",
        "x-operation-name": "get",
        "tags": [
          "ClientsClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "Clients has one ClientSalesforce",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSalesforce"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientsClientSalesforceController.get"
      },
      "delete": {
        "x-controller-name": "ClientsClientSalesforceController",
        "x-operation-name": "delete",
        "tags": [
          "ClientsClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "Clients.ClientSalesforce DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ClientSalesforce.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ClientSalesforce>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsClientSalesforceController.delete"
      }
    },
    "/clients/{id}/client-sms-templates": {
      "post": {
        "x-controller-name": "ClientsClientSmsTemplateController",
        "x-operation-name": "create",
        "tags": [
          "ClientsClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSmsTemplate"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClientSmsTemplateInClients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsClientSmsTemplateController.create"
      },
      "patch": {
        "x-controller-name": "ClientsClientSmsTemplateController",
        "x-operation-name": "patch",
        "tags": [
          "ClientsClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "Clients.ClientSmsTemplate PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ClientSmsTemplate.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ClientSmsTemplate>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSmsTemplatePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsClientSmsTemplateController.patch"
      },
      "get": {
        "x-controller-name": "ClientsClientSmsTemplateController",
        "x-operation-name": "find",
        "tags": [
          "ClientsClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "Array of Clients has many ClientSmsTemplate",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientSmsTemplate"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientsClientSmsTemplateController.find"
      },
      "delete": {
        "x-controller-name": "ClientsClientSmsTemplateController",
        "x-operation-name": "delete",
        "tags": [
          "ClientsClientSmsTemplateController"
        ],
        "responses": {
          "200": {
            "description": "Clients.ClientSmsTemplate DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ClientSmsTemplate.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ClientSmsTemplate>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsClientSmsTemplateController.delete"
      }
    },
    "/clients/{id}/default-assignments": {
      "post": {
        "x-controller-name": "ClientsDefaultAssignmentsController",
        "x-operation-name": "create",
        "tags": [
          "ClientsDefaultAssignmentsController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultAssignments"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDefaultAssignmentsInClients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsDefaultAssignmentsController.create"
      },
      "patch": {
        "x-controller-name": "ClientsDefaultAssignmentsController",
        "x-operation-name": "patch",
        "tags": [
          "ClientsDefaultAssignmentsController"
        ],
        "responses": {
          "200": {
            "description": "Clients.DefaultAssignments PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DefaultAssignments.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DefaultAssignments>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DefaultAssignmentsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsDefaultAssignmentsController.patch"
      },
      "get": {
        "x-controller-name": "ClientsDefaultAssignmentsController",
        "x-operation-name": "find",
        "tags": [
          "ClientsDefaultAssignmentsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Clients has many DefaultAssignments",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DefaultAssignments"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientsDefaultAssignmentsController.find"
      },
      "delete": {
        "x-controller-name": "ClientsDefaultAssignmentsController",
        "x-operation-name": "delete",
        "tags": [
          "ClientsDefaultAssignmentsController"
        ],
        "responses": {
          "200": {
            "description": "Clients.DefaultAssignments DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DefaultAssignments.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DefaultAssignments>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsDefaultAssignmentsController.delete"
      }
    },
    "/clients/{id}/project-payment-types": {
      "post": {
        "x-controller-name": "ClientsProjectPaymentTypesController",
        "x-operation-name": "create",
        "tags": [
          "ClientsProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectPaymentTypes"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectPaymentTypesInClients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsProjectPaymentTypesController.create"
      },
      "patch": {
        "x-controller-name": "ClientsProjectPaymentTypesController",
        "x-operation-name": "patch",
        "tags": [
          "ClientsProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Clients.ProjectPaymentTypes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectPaymentTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectPaymentTypes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectPaymentTypesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsProjectPaymentTypesController.patch"
      },
      "get": {
        "x-controller-name": "ClientsProjectPaymentTypesController",
        "x-operation-name": "find",
        "tags": [
          "ClientsProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Clients has many ProjectPaymentTypes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectPaymentTypes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientsProjectPaymentTypesController.find"
      },
      "delete": {
        "x-controller-name": "ClientsProjectPaymentTypesController",
        "x-operation-name": "delete",
        "tags": [
          "ClientsProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Clients.ProjectPaymentTypes DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectPaymentTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectPaymentTypes>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsProjectPaymentTypesController.delete"
      }
    },
    "/clients/{id}/projects": {
      "post": {
        "x-controller-name": "ClientsProjectsController",
        "x-operation-name": "create",
        "tags": [
          "ClientsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Projects"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectsInClients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsProjectsController.create"
      },
      "patch": {
        "x-controller-name": "ClientsProjectsController",
        "x-operation-name": "patch",
        "tags": [
          "ClientsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Clients.Projects PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Projects.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Projects>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsProjectsController.patch"
      },
      "get": {
        "x-controller-name": "ClientsProjectsController",
        "x-operation-name": "find",
        "tags": [
          "ClientsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Clients has many Projects",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Projects"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientsProjectsController.find"
      },
      "delete": {
        "x-controller-name": "ClientsProjectsController",
        "x-operation-name": "delete",
        "tags": [
          "ClientsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Clients.Projects DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Projects.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Projects>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsProjectsController.delete"
      }
    },
    "/clients/{id}/teams": {
      "post": {
        "x-controller-name": "ClientsTeamsController",
        "x-operation-name": "create",
        "tags": [
          "ClientsTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Teams"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTeamsInClients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsTeamsController.create"
      },
      "patch": {
        "x-controller-name": "ClientsTeamsController",
        "x-operation-name": "patch",
        "tags": [
          "ClientsTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Clients.Teams PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Teams.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Teams>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsTeamsController.patch"
      },
      "get": {
        "x-controller-name": "ClientsTeamsController",
        "x-operation-name": "find",
        "tags": [
          "ClientsTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Clients has many Teams",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Teams"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientsTeamsController.find"
      },
      "delete": {
        "x-controller-name": "ClientsTeamsController",
        "x-operation-name": "delete",
        "tags": [
          "ClientsTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Clients.Teams DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Teams.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Teams>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsTeamsController.delete"
      }
    },
    "/clients/{id}/users": {
      "post": {
        "x-controller-name": "ClientsUsersController",
        "x-operation-name": "create",
        "tags": [
          "ClientsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsersInClients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsUsersController.create"
      },
      "patch": {
        "x-controller-name": "ClientsUsersController",
        "x-operation-name": "patch",
        "tags": [
          "ClientsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Clients.Users PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsUsersController.patch"
      },
      "get": {
        "x-controller-name": "ClientsUsersController",
        "x-operation-name": "find",
        "tags": [
          "ClientsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of Clients has many Users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ClientsUsersController.find"
      },
      "delete": {
        "x-controller-name": "ClientsUsersController",
        "x-operation-name": "delete",
        "tags": [
          "ClientsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Clients.Users DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "operationId": "ClientsUsersController.delete"
      }
    },
    "/clients/{id}": {
      "put": {
        "x-controller-name": "ClientsController",
        "x-operation-name": "replaceById",
        "tags": [
          "ClientsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Clients PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Clients"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsController.replaceById"
      },
      "patch": {
        "x-controller-name": "ClientsController",
        "x-operation-name": "updateById",
        "tags": [
          "ClientsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Clients PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClientsController.updateById"
      },
      "get": {
        "x-controller-name": "ClientsController",
        "x-operation-name": "findById",
        "tags": [
          "ClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Clients.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ClientsController.findById"
      },
      "delete": {
        "x-controller-name": "ClientsController",
        "x-operation-name": "deleteById",
        "tags": [
          "ClientsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Clients DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClientsController.deleteById"
      }
    },
    "/clients": {
      "post": {
        "x-controller-name": "ClientsController",
        "x-operation-name": "create",
        "tags": [
          "ClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Clients"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClients"
              }
            }
          }
        },
        "operationId": "ClientsController.create"
      },
      "patch": {
        "x-controller-name": "ClientsController",
        "x-operation-name": "updateAll",
        "tags": [
          "ClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Clients.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Clients>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientsPartial"
              }
            }
          }
        },
        "operationId": "ClientsController.updateAll"
      },
      "get": {
        "x-controller-name": "ClientsController",
        "x-operation-name": "find",
        "tags": [
          "ClientsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Clients model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClientsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Clients.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ClientsController.find"
      }
    },
    "/conversions-api/fb": {
      "post": {
        "x-controller-name": "ConversionsApiController",
        "x-operation-name": "fbConversionsApi",
        "tags": [
          "ConversionsApiController"
        ],
        "responses": {
          "200": {
            "description": "Integrate with facebook conversions api",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ConversionsApiController.fbConversionsApi"
      }
    },
    "/conversions-api/fb-for-bulk": {
      "post": {
        "x-controller-name": "ConversionsApiController",
        "x-operation-name": "fbConversionsApiBulk",
        "tags": [
          "ConversionsApiController"
        ],
        "responses": {
          "200": {
            "description": "Integrate with facebook conversions api for bulk leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array"
              }
            }
          }
        },
        "operationId": "ConversionsApiController.fbConversionsApiBulk"
      }
    },
    "/countries/count": {
      "get": {
        "x-controller-name": "CountriesController",
        "x-operation-name": "count",
        "tags": [
          "CountriesController"
        ],
        "responses": {
          "200": {
            "description": "Countries model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Countries.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Countries>"
                }
              }
            }
          }
        ],
        "operationId": "CountriesController.count"
      }
    },
    "/countries/{id}/agencies": {
      "post": {
        "x-controller-name": "CountriesAgenciesController",
        "x-operation-name": "create",
        "tags": [
          "CountriesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Countries model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agencies"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAgenciesInCountries"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CountriesAgenciesController.create"
      },
      "patch": {
        "x-controller-name": "CountriesAgenciesController",
        "x-operation-name": "patch",
        "tags": [
          "CountriesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Countries.Agencies PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Agencies.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Agencies>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgenciesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CountriesAgenciesController.patch"
      },
      "get": {
        "x-controller-name": "CountriesAgenciesController",
        "x-operation-name": "find",
        "tags": [
          "CountriesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Countries has many Agencies",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Agencies"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CountriesAgenciesController.find"
      },
      "delete": {
        "x-controller-name": "CountriesAgenciesController",
        "x-operation-name": "delete",
        "tags": [
          "CountriesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Countries.Agencies DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Agencies.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Agencies>"
                }
              }
            }
          }
        ],
        "operationId": "CountriesAgenciesController.delete"
      }
    },
    "/countries/{id}/leads": {
      "post": {
        "x-controller-name": "CountriesLeadsController",
        "x-operation-name": "create",
        "tags": [
          "CountriesLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Countries model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadsInCountries"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CountriesLeadsController.create"
      },
      "patch": {
        "x-controller-name": "CountriesLeadsController",
        "x-operation-name": "patch",
        "tags": [
          "CountriesLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Countries.Leads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CountriesLeadsController.patch"
      },
      "get": {
        "x-controller-name": "CountriesLeadsController",
        "x-operation-name": "find",
        "tags": [
          "CountriesLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Countries has many Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CountriesLeadsController.find"
      },
      "delete": {
        "x-controller-name": "CountriesLeadsController",
        "x-operation-name": "delete",
        "tags": [
          "CountriesLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Countries.Leads DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "operationId": "CountriesLeadsController.delete"
      }
    },
    "/countries/{id}/teams": {
      "post": {
        "x-controller-name": "CountriesTeamsController",
        "x-operation-name": "create",
        "tags": [
          "CountriesTeamsController"
        ],
        "responses": {
          "200": {
            "description": "create a Teams model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Teams"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTeamsInCountries"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CountriesTeamsController.create"
      },
      "patch": {
        "x-controller-name": "CountriesTeamsController",
        "x-operation-name": "patch",
        "tags": [
          "CountriesTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Countries.Teams PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Teams.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Teams>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CountriesTeamsController.patch"
      },
      "get": {
        "x-controller-name": "CountriesTeamsController",
        "x-operation-name": "find",
        "tags": [
          "CountriesTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Countries has many Teams through TeamCountries",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Teams"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "CountriesTeamsController.find"
      },
      "delete": {
        "x-controller-name": "CountriesTeamsController",
        "x-operation-name": "delete",
        "tags": [
          "CountriesTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Countries.Teams DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Teams.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Teams>"
                }
              }
            }
          }
        ],
        "operationId": "CountriesTeamsController.delete"
      }
    },
    "/countries/{id}": {
      "put": {
        "x-controller-name": "CountriesController",
        "x-operation-name": "replaceById",
        "tags": [
          "CountriesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Countries PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Countries"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CountriesController.replaceById"
      },
      "patch": {
        "x-controller-name": "CountriesController",
        "x-operation-name": "updateById",
        "tags": [
          "CountriesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Countries PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CountriesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CountriesController.updateById"
      },
      "get": {
        "x-controller-name": "CountriesController",
        "x-operation-name": "findById",
        "tags": [
          "CountriesController"
        ],
        "responses": {
          "200": {
            "description": "Countries model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CountriesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Countries.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CountriesController.findById"
      },
      "delete": {
        "x-controller-name": "CountriesController",
        "x-operation-name": "deleteById",
        "tags": [
          "CountriesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Countries DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CountriesController.deleteById"
      }
    },
    "/countries": {
      "post": {
        "x-controller-name": "CountriesController",
        "x-operation-name": "create",
        "tags": [
          "CountriesController"
        ],
        "responses": {
          "200": {
            "description": "Countries model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Countries"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCountries"
              }
            }
          }
        },
        "operationId": "CountriesController.create"
      },
      "patch": {
        "x-controller-name": "CountriesController",
        "x-operation-name": "updateAll",
        "tags": [
          "CountriesController"
        ],
        "responses": {
          "200": {
            "description": "Countries PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Countries.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Countries>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CountriesPartial"
              }
            }
          }
        },
        "operationId": "CountriesController.updateAll"
      },
      "get": {
        "x-controller-name": "CountriesController",
        "x-operation-name": "find",
        "tags": [
          "CountriesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Countries model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CountriesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Countries.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CountriesController.find"
      }
    },
    "/default-assignments/{id}/clients": {
      "get": {
        "x-controller-name": "DefaultAssignmentsClientsController",
        "x-operation-name": "getClients",
        "tags": [
          "DefaultAssignmentsClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients belonging to DefaultAssignments",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DefaultAssignmentsClientsController.getClients"
      }
    },
    "/default-assignments/{id}/users": {
      "get": {
        "x-controller-name": "DefaultAssignmentsUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "DefaultAssignmentsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to DefaultAssignments",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DefaultAssignmentsUsersController.getUsers"
      }
    },
    "/fb-conversions-api-logs/{id}/leads": {
      "get": {
        "x-controller-name": "FbConversionsApiLogsLeadsController",
        "x-operation-name": "getLeads",
        "tags": [
          "FbConversionsApiLogsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads belonging to FbConversionsApiLogs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FbConversionsApiLogsLeadsController.getLeads"
      }
    },
    "/fb-conversions-api-logs/{id}/ratings": {
      "get": {
        "x-controller-name": "FbConversionsApiLogsRatingsController",
        "x-operation-name": "getRatings",
        "tags": [
          "FbConversionsApiLogsRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings belonging to FbConversionsApiLogs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FbConversionsApiLogsRatingsController.getRatings"
      }
    },
    "/fb-conversions-api-logs/{id}/users": {
      "get": {
        "x-controller-name": "FbConversionsApiLogsUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "FbConversionsApiLogsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to FbConversionsApiLogs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FbConversionsApiLogsUsersController.getUsers"
      }
    },
    "/forget-password/finish": {
      "put": {
        "x-controller-name": "UserController",
        "x-operation-name": "forgetPasswordFinish",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyAndPassword"
              }
            }
          }
        },
        "operationId": "UserController.forgetPasswordFinish"
      }
    },
    "/forget-password/init": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "forgetPasswordInit",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserEmail"
              }
            }
          }
        },
        "operationId": "UserController.forgetPasswordInit"
      }
    },
    "/hold-leads/count": {
      "get": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "count",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "HoldLeads model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HoldLeads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HoldLeads>"
                }
              }
            }
          }
        ],
        "operationId": "HoldLeadsController.count"
      }
    },
    "/hold-leads/insert": {
      "post": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "insertHoldLeads",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Insert new hold lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "lead_id"
                ],
                "properties": {
                  "lead_id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Insert Hold Lead",
          "required": true
        },
        "operationId": "HoldLeadsController.insertHoldLeads"
      }
    },
    "/hold-leads/unhold": {
      "post": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "unHoldLeads",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Unhold lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "lead_id"
                ],
                "properties": {
                  "lead_id": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "description": "Insert Hold Lead",
          "required": true
        },
        "operationId": "HoldLeadsController.unHoldLeads"
      }
    },
    "/hold-leads/{id}/leads": {
      "get": {
        "x-controller-name": "HoldLeadsLeadsController",
        "x-operation-name": "getLeads",
        "tags": [
          "HoldLeadsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads belonging to HoldLeads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "HoldLeadsLeadsController.getLeads"
      }
    },
    "/hold-leads/{id}/users": {
      "get": {
        "x-controller-name": "HoldLeadsUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "HoldLeadsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to HoldLeads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "HoldLeadsUsersController.getUsers"
      }
    },
    "/hold-leads/{id}": {
      "put": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "replaceById",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "HoldLeads PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HoldLeads"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "HoldLeadsController.replaceById"
      },
      "patch": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "updateById",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "HoldLeads PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HoldLeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "HoldLeadsController.updateById"
      },
      "get": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "findById",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "HoldLeads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldLeadsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldLeads.Filter"
                }
              }
            }
          }
        ],
        "operationId": "HoldLeadsController.findById"
      },
      "delete": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "deleteById",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "HoldLeads DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "HoldLeadsController.deleteById"
      }
    },
    "/hold-leads": {
      "post": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "create",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "HoldLeads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldLeads"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewHoldLeads"
              }
            }
          }
        },
        "operationId": "HoldLeadsController.create"
      },
      "patch": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "updateAll",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "HoldLeads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HoldLeads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HoldLeads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HoldLeadsPartial"
              }
            }
          }
        },
        "operationId": "HoldLeadsController.updateAll"
      },
      "get": {
        "x-controller-name": "HoldLeadsController",
        "x-operation-name": "find",
        "tags": [
          "HoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of HoldLeads model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HoldLeadsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldLeads.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "HoldLeadsController.find"
      }
    },
    "/jwt-blacklist-tokens/count": {
      "get": {
        "x-controller-name": "JwtBlacklistTokensController",
        "x-operation-name": "count",
        "tags": [
          "JwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "JwtBlacklistTokens model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "JwtBlacklistTokens.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<JwtBlacklistTokens>"
                }
              }
            }
          }
        ],
        "operationId": "JwtBlacklistTokensController.count"
      }
    },
    "/jwt-blacklist-tokens/{id}/users": {
      "get": {
        "x-controller-name": "JwtBlacklistTokensUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "JwtBlacklistTokensUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to JwtBlacklistTokens",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "JwtBlacklistTokensUsersController.getUsers"
      }
    },
    "/jwt-blacklist-tokens/{id}": {
      "put": {
        "x-controller-name": "JwtBlacklistTokensController",
        "x-operation-name": "replaceById",
        "tags": [
          "JwtBlacklistTokensController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "JwtBlacklistTokens PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JwtBlacklistTokens"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "JwtBlacklistTokensController.replaceById"
      },
      "patch": {
        "x-controller-name": "JwtBlacklistTokensController",
        "x-operation-name": "updateById",
        "tags": [
          "JwtBlacklistTokensController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "JwtBlacklistTokens PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JwtBlacklistTokensPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "JwtBlacklistTokensController.updateById"
      },
      "get": {
        "x-controller-name": "JwtBlacklistTokensController",
        "x-operation-name": "findById",
        "tags": [
          "JwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "JwtBlacklistTokens model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwtBlacklistTokensWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwtBlacklistTokens.Filter"
                }
              }
            }
          }
        ],
        "operationId": "JwtBlacklistTokensController.findById"
      },
      "delete": {
        "x-controller-name": "JwtBlacklistTokensController",
        "x-operation-name": "deleteById",
        "tags": [
          "JwtBlacklistTokensController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "JwtBlacklistTokens DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "JwtBlacklistTokensController.deleteById"
      }
    },
    "/jwt-blacklist-tokens": {
      "post": {
        "x-controller-name": "JwtBlacklistTokensController",
        "x-operation-name": "create",
        "tags": [
          "JwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "JwtBlacklistTokens model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwtBlacklistTokens"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewJwtBlacklistTokens"
              }
            }
          }
        },
        "operationId": "JwtBlacklistTokensController.create"
      },
      "patch": {
        "x-controller-name": "JwtBlacklistTokensController",
        "x-operation-name": "updateAll",
        "tags": [
          "JwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "JwtBlacklistTokens PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "JwtBlacklistTokens.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<JwtBlacklistTokens>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JwtBlacklistTokensPartial"
              }
            }
          }
        },
        "operationId": "JwtBlacklistTokensController.updateAll"
      },
      "get": {
        "x-controller-name": "JwtBlacklistTokensController",
        "x-operation-name": "find",
        "tags": [
          "JwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "Array of JwtBlacklistTokens model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JwtBlacklistTokensWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwtBlacklistTokens.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "JwtBlacklistTokensController.find"
      }
    },
    "/leads/assign": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "assignLead",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Assign member for leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "member_id",
                  "leads"
                ],
                "properties": {
                  "member_id": {
                    "type": "number"
                  },
                  "leads": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "description": "Assign lead data",
          "required": true
        },
        "operationId": "LeadsController.assignLead"
      }
    },
    "/leads/bulkInsert": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "bulkInsert",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Bulk insert leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "name",
                    "code"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "phone": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "device": {
                      "type": "string"
                    },
                    "customer_notes": {
                      "type": "string"
                    },
                    "ip": {
                      "type": "string"
                    },
                    "channel_link": {
                      "type": "string"
                    },
                    "rating": {
                      "type": "string"
                    },
                    "jobTitle": {
                      "type": "string"
                    },
                    "offer": {
                      "type": "string"
                    },
                    "tracking": {
                      "type": "string"
                    },
                    "channel_lead_generated_id": {
                      "type": "string"
                    },
                    "countryCode": {
                      "type": "string"
                    },
                    "integrateWithPlatform": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "description": "bulk insert lead with integration",
          "required": true
        },
        "operationId": "LeadsController.bulkInsert"
      }
    },
    "/leads/count": {
      "get": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "count",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "operationId": "LeadsController.count"
      }
    },
    "/leads/export-csv": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "exportLeads",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Automatically rotates leads"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "LeadsController.exportLeads"
      }
    },
    "/leads/fetchLeads": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "fetchLeads",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Fetch Leads for the dashboard generated from google sheets",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "campaignId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ratings",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "LeadsController.fetchLeads"
      }
    },
    "/leads/fetchLeadsOffers": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "fetchLeadsOffers",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Fetch offes for the dashboard generated from google sheets",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "campaignId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "LeadsController.fetchLeadsOffers"
      }
    },
    "/leads/fetchLeadsOffersWithStatus": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "fetchLeadsOffersWithStatus",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Fetch offes for the dashboard generated from google sheets",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "campaignId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "LeadsController.fetchLeadsOffersWithStatus"
      }
    },
    "/leads/filter": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "filterLeads",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads model instances filtered by campaign , project and status (multiple selection) ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "campaign_ids": {
                    "type": "array"
                  },
                  "project_ids": {
                    "type": "array"
                  },
                  "status_ids": {
                    "type": "array"
                  },
                  "sort": {
                    "type": "string",
                    "default": "desc"
                  },
                  "sort_by": {
                    "type": "number",
                    "default": 1
                  },
                  "dateFrom": {
                    "type": "string"
                  },
                  "dateTo": {
                    "type": "string"
                  },
                  "member_ids": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "description": "lead list by filter",
          "required": false
        },
        "operationId": "LeadsController.filterLeads"
      }
    },
    "/leads/insert": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "insertLead",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Insert new lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "code"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  },
                  "device": {
                    "type": "string"
                  },
                  "customer_notes": {
                    "type": "string"
                  },
                  "ip": {
                    "type": "string"
                  },
                  "channel_link": {
                    "type": "string"
                  },
                  "rating": {
                    "type": "string"
                  },
                  "jobTitle": {
                    "type": "string"
                  },
                  "offer": {
                    "type": "string"
                  },
                  "tracking": {
                    "type": "string"
                  },
                  "channel_lead_generated_id": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "lead list by filter",
          "required": true
        },
        "operationId": "LeadsController.insertLead"
      }
    },
    "/leads/insertWithIntegration": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "insertWithIntegration",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Insert new lead and steer the integration platform api",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "code"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  },
                  "device": {
                    "type": "string"
                  },
                  "customer_notes": {
                    "type": "string"
                  },
                  "ip": {
                    "type": "string"
                  },
                  "channel_link": {
                    "type": "string"
                  },
                  "rating": {
                    "type": "string"
                  },
                  "jobTitle": {
                    "type": "string"
                  },
                  "offer": {
                    "type": "string"
                  },
                  "tracking": {
                    "type": "string"
                  },
                  "channel_lead_generated_id": {
                    "type": "string"
                  },
                  "countryCode": {
                    "type": "string"
                  },
                  "integrateWithPlatform": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "insert lead with integration",
          "required": true
        },
        "operationId": "LeadsController.insertWithIntegration"
      }
    },
    "/leads/integrateWithLeadsBridge": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "integrateWithLeadsBridge",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Handle the integration with leadsBridge",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "leadId",
                  "apiUrl",
                  "method",
                  "body",
                  "headers"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  },
                  "apiUrl": {
                    "type": "string"
                  },
                  "method": {
                    "type": "string"
                  },
                  "body": {
                    "type": "string"
                  },
                  "headers": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "integrate leads into leadsBridge",
          "required": true
        },
        "operationId": "LeadsController.integrateWithLeadsBridge"
      }
    },
    "/leads/resendLeadsBridgeLeads": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "resendLeadsBridgeLeads",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Resend missed leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "lead_ids"
                ],
                "properties": {
                  "lead_ids": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "description": "resend lead with integration",
          "required": true
        },
        "operationId": "LeadsController.resendLeadsBridgeLeads"
      }
    },
    "/leads/resendVtigerLeads": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "resendVtigerLeads",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Resend missed leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "lead_ids"
                ],
                "properties": {
                  "lead_ids": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "description": "resend lead with integration",
          "required": true
        },
        "operationId": "LeadsController.resendVtigerLeads"
      }
    },
    "/leads/upsertChatbot": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "upsertChatbot",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Upsert a lead by comparing the mobile number",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "phone"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string"
                  },
                  "secondPhone": {
                    "type": "string"
                  },
                  "code": {
                    "type": "string"
                  },
                  "device": {
                    "type": "string"
                  },
                  "customer_notes": {
                    "type": "string"
                  },
                  "ip": {
                    "type": "string"
                  },
                  "channel_link": {
                    "type": "string"
                  },
                  "rating_id": {
                    "type": "string"
                  },
                  "jobTitle": {
                    "type": "string"
                  },
                  "offer": {
                    "type": "string"
                  },
                  "tracking": {
                    "type": "string"
                  },
                  "campaign_id": {
                    "type": "string"
                  },
                  "updated_at": {
                    "type": "string"
                  },
                  "extraValues": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "description": "lead list by filter",
          "required": true
        },
        "operationId": "LeadsController.upsertChatbot"
      }
    },
    "/leads/{id}/assignment-histories": {
      "post": {
        "x-controller-name": "LeadsAssignmentHistoryController",
        "x-operation-name": "create",
        "tags": [
          "LeadsAssignmentHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssignmentHistory"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAssignmentHistoryInLeads"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsAssignmentHistoryController.create"
      },
      "patch": {
        "x-controller-name": "LeadsAssignmentHistoryController",
        "x-operation-name": "patch",
        "tags": [
          "LeadsAssignmentHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Leads.AssignmentHistory PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "AssignmentHistory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<AssignmentHistory>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignmentHistoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsAssignmentHistoryController.patch"
      },
      "get": {
        "x-controller-name": "LeadsAssignmentHistoryController",
        "x-operation-name": "find",
        "tags": [
          "LeadsAssignmentHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads has many AssignmentHistory",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AssignmentHistory"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "LeadsAssignmentHistoryController.find"
      },
      "delete": {
        "x-controller-name": "LeadsAssignmentHistoryController",
        "x-operation-name": "delete",
        "tags": [
          "LeadsAssignmentHistoryController"
        ],
        "responses": {
          "200": {
            "description": "Leads.AssignmentHistory DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "AssignmentHistory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<AssignmentHistory>"
                }
              }
            }
          }
        ],
        "operationId": "LeadsAssignmentHistoryController.delete"
      }
    },
    "/leads/{id}/campaigns": {
      "get": {
        "x-controller-name": "LeadsCampaignsController",
        "x-operation-name": "getCampaigns",
        "tags": [
          "LeadsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns belonging to Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Campaigns"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsCampaignsController.getCampaigns"
      }
    },
    "/leads/{id}/channels": {
      "get": {
        "x-controller-name": "LeadsChannelsController",
        "x-operation-name": "getChannels",
        "tags": [
          "LeadsChannelsController"
        ],
        "responses": {
          "200": {
            "description": "Channels belonging to Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Channels"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsChannelsController.getChannels"
      }
    },
    "/leads/{id}/countries": {
      "get": {
        "x-controller-name": "LeadsCountriesController",
        "x-operation-name": "getCountries",
        "tags": [
          "LeadsCountriesController"
        ],
        "responses": {
          "200": {
            "description": "Countries belonging to Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Countries"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsCountriesController.getCountries"
      }
    },
    "/leads/{id}/custom-notes": {
      "get": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "customNotesList",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "View  lead's custom notes list details by id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsController.customNotesList"
      }
    },
    "/leads/{id}/extra-values": {
      "get": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "extraValuesList",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "View  lead's extra value list details by id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsController.extraValuesList"
      }
    },
    "/leads/{id}/fb-conversions-api-logs": {
      "post": {
        "x-controller-name": "LeadsFbConversionsApiLogsController",
        "x-operation-name": "create",
        "tags": [
          "LeadsFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FbConversionsApiLogs"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFbConversionsApiLogsInLeads"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsFbConversionsApiLogsController.create"
      },
      "patch": {
        "x-controller-name": "LeadsFbConversionsApiLogsController",
        "x-operation-name": "patch",
        "tags": [
          "LeadsFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Leads.FbConversionsApiLogs PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FbConversionsApiLogs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FbConversionsApiLogs>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FbConversionsApiLogsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsFbConversionsApiLogsController.patch"
      },
      "get": {
        "x-controller-name": "LeadsFbConversionsApiLogsController",
        "x-operation-name": "find",
        "tags": [
          "LeadsFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads has many FbConversionsApiLogs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FbConversionsApiLogs"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "LeadsFbConversionsApiLogsController.find"
      },
      "delete": {
        "x-controller-name": "LeadsFbConversionsApiLogsController",
        "x-operation-name": "delete",
        "tags": [
          "LeadsFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Leads.FbConversionsApiLogs DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FbConversionsApiLogs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FbConversionsApiLogs>"
                }
              }
            }
          }
        ],
        "operationId": "LeadsFbConversionsApiLogsController.delete"
      }
    },
    "/leads/{id}/hold-leads": {
      "post": {
        "x-controller-name": "LeadsHoldLeadsController",
        "x-operation-name": "create",
        "tags": [
          "LeadsHoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldLeads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewHoldLeadsInLeads"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsHoldLeadsController.create"
      },
      "patch": {
        "x-controller-name": "LeadsHoldLeadsController",
        "x-operation-name": "patch",
        "tags": [
          "LeadsHoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads.HoldLeads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HoldLeads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HoldLeads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HoldLeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsHoldLeadsController.patch"
      },
      "get": {
        "x-controller-name": "LeadsHoldLeadsController",
        "x-operation-name": "find",
        "tags": [
          "LeadsHoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads has many HoldLeads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HoldLeads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "LeadsHoldLeadsController.find"
      },
      "delete": {
        "x-controller-name": "LeadsHoldLeadsController",
        "x-operation-name": "delete",
        "tags": [
          "LeadsHoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads.HoldLeads DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HoldLeads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HoldLeads>"
                }
              }
            }
          }
        ],
        "operationId": "LeadsHoldLeadsController.delete"
      }
    },
    "/leads/{id}/notes": {
      "post": {
        "x-controller-name": "LeadsNotesController",
        "x-operation-name": "create",
        "tags": [
          "LeadsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notes"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotesInLeads"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsNotesController.create"
      },
      "patch": {
        "x-controller-name": "LeadsNotesController",
        "x-operation-name": "patch",
        "tags": [
          "LeadsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Leads.Notes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsNotesController.patch"
      },
      "get": {
        "x-controller-name": "LeadsNotesController",
        "x-operation-name": "find",
        "tags": [
          "LeadsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads has many Notes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Notes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "LeadsNotesController.find"
      },
      "delete": {
        "x-controller-name": "LeadsNotesController",
        "x-operation-name": "delete",
        "tags": [
          "LeadsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Leads.Notes DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "operationId": "LeadsNotesController.delete"
      }
    },
    "/leads/{id}/payment-sms-sents": {
      "post": {
        "x-controller-name": "LeadsPaymentSmsSentController",
        "x-operation-name": "create",
        "tags": [
          "LeadsPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentSmsSent"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPaymentSmsSentInLeads"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsPaymentSmsSentController.create"
      },
      "patch": {
        "x-controller-name": "LeadsPaymentSmsSentController",
        "x-operation-name": "patch",
        "tags": [
          "LeadsPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Leads.PaymentSmsSent PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentSmsSent.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentSmsSent>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentSmsSentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsPaymentSmsSentController.patch"
      },
      "get": {
        "x-controller-name": "LeadsPaymentSmsSentController",
        "x-operation-name": "find",
        "tags": [
          "LeadsPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads has many PaymentSmsSent",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentSmsSent"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "LeadsPaymentSmsSentController.find"
      },
      "delete": {
        "x-controller-name": "LeadsPaymentSmsSentController",
        "x-operation-name": "delete",
        "tags": [
          "LeadsPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Leads.PaymentSmsSent DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentSmsSent.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentSmsSent>"
                }
              }
            }
          }
        ],
        "operationId": "LeadsPaymentSmsSentController.delete"
      }
    },
    "/leads/{id}/ratings": {
      "get": {
        "x-controller-name": "LeadsRatingsController",
        "x-operation-name": "getRatings",
        "tags": [
          "LeadsRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings belonging to Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsRatingsController.getRatings"
      }
    },
    "/leads/{id}/users": {
      "get": {
        "x-controller-name": "LeadsUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "LeadsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsUsersController.getUsers"
      }
    },
    "/leads/{id}/view": {
      "get": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "viewDetails",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "View lead details by id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsController.viewDetails"
      }
    },
    "/leads/{id}": {
      "put": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "replaceById",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Leads PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Leads"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsController.replaceById"
      },
      "patch": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Leads PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadsController.updateById"
      },
      "get": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "findById",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadsController.findById"
      },
      "delete": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Leads DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadsController.deleteById"
      }
    },
    "/leads": {
      "post": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "create",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeads"
              }
            }
          }
        },
        "operationId": "LeadsController.create"
      },
      "patch": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "updateAll",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadsPartial"
              }
            }
          }
        },
        "operationId": "LeadsController.updateAll"
      },
      "get": {
        "x-controller-name": "LeadsController",
        "x-operation-name": "find",
        "tags": [
          "LeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadsController.find"
      }
    },
    "/logout": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "logout",
        "tags": [
          "UserController"
        ],
        "security": [
          {
            "jwt": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.logout"
      }
    },
    "/manager-auto-members/{id}/users": {
      "get": {
        "x-controller-name": "ManagerAutoMemberUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "ManagerAutoMemberUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to ManagerAutoMember",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ManagerAutoMemberUsersController.getUsers"
      }
    },
    "/member-campaign-scores/{id}/campaigns": {
      "get": {
        "x-controller-name": "MemberCampaignScoreCampaignsController",
        "x-operation-name": "getCampaigns",
        "tags": [
          "MemberCampaignScoreCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Campaigns belonging to MemberCampaignScore",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Campaigns"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MemberCampaignScoreCampaignsController.getCampaigns"
      }
    },
    "/member-campaign-scores/{id}/users": {
      "get": {
        "x-controller-name": "MemberCampaignScoreUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "MemberCampaignScoreUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to MemberCampaignScore",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MemberCampaignScoreUsersController.getUsers"
      }
    },
    "/member-working-hours/{id}/users": {
      "get": {
        "x-controller-name": "MemberWorkingHoursUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "MemberWorkingHoursUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to MemberWorkingHours",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MemberWorkingHoursUsersController.getUsers"
      }
    },
    "/member-working-hours/{id}/week-days": {
      "get": {
        "x-controller-name": "MemberWorkingHoursWeekDaysController",
        "x-operation-name": "getWeekDays",
        "tags": [
          "MemberWorkingHoursWeekDaysController"
        ],
        "responses": {
          "200": {
            "description": "WeekDays belonging to MemberWorkingHours",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeekDays"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MemberWorkingHoursWeekDaysController.getWeekDays"
      }
    },
    "/notes/add-reminder": {
      "post": {
        "x-controller-name": "NotesController",
        "x-operation-name": "addReminder",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "200": {
            "description": "Add new reminder for lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "leadId",
                  "reminderTypeId",
                  "reminderAt"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  },
                  "reminderTypeId": {
                    "type": "number"
                  },
                  "reminderAt": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Add reminder for lead",
          "required": true
        },
        "operationId": "NotesController.addReminder"
      }
    },
    "/notes/count": {
      "get": {
        "x-controller-name": "NotesController",
        "x-operation-name": "count",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "200": {
            "description": "Notes model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "operationId": "NotesController.count"
      }
    },
    "/notes/filter": {
      "post": {
        "x-controller-name": "NotesController",
        "x-operation-name": "filterNotes",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads model instances filtered by campaign , project and status ( multiple selection) ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Notes"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "leadId",
                  "isHisotiry"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  },
                  "isHistory": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "description": "Note list for lead by filter",
          "required": true
        },
        "operationId": "NotesController.filterNotes"
      }
    },
    "/notes/{id}/leads": {
      "get": {
        "x-controller-name": "NotesLeadsController",
        "x-operation-name": "getLeads",
        "tags": [
          "NotesLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads belonging to Notes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotesLeadsController.getLeads"
      }
    },
    "/notes/{id}/projects": {
      "get": {
        "x-controller-name": "NotesProjectsController",
        "x-operation-name": "getProjects",
        "tags": [
          "NotesProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Projects belonging to Notes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Projects"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotesProjectsController.getProjects"
      }
    },
    "/notes/{id}/ratings": {
      "get": {
        "x-controller-name": "NotesRatingsController",
        "x-operation-name": "getRatings",
        "tags": [
          "NotesRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings belonging to Notes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotesRatingsController.getRatings"
      }
    },
    "/notes/{id}/users": {
      "get": {
        "x-controller-name": "NotesUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "NotesUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to Notes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotesUsersController.getUsers"
      }
    },
    "/notes/{id}": {
      "put": {
        "x-controller-name": "NotesController",
        "x-operation-name": "replaceById",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Notes PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Notes"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotesController.replaceById"
      },
      "patch": {
        "x-controller-name": "NotesController",
        "x-operation-name": "updateById",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Notes PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotesController.updateById"
      },
      "get": {
        "x-controller-name": "NotesController",
        "x-operation-name": "findById",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "200": {
            "description": "Notes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notes.Filter"
                }
              }
            }
          }
        ],
        "operationId": "NotesController.findById"
      },
      "delete": {
        "x-controller-name": "NotesController",
        "x-operation-name": "deleteById",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Notes DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotesController.deleteById"
      }
    },
    "/notes": {
      "post": {
        "x-controller-name": "NotesController",
        "x-operation-name": "create",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "200": {
            "description": "Notes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notes"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotes"
              }
            }
          }
        },
        "operationId": "NotesController.create"
      },
      "patch": {
        "x-controller-name": "NotesController",
        "x-operation-name": "updateAll",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "200": {
            "description": "Notes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotesPartial"
              }
            }
          }
        },
        "operationId": "NotesController.updateAll"
      },
      "get": {
        "x-controller-name": "NotesController",
        "x-operation-name": "find",
        "tags": [
          "NotesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Notes model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notes.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "NotesController.find"
      }
    },
    "/packages/count": {
      "get": {
        "x-controller-name": "PackagesController",
        "x-operation-name": "count",
        "tags": [
          "PackagesController"
        ],
        "responses": {
          "200": {
            "description": "Packages model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Packages.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Packages>"
                }
              }
            }
          }
        ],
        "operationId": "PackagesController.count"
      }
    },
    "/packages/{id}/agencies": {
      "post": {
        "x-controller-name": "PackagesAgenciesController",
        "x-operation-name": "create",
        "tags": [
          "PackagesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Packages model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Agencies"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewAgenciesInPackages"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PackagesAgenciesController.create"
      },
      "patch": {
        "x-controller-name": "PackagesAgenciesController",
        "x-operation-name": "patch",
        "tags": [
          "PackagesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Packages.Agencies PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Agencies.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Agencies>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AgenciesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PackagesAgenciesController.patch"
      },
      "get": {
        "x-controller-name": "PackagesAgenciesController",
        "x-operation-name": "find",
        "tags": [
          "PackagesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Packages has many Agencies",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Agencies"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PackagesAgenciesController.find"
      },
      "delete": {
        "x-controller-name": "PackagesAgenciesController",
        "x-operation-name": "delete",
        "tags": [
          "PackagesAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Packages.Agencies DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Agencies.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Agencies>"
                }
              }
            }
          }
        ],
        "operationId": "PackagesAgenciesController.delete"
      }
    },
    "/packages/{id}": {
      "put": {
        "x-controller-name": "PackagesController",
        "x-operation-name": "replaceById",
        "tags": [
          "PackagesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Packages PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Packages"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PackagesController.replaceById"
      },
      "patch": {
        "x-controller-name": "PackagesController",
        "x-operation-name": "updateById",
        "tags": [
          "PackagesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Packages PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PackagesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PackagesController.updateById"
      },
      "get": {
        "x-controller-name": "PackagesController",
        "x-operation-name": "findById",
        "tags": [
          "PackagesController"
        ],
        "responses": {
          "200": {
            "description": "Packages model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PackagesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Packages.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PackagesController.findById"
      },
      "delete": {
        "x-controller-name": "PackagesController",
        "x-operation-name": "deleteById",
        "tags": [
          "PackagesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Packages DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PackagesController.deleteById"
      }
    },
    "/packages": {
      "post": {
        "x-controller-name": "PackagesController",
        "x-operation-name": "create",
        "tags": [
          "PackagesController"
        ],
        "responses": {
          "200": {
            "description": "Packages model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Packages"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPackages"
              }
            }
          }
        },
        "operationId": "PackagesController.create"
      },
      "patch": {
        "x-controller-name": "PackagesController",
        "x-operation-name": "updateAll",
        "tags": [
          "PackagesController"
        ],
        "responses": {
          "200": {
            "description": "Packages PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Packages.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Packages>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PackagesPartial"
              }
            }
          }
        },
        "operationId": "PackagesController.updateAll"
      },
      "get": {
        "x-controller-name": "PackagesController",
        "x-operation-name": "find",
        "tags": [
          "PackagesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Packages model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PackagesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Packages.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "PackagesController.find"
      }
    },
    "/payment-checkouts/{id}/payment-sms-sent": {
      "get": {
        "x-controller-name": "PaymentCheckoutPaymentSmsSentController",
        "x-operation-name": "getPaymentSmsSent",
        "tags": [
          "PaymentCheckoutPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "PaymentSmsSent belonging to PaymentCheckouts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentSmsSent"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PaymentCheckoutPaymentSmsSentController.getPaymentSmsSent"
      }
    },
    "/payment-sms-sents/count": {
      "get": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "count",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "PaymentSmsSent model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentSmsSent.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentSmsSent>"
                }
              }
            }
          }
        ],
        "operationId": "PaymentSmsSentController.count"
      }
    },
    "/payment-sms-sents/send": {
      "post": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "sendPaymentSms",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "send payment sms to lead"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object"
              }
            }
          },
          "description": "multipart/form-data",
          "required": true
        },
        "operationId": "PaymentSmsSentController.sendPaymentSms"
      }
    },
    "/payment-sms-sents/{id}/leads": {
      "get": {
        "x-controller-name": "PaymentSmsSentLeadsController",
        "x-operation-name": "getLeads",
        "tags": [
          "PaymentSmsSentLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Leads belonging to PaymentSmsSent",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PaymentSmsSentLeadsController.getLeads"
      }
    },
    "/payment-sms-sents/{id}/list": {
      "get": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "paymentLinkList",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "List payment link by lead id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PaymentSmsSentController.paymentLinkList"
      }
    },
    "/payment-sms-sents/{id}/payment-checkouts": {
      "post": {
        "x-controller-name": "PaymentSmsSentPaymentCheckoutController",
        "x-operation-name": "create",
        "tags": [
          "PaymentSmsSentPaymentCheckoutController"
        ],
        "responses": {
          "200": {
            "description": "PaymentSmsSent model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentCheckouts"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPaymentCheckoutInPaymentSmsSent"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PaymentSmsSentPaymentCheckoutController.create"
      },
      "patch": {
        "x-controller-name": "PaymentSmsSentPaymentCheckoutController",
        "x-operation-name": "patch",
        "tags": [
          "PaymentSmsSentPaymentCheckoutController"
        ],
        "responses": {
          "200": {
            "description": "PaymentSmsSent.PaymentCheckouts PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentCheckouts.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentCheckouts>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentCheckoutsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PaymentSmsSentPaymentCheckoutController.patch"
      },
      "get": {
        "x-controller-name": "PaymentSmsSentPaymentCheckoutController",
        "x-operation-name": "find",
        "tags": [
          "PaymentSmsSentPaymentCheckoutController"
        ],
        "responses": {
          "200": {
            "description": "Array of PaymentSmsSent has many PaymentCheckouts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentCheckouts"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PaymentSmsSentPaymentCheckoutController.find"
      },
      "delete": {
        "x-controller-name": "PaymentSmsSentPaymentCheckoutController",
        "x-operation-name": "delete",
        "tags": [
          "PaymentSmsSentPaymentCheckoutController"
        ],
        "responses": {
          "200": {
            "description": "PaymentSmsSent.PaymentCheckouts DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentCheckouts.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentCheckouts>"
                }
              }
            }
          }
        ],
        "operationId": "PaymentSmsSentPaymentCheckoutController.delete"
      }
    },
    "/payment-sms-sents/{id}/project-payment-types": {
      "get": {
        "x-controller-name": "PaymentSmsSentProjectPaymentTypesController",
        "x-operation-name": "getProjectPaymentTypes",
        "tags": [
          "PaymentSmsSentProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes belonging to PaymentSmsSent",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectPaymentTypes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PaymentSmsSentProjectPaymentTypesController.getProjectPaymentTypes"
      }
    },
    "/payment-sms-sents/{id}/users": {
      "get": {
        "x-controller-name": "PaymentSmsSentUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "PaymentSmsSentUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to PaymentSmsSent",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PaymentSmsSentUsersController.getUsers"
      }
    },
    "/payment-sms-sents/{id}": {
      "put": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "replaceById",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PaymentSmsSent PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentSmsSent"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PaymentSmsSentController.replaceById"
      },
      "patch": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "updateById",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PaymentSmsSent PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentSmsSentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PaymentSmsSentController.updateById"
      },
      "get": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "findById",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "PaymentSmsSent model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentSmsSentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentSmsSent.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PaymentSmsSentController.findById"
      },
      "delete": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "deleteById",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PaymentSmsSent DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PaymentSmsSentController.deleteById"
      }
    },
    "/payment-sms-sents": {
      "post": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "create",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "PaymentSmsSent model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentSmsSent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPaymentSmsSent"
              }
            }
          }
        },
        "operationId": "PaymentSmsSentController.create"
      },
      "patch": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "updateAll",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "PaymentSmsSent PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentSmsSent.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentSmsSent>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentSmsSentPartial"
              }
            }
          }
        },
        "operationId": "PaymentSmsSentController.updateAll"
      },
      "get": {
        "x-controller-name": "PaymentSmsSentController",
        "x-operation-name": "find",
        "tags": [
          "PaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Array of PaymentSmsSent model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentSmsSentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentSmsSent.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "PaymentSmsSentController.find"
      }
    },
    "/permissions/count": {
      "get": {
        "x-controller-name": "PermissionsController",
        "x-operation-name": "count",
        "tags": [
          "PermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Permissions model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Permissions.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Permissions>"
                }
              }
            }
          }
        ],
        "operationId": "PermissionsController.count"
      }
    },
    "/permissions/{id}/permission-action": {
      "get": {
        "x-controller-name": "PermissionsPermissionActionController",
        "x-operation-name": "getPermissionAction",
        "tags": [
          "PermissionsPermissionActionController"
        ],
        "responses": {
          "200": {
            "description": "PermissionAction belonging to Permissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PermissionAction"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PermissionsPermissionActionController.getPermissionAction"
      }
    },
    "/permissions/{id}/permission-group": {
      "get": {
        "x-controller-name": "PermissionsPermissionGroupController",
        "x-operation-name": "getPermissionGroup",
        "tags": [
          "PermissionsPermissionGroupController"
        ],
        "responses": {
          "200": {
            "description": "PermissionGroup belonging to Permissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PermissionGroup"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PermissionsPermissionGroupController.getPermissionGroup"
      }
    },
    "/permissions/{id}/roles": {
      "post": {
        "x-controller-name": "PermissionsRolesController",
        "x-operation-name": "create",
        "tags": [
          "PermissionsRolesController"
        ],
        "responses": {
          "200": {
            "description": "create a Roles model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Roles"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRolesInPermissions"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PermissionsRolesController.create"
      },
      "patch": {
        "x-controller-name": "PermissionsRolesController",
        "x-operation-name": "patch",
        "tags": [
          "PermissionsRolesController"
        ],
        "responses": {
          "200": {
            "description": "Permissions.Roles PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Roles.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Roles>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RolesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PermissionsRolesController.patch"
      },
      "get": {
        "x-controller-name": "PermissionsRolesController",
        "x-operation-name": "find",
        "tags": [
          "PermissionsRolesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Permissions has many Roles through RolesPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Roles"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PermissionsRolesController.find"
      },
      "delete": {
        "x-controller-name": "PermissionsRolesController",
        "x-operation-name": "delete",
        "tags": [
          "PermissionsRolesController"
        ],
        "responses": {
          "200": {
            "description": "Permissions.Roles DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Roles.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Roles>"
                }
              }
            }
          }
        ],
        "operationId": "PermissionsRolesController.delete"
      }
    },
    "/permissions/{id}/users": {
      "post": {
        "x-controller-name": "PermissionsUsersController",
        "x-operation-name": "create",
        "tags": [
          "PermissionsUsersController"
        ],
        "responses": {
          "200": {
            "description": "create a Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsersInPermissions"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PermissionsUsersController.create"
      },
      "patch": {
        "x-controller-name": "PermissionsUsersController",
        "x-operation-name": "patch",
        "tags": [
          "PermissionsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Permissions.Users PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PermissionsUsersController.patch"
      },
      "get": {
        "x-controller-name": "PermissionsUsersController",
        "x-operation-name": "find",
        "tags": [
          "PermissionsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of Permissions has many Users through UsersPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PermissionsUsersController.find"
      },
      "delete": {
        "x-controller-name": "PermissionsUsersController",
        "x-operation-name": "delete",
        "tags": [
          "PermissionsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Permissions.Users DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "operationId": "PermissionsUsersController.delete"
      }
    },
    "/permissions/{id}": {
      "put": {
        "x-controller-name": "PermissionsController",
        "x-operation-name": "replaceById",
        "tags": [
          "PermissionsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Permissions PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Permissions"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PermissionsController.replaceById"
      },
      "patch": {
        "x-controller-name": "PermissionsController",
        "x-operation-name": "updateById",
        "tags": [
          "PermissionsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Permissions PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PermissionsController.updateById"
      },
      "get": {
        "x-controller-name": "PermissionsController",
        "x-operation-name": "findById",
        "tags": [
          "PermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Permissions model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermissionsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Permissions.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PermissionsController.findById"
      },
      "delete": {
        "x-controller-name": "PermissionsController",
        "x-operation-name": "deleteById",
        "tags": [
          "PermissionsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Permissions DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PermissionsController.deleteById"
      }
    },
    "/permissions": {
      "post": {
        "x-controller-name": "PermissionsController",
        "x-operation-name": "create",
        "tags": [
          "PermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Permissions model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Permissions"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPermissions"
              }
            }
          }
        },
        "operationId": "PermissionsController.create"
      },
      "patch": {
        "x-controller-name": "PermissionsController",
        "x-operation-name": "updateAll",
        "tags": [
          "PermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Permissions PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Permissions.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Permissions>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionsPartial"
              }
            }
          }
        },
        "operationId": "PermissionsController.updateAll"
      },
      "get": {
        "x-controller-name": "PermissionsController",
        "x-operation-name": "find",
        "tags": [
          "PermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Permissions model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PermissionsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Permissions.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "PermissionsController.find"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "ping",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "PingController.ping"
      }
    },
    "/project-locations/count": {
      "get": {
        "x-controller-name": "ProjectLocationsController",
        "x-operation-name": "count",
        "tags": [
          "ProjectLocationsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectLocations model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectLocations.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectLocations>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectLocationsController.count"
      }
    },
    "/project-locations/{id}/projects": {
      "post": {
        "x-controller-name": "ProjectLocationsProjectsController",
        "x-operation-name": "create",
        "tags": [
          "ProjectLocationsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectLocations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Projects"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectsInProjectLocations"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectLocationsProjectsController.create"
      },
      "patch": {
        "x-controller-name": "ProjectLocationsProjectsController",
        "x-operation-name": "patch",
        "tags": [
          "ProjectLocationsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectLocations.Projects PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Projects.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Projects>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectLocationsProjectsController.patch"
      },
      "get": {
        "x-controller-name": "ProjectLocationsProjectsController",
        "x-operation-name": "find",
        "tags": [
          "ProjectLocationsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProjectLocations has many Projects",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Projects"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProjectLocationsProjectsController.find"
      },
      "delete": {
        "x-controller-name": "ProjectLocationsProjectsController",
        "x-operation-name": "delete",
        "tags": [
          "ProjectLocationsProjectsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectLocations.Projects DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Projects.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Projects>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectLocationsProjectsController.delete"
      }
    },
    "/project-locations/{id}": {
      "put": {
        "x-controller-name": "ProjectLocationsController",
        "x-operation-name": "replaceById",
        "tags": [
          "ProjectLocationsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectLocations PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectLocations"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectLocationsController.replaceById"
      },
      "patch": {
        "x-controller-name": "ProjectLocationsController",
        "x-operation-name": "updateById",
        "tags": [
          "ProjectLocationsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectLocations PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectLocationsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectLocationsController.updateById"
      },
      "get": {
        "x-controller-name": "ProjectLocationsController",
        "x-operation-name": "findById",
        "tags": [
          "ProjectLocationsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectLocations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectLocationsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectLocations.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProjectLocationsController.findById"
      },
      "delete": {
        "x-controller-name": "ProjectLocationsController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProjectLocationsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectLocations DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectLocationsController.deleteById"
      }
    },
    "/project-locations": {
      "post": {
        "x-controller-name": "ProjectLocationsController",
        "x-operation-name": "create",
        "tags": [
          "ProjectLocationsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectLocations model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectLocations"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectLocations"
              }
            }
          }
        },
        "operationId": "ProjectLocationsController.create"
      },
      "patch": {
        "x-controller-name": "ProjectLocationsController",
        "x-operation-name": "updateAll",
        "tags": [
          "ProjectLocationsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectLocations PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectLocations.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectLocations>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectLocationsPartial"
              }
            }
          }
        },
        "operationId": "ProjectLocationsController.updateAll"
      },
      "get": {
        "x-controller-name": "ProjectLocationsController",
        "x-operation-name": "find",
        "tags": [
          "ProjectLocationsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProjectLocations model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectLocationsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectLocations.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ProjectLocationsController.find"
      }
    },
    "/project-payment-type-members/{id}/project-payment-types": {
      "get": {
        "x-controller-name": "ProjectPaymentTypeMembersProjectPaymentTypesController",
        "x-operation-name": "getProjectPaymentTypes",
        "tags": [
          "ProjectPaymentTypeMembersProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes belonging to ProjectPaymentTypeMembers",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectPaymentTypes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectPaymentTypeMembersProjectPaymentTypesController.getProjectPaymentTypes"
      }
    },
    "/project-payment-type-members/{id}/users": {
      "get": {
        "x-controller-name": "ProjectPaymentTypeMembersUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "ProjectPaymentTypeMembersUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to ProjectPaymentTypeMembers",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectPaymentTypeMembersUsersController.getUsers"
      }
    },
    "/project-payment-types/count": {
      "get": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "count",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectPaymentTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectPaymentTypes>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectPaymentTypesController.count"
      }
    },
    "/project-payment-types/{id}/clients": {
      "get": {
        "x-controller-name": "ProjectPaymentTypesClientsController",
        "x-operation-name": "getClients",
        "tags": [
          "ProjectPaymentTypesClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients belonging to ProjectPaymentTypes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectPaymentTypesClientsController.getClients"
      }
    },
    "/project-payment-types/{id}/list": {
      "get": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "paymentTypesList",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "List project payment types by lead id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectPaymentTypesController.paymentTypesList"
      }
    },
    "/project-payment-types/{id}/payment-sms-sents": {
      "post": {
        "x-controller-name": "ProjectPaymentTypesPaymentSmsSentController",
        "x-operation-name": "create",
        "tags": [
          "ProjectPaymentTypesPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentSmsSent"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPaymentSmsSentInProjectPaymentTypes"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectPaymentTypesPaymentSmsSentController.create"
      },
      "patch": {
        "x-controller-name": "ProjectPaymentTypesPaymentSmsSentController",
        "x-operation-name": "patch",
        "tags": [
          "ProjectPaymentTypesPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes.PaymentSmsSent PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentSmsSent.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentSmsSent>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentSmsSentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectPaymentTypesPaymentSmsSentController.patch"
      },
      "get": {
        "x-controller-name": "ProjectPaymentTypesPaymentSmsSentController",
        "x-operation-name": "find",
        "tags": [
          "ProjectPaymentTypesPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProjectPaymentTypes has many PaymentSmsSent",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentSmsSent"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProjectPaymentTypesPaymentSmsSentController.find"
      },
      "delete": {
        "x-controller-name": "ProjectPaymentTypesPaymentSmsSentController",
        "x-operation-name": "delete",
        "tags": [
          "ProjectPaymentTypesPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes.PaymentSmsSent DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentSmsSent.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentSmsSent>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectPaymentTypesPaymentSmsSentController.delete"
      }
    },
    "/project-payment-types/{id}/projects": {
      "get": {
        "x-controller-name": "ProjectPaymentTypesProjectsController",
        "x-operation-name": "getProjects",
        "tags": [
          "ProjectPaymentTypesProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Projects belonging to ProjectPaymentTypes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Projects"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectPaymentTypesProjectsController.getProjects"
      }
    },
    "/project-payment-types/{id}/users": {
      "post": {
        "x-controller-name": "ProjectPaymentTypesUsersController",
        "x-operation-name": "create",
        "tags": [
          "ProjectPaymentTypesUsersController"
        ],
        "responses": {
          "200": {
            "description": "create a Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsersInProjectPaymentTypes"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectPaymentTypesUsersController.create"
      },
      "patch": {
        "x-controller-name": "ProjectPaymentTypesUsersController",
        "x-operation-name": "patch",
        "tags": [
          "ProjectPaymentTypesUsersController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes.Users PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectPaymentTypesUsersController.patch"
      },
      "get": {
        "x-controller-name": "ProjectPaymentTypesUsersController",
        "x-operation-name": "find",
        "tags": [
          "ProjectPaymentTypesUsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProjectPaymentTypes has many Users through ProjectPaymentTypeMembers",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProjectPaymentTypesUsersController.find"
      },
      "delete": {
        "x-controller-name": "ProjectPaymentTypesUsersController",
        "x-operation-name": "delete",
        "tags": [
          "ProjectPaymentTypesUsersController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes.Users DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectPaymentTypesUsersController.delete"
      }
    },
    "/project-payment-types/{id}": {
      "put": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "replaceById",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectPaymentTypes PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectPaymentTypes"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectPaymentTypesController.replaceById"
      },
      "patch": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "updateById",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectPaymentTypes PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectPaymentTypesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectPaymentTypesController.updateById"
      },
      "get": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "findById",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectPaymentTypesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectPaymentTypes.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProjectPaymentTypesController.findById"
      },
      "delete": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectPaymentTypes DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectPaymentTypesController.deleteById"
      }
    },
    "/project-payment-types": {
      "post": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "create",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectPaymentTypes"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectPaymentTypes"
              }
            }
          }
        },
        "operationId": "ProjectPaymentTypesController.create"
      },
      "patch": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "updateAll",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectPaymentTypes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectPaymentTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectPaymentTypes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectPaymentTypesPartial"
              }
            }
          }
        },
        "operationId": "ProjectPaymentTypesController.updateAll"
      },
      "get": {
        "x-controller-name": "ProjectPaymentTypesController",
        "x-operation-name": "find",
        "tags": [
          "ProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProjectPaymentTypes model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectPaymentTypesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectPaymentTypes.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ProjectPaymentTypesController.find"
      }
    },
    "/project-types/count": {
      "get": {
        "x-controller-name": "ProjectTypesController",
        "x-operation-name": "count",
        "tags": [
          "ProjectTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectTypes model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectTypes>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectTypesController.count"
      }
    },
    "/project-types/{id}/projects": {
      "post": {
        "x-controller-name": "ProjectTypesProjectsController",
        "x-operation-name": "create",
        "tags": [
          "ProjectTypesProjectsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectTypes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Projects"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectsInProjectTypes"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectTypesProjectsController.create"
      },
      "patch": {
        "x-controller-name": "ProjectTypesProjectsController",
        "x-operation-name": "patch",
        "tags": [
          "ProjectTypesProjectsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectTypes.Projects PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Projects.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Projects>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectTypesProjectsController.patch"
      },
      "get": {
        "x-controller-name": "ProjectTypesProjectsController",
        "x-operation-name": "find",
        "tags": [
          "ProjectTypesProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProjectTypes has many Projects",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Projects"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProjectTypesProjectsController.find"
      },
      "delete": {
        "x-controller-name": "ProjectTypesProjectsController",
        "x-operation-name": "delete",
        "tags": [
          "ProjectTypesProjectsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectTypes.Projects DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Projects.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Projects>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectTypesProjectsController.delete"
      }
    },
    "/project-types/{id}": {
      "put": {
        "x-controller-name": "ProjectTypesController",
        "x-operation-name": "replaceById",
        "tags": [
          "ProjectTypesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectTypes PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectTypes"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectTypesController.replaceById"
      },
      "patch": {
        "x-controller-name": "ProjectTypesController",
        "x-operation-name": "updateById",
        "tags": [
          "ProjectTypesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectTypes PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectTypesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectTypesController.updateById"
      },
      "get": {
        "x-controller-name": "ProjectTypesController",
        "x-operation-name": "findById",
        "tags": [
          "ProjectTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectTypes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectTypesWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectTypes.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProjectTypesController.findById"
      },
      "delete": {
        "x-controller-name": "ProjectTypesController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProjectTypesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProjectTypes DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectTypesController.deleteById"
      }
    },
    "/project-types": {
      "post": {
        "x-controller-name": "ProjectTypesController",
        "x-operation-name": "create",
        "tags": [
          "ProjectTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectTypes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectTypes"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectTypes"
              }
            }
          }
        },
        "operationId": "ProjectTypesController.create"
      },
      "patch": {
        "x-controller-name": "ProjectTypesController",
        "x-operation-name": "updateAll",
        "tags": [
          "ProjectTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectTypes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectTypes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectTypesPartial"
              }
            }
          }
        },
        "operationId": "ProjectTypesController.updateAll"
      },
      "get": {
        "x-controller-name": "ProjectTypesController",
        "x-operation-name": "find",
        "tags": [
          "ProjectTypesController"
        ],
        "responses": {
          "200": {
            "description": "Array of ProjectTypes model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectTypesWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectTypes.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ProjectTypesController.find"
      }
    },
    "/projects/count": {
      "get": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "count",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Projects model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Projects.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Projects>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectsController.count"
      }
    },
    "/projects/list_by_sales": {
      "get": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "findByMemeber",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Projects model instances of specific memeber",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Projects"
                  }
                }
              }
            }
          }
        },
        "operationId": "ProjectsController.findByMemeber"
      }
    },
    "/projects/{id}/campaigns": {
      "post": {
        "x-controller-name": "ProjectsCampaignsController",
        "x-operation-name": "create",
        "tags": [
          "ProjectsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Projects model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Campaigns"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCampaignsInProjects"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectsCampaignsController.create"
      },
      "patch": {
        "x-controller-name": "ProjectsCampaignsController",
        "x-operation-name": "patch",
        "tags": [
          "ProjectsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Projects.Campaigns PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Campaigns.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Campaigns>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectsCampaignsController.patch"
      },
      "get": {
        "x-controller-name": "ProjectsCampaignsController",
        "x-operation-name": "find",
        "tags": [
          "ProjectsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Projects has many Campaigns",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Campaigns"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProjectsCampaignsController.find"
      },
      "delete": {
        "x-controller-name": "ProjectsCampaignsController",
        "x-operation-name": "delete",
        "tags": [
          "ProjectsCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Projects.Campaigns DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Campaigns.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Campaigns>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectsCampaignsController.delete"
      }
    },
    "/projects/{id}/clients": {
      "get": {
        "x-controller-name": "ProjectsClientsController",
        "x-operation-name": "getClients",
        "tags": [
          "ProjectsClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients belonging to Projects",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectsClientsController.getClients"
      }
    },
    "/projects/{id}/notes": {
      "post": {
        "x-controller-name": "ProjectsNotesController",
        "x-operation-name": "create",
        "tags": [
          "ProjectsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Projects model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notes"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotesInProjects"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectsNotesController.create"
      },
      "patch": {
        "x-controller-name": "ProjectsNotesController",
        "x-operation-name": "patch",
        "tags": [
          "ProjectsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Projects.Notes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectsNotesController.patch"
      },
      "get": {
        "x-controller-name": "ProjectsNotesController",
        "x-operation-name": "find",
        "tags": [
          "ProjectsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Projects has many Notes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Notes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProjectsNotesController.find"
      },
      "delete": {
        "x-controller-name": "ProjectsNotesController",
        "x-operation-name": "delete",
        "tags": [
          "ProjectsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Projects.Notes DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectsNotesController.delete"
      }
    },
    "/projects/{id}/project-locations": {
      "get": {
        "x-controller-name": "ProjectsProjectLocationsController",
        "x-operation-name": "getProjectLocations",
        "tags": [
          "ProjectsProjectLocationsController"
        ],
        "responses": {
          "200": {
            "description": "ProjectLocations belonging to Projects",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectLocations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectsProjectLocationsController.getProjectLocations"
      }
    },
    "/projects/{id}/project-payment-types": {
      "post": {
        "x-controller-name": "ProjectsProjectPaymentTypesController",
        "x-operation-name": "create",
        "tags": [
          "ProjectsProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Projects model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectPaymentTypes"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectPaymentTypesInProjects"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectsProjectPaymentTypesController.create"
      },
      "patch": {
        "x-controller-name": "ProjectsProjectPaymentTypesController",
        "x-operation-name": "patch",
        "tags": [
          "ProjectsProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Projects.ProjectPaymentTypes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectPaymentTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectPaymentTypes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectPaymentTypesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectsProjectPaymentTypesController.patch"
      },
      "get": {
        "x-controller-name": "ProjectsProjectPaymentTypesController",
        "x-operation-name": "find",
        "tags": [
          "ProjectsProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Projects has many ProjectPaymentTypes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectPaymentTypes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ProjectsProjectPaymentTypesController.find"
      },
      "delete": {
        "x-controller-name": "ProjectsProjectPaymentTypesController",
        "x-operation-name": "delete",
        "tags": [
          "ProjectsProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Projects.ProjectPaymentTypes DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectPaymentTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectPaymentTypes>"
                }
              }
            }
          }
        ],
        "operationId": "ProjectsProjectPaymentTypesController.delete"
      }
    },
    "/projects/{id}/project-types": {
      "get": {
        "x-controller-name": "ProjectsProjectTypesController",
        "x-operation-name": "getProjectTypes",
        "tags": [
          "ProjectsProjectTypesController"
        ],
        "responses": {
          "200": {
            "description": "ProjectTypes belonging to Projects",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectTypes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectsProjectTypesController.getProjectTypes"
      }
    },
    "/projects/{id}": {
      "put": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "replaceById",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Projects PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Projects"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectsController.replaceById"
      },
      "patch": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "updateById",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Projects PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProjectsController.updateById"
      },
      "get": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "findById",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Projects model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Projects.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProjectsController.findById"
      },
      "delete": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "deleteById",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Projects DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProjectsController.deleteById"
      }
    },
    "/projects": {
      "post": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "create",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Projects model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Projects"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjects"
              }
            }
          }
        },
        "operationId": "ProjectsController.create"
      },
      "patch": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "updateAll",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Projects PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Projects.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Projects>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectsPartial"
              }
            }
          }
        },
        "operationId": "ProjectsController.updateAll"
      },
      "get": {
        "x-controller-name": "ProjectsController",
        "x-operation-name": "find",
        "tags": [
          "ProjectsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Projects model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Projects.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ProjectsController.find"
      }
    },
    "/rating-salesforce-mappings/{id}/client-salesforce": {
      "get": {
        "x-controller-name": "RatingSalesforceMappingClientSalesforceController",
        "x-operation-name": "getClientSalesforce",
        "tags": [
          "RatingSalesforceMappingClientSalesforceController"
        ],
        "responses": {
          "200": {
            "description": "ClientSalesforce belonging to RatingSalesforceMapping",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClientSalesforce"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RatingSalesforceMappingClientSalesforceController.getClientSalesforce"
      }
    },
    "/rating-salesforce-mappings/{id}/ratings": {
      "get": {
        "x-controller-name": "RatingSalesforceMappingRatingsController",
        "x-operation-name": "getRatings",
        "tags": [
          "RatingSalesforceMappingRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings belonging to RatingSalesforceMapping",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ratings"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RatingSalesforceMappingRatingsController.getRatings"
      }
    },
    "/rating-scores/{id}/ratings": {
      "get": {
        "x-controller-name": "RatingScoresRatingsController",
        "x-operation-name": "getRatings",
        "tags": [
          "RatingScoresRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings belonging to RatingScores",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RatingScoresRatingsController.getRatings"
      }
    },
    "/ratings/assign": {
      "post": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "assignRating",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Assign status and notes for lead",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "leadId",
                  "note"
                ],
                "properties": {
                  "leadId": {
                    "type": "number"
                  },
                  "statusId": {
                    "type": "number"
                  },
                  "note": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Assign rating data",
          "required": true
        },
        "operationId": "RatingsController.assignRating"
      }
    },
    "/ratings/count": {
      "get": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "count",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Ratings.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Ratings>"
                }
              }
            }
          }
        ],
        "operationId": "RatingsController.count"
      }
    },
    "/ratings/list-with-status": {
      "get": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "ratingsAndStatus",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Ratings model instances with their status",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "operationId": "RatingsController.ratingsAndStatus"
      }
    },
    "/ratings/{id}/fb-conversions-api-logs": {
      "post": {
        "x-controller-name": "RatingsFbConversionsApiLogsController",
        "x-operation-name": "create",
        "tags": [
          "RatingsFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FbConversionsApiLogs"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFbConversionsApiLogsInRatings"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsFbConversionsApiLogsController.create"
      },
      "patch": {
        "x-controller-name": "RatingsFbConversionsApiLogsController",
        "x-operation-name": "patch",
        "tags": [
          "RatingsFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.FbConversionsApiLogs PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FbConversionsApiLogs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FbConversionsApiLogs>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FbConversionsApiLogsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsFbConversionsApiLogsController.patch"
      },
      "get": {
        "x-controller-name": "RatingsFbConversionsApiLogsController",
        "x-operation-name": "find",
        "tags": [
          "RatingsFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Ratings has many FbConversionsApiLogs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FbConversionsApiLogs"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RatingsFbConversionsApiLogsController.find"
      },
      "delete": {
        "x-controller-name": "RatingsFbConversionsApiLogsController",
        "x-operation-name": "delete",
        "tags": [
          "RatingsFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.FbConversionsApiLogs DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FbConversionsApiLogs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FbConversionsApiLogs>"
                }
              }
            }
          }
        ],
        "operationId": "RatingsFbConversionsApiLogsController.delete"
      }
    },
    "/ratings/{id}/filter": {
      "get": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "filterRating",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Ratings model instances for leads assign rating",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RatingsController.filterRating"
      }
    },
    "/ratings/{id}/leads": {
      "post": {
        "x-controller-name": "RatingsLeadsController",
        "x-operation-name": "create",
        "tags": [
          "RatingsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadsInRatings"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsLeadsController.create"
      },
      "patch": {
        "x-controller-name": "RatingsLeadsController",
        "x-operation-name": "patch",
        "tags": [
          "RatingsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.Leads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsLeadsController.patch"
      },
      "get": {
        "x-controller-name": "RatingsLeadsController",
        "x-operation-name": "find",
        "tags": [
          "RatingsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Ratings has many Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RatingsLeadsController.find"
      },
      "delete": {
        "x-controller-name": "RatingsLeadsController",
        "x-operation-name": "delete",
        "tags": [
          "RatingsLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.Leads DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "operationId": "RatingsLeadsController.delete"
      }
    },
    "/ratings/{id}/notes": {
      "post": {
        "x-controller-name": "RatingsNotesController",
        "x-operation-name": "create",
        "tags": [
          "RatingsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notes"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotesInRatings"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsNotesController.create"
      },
      "patch": {
        "x-controller-name": "RatingsNotesController",
        "x-operation-name": "patch",
        "tags": [
          "RatingsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.Notes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsNotesController.patch"
      },
      "get": {
        "x-controller-name": "RatingsNotesController",
        "x-operation-name": "find",
        "tags": [
          "RatingsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Ratings has many Notes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Notes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RatingsNotesController.find"
      },
      "delete": {
        "x-controller-name": "RatingsNotesController",
        "x-operation-name": "delete",
        "tags": [
          "RatingsNotesController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.Notes DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "operationId": "RatingsNotesController.delete"
      }
    },
    "/ratings/{id}/rating-salesforce-mappings": {
      "post": {
        "x-controller-name": "RatingsRatingSalesforceMappingController",
        "x-operation-name": "create",
        "tags": [
          "RatingsRatingSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RatingSalesforceMapping"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRatingSalesforceMappingInRatings"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsRatingSalesforceMappingController.create"
      },
      "patch": {
        "x-controller-name": "RatingsRatingSalesforceMappingController",
        "x-operation-name": "patch",
        "tags": [
          "RatingsRatingSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.RatingSalesforceMapping PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RatingSalesforceMapping.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RatingSalesforceMapping>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RatingSalesforceMappingPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsRatingSalesforceMappingController.patch"
      },
      "get": {
        "x-controller-name": "RatingsRatingSalesforceMappingController",
        "x-operation-name": "find",
        "tags": [
          "RatingsRatingSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "Array of Ratings has many RatingSalesforceMapping",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RatingSalesforceMapping"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RatingsRatingSalesforceMappingController.find"
      },
      "delete": {
        "x-controller-name": "RatingsRatingSalesforceMappingController",
        "x-operation-name": "delete",
        "tags": [
          "RatingsRatingSalesforceMappingController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.RatingSalesforceMapping DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RatingSalesforceMapping.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RatingSalesforceMapping>"
                }
              }
            }
          }
        ],
        "operationId": "RatingsRatingSalesforceMappingController.delete"
      }
    },
    "/ratings/{id}/rating-scores": {
      "post": {
        "x-controller-name": "RatingsRatingScoresController",
        "x-operation-name": "create",
        "tags": [
          "RatingsRatingScoresController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RatingScores"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRatingScoresInRatings"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsRatingScoresController.create"
      },
      "patch": {
        "x-controller-name": "RatingsRatingScoresController",
        "x-operation-name": "patch",
        "tags": [
          "RatingsRatingScoresController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.RatingScores PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RatingScores.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RatingScores>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RatingScoresPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsRatingScoresController.patch"
      },
      "get": {
        "x-controller-name": "RatingsRatingScoresController",
        "x-operation-name": "get",
        "tags": [
          "RatingsRatingScoresController"
        ],
        "responses": {
          "200": {
            "description": "Ratings has one RatingScores",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RatingScores"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RatingsRatingScoresController.get"
      },
      "delete": {
        "x-controller-name": "RatingsRatingScoresController",
        "x-operation-name": "delete",
        "tags": [
          "RatingsRatingScoresController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.RatingScores DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RatingScores.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RatingScores>"
                }
              }
            }
          }
        ],
        "operationId": "RatingsRatingScoresController.delete"
      }
    },
    "/ratings/{id}/ratings": {
      "post": {
        "x-controller-name": "RatingsRatingsController",
        "x-operation-name": "create",
        "tags": [
          "RatingsRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ratings"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRatingsInRatings"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsRatingsController.create"
      },
      "patch": {
        "x-controller-name": "RatingsRatingsController",
        "x-operation-name": "patch",
        "tags": [
          "RatingsRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.Ratings PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Ratings.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Ratings>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RatingsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsRatingsController.patch"
      },
      "get": {
        "x-controller-name": "RatingsRatingsController",
        "x-operation-name": "find",
        "tags": [
          "RatingsRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Ratings has many Ratings",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RatingsRatingsController.find"
      },
      "delete": {
        "x-controller-name": "RatingsRatingsController",
        "x-operation-name": "delete",
        "tags": [
          "RatingsRatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings.Ratings DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Ratings.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Ratings>"
                }
              }
            }
          }
        ],
        "operationId": "RatingsRatingsController.delete"
      }
    },
    "/ratings/{id}/status": {
      "get": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "getStatusByRating",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Status model instances by rating id",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Ratings"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RatingsController.getStatusByRating"
      }
    },
    "/ratings/{id}": {
      "put": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "replaceById",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Ratings PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Ratings"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsController.replaceById"
      },
      "patch": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "updateById",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Ratings PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RatingsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RatingsController.updateById"
      },
      "get": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "findById",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RatingsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ratings.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RatingsController.findById"
      },
      "delete": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "deleteById",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Ratings DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RatingsController.deleteById"
      }
    },
    "/ratings": {
      "post": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "create",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ratings"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRatings"
              }
            }
          }
        },
        "operationId": "RatingsController.create"
      },
      "patch": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "updateAll",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Ratings PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Ratings.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Ratings>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RatingsPartial"
              }
            }
          }
        },
        "operationId": "RatingsController.updateAll"
      },
      "get": {
        "x-controller-name": "RatingsController",
        "x-operation-name": "find",
        "tags": [
          "RatingsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Ratings model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RatingsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Ratings.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RatingsController.find"
      }
    },
    "/reminder-types/count": {
      "get": {
        "x-controller-name": "ReminderTypeController",
        "x-operation-name": "count",
        "tags": [
          "ReminderTypeController"
        ],
        "responses": {
          "200": {
            "description": "ReminderType model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ReminderType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ReminderType>"
                }
              }
            }
          }
        ],
        "operationId": "ReminderTypeController.count"
      }
    },
    "/reminder-types/{id}": {
      "put": {
        "x-controller-name": "ReminderTypeController",
        "x-operation-name": "replaceById",
        "tags": [
          "ReminderTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ReminderType PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReminderType"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ReminderTypeController.replaceById"
      },
      "patch": {
        "x-controller-name": "ReminderTypeController",
        "x-operation-name": "updateById",
        "tags": [
          "ReminderTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ReminderType PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReminderTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ReminderTypeController.updateById"
      },
      "get": {
        "x-controller-name": "ReminderTypeController",
        "x-operation-name": "findById",
        "tags": [
          "ReminderTypeController"
        ],
        "responses": {
          "200": {
            "description": "ReminderType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReminderTypeWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReminderType.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ReminderTypeController.findById"
      },
      "delete": {
        "x-controller-name": "ReminderTypeController",
        "x-operation-name": "deleteById",
        "tags": [
          "ReminderTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ReminderType DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ReminderTypeController.deleteById"
      }
    },
    "/reminder-types": {
      "post": {
        "x-controller-name": "ReminderTypeController",
        "x-operation-name": "create",
        "tags": [
          "ReminderTypeController"
        ],
        "responses": {
          "200": {
            "description": "ReminderType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReminderType"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewReminderType"
              }
            }
          }
        },
        "operationId": "ReminderTypeController.create"
      },
      "patch": {
        "x-controller-name": "ReminderTypeController",
        "x-operation-name": "updateAll",
        "tags": [
          "ReminderTypeController"
        ],
        "responses": {
          "200": {
            "description": "ReminderType PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ReminderType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ReminderType>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReminderTypePartial"
              }
            }
          }
        },
        "operationId": "ReminderTypeController.updateAll"
      },
      "get": {
        "x-controller-name": "ReminderTypeController",
        "x-operation-name": "find",
        "tags": [
          "ReminderTypeController"
        ],
        "responses": {
          "200": {
            "description": "Array of ReminderType model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReminderTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReminderType.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ReminderTypeController.find"
      }
    },
    "/reports/new-lead-count": {
      "get": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "newLeadCount",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Report for the (new lead) leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "operationId": "ReportsController.newLeadCount"
      }
    },
    "/reports/sales": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "ratingReport",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Report for the ratings of my assigned leads filtered by projects and campaigns",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "campaign_ids": {
                    "type": "array"
                  },
                  "project_ids": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "description": "lead list by filter",
          "required": false
        },
        "operationId": "ReportsController.ratingReport"
      }
    },
    "/reports/tracking": {
      "post": {
        "x-controller-name": "ReportsController",
        "x-operation-name": "trackingReport",
        "tags": [
          "ReportsController"
        ],
        "responses": {
          "200": {
            "description": "Report for the tracking id filtered by campaigns and date from/to",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "campaignIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ReportsController.trackingReport"
      }
    },
    "/roles/count": {
      "get": {
        "x-controller-name": "RolesController",
        "x-operation-name": "count",
        "tags": [
          "RolesController"
        ],
        "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": "RolesController.count"
      }
    },
    "/roles/{id}/permissions": {
      "post": {
        "x-controller-name": "RolesPermissionsController",
        "x-operation-name": "create",
        "tags": [
          "RolesPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "create a Permissions model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Permissions"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPermissionsInRoles"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RolesPermissionsController.create"
      },
      "patch": {
        "x-controller-name": "RolesPermissionsController",
        "x-operation-name": "patch",
        "tags": [
          "RolesPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Roles.Permissions PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Permissions.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Permissions>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RolesPermissionsController.patch"
      },
      "get": {
        "x-controller-name": "RolesPermissionsController",
        "x-operation-name": "find",
        "tags": [
          "RolesPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Roles has many Permissions through RolesPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Permissions"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RolesPermissionsController.find"
      },
      "delete": {
        "x-controller-name": "RolesPermissionsController",
        "x-operation-name": "delete",
        "tags": [
          "RolesPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Roles.Permissions DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Permissions.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Permissions>"
                }
              }
            }
          }
        ],
        "operationId": "RolesPermissionsController.delete"
      }
    },
    "/roles/{id}/users": {
      "post": {
        "x-controller-name": "RolesUserController",
        "x-operation-name": "create",
        "tags": [
          "RolesUserController"
        ],
        "responses": {
          "200": {
            "description": "Roles model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUserInRoles"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RolesUserController.create"
      },
      "patch": {
        "x-controller-name": "RolesUserController",
        "x-operation-name": "patch",
        "tags": [
          "RolesUserController"
        ],
        "responses": {
          "200": {
            "description": "Roles.User PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RolesUserController.patch"
      },
      "get": {
        "x-controller-name": "RolesUserController",
        "x-operation-name": "find",
        "tags": [
          "RolesUserController"
        ],
        "responses": {
          "200": {
            "description": "Array of Roles has many User",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "RolesUserController.find"
      },
      "delete": {
        "x-controller-name": "RolesUserController",
        "x-operation-name": "delete",
        "tags": [
          "RolesUserController"
        ],
        "responses": {
          "200": {
            "description": "Roles.User DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "operationId": "RolesUserController.delete"
      }
    },
    "/roles/{id}": {
      "put": {
        "x-controller-name": "RolesController",
        "x-operation-name": "replaceById",
        "tags": [
          "RolesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Roles PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Roles"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RolesController.replaceById"
      },
      "patch": {
        "x-controller-name": "RolesController",
        "x-operation-name": "updateById",
        "tags": [
          "RolesController"
        ],
        "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/RolesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RolesController.updateById"
      },
      "get": {
        "x-controller-name": "RolesController",
        "x-operation-name": "findById",
        "tags": [
          "RolesController"
        ],
        "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": "RolesController.findById"
      },
      "delete": {
        "x-controller-name": "RolesController",
        "x-operation-name": "deleteById",
        "tags": [
          "RolesController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Roles DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RolesController.deleteById"
      }
    },
    "/roles": {
      "post": {
        "x-controller-name": "RolesController",
        "x-operation-name": "create",
        "tags": [
          "RolesController"
        ],
        "responses": {
          "200": {
            "description": "Roles model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Roles"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRoles"
              }
            }
          }
        },
        "operationId": "RolesController.create"
      },
      "patch": {
        "x-controller-name": "RolesController",
        "x-operation-name": "updateAll",
        "tags": [
          "RolesController"
        ],
        "responses": {
          "200": {
            "description": "Roles PATCH success 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>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RolesPartial"
              }
            }
          }
        },
        "operationId": "RolesController.updateAll"
      },
      "get": {
        "x-controller-name": "RolesController",
        "x-operation-name": "find",
        "tags": [
          "RolesController"
        ],
        "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": "RolesController.find"
      }
    },
    "/roles-permissions/{id}/permissions": {
      "get": {
        "x-controller-name": "RolesPermissionsPermissionsController",
        "x-operation-name": "getPermissions",
        "tags": [
          "RolesPermissionsPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Permissions belonging to RolesPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Permissions"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RolesPermissionsPermissionsController.getPermissions"
      }
    },
    "/roles-permissions/{id}/roles": {
      "get": {
        "x-controller-name": "RolesPermissionsRolesController",
        "x-operation-name": "getRoles",
        "tags": [
          "RolesPermissionsRolesController"
        ],
        "responses": {
          "200": {
            "description": "Roles belonging to RolesPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Roles"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RolesPermissionsRolesController.getRoles"
      }
    },
    "/settings/team-member-auto-assign": {
      "post": {
        "x-controller-name": "SettingsController",
        "x-operation-name": "teamMemberAutoAssign",
        "tags": [
          "SettingsController"
        ],
        "responses": {
          "200": {
            "description": "Auto assign member for leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "member_ids"
                ],
                "properties": {
                  "member_ids": {
                    "type": "array"
                  }
                }
              }
            }
          },
          "description": "Team member auto assign data",
          "required": true
        },
        "operationId": "SettingsController.teamMemberAutoAssign"
      }
    },
    "/spam-numbers/count": {
      "get": {
        "x-controller-name": "SpamNumberController",
        "x-operation-name": "count",
        "tags": [
          "SpamNumberController"
        ],
        "responses": {
          "200": {
            "description": "SpamNumber model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "SpamNumber.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<SpamNumber>"
                }
              }
            }
          }
        ],
        "operationId": "SpamNumberController.count"
      }
    },
    "/spam-numbers/{id}": {
      "put": {
        "x-controller-name": "SpamNumberController",
        "x-operation-name": "replaceById",
        "tags": [
          "SpamNumberController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SpamNumber PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SpamNumber"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SpamNumberController.replaceById"
      },
      "patch": {
        "x-controller-name": "SpamNumberController",
        "x-operation-name": "updateById",
        "tags": [
          "SpamNumberController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SpamNumber PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SpamNumberPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SpamNumberController.updateById"
      },
      "get": {
        "x-controller-name": "SpamNumberController",
        "x-operation-name": "findById",
        "tags": [
          "SpamNumberController"
        ],
        "responses": {
          "200": {
            "description": "SpamNumber model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpamNumberWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpamNumber.Filter"
                }
              }
            }
          }
        ],
        "operationId": "SpamNumberController.findById"
      },
      "delete": {
        "x-controller-name": "SpamNumberController",
        "x-operation-name": "deleteById",
        "tags": [
          "SpamNumberController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SpamNumber DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SpamNumberController.deleteById"
      }
    },
    "/spam-numbers": {
      "post": {
        "x-controller-name": "SpamNumberController",
        "x-operation-name": "create",
        "tags": [
          "SpamNumberController"
        ],
        "responses": {
          "200": {
            "description": "SpamNumber model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpamNumber"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSpamNumber"
              }
            }
          }
        },
        "operationId": "SpamNumberController.create"
      },
      "patch": {
        "x-controller-name": "SpamNumberController",
        "x-operation-name": "updateAll",
        "tags": [
          "SpamNumberController"
        ],
        "responses": {
          "200": {
            "description": "SpamNumber PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "SpamNumber.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<SpamNumber>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SpamNumberPartial"
              }
            }
          }
        },
        "operationId": "SpamNumberController.updateAll"
      },
      "get": {
        "x-controller-name": "SpamNumberController",
        "x-operation-name": "find",
        "tags": [
          "SpamNumberController"
        ],
        "responses": {
          "200": {
            "description": "Array of SpamNumber model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SpamNumberWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpamNumber.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "SpamNumberController.find"
      }
    },
    "/team-natures/{id}/teams": {
      "post": {
        "x-controller-name": "TeamNaturesTeamsController",
        "x-operation-name": "create",
        "tags": [
          "TeamNaturesTeamsController"
        ],
        "responses": {
          "200": {
            "description": "TeamNatures model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Teams"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTeamsInTeamNatures"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TeamNaturesTeamsController.create"
      },
      "patch": {
        "x-controller-name": "TeamNaturesTeamsController",
        "x-operation-name": "patch",
        "tags": [
          "TeamNaturesTeamsController"
        ],
        "responses": {
          "200": {
            "description": "TeamNatures.Teams PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Teams.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Teams>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TeamNaturesTeamsController.patch"
      },
      "get": {
        "x-controller-name": "TeamNaturesTeamsController",
        "x-operation-name": "find",
        "tags": [
          "TeamNaturesTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Array of TeamNatures has many Teams",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Teams"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TeamNaturesTeamsController.find"
      },
      "delete": {
        "x-controller-name": "TeamNaturesTeamsController",
        "x-operation-name": "delete",
        "tags": [
          "TeamNaturesTeamsController"
        ],
        "responses": {
          "200": {
            "description": "TeamNatures.Teams DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Teams.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Teams>"
                }
              }
            }
          }
        ],
        "operationId": "TeamNaturesTeamsController.delete"
      }
    },
    "/teams/count": {
      "get": {
        "x-controller-name": "TeamsController",
        "x-operation-name": "count",
        "tags": [
          "TeamsController"
        ],
        "responses": {
          "200": {
            "description": "Teams model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Teams.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Teams>"
                }
              }
            }
          }
        ],
        "operationId": "TeamsController.count"
      }
    },
    "/teams/{id}/clients": {
      "get": {
        "x-controller-name": "TeamsClientsController",
        "x-operation-name": "getClients",
        "tags": [
          "TeamsClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients belonging to Teams",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TeamsClientsController.getClients"
      }
    },
    "/teams/{id}/countries": {
      "post": {
        "x-controller-name": "TeamsCountriesController",
        "x-operation-name": "create",
        "tags": [
          "TeamsCountriesController"
        ],
        "responses": {
          "200": {
            "description": "create a Countries model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Countries"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCountriesInTeams"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TeamsCountriesController.create"
      },
      "patch": {
        "x-controller-name": "TeamsCountriesController",
        "x-operation-name": "patch",
        "tags": [
          "TeamsCountriesController"
        ],
        "responses": {
          "200": {
            "description": "Teams.Countries PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Countries.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Countries>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CountriesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TeamsCountriesController.patch"
      },
      "get": {
        "x-controller-name": "TeamsCountriesController",
        "x-operation-name": "find",
        "tags": [
          "TeamsCountriesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Teams has many Countries through TeamCountries",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Countries"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TeamsCountriesController.find"
      },
      "delete": {
        "x-controller-name": "TeamsCountriesController",
        "x-operation-name": "delete",
        "tags": [
          "TeamsCountriesController"
        ],
        "responses": {
          "200": {
            "description": "Teams.Countries DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Countries.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Countries>"
                }
              }
            }
          }
        ],
        "operationId": "TeamsCountriesController.delete"
      }
    },
    "/teams/{id}/team-natures": {
      "get": {
        "x-controller-name": "TeamsTeamNaturesController",
        "x-operation-name": "getTeamNatures",
        "tags": [
          "TeamsTeamNaturesController"
        ],
        "responses": {
          "200": {
            "description": "TeamNatures belonging to Teams",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamNatures"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TeamsTeamNaturesController.getTeamNatures"
      }
    },
    "/teams/{id}/users": {
      "post": {
        "x-controller-name": "TeamsUsersController",
        "x-operation-name": "create",
        "tags": [
          "TeamsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Teams model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsersInTeams"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TeamsUsersController.create"
      },
      "patch": {
        "x-controller-name": "TeamsUsersController",
        "x-operation-name": "patch",
        "tags": [
          "TeamsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Teams.Users PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TeamsUsersController.patch"
      },
      "get": {
        "x-controller-name": "TeamsUsersController",
        "x-operation-name": "find",
        "tags": [
          "TeamsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of Teams has many Users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TeamsUsersController.find"
      },
      "delete": {
        "x-controller-name": "TeamsUsersController",
        "x-operation-name": "delete",
        "tags": [
          "TeamsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Teams.Users DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "operationId": "TeamsUsersController.delete"
      }
    },
    "/teams/{id}": {
      "put": {
        "x-controller-name": "TeamsController",
        "x-operation-name": "replaceById",
        "tags": [
          "TeamsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Teams PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Teams"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TeamsController.replaceById"
      },
      "patch": {
        "x-controller-name": "TeamsController",
        "x-operation-name": "updateById",
        "tags": [
          "TeamsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Teams PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TeamsController.updateById"
      },
      "get": {
        "x-controller-name": "TeamsController",
        "x-operation-name": "findById",
        "tags": [
          "TeamsController"
        ],
        "responses": {
          "200": {
            "description": "Teams model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Teams.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TeamsController.findById"
      },
      "delete": {
        "x-controller-name": "TeamsController",
        "x-operation-name": "deleteById",
        "tags": [
          "TeamsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Teams DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TeamsController.deleteById"
      }
    },
    "/teams": {
      "post": {
        "x-controller-name": "TeamsController",
        "x-operation-name": "create",
        "tags": [
          "TeamsController"
        ],
        "responses": {
          "200": {
            "description": "Teams model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Teams"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTeams"
              }
            }
          }
        },
        "operationId": "TeamsController.create"
      },
      "patch": {
        "x-controller-name": "TeamsController",
        "x-operation-name": "updateAll",
        "tags": [
          "TeamsController"
        ],
        "responses": {
          "200": {
            "description": "Teams PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Teams.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Teams>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamsPartial"
              }
            }
          }
        },
        "operationId": "TeamsController.updateAll"
      },
      "get": {
        "x-controller-name": "TeamsController",
        "x-operation-name": "find",
        "tags": [
          "TeamsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Teams model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TeamsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Teams.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TeamsController.find"
      }
    },
    "/user-auto-teams/{id}/teams": {
      "get": {
        "x-controller-name": "UserAutoTeamTeamsController",
        "x-operation-name": "getTeams",
        "tags": [
          "UserAutoTeamTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Teams belonging to UserAutoTeam",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Teams"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserAutoTeamTeamsController.getTeams"
      }
    },
    "/user-auto-teams/{id}/users": {
      "get": {
        "x-controller-name": "UserAutoTeamUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "UserAutoTeamUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to UserAutoTeam",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserAutoTeamUsersController.getUsers"
      }
    },
    "/users/fcmToken": {
      "patch": {
        "x-controller-name": "UserController",
        "x-operation-name": "addOrUpdateFcmToken",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "UserController.addOrUpdateFcmToken"
      }
    },
    "/users/login": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "login",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "return user data, refresh token and access token ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "accessToken": {
                      "type": "string"
                    },
                    "refreshToken": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  },
                  "app_platform": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Login credentials",
          "required": true
        },
        "operationId": "UserController.login"
      }
    },
    "/users/manager-selected-auto-member": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "selectedAutoteamMemberList",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of selected Team member for manager ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.selectedAutoteamMemberList"
      }
    },
    "/users/me": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "printCurrentUser",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "The current user profile",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "id"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "email": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.printCurrentUser"
      }
    },
    "/users/refresh": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "refresh",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "return new access token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "accessToken": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "refreshToken"
                ],
                "properties": {
                  "refreshToken": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Reissuing Acess Token",
          "required": true
        },
        "operationId": "UserController.refresh"
      }
    },
    "/users/team-member-list": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "teamMemberList",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of Team member for manager ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.teamMemberList"
      }
    },
    "/users/{roleId}/add-permissions": {
      "post": {
        "x-controller-name": "UsersPermissionsController",
        "x-operation-name": "addUserPermission",
        "tags": [
          "UsersPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Add user permission to all user with specific role",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "roleId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsersPermissionsController.addUserPermission"
      }
    },
    "/users/{id}/agencies": {
      "get": {
        "x-controller-name": "UsersAgenciesController",
        "x-operation-name": "getAgencies",
        "tags": [
          "UsersAgenciesController"
        ],
        "responses": {
          "200": {
            "description": "Agencies belonging to Users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Agencies"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsersAgenciesController.getAgencies"
      }
    },
    "/users/{id}/campaigns": {
      "post": {
        "x-controller-name": "UsersCampaignsController",
        "x-operation-name": "create",
        "tags": [
          "UsersCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Campaigns"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCampaignsInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersCampaignsController.create"
      },
      "patch": {
        "x-controller-name": "UsersCampaignsController",
        "x-operation-name": "patch",
        "tags": [
          "UsersCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Users.Campaigns PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Campaigns.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Campaigns>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CampaignsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersCampaignsController.patch"
      },
      "get": {
        "x-controller-name": "UsersCampaignsController",
        "x-operation-name": "find",
        "tags": [
          "UsersCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many Campaigns",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Campaigns"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersCampaignsController.find"
      },
      "delete": {
        "x-controller-name": "UsersCampaignsController",
        "x-operation-name": "delete",
        "tags": [
          "UsersCampaignsController"
        ],
        "responses": {
          "200": {
            "description": "Users.Campaigns DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Campaigns.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Campaigns>"
                }
              }
            }
          }
        ],
        "operationId": "UsersCampaignsController.delete"
      }
    },
    "/users/{id}/clients": {
      "get": {
        "x-controller-name": "UsersClientsController",
        "x-operation-name": "getClients",
        "tags": [
          "UsersClientsController"
        ],
        "responses": {
          "200": {
            "description": "Clients belonging to Users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Clients"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsersClientsController.getClients"
      }
    },
    "/users/{id}/default-assignments": {
      "post": {
        "x-controller-name": "UsersDefaultAssignmentsController",
        "x-operation-name": "create",
        "tags": [
          "UsersDefaultAssignmentsController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultAssignments"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDefaultAssignmentsInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersDefaultAssignmentsController.create"
      },
      "patch": {
        "x-controller-name": "UsersDefaultAssignmentsController",
        "x-operation-name": "patch",
        "tags": [
          "UsersDefaultAssignmentsController"
        ],
        "responses": {
          "200": {
            "description": "Users.DefaultAssignments PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DefaultAssignments.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DefaultAssignments>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DefaultAssignmentsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersDefaultAssignmentsController.patch"
      },
      "get": {
        "x-controller-name": "UsersDefaultAssignmentsController",
        "x-operation-name": "find",
        "tags": [
          "UsersDefaultAssignmentsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many DefaultAssignments",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DefaultAssignments"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersDefaultAssignmentsController.find"
      },
      "delete": {
        "x-controller-name": "UsersDefaultAssignmentsController",
        "x-operation-name": "delete",
        "tags": [
          "UsersDefaultAssignmentsController"
        ],
        "responses": {
          "200": {
            "description": "Users.DefaultAssignments DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DefaultAssignments.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DefaultAssignments>"
                }
              }
            }
          }
        ],
        "operationId": "UsersDefaultAssignmentsController.delete"
      }
    },
    "/users/{id}/fb-conversions-api-logs": {
      "post": {
        "x-controller-name": "UsersFbConversionsApiLogsController",
        "x-operation-name": "create",
        "tags": [
          "UsersFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FbConversionsApiLogs"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFbConversionsApiLogsInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersFbConversionsApiLogsController.create"
      },
      "patch": {
        "x-controller-name": "UsersFbConversionsApiLogsController",
        "x-operation-name": "patch",
        "tags": [
          "UsersFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Users.FbConversionsApiLogs PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FbConversionsApiLogs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FbConversionsApiLogs>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FbConversionsApiLogsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersFbConversionsApiLogsController.patch"
      },
      "get": {
        "x-controller-name": "UsersFbConversionsApiLogsController",
        "x-operation-name": "find",
        "tags": [
          "UsersFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many FbConversionsApiLogs",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FbConversionsApiLogs"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersFbConversionsApiLogsController.find"
      },
      "delete": {
        "x-controller-name": "UsersFbConversionsApiLogsController",
        "x-operation-name": "delete",
        "tags": [
          "UsersFbConversionsApiLogsController"
        ],
        "responses": {
          "200": {
            "description": "Users.FbConversionsApiLogs DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FbConversionsApiLogs.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FbConversionsApiLogs>"
                }
              }
            }
          }
        ],
        "operationId": "UsersFbConversionsApiLogsController.delete"
      }
    },
    "/users/{id}/hold-leads": {
      "post": {
        "x-controller-name": "UsersHoldLeadsController",
        "x-operation-name": "create",
        "tags": [
          "UsersHoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HoldLeads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewHoldLeadsInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersHoldLeadsController.create"
      },
      "patch": {
        "x-controller-name": "UsersHoldLeadsController",
        "x-operation-name": "patch",
        "tags": [
          "UsersHoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Users.HoldLeads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HoldLeads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HoldLeads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HoldLeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersHoldLeadsController.patch"
      },
      "get": {
        "x-controller-name": "UsersHoldLeadsController",
        "x-operation-name": "find",
        "tags": [
          "UsersHoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many HoldLeads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HoldLeads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersHoldLeadsController.find"
      },
      "delete": {
        "x-controller-name": "UsersHoldLeadsController",
        "x-operation-name": "delete",
        "tags": [
          "UsersHoldLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Users.HoldLeads DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "HoldLeads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<HoldLeads>"
                }
              }
            }
          }
        ],
        "operationId": "UsersHoldLeadsController.delete"
      }
    },
    "/users/{id}/jwt-blacklist-tokens": {
      "post": {
        "x-controller-name": "UsersJwtBlacklistTokensController",
        "x-operation-name": "create",
        "tags": [
          "UsersJwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JwtBlacklistTokens"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewJwtBlacklistTokensInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersJwtBlacklistTokensController.create"
      },
      "patch": {
        "x-controller-name": "UsersJwtBlacklistTokensController",
        "x-operation-name": "patch",
        "tags": [
          "UsersJwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "Users.JwtBlacklistTokens PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "JwtBlacklistTokens.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<JwtBlacklistTokens>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JwtBlacklistTokensPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersJwtBlacklistTokensController.patch"
      },
      "get": {
        "x-controller-name": "UsersJwtBlacklistTokensController",
        "x-operation-name": "find",
        "tags": [
          "UsersJwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many JwtBlacklistTokens",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/JwtBlacklistTokens"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersJwtBlacklistTokensController.find"
      },
      "delete": {
        "x-controller-name": "UsersJwtBlacklistTokensController",
        "x-operation-name": "delete",
        "tags": [
          "UsersJwtBlacklistTokensController"
        ],
        "responses": {
          "200": {
            "description": "Users.JwtBlacklistTokens DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "JwtBlacklistTokens.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<JwtBlacklistTokens>"
                }
              }
            }
          }
        ],
        "operationId": "UsersJwtBlacklistTokensController.delete"
      }
    },
    "/users/{id}/leads": {
      "post": {
        "x-controller-name": "UsersLeadsController",
        "x-operation-name": "create",
        "tags": [
          "UsersLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Leads"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeadsInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersLeadsController.create"
      },
      "patch": {
        "x-controller-name": "UsersLeadsController",
        "x-operation-name": "patch",
        "tags": [
          "UsersLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Users.Leads PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersLeadsController.patch"
      },
      "get": {
        "x-controller-name": "UsersLeadsController",
        "x-operation-name": "find",
        "tags": [
          "UsersLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many Leads",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Leads"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersLeadsController.find"
      },
      "delete": {
        "x-controller-name": "UsersLeadsController",
        "x-operation-name": "delete",
        "tags": [
          "UsersLeadsController"
        ],
        "responses": {
          "200": {
            "description": "Users.Leads DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Leads.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Leads>"
                }
              }
            }
          }
        ],
        "operationId": "UsersLeadsController.delete"
      }
    },
    "/users/{id}/member-working-hours": {
      "post": {
        "x-controller-name": "UsersMemberWorkingHoursController",
        "x-operation-name": "create",
        "tags": [
          "UsersMemberWorkingHoursController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberWorkingHours"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMemberWorkingHoursInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersMemberWorkingHoursController.create"
      },
      "patch": {
        "x-controller-name": "UsersMemberWorkingHoursController",
        "x-operation-name": "patch",
        "tags": [
          "UsersMemberWorkingHoursController"
        ],
        "responses": {
          "200": {
            "description": "Users.MemberWorkingHours PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MemberWorkingHours.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MemberWorkingHours>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberWorkingHoursPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersMemberWorkingHoursController.patch"
      },
      "get": {
        "x-controller-name": "UsersMemberWorkingHoursController",
        "x-operation-name": "find",
        "tags": [
          "UsersMemberWorkingHoursController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many MemberWorkingHours",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MemberWorkingHours"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersMemberWorkingHoursController.find"
      },
      "delete": {
        "x-controller-name": "UsersMemberWorkingHoursController",
        "x-operation-name": "delete",
        "tags": [
          "UsersMemberWorkingHoursController"
        ],
        "responses": {
          "200": {
            "description": "Users.MemberWorkingHours DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MemberWorkingHours.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MemberWorkingHours>"
                }
              }
            }
          }
        ],
        "operationId": "UsersMemberWorkingHoursController.delete"
      }
    },
    "/users/{id}/notes": {
      "post": {
        "x-controller-name": "UsersNotesController",
        "x-operation-name": "create",
        "tags": [
          "UsersNotesController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notes"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotesInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersNotesController.create"
      },
      "patch": {
        "x-controller-name": "UsersNotesController",
        "x-operation-name": "patch",
        "tags": [
          "UsersNotesController"
        ],
        "responses": {
          "200": {
            "description": "Users.Notes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersNotesController.patch"
      },
      "get": {
        "x-controller-name": "UsersNotesController",
        "x-operation-name": "find",
        "tags": [
          "UsersNotesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many Notes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Notes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersNotesController.find"
      },
      "delete": {
        "x-controller-name": "UsersNotesController",
        "x-operation-name": "delete",
        "tags": [
          "UsersNotesController"
        ],
        "responses": {
          "200": {
            "description": "Users.Notes DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notes>"
                }
              }
            }
          }
        ],
        "operationId": "UsersNotesController.delete"
      }
    },
    "/users/{id}/payment-sms-sents": {
      "post": {
        "x-controller-name": "UsersPaymentSmsSentController",
        "x-operation-name": "create",
        "tags": [
          "UsersPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentSmsSent"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPaymentSmsSentInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersPaymentSmsSentController.create"
      },
      "patch": {
        "x-controller-name": "UsersPaymentSmsSentController",
        "x-operation-name": "patch",
        "tags": [
          "UsersPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Users.PaymentSmsSent PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentSmsSent.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentSmsSent>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaymentSmsSentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersPaymentSmsSentController.patch"
      },
      "get": {
        "x-controller-name": "UsersPaymentSmsSentController",
        "x-operation-name": "find",
        "tags": [
          "UsersPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many PaymentSmsSent",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PaymentSmsSent"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersPaymentSmsSentController.find"
      },
      "delete": {
        "x-controller-name": "UsersPaymentSmsSentController",
        "x-operation-name": "delete",
        "tags": [
          "UsersPaymentSmsSentController"
        ],
        "responses": {
          "200": {
            "description": "Users.PaymentSmsSent DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PaymentSmsSent.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PaymentSmsSent>"
                }
              }
            }
          }
        ],
        "operationId": "UsersPaymentSmsSentController.delete"
      }
    },
    "/users/{id}/permissions": {
      "post": {
        "x-controller-name": "UsersPermissionsController",
        "x-operation-name": "create",
        "tags": [
          "UsersPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "create a Permissions model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Permissions"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPermissionsInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersPermissionsController.create"
      },
      "patch": {
        "x-controller-name": "UsersPermissionsController",
        "x-operation-name": "patch",
        "tags": [
          "UsersPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Users.Permissions PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Permissions.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Permissions>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PermissionsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersPermissionsController.patch"
      },
      "get": {
        "x-controller-name": "UsersPermissionsController",
        "x-operation-name": "find",
        "tags": [
          "UsersPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many Permissions through UsersPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Permissions"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersPermissionsController.find"
      },
      "delete": {
        "x-controller-name": "UsersPermissionsController",
        "x-operation-name": "delete",
        "tags": [
          "UsersPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Users.Permissions DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Permissions.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Permissions>"
                }
              }
            }
          }
        ],
        "operationId": "UsersPermissionsController.delete"
      }
    },
    "/users/{id}/project-payment-types": {
      "post": {
        "x-controller-name": "UsersProjectPaymentTypesController",
        "x-operation-name": "create",
        "tags": [
          "UsersProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "create a ProjectPaymentTypes model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectPaymentTypes"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProjectPaymentTypesInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersProjectPaymentTypesController.create"
      },
      "patch": {
        "x-controller-name": "UsersProjectPaymentTypesController",
        "x-operation-name": "patch",
        "tags": [
          "UsersProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Users.ProjectPaymentTypes PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectPaymentTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectPaymentTypes>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProjectPaymentTypesPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersProjectPaymentTypesController.patch"
      },
      "get": {
        "x-controller-name": "UsersProjectPaymentTypesController",
        "x-operation-name": "find",
        "tags": [
          "UsersProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many ProjectPaymentTypes through ProjectPaymentTypeMembers",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProjectPaymentTypes"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersProjectPaymentTypesController.find"
      },
      "delete": {
        "x-controller-name": "UsersProjectPaymentTypesController",
        "x-operation-name": "delete",
        "tags": [
          "UsersProjectPaymentTypesController"
        ],
        "responses": {
          "200": {
            "description": "Users.ProjectPaymentTypes DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ProjectPaymentTypes.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ProjectPaymentTypes>"
                }
              }
            }
          }
        ],
        "operationId": "UsersProjectPaymentTypesController.delete"
      }
    },
    "/users/{id}/roles": {
      "get": {
        "x-controller-name": "UserRolesController",
        "x-operation-name": "getRoles",
        "tags": [
          "UserRolesController"
        ],
        "responses": {
          "200": {
            "description": "Roles belonging to User",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Roles"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserRolesController.getRoles"
      }
    },
    "/users/{id}/teams": {
      "get": {
        "x-controller-name": "UsersTeamsController",
        "x-operation-name": "getTeams",
        "tags": [
          "UsersTeamsController"
        ],
        "responses": {
          "200": {
            "description": "Teams belonging to Users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Teams"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsersTeamsController.getTeams"
      }
    },
    "/users/{id}/users": {
      "post": {
        "x-controller-name": "UsersUsersController",
        "x-operation-name": "create",
        "tags": [
          "UsersUsersController"
        ],
        "responses": {
          "200": {
            "description": "create a Users model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Users"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUsersInUsers"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersUsersController.create"
      },
      "patch": {
        "x-controller-name": "UsersUsersController",
        "x-operation-name": "patch",
        "tags": [
          "UsersUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users.Users PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UsersPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UsersUsersController.patch"
      },
      "get": {
        "x-controller-name": "UsersUsersController",
        "x-operation-name": "find",
        "tags": [
          "UsersUsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of Users has many Users through ManagerAutoMember",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UsersUsersController.find"
      },
      "delete": {
        "x-controller-name": "UsersUsersController",
        "x-operation-name": "delete",
        "tags": [
          "UsersUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users.Users DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Users.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Users>"
                }
              }
            }
          }
        ],
        "operationId": "UsersUsersController.delete"
      }
    },
    "/users-permissions/{id}/permissions": {
      "get": {
        "x-controller-name": "UsersPermissionsPermissionsController",
        "x-operation-name": "getPermissions",
        "tags": [
          "UsersPermissionsPermissionsController"
        ],
        "responses": {
          "200": {
            "description": "Permissions belonging to UsersPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Permissions"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsersPermissionsPermissionsController.getPermissions"
      }
    },
    "/users-permissions/{id}/users": {
      "get": {
        "x-controller-name": "UsersPermissionsUsersController",
        "x-operation-name": "getUsers",
        "tags": [
          "UsersPermissionsUsersController"
        ],
        "responses": {
          "200": {
            "description": "Users belonging to UsersPermissions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Users"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UsersPermissionsUsersController.getUsers"
      }
    },
    "/week-days/{id}/member-working-hours": {
      "post": {
        "x-controller-name": "WeekDaysMemberWorkingHoursController",
        "x-operation-name": "create",
        "tags": [
          "WeekDaysMemberWorkingHoursController"
        ],
        "responses": {
          "200": {
            "description": "WeekDays model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemberWorkingHours"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewMemberWorkingHoursInWeekDays"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WeekDaysMemberWorkingHoursController.create"
      },
      "patch": {
        "x-controller-name": "WeekDaysMemberWorkingHoursController",
        "x-operation-name": "patch",
        "tags": [
          "WeekDaysMemberWorkingHoursController"
        ],
        "responses": {
          "200": {
            "description": "WeekDays.MemberWorkingHours PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MemberWorkingHours.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MemberWorkingHours>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MemberWorkingHoursPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "WeekDaysMemberWorkingHoursController.patch"
      },
      "get": {
        "x-controller-name": "WeekDaysMemberWorkingHoursController",
        "x-operation-name": "find",
        "tags": [
          "WeekDaysMemberWorkingHoursController"
        ],
        "responses": {
          "200": {
            "description": "Array of WeekDays has many MemberWorkingHours",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MemberWorkingHours"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "WeekDaysMemberWorkingHoursController.find"
      },
      "delete": {
        "x-controller-name": "WeekDaysMemberWorkingHoursController",
        "x-operation-name": "delete",
        "tags": [
          "WeekDaysMemberWorkingHoursController"
        ],
        "responses": {
          "200": {
            "description": "WeekDays.MemberWorkingHours DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MemberWorkingHours.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MemberWorkingHours>"
                }
              }
            }
          }
        ],
        "operationId": "WeekDaysMemberWorkingHoursController.delete"
      }
    }
  },
  "servers": [
    {
      "url": "https://sockstage.smartspend.net"
    }
  ],
  "components": {
    "schemas": {
      "MemberWorkingHours": {
        "title": "MemberWorkingHours",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "time_from": {
            "type": "string"
          },
          "time_to": {
            "type": "string"
          },
          "group_id": {
            "type": "number"
          },
          "insert_type": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "created_by_id": {
            "type": "number"
          },
          "day_id": {
            "type": "number"
          }
        },
        "required": [
          "time_from",
          "time_to",
          "group_id",
          "insert_type",
          "created_at"
        ],
        "additionalProperties": false
      },
      "NewMemberWorkingHoursInWeekDays": {
        "title": "NewMemberWorkingHoursInWeekDays",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<MemberWorkingHours, 'id'>, 'day_id'>, schemaOptions: { title: 'NewMemberWorkingHoursInWeekDays', exclude: [ 'id' ], optional: [ 'day_id' ] })",
        "properties": {
          "time_from": {
            "type": "string"
          },
          "time_to": {
            "type": "string"
          },
          "group_id": {
            "type": "number"
          },
          "insert_type": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "created_by_id": {
            "type": "number"
          },
          "day_id": {
            "type": "number"
          }
        },
        "required": [
          "time_from",
          "time_to",
          "group_id",
          "insert_type",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<MemberWorkingHours, 'id'>, 'day_id'>"
      },
      "MemberWorkingHoursPartial": {
        "title": "MemberWorkingHoursPartial",
        "type": "object",
        "description": "(tsType: Partial<MemberWorkingHours>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "time_from": {
            "type": "string"
          },
          "time_to": {
            "type": "string"
          },
          "group_id": {
            "type": "number"
          },
          "insert_type": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "created_by_id": {
            "type": "number"
          },
          "day_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<MemberWorkingHours>"
      },
      "Users": {
        "title": "Users",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "NewUsersInUsers": {
        "title": "NewUsersInUsers",
        "type": "object",
        "description": "(tsType: Omit<Users, 'id'>, schemaOptions: { title: 'NewUsersInUsers', exclude: [ 'id' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Users, 'id'>"
      },
      "UsersPartial": {
        "title": "UsersPartial",
        "type": "object",
        "description": "(tsType: Partial<Users>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Users>"
      },
      "Teams": {
        "title": "Teams",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "team_type": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "nature_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "ProjectPaymentTypes": {
        "title": "ProjectPaymentTypes",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "payment_type": {
            "type": "string"
          },
          "is_fixed": {
            "type": "boolean"
          },
          "fixed_amount": {
            "type": "number"
          },
          "custom_amount_from": {
            "type": "number"
          },
          "custom_amount_to": {
            "type": "number"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "expire_duration_millisecond": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "payment_type",
          "is_fixed",
          "is_active",
          "is_deleted",
          "created_at"
        ],
        "additionalProperties": false
      },
      "NewProjectPaymentTypesInUsers": {
        "title": "NewProjectPaymentTypesInUsers",
        "type": "object",
        "description": "(tsType: Omit<ProjectPaymentTypes, 'id'>, schemaOptions: { title: 'NewProjectPaymentTypesInUsers', exclude: [ 'id' ] })",
        "properties": {
          "payment_type": {
            "type": "string"
          },
          "is_fixed": {
            "type": "boolean"
          },
          "fixed_amount": {
            "type": "number"
          },
          "custom_amount_from": {
            "type": "number"
          },
          "custom_amount_to": {
            "type": "number"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "expire_duration_millisecond": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "payment_type",
          "is_fixed",
          "is_active",
          "is_deleted",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProjectPaymentTypes, 'id'>"
      },
      "ProjectPaymentTypesPartial": {
        "title": "ProjectPaymentTypesPartial",
        "type": "object",
        "description": "(tsType: Partial<ProjectPaymentTypes>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "payment_type": {
            "type": "string"
          },
          "is_fixed": {
            "type": "boolean"
          },
          "fixed_amount": {
            "type": "number"
          },
          "custom_amount_from": {
            "type": "number"
          },
          "custom_amount_to": {
            "type": "number"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "expire_duration_millisecond": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProjectPaymentTypes>"
      },
      "Permissions": {
        "title": "Permissions",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "alias_name": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "can_be_updated": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "action_id": {
            "type": "number"
          },
          "group_id": {
            "type": "number"
          }
        },
        "required": [
          "alias_name",
          "name",
          "created_at"
        ],
        "additionalProperties": false
      },
      "NewPermissionsInUsers": {
        "title": "NewPermissionsInUsers",
        "type": "object",
        "description": "(tsType: Omit<Permissions, 'id'>, schemaOptions: { title: 'NewPermissionsInUsers', exclude: [ 'id' ] })",
        "properties": {
          "alias_name": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "can_be_updated": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "action_id": {
            "type": "number"
          },
          "group_id": {
            "type": "number"
          }
        },
        "required": [
          "alias_name",
          "name",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Permissions, 'id'>"
      },
      "PermissionsPartial": {
        "title": "PermissionsPartial",
        "type": "object",
        "description": "(tsType: Partial<Permissions>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "alias_name": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "can_be_updated": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "action_id": {
            "type": "number"
          },
          "group_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Permissions>"
      },
      "PaymentSmsSent": {
        "title": "PaymentSmsSent",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "phone": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "is_paid": {
            "type": "boolean"
          },
          "signature": {
            "type": "string"
          },
          "signature_expire_at": {
            "type": "string"
          },
          "is_sms_recived": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "payment_type_id": {
            "type": "number"
          }
        },
        "required": [
          "phone",
          "amount",
          "signature",
          "signature_expire_at",
          "created_at"
        ],
        "additionalProperties": false
      },
      "NewPaymentSmsSentInUsers": {
        "title": "NewPaymentSmsSentInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<PaymentSmsSent, 'id'>, 'member_id'>, schemaOptions: { title: 'NewPaymentSmsSentInUsers', exclude: [ 'id' ], optional: [ 'member_id' ] })",
        "properties": {
          "phone": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "is_paid": {
            "type": "boolean"
          },
          "signature": {
            "type": "string"
          },
          "signature_expire_at": {
            "type": "string"
          },
          "is_sms_recived": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "payment_type_id": {
            "type": "number"
          }
        },
        "required": [
          "phone",
          "amount",
          "signature",
          "signature_expire_at",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<PaymentSmsSent, 'id'>, 'member_id'>"
      },
      "PaymentSmsSentPartial": {
        "title": "PaymentSmsSentPartial",
        "type": "object",
        "description": "(tsType: Partial<PaymentSmsSent>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "phone": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "is_paid": {
            "type": "boolean"
          },
          "signature": {
            "type": "string"
          },
          "signature_expire_at": {
            "type": "string"
          },
          "is_sms_recived": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "payment_type_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PaymentSmsSent>"
      },
      "Notes": {
        "title": "Notes",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "note": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "isReminder": {
            "type": "boolean"
          },
          "project_id": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewNotesInUsers": {
        "title": "NewNotesInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Notes, 'id'>, 'member_id'>, schemaOptions: { title: 'NewNotesInUsers', exclude: [ 'id' ], optional: [ 'member_id' ] })",
        "properties": {
          "note": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "isReminder": {
            "type": "boolean"
          },
          "project_id": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Notes, 'id'>, 'member_id'>"
      },
      "NotesPartial": {
        "title": "NotesPartial",
        "type": "object",
        "description": "(tsType: Partial<Notes>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "note": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "isReminder": {
            "type": "boolean"
          },
          "project_id": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Notes>"
      },
      "NewMemberWorkingHoursInUsers": {
        "title": "NewMemberWorkingHoursInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<MemberWorkingHours, 'id'>, 'member_id'>, schemaOptions: { title: 'NewMemberWorkingHoursInUsers', exclude: [ 'id' ], optional: [ 'member_id' ] })",
        "properties": {
          "time_from": {
            "type": "string"
          },
          "time_to": {
            "type": "string"
          },
          "group_id": {
            "type": "number"
          },
          "insert_type": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "created_by_id": {
            "type": "number"
          },
          "day_id": {
            "type": "number"
          }
        },
        "required": [
          "time_from",
          "time_to",
          "group_id",
          "insert_type",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<MemberWorkingHours, 'id'>, 'member_id'>"
      },
      "Leads": {
        "title": "Leads",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "secondPhone": {
            "type": "string"
          },
          "customer_notes": {
            "type": "string"
          },
          "sales_notes": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "channel_link": {
            "type": "string"
          },
          "additional_info": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "first_rated_at": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "offer": {
            "type": "string"
          },
          "tracking": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "is_chatbot": {
            "type": "boolean"
          },
          "is_approved": {
            "type": "boolean"
          },
          "channel_lead_generated_id": {
            "type": "string"
          },
          "crm_integration": {
            "type": "string"
          },
          "country_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          },
          "campaign_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewLeadsInUsers": {
        "title": "NewLeadsInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'member_id'>, schemaOptions: { title: 'NewLeadsInUsers', exclude: [ 'id' ], optional: [ 'member_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "secondPhone": {
            "type": "string"
          },
          "customer_notes": {
            "type": "string"
          },
          "sales_notes": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "channel_link": {
            "type": "string"
          },
          "additional_info": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "first_rated_at": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "offer": {
            "type": "string"
          },
          "tracking": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "is_chatbot": {
            "type": "boolean"
          },
          "is_approved": {
            "type": "boolean"
          },
          "channel_lead_generated_id": {
            "type": "string"
          },
          "crm_integration": {
            "type": "string"
          },
          "country_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          },
          "campaign_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'member_id'>"
      },
      "LeadsPartial": {
        "title": "LeadsPartial",
        "type": "object",
        "description": "(tsType: Partial<Leads>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "secondPhone": {
            "type": "string"
          },
          "customer_notes": {
            "type": "string"
          },
          "sales_notes": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "channel_link": {
            "type": "string"
          },
          "additional_info": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "first_rated_at": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "offer": {
            "type": "string"
          },
          "tracking": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "is_chatbot": {
            "type": "boolean"
          },
          "is_approved": {
            "type": "boolean"
          },
          "channel_lead_generated_id": {
            "type": "string"
          },
          "crm_integration": {
            "type": "string"
          },
          "country_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          },
          "campaign_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Leads>"
      },
      "JwtBlacklistTokens": {
        "title": "JwtBlacklistTokens",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "number"
          }
        },
        "required": [
          "token",
          "created_at"
        ],
        "additionalProperties": false
      },
      "NewJwtBlacklistTokensInUsers": {
        "title": "NewJwtBlacklistTokensInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<JwtBlacklistTokens, 'id'>, 'userId'>, schemaOptions: { title: 'NewJwtBlacklistTokensInUsers', exclude: [ 'id' ], optional: [ 'userId' ] })",
        "properties": {
          "token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "number"
          }
        },
        "required": [
          "token",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<JwtBlacklistTokens, 'id'>, 'userId'>"
      },
      "JwtBlacklistTokensPartial": {
        "title": "JwtBlacklistTokensPartial",
        "type": "object",
        "description": "(tsType: Partial<JwtBlacklistTokens>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<JwtBlacklistTokens>"
      },
      "HoldLeads": {
        "title": "HoldLeads",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_expired": {
            "type": "boolean"
          },
          "unhold_at": {
            "type": "string",
            "format": "date-time"
          },
          "to_be_expire_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          }
        },
        "required": [
          "created_at"
        ],
        "additionalProperties": false
      },
      "NewHoldLeadsInUsers": {
        "title": "NewHoldLeadsInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<HoldLeads, 'id'>, 'member_id'>, schemaOptions: { title: 'NewHoldLeadsInUsers', exclude: [ 'id' ], optional: [ 'member_id' ] })",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_expired": {
            "type": "boolean"
          },
          "unhold_at": {
            "type": "string",
            "format": "date-time"
          },
          "to_be_expire_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          }
        },
        "required": [
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<HoldLeads, 'id'>, 'member_id'>"
      },
      "HoldLeadsPartial": {
        "title": "HoldLeadsPartial",
        "type": "object",
        "description": "(tsType: Partial<HoldLeads>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_expired": {
            "type": "boolean"
          },
          "unhold_at": {
            "type": "string",
            "format": "date-time"
          },
          "to_be_expire_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<HoldLeads>"
      },
      "FbConversionsApiLogs": {
        "title": "FbConversionsApiLogs",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "is_event_received": {
            "type": "boolean"
          },
          "fbtrace_id": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "creator_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "fbtrace_id",
          "created_at"
        ],
        "additionalProperties": false
      },
      "NewFbConversionsApiLogsInUsers": {
        "title": "NewFbConversionsApiLogsInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<FbConversionsApiLogs, 'id'>, 'creator_id'>, schemaOptions: { title: 'NewFbConversionsApiLogsInUsers', exclude: [ 'id' ], optional: [ 'creator_id' ] })",
        "properties": {
          "is_event_received": {
            "type": "boolean"
          },
          "fbtrace_id": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "creator_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "fbtrace_id",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<FbConversionsApiLogs, 'id'>, 'creator_id'>"
      },
      "FbConversionsApiLogsPartial": {
        "title": "FbConversionsApiLogsPartial",
        "type": "object",
        "description": "(tsType: Partial<FbConversionsApiLogs>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "is_event_received": {
            "type": "boolean"
          },
          "fbtrace_id": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "creator_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<FbConversionsApiLogs>"
      },
      "DefaultAssignments": {
        "title": "DefaultAssignments",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewDefaultAssignmentsInUsers": {
        "title": "NewDefaultAssignmentsInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<DefaultAssignments, 'id'>, 'member_id'>, schemaOptions: { title: 'NewDefaultAssignmentsInUsers', exclude: [ 'id' ], optional: [ 'member_id' ] })",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<DefaultAssignments, 'id'>, 'member_id'>"
      },
      "DefaultAssignmentsPartial": {
        "title": "DefaultAssignmentsPartial",
        "type": "object",
        "description": "(tsType: Partial<DefaultAssignments>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<DefaultAssignments>"
      },
      "Clients": {
        "title": "Clients",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "company_logo": {
            "type": "string"
          },
          "analytic_id": {
            "type": "number"
          },
          "account_status": {
            "type": "number"
          },
          "sales_id": {
            "type": "number"
          },
          "contact_phone": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_id": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "number"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "notification_weekly": {
            "type": "number"
          },
          "client_mode": {
            "type": "string"
          },
          "notification_daily": {
            "type": "number"
          },
          "is_online_payment_allowed": {
            "type": "boolean"
          },
          "client_logo": {
            "type": "string"
          },
          "can_use_sales_app": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "Campaigns": {
        "title": "Campaigns",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "start_date": {
            "type": "string",
            "format": "date-time"
          },
          "end_date": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          },
          "total_budget": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "integration_data": {
            "type": "object"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewCampaignsInUsers": {
        "title": "NewCampaignsInUsers",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Campaigns, 'id'>, 'member_id'>, schemaOptions: { title: 'NewCampaignsInUsers', exclude: [ 'id' ], optional: [ 'member_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "start_date": {
            "type": "string",
            "format": "date-time"
          },
          "end_date": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          },
          "total_budget": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "integration_data": {
            "type": "object"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Campaigns, 'id'>, 'member_id'>"
      },
      "CampaignsPartial": {
        "title": "CampaignsPartial",
        "type": "object",
        "description": "(tsType: Partial<Campaigns>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "start_date": {
            "type": "string",
            "format": "date-time"
          },
          "end_date": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          },
          "total_budget": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "integration_data": {
            "type": "object"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Campaigns>"
      },
      "Agencies": {
        "title": "Agencies",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "string"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "string"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "country_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          },
          "package_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "Credentials": {
        "title": "Credentials",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string",
            "maxLength": 8
          },
          "app_platform": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "additionalProperties": false
      },
      "UserEmail": {
        "title": "UserEmail",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "KeyAndPassword": {
        "title": "KeyAndPassword",
        "type": "object",
        "properties": {
          "resetKey": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Roles": {
        "title": "Roles",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewTeams": {
        "title": "NewTeams",
        "type": "object",
        "description": "(tsType: Omit<Teams, 'id'>, schemaOptions: { title: 'NewTeams', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "team_type": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "nature_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Teams, 'id'>"
      },
      "PermissionsWithRelations": {
        "title": "PermissionsWithRelations",
        "type": "object",
        "description": "(tsType: PermissionsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "alias_name": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "can_be_updated": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "action_id": {
            "type": "number"
          },
          "group_id": {
            "type": "number"
          },
          "usersPermissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          },
          "rolesPermissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RolesWithRelations"
            }
          },
          "action": {
            "$ref": "#/components/schemas/PermissionActionWithRelations"
          },
          "group": {
            "$ref": "#/components/schemas/PermissionGroupWithRelations"
          }
        },
        "required": [
          "alias_name",
          "name",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PermissionsWithRelations"
      },
      "ChatLogsWithRelations": {
        "title": "ChatLogsWithRelations",
        "type": "object",
        "description": "(tsType: ChatLogsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "changedValues": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "extraValues": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          },
          "member": {
            "$ref": "#/components/schemas/UsersWithRelations"
          },
          "lead": {
            "$ref": "#/components/schemas/LeadsWithRelations"
          },
          "rating": {
            "$ref": "#/components/schemas/RatingsWithRelations"
          }
        },
        "required": [
          "createdAt"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ChatLogsWithRelations"
      },
      "HoldLeadsWithRelations": {
        "title": "HoldLeadsWithRelations",
        "type": "object",
        "description": "(tsType: HoldLeadsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_expired": {
            "type": "boolean"
          },
          "unhold_at": {
            "type": "string",
            "format": "date-time"
          },
          "to_be_expire_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          },
          "member": {
            "$ref": "#/components/schemas/UsersWithRelations"
          },
          "lead": {
            "$ref": "#/components/schemas/LeadsWithRelations"
          }
        },
        "required": [
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "HoldLeadsWithRelations"
      },
      "WeekDaysWithRelations": {
        "title": "WeekDaysWithRelations",
        "type": "object",
        "description": "(tsType: WeekDaysWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "day": {
            "type": "string"
          },
          "order": {
            "type": "number"
          },
          "memberWorkingHours": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MemberWorkingHoursWithRelations"
            }
          }
        },
        "required": [
          "day",
          "order"
        ],
        "additionalProperties": false,
        "x-typescript-type": "WeekDaysWithRelations"
      },
      "MemberWorkingHoursWithRelations": {
        "title": "MemberWorkingHoursWithRelations",
        "type": "object",
        "description": "(tsType: MemberWorkingHoursWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "time_from": {
            "type": "string"
          },
          "time_to": {
            "type": "string"
          },
          "group_id": {
            "type": "number"
          },
          "insert_type": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "created_by_id": {
            "type": "number"
          },
          "day_id": {
            "type": "number"
          },
          "member": {
            "$ref": "#/components/schemas/UsersWithRelations"
          },
          "created_by": {
            "$ref": "#/components/schemas/UsersWithRelations"
          },
          "day": {
            "$ref": "#/components/schemas/WeekDaysWithRelations"
          }
        },
        "required": [
          "time_from",
          "time_to",
          "group_id",
          "insert_type",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "MemberWorkingHoursWithRelations"
      },
      "ProjectPaymentTypesWithRelations": {
        "title": "ProjectPaymentTypesWithRelations",
        "type": "object",
        "description": "(tsType: ProjectPaymentTypesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "payment_type": {
            "type": "string"
          },
          "is_fixed": {
            "type": "boolean"
          },
          "fixed_amount": {
            "type": "number"
          },
          "custom_amount_from": {
            "type": "number"
          },
          "custom_amount_to": {
            "type": "number"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "expire_duration_millisecond": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "project": {
            "$ref": "#/components/schemas/ProjectsWithRelations"
          },
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          },
          "client": {
            "$ref": "#/components/schemas/ClientsWithRelations"
          },
          "paymentsSent": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentSmsSentWithRelations"
            }
          }
        },
        "required": [
          "payment_type",
          "is_fixed",
          "is_active",
          "is_deleted",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProjectPaymentTypesWithRelations"
      },
      "PaymentSmsSentWithRelations": {
        "title": "PaymentSmsSentWithRelations",
        "type": "object",
        "description": "(tsType: PaymentSmsSentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "phone": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "is_paid": {
            "type": "boolean"
          },
          "signature": {
            "type": "string"
          },
          "signature_expire_at": {
            "type": "string"
          },
          "is_sms_recived": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "payment_type_id": {
            "type": "number"
          },
          "lead": {
            "$ref": "#/components/schemas/LeadsWithRelations"
          },
          "member": {
            "$ref": "#/components/schemas/UsersWithRelations"
          },
          "paymentType": {
            "$ref": "#/components/schemas/ProjectPaymentTypesWithRelations"
          },
          "paymentCheckouts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentCheckoutsWithRelations"
            }
          }
        },
        "required": [
          "phone",
          "amount",
          "signature",
          "signature_expire_at",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PaymentSmsSentWithRelations"
      },
      "FbConversionsApiLogsWithRelations": {
        "title": "FbConversionsApiLogsWithRelations",
        "type": "object",
        "description": "(tsType: FbConversionsApiLogsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "is_event_received": {
            "type": "boolean"
          },
          "fbtrace_id": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "creator_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          },
          "lead": {
            "$ref": "#/components/schemas/LeadsWithRelations"
          },
          "creator": {
            "$ref": "#/components/schemas/UsersWithRelations"
          },
          "rating": {
            "$ref": "#/components/schemas/RatingsWithRelations"
          }
        },
        "required": [
          "fbtrace_id",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "FbConversionsApiLogsWithRelations"
      },
      "UsersWithRelations": {
        "title": "UsersWithRelations",
        "type": "object",
        "description": "(tsType: UsersWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          },
          "roleRelation": {
            "$ref": "#/components/schemas/RolesWithRelations"
          },
          "jwtBlacklistTokens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/JwtBlacklistTokensWithRelations"
            }
          },
          "client": {
            "$ref": "#/components/schemas/ClientsWithRelations"
          },
          "campaigns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignsWithRelations"
            }
          },
          "team": {
            "$ref": "#/components/schemas/TeamsWithRelations"
          },
          "agency": {
            "$ref": "#/components/schemas/AgenciesWithRelations"
          },
          "leads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LeadsWithRelations"
            }
          },
          "notes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotesWithRelations"
            }
          },
          "defaultAssignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DefaultAssignmentsWithRelations"
            }
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamsWithRelations"
            }
          },
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          },
          "managers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          },
          "usersPermissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionsWithRelations"
            }
          },
          "chatLogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatLogsWithRelations"
            }
          },
          "holdLeads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HoldLeadsWithRelations"
            }
          },
          "workinghours": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MemberWorkingHoursWithRelations"
            }
          },
          "createdWorkingHours": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MemberWorkingHoursWithRelations"
            }
          },
          "projectPaymentTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectPaymentTypesWithRelations"
            }
          },
          "paymentsSent": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentSmsSentWithRelations"
            }
          },
          "fbConversionsApiLogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FbConversionsApiLogsWithRelations"
            }
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "UsersWithRelations"
      },
      "CountriesWithRelations": {
        "title": "CountriesWithRelations",
        "type": "object",
        "description": "(tsType: CountriesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "iso": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nicename": {
            "type": "string"
          },
          "iso3": {
            "type": "string"
          },
          "numcode": {
            "type": "number"
          },
          "phonecode": {
            "type": "string"
          },
          "agencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgenciesWithRelations"
            }
          },
          "leads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LeadsWithRelations"
            }
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamsWithRelations"
            }
          }
        },
        "required": [
          "iso",
          "name",
          "nicename",
          "phonecode"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CountriesWithRelations"
      },
      "TeamNaturesWithRelations": {
        "title": "TeamNaturesWithRelations",
        "type": "object",
        "description": "(tsType: TeamNaturesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamsWithRelations"
            }
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TeamNaturesWithRelations"
      },
      "ClientsWithRelations": {
        "title": "ClientsWithRelations",
        "type": "object",
        "description": "(tsType: ClientsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "company_logo": {
            "type": "string"
          },
          "analytic_id": {
            "type": "number"
          },
          "account_status": {
            "type": "number"
          },
          "sales_id": {
            "type": "number"
          },
          "contact_phone": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_id": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "number"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "notification_weekly": {
            "type": "number"
          },
          "client_mode": {
            "type": "string"
          },
          "notification_daily": {
            "type": "number"
          },
          "is_online_payment_allowed": {
            "type": "boolean"
          },
          "client_logo": {
            "type": "string"
          },
          "can_use_sales_app": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          },
          "campaigns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignsWithRelations"
            }
          },
          "agency": {
            "$ref": "#/components/schemas/AgenciesWithRelations"
          },
          "city": {
            "$ref": "#/components/schemas/CitiesWithRelations"
          },
          "projects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectsWithRelations"
            }
          },
          "defaultAssignments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DefaultAssignmentsWithRelations"
            }
          },
          "teams": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TeamsWithRelations"
            }
          },
          "payment_types": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectPaymentTypesWithRelations"
            }
          },
          "smsTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientSmsTemplateWithRelations"
            }
          },
          "clientSalesforce": {
            "$ref": "#/components/schemas/ClientSalesforceWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ClientsWithRelations"
      },
      "TeamsWithRelations": {
        "title": "TeamsWithRelations",
        "type": "object",
        "description": "(tsType: TeamsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "team_type": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "nature_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          },
          "countries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CountriesWithRelations"
            }
          },
          "nature": {
            "$ref": "#/components/schemas/TeamNaturesWithRelations"
          },
          "client": {
            "$ref": "#/components/schemas/ClientsWithRelations"
          },
          "usersAutoTeam": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TeamsWithRelations"
      },
      "TeamsPartial": {
        "title": "TeamsPartial",
        "type": "object",
        "description": "(tsType: Partial<Teams>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "team_type": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "nature_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Teams>"
      },
      "NewUsersInTeams": {
        "title": "NewUsersInTeams",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Users, 'id'>, 'team_id'>, schemaOptions: { title: 'NewUsersInTeams', exclude: [ 'id' ], optional: [ 'team_id' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Users, 'id'>, 'team_id'>"
      },
      "TeamNatures": {
        "title": "TeamNatures",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "Countries": {
        "title": "Countries",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "iso": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nicename": {
            "type": "string"
          },
          "iso3": {
            "type": "string"
          },
          "numcode": {
            "type": "number"
          },
          "phonecode": {
            "type": "string"
          }
        },
        "required": [
          "iso",
          "name",
          "nicename",
          "phonecode"
        ],
        "additionalProperties": false
      },
      "NewCountriesInTeams": {
        "title": "NewCountriesInTeams",
        "type": "object",
        "description": "(tsType: Omit<Countries, 'id'>, schemaOptions: { title: 'NewCountriesInTeams', exclude: [ 'id' ] })",
        "properties": {
          "iso": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nicename": {
            "type": "string"
          },
          "iso3": {
            "type": "string"
          },
          "numcode": {
            "type": "number"
          },
          "phonecode": {
            "type": "string"
          }
        },
        "required": [
          "iso",
          "name",
          "nicename",
          "phonecode"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Countries, 'id'>"
      },
      "CountriesPartial": {
        "title": "CountriesPartial",
        "type": "object",
        "description": "(tsType: Partial<Countries>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "iso": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nicename": {
            "type": "string"
          },
          "iso3": {
            "type": "string"
          },
          "numcode": {
            "type": "number"
          },
          "phonecode": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Countries>"
      },
      "NewTeamsInTeamNatures": {
        "title": "NewTeamsInTeamNatures",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Teams, 'id'>, 'nature_id'>, schemaOptions: { title: 'NewTeamsInTeamNatures', exclude: [ 'id' ], optional: [ 'nature_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "team_type": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "nature_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Teams, 'id'>, 'nature_id'>"
      },
      "SpamNumber": {
        "title": "SpamNumber",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "required": [
          "phone"
        ],
        "additionalProperties": false
      },
      "NewSpamNumber": {
        "title": "NewSpamNumber",
        "type": "object",
        "description": "(tsType: Omit<SpamNumber, 'id'>, schemaOptions: { title: 'NewSpamNumber', exclude: [ 'id' ] })",
        "properties": {
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "required": [
          "phone"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<SpamNumber, 'id'>"
      },
      "SpamNumberWithRelations": {
        "title": "SpamNumberWithRelations",
        "type": "object",
        "description": "(tsType: SpamNumberWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "required": [
          "phone"
        ],
        "additionalProperties": false,
        "x-typescript-type": "SpamNumberWithRelations"
      },
      "SpamNumberPartial": {
        "title": "SpamNumberPartial",
        "type": "object",
        "description": "(tsType: Partial<SpamNumber>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<SpamNumber>"
      },
      "NewRoles": {
        "title": "NewRoles",
        "type": "object",
        "description": "(tsType: Omit<Roles, 'id'>, schemaOptions: { title: 'NewRoles', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Roles, 'id'>"
      },
      "RolesWithRelations": {
        "title": "RolesWithRelations",
        "type": "object",
        "description": "(tsType: RolesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          },
          "rolesPermissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermissionsWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RolesWithRelations"
      },
      "RolesPartial": {
        "title": "RolesPartial",
        "type": "object",
        "description": "(tsType: Partial<Roles>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Roles>"
      },
      "NewUserInRoles": {
        "title": "NewUserInRoles",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Users, 'id'>, 'role'>, schemaOptions: { title: 'NewUserInRoles', exclude: [ 'id' ], optional: [ 'role' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Users, 'id'>, 'role'>"
      },
      "NewPermissionsInRoles": {
        "title": "NewPermissionsInRoles",
        "type": "object",
        "description": "(tsType: Omit<Permissions, 'id'>, schemaOptions: { title: 'NewPermissionsInRoles', exclude: [ 'id' ] })",
        "properties": {
          "alias_name": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "can_be_updated": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "action_id": {
            "type": "number"
          },
          "group_id": {
            "type": "number"
          }
        },
        "required": [
          "alias_name",
          "name",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Permissions, 'id'>"
      },
      "ReminderType": {
        "title": "ReminderType",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "NewReminderType": {
        "title": "NewReminderType",
        "type": "object",
        "description": "(tsType: Omit<ReminderType, 'id'>, schemaOptions: { title: 'NewReminderType', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ReminderType, 'id'>"
      },
      "ReminderTypeWithRelations": {
        "title": "ReminderTypeWithRelations",
        "type": "object",
        "description": "(tsType: ReminderTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ReminderTypeWithRelations"
      },
      "ReminderTypePartial": {
        "title": "ReminderTypePartial",
        "type": "object",
        "description": "(tsType: Partial<ReminderType>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ReminderType>"
      },
      "Ratings": {
        "title": "Ratings",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "mode": {
            "type": "number"
          },
          "color": {
            "type": "string"
          },
          "change_level_flag": {
            "type": "boolean"
          },
          "is_parent": {
            "type": "boolean"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_for_call_center": {
            "type": "boolean"
          },
          "is_invalid_interaction": {
            "type": "boolean"
          },
          "fb_event_name": {
            "type": "string"
          },
          "parent_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewRatings": {
        "title": "NewRatings",
        "type": "object",
        "description": "(tsType: Omit<Ratings, 'id'>, schemaOptions: { title: 'NewRatings', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "mode": {
            "type": "number"
          },
          "color": {
            "type": "string"
          },
          "change_level_flag": {
            "type": "boolean"
          },
          "is_parent": {
            "type": "boolean"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_for_call_center": {
            "type": "boolean"
          },
          "is_invalid_interaction": {
            "type": "boolean"
          },
          "fb_event_name": {
            "type": "string"
          },
          "parent_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Ratings, 'id'>"
      },
      "RatingsWithRelations": {
        "title": "RatingsWithRelations",
        "type": "object",
        "description": "(tsType: RatingsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "mode": {
            "type": "number"
          },
          "color": {
            "type": "string"
          },
          "change_level_flag": {
            "type": "boolean"
          },
          "is_parent": {
            "type": "boolean"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_for_call_center": {
            "type": "boolean"
          },
          "is_invalid_interaction": {
            "type": "boolean"
          },
          "fb_event_name": {
            "type": "string"
          },
          "parent_id": {
            "type": "number"
          },
          "parent": {
            "$ref": "#/components/schemas/RatingsWithRelations"
          },
          "status": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RatingsWithRelations"
            }
          },
          "leads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LeadsWithRelations"
            }
          },
          "notes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotesWithRelations"
            }
          },
          "ratingScores": {
            "$ref": "#/components/schemas/RatingScoresWithRelations"
          },
          "chatLogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatLogsWithRelations"
            }
          },
          "fbConversionsApiLogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FbConversionsApiLogsWithRelations"
            }
          },
          "ratingSalesforceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RatingSalesforceMappingWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RatingsWithRelations"
      },
      "RatingsPartial": {
        "title": "RatingsPartial",
        "type": "object",
        "description": "(tsType: Partial<Ratings>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "mode": {
            "type": "number"
          },
          "color": {
            "type": "string"
          },
          "change_level_flag": {
            "type": "boolean"
          },
          "is_parent": {
            "type": "boolean"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_for_call_center": {
            "type": "boolean"
          },
          "is_invalid_interaction": {
            "type": "boolean"
          },
          "fb_event_name": {
            "type": "string"
          },
          "parent_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Ratings>"
      },
      "NewRatingsInRatings": {
        "title": "NewRatingsInRatings",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Ratings, 'id'>, 'parent_id'>, schemaOptions: { title: 'NewRatingsInRatings', exclude: [ 'id' ], optional: [ 'parent_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "mode": {
            "type": "number"
          },
          "color": {
            "type": "string"
          },
          "change_level_flag": {
            "type": "boolean"
          },
          "is_parent": {
            "type": "boolean"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_for_call_center": {
            "type": "boolean"
          },
          "is_invalid_interaction": {
            "type": "boolean"
          },
          "fb_event_name": {
            "type": "string"
          },
          "parent_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Ratings, 'id'>, 'parent_id'>"
      },
      "RatingScores": {
        "title": "RatingScores",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "quality_score": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "quality_score"
        ],
        "additionalProperties": false
      },
      "NewRatingScoresInRatings": {
        "title": "NewRatingScoresInRatings",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<RatingScores, 'id'>, 'rating_id'>, schemaOptions: { title: 'NewRatingScoresInRatings', exclude: [ 'id' ], optional: [ 'rating_id' ] })",
        "properties": {
          "quality_score": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "quality_score"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<RatingScores, 'id'>, 'rating_id'>"
      },
      "RatingScoresPartial": {
        "title": "RatingScoresPartial",
        "type": "object",
        "description": "(tsType: Partial<RatingScores>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "quality_score": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<RatingScores>"
      },
      "RatingSalesforceMapping": {
        "title": "RatingSalesforceMapping",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "mapping_rating": {
            "type": "string"
          },
          "client_salesforce_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "mapping_rating"
        ],
        "additionalProperties": false
      },
      "NewRatingSalesforceMappingInRatings": {
        "title": "NewRatingSalesforceMappingInRatings",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<RatingSalesforceMapping, 'id'>, 'rating_id'>, schemaOptions: { title: 'NewRatingSalesforceMappingInRatings', exclude: [ 'id' ], optional: [ 'rating_id' ] })",
        "properties": {
          "mapping_rating": {
            "type": "string"
          },
          "client_salesforce_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "mapping_rating"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<RatingSalesforceMapping, 'id'>, 'rating_id'>"
      },
      "RatingSalesforceMappingPartial": {
        "title": "RatingSalesforceMappingPartial",
        "type": "object",
        "description": "(tsType: Partial<RatingSalesforceMapping>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "mapping_rating": {
            "type": "string"
          },
          "client_salesforce_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<RatingSalesforceMapping>"
      },
      "NewNotesInRatings": {
        "title": "NewNotesInRatings",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Notes, 'id'>, 'rating_id'>, schemaOptions: { title: 'NewNotesInRatings', exclude: [ 'id' ], optional: [ 'rating_id' ] })",
        "properties": {
          "note": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "isReminder": {
            "type": "boolean"
          },
          "project_id": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Notes, 'id'>, 'rating_id'>"
      },
      "NewLeadsInRatings": {
        "title": "NewLeadsInRatings",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'rating_id'>, schemaOptions: { title: 'NewLeadsInRatings', exclude: [ 'id' ], optional: [ 'rating_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "secondPhone": {
            "type": "string"
          },
          "customer_notes": {
            "type": "string"
          },
          "sales_notes": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "channel_link": {
            "type": "string"
          },
          "additional_info": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "first_rated_at": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "offer": {
            "type": "string"
          },
          "tracking": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "is_chatbot": {
            "type": "boolean"
          },
          "is_approved": {
            "type": "boolean"
          },
          "channel_lead_generated_id": {
            "type": "string"
          },
          "crm_integration": {
            "type": "string"
          },
          "country_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          },
          "campaign_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'rating_id'>"
      },
      "NewFbConversionsApiLogsInRatings": {
        "title": "NewFbConversionsApiLogsInRatings",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<FbConversionsApiLogs, 'id'>, 'rating_id'>, schemaOptions: { title: 'NewFbConversionsApiLogsInRatings', exclude: [ 'id' ], optional: [ 'rating_id' ] })",
        "properties": {
          "is_event_received": {
            "type": "boolean"
          },
          "fbtrace_id": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "creator_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "fbtrace_id",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<FbConversionsApiLogs, 'id'>, 'rating_id'>"
      },
      "ClientSalesforce": {
        "title": "ClientSalesforce",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "grant_type": {
            "type": "string"
          },
          "salesforce_client_id": {
            "type": "string"
          },
          "salesforce_client_secret": {
            "type": "string"
          },
          "record_type_id": {
            "type": "string"
          },
          "access_token": {
            "type": "string"
          },
          "instance_url": {
            "type": "string"
          },
          "salesforce_id": {
            "type": "string"
          },
          "token_type": {
            "type": "string"
          },
          "issued_at": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "add_bulk_url": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "url",
          "username",
          "password",
          "grant_type",
          "salesforce_client_id",
          "salesforce_client_secret",
          "record_type_id",
          "created_at"
        ],
        "additionalProperties": false
      },
      "Projects": {
        "title": "Projects",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "team_id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "fb_pixel_id": {
            "type": "string"
          },
          "fb_access_token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "location_id": {
            "type": "number"
          },
          "type_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewProjects": {
        "title": "NewProjects",
        "type": "object",
        "description": "(tsType: Omit<Projects, 'id'>, schemaOptions: { title: 'NewProjects', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "team_id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "fb_pixel_id": {
            "type": "string"
          },
          "fb_access_token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "location_id": {
            "type": "number"
          },
          "type_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Projects, 'id'>"
      },
      "ProjectsWithRelations": {
        "title": "ProjectsWithRelations",
        "type": "object",
        "description": "(tsType: ProjectsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "team_id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "fb_pixel_id": {
            "type": "string"
          },
          "fb_access_token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "location_id": {
            "type": "number"
          },
          "type_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "location": {
            "$ref": "#/components/schemas/ProjectLocationsWithRelations"
          },
          "type": {
            "$ref": "#/components/schemas/ProjectTypesWithRelations"
          },
          "client": {
            "$ref": "#/components/schemas/ClientsWithRelations"
          },
          "campaigns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CampaignsWithRelations"
            }
          },
          "notes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NotesWithRelations"
            }
          },
          "paymentTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectPaymentTypesWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ProjectsWithRelations"
      },
      "ProjectsPartial": {
        "title": "ProjectsPartial",
        "type": "object",
        "description": "(tsType: Partial<Projects>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "team_id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "fb_pixel_id": {
            "type": "string"
          },
          "fb_access_token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "location_id": {
            "type": "number"
          },
          "type_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Projects>"
      },
      "ProjectTypes": {
        "title": "ProjectTypes",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "NewProjectPaymentTypesInProjects": {
        "title": "NewProjectPaymentTypesInProjects",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<ProjectPaymentTypes, 'id'>, 'project_id'>, schemaOptions: { title: 'NewProjectPaymentTypesInProjects', exclude: [ 'id' ], optional: [ 'project_id' ] })",
        "properties": {
          "payment_type": {
            "type": "string"
          },
          "is_fixed": {
            "type": "boolean"
          },
          "fixed_amount": {
            "type": "number"
          },
          "custom_amount_from": {
            "type": "number"
          },
          "custom_amount_to": {
            "type": "number"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "expire_duration_millisecond": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "payment_type",
          "is_fixed",
          "is_active",
          "is_deleted",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<ProjectPaymentTypes, 'id'>, 'project_id'>"
      },
      "ProjectLocations": {
        "title": "ProjectLocations",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "NewNotesInProjects": {
        "title": "NewNotesInProjects",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Notes, 'id'>, 'project_id'>, schemaOptions: { title: 'NewNotesInProjects', exclude: [ 'id' ], optional: [ 'project_id' ] })",
        "properties": {
          "note": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "isReminder": {
            "type": "boolean"
          },
          "project_id": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Notes, 'id'>, 'project_id'>"
      },
      "NewCampaignsInProjects": {
        "title": "NewCampaignsInProjects",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Campaigns, 'id'>, 'project_id'>, schemaOptions: { title: 'NewCampaignsInProjects', exclude: [ 'id' ], optional: [ 'project_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "start_date": {
            "type": "string",
            "format": "date-time"
          },
          "end_date": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          },
          "total_budget": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "integration_data": {
            "type": "object"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Campaigns, 'id'>, 'project_id'>"
      },
      "NewProjectTypes": {
        "title": "NewProjectTypes",
        "type": "object",
        "description": "(tsType: Omit<ProjectTypes, 'id'>, schemaOptions: { title: 'NewProjectTypes', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProjectTypes, 'id'>"
      },
      "ProjectTypesWithRelations": {
        "title": "ProjectTypesWithRelations",
        "type": "object",
        "description": "(tsType: ProjectTypesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "projects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectsWithRelations"
            }
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProjectTypesWithRelations"
      },
      "ProjectTypesPartial": {
        "title": "ProjectTypesPartial",
        "type": "object",
        "description": "(tsType: Partial<ProjectTypes>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProjectTypes>"
      },
      "NewProjectsInProjectTypes": {
        "title": "NewProjectsInProjectTypes",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Projects, 'id'>, 'type_id'>, schemaOptions: { title: 'NewProjectsInProjectTypes', exclude: [ 'id' ], optional: [ 'type_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "team_id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "fb_pixel_id": {
            "type": "string"
          },
          "fb_access_token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "location_id": {
            "type": "number"
          },
          "type_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Projects, 'id'>, 'type_id'>"
      },
      "NewProjectPaymentTypes": {
        "title": "NewProjectPaymentTypes",
        "type": "object",
        "description": "(tsType: Omit<ProjectPaymentTypes, 'id'>, schemaOptions: { title: 'NewProjectPaymentTypes', exclude: [ 'id' ] })",
        "properties": {
          "payment_type": {
            "type": "string"
          },
          "is_fixed": {
            "type": "boolean"
          },
          "fixed_amount": {
            "type": "number"
          },
          "custom_amount_from": {
            "type": "number"
          },
          "custom_amount_to": {
            "type": "number"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "expire_duration_millisecond": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "payment_type",
          "is_fixed",
          "is_active",
          "is_deleted",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProjectPaymentTypes, 'id'>"
      },
      "NewUsersInProjectPaymentTypes": {
        "title": "NewUsersInProjectPaymentTypes",
        "type": "object",
        "description": "(tsType: Omit<Users, 'id'>, schemaOptions: { title: 'NewUsersInProjectPaymentTypes', exclude: [ 'id' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Users, 'id'>"
      },
      "NewPaymentSmsSentInProjectPaymentTypes": {
        "title": "NewPaymentSmsSentInProjectPaymentTypes",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<PaymentSmsSent, 'id'>, 'payment_type_id'>, schemaOptions: { title: 'NewPaymentSmsSentInProjectPaymentTypes', exclude: [ 'id' ], optional: [ 'payment_type_id' ] })",
        "properties": {
          "phone": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "is_paid": {
            "type": "boolean"
          },
          "signature": {
            "type": "string"
          },
          "signature_expire_at": {
            "type": "string"
          },
          "is_sms_recived": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "payment_type_id": {
            "type": "number"
          }
        },
        "required": [
          "phone",
          "amount",
          "signature",
          "signature_expire_at",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<PaymentSmsSent, 'id'>, 'payment_type_id'>"
      },
      "NewProjectLocations": {
        "title": "NewProjectLocations",
        "type": "object",
        "description": "(tsType: Omit<ProjectLocations, 'id'>, schemaOptions: { title: 'NewProjectLocations', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProjectLocations, 'id'>"
      },
      "ProjectLocationsWithRelations": {
        "title": "ProjectLocationsWithRelations",
        "type": "object",
        "description": "(tsType: ProjectLocationsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "projects": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectsWithRelations"
            }
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProjectLocationsWithRelations"
      },
      "ProjectLocationsPartial": {
        "title": "ProjectLocationsPartial",
        "type": "object",
        "description": "(tsType: Partial<ProjectLocations>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProjectLocations>"
      },
      "NewProjectsInProjectLocations": {
        "title": "NewProjectsInProjectLocations",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Projects, 'id'>, 'location_id'>, schemaOptions: { title: 'NewProjectsInProjectLocations', exclude: [ 'id' ], optional: [ 'location_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "team_id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "fb_pixel_id": {
            "type": "string"
          },
          "fb_access_token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "location_id": {
            "type": "number"
          },
          "type_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Projects, 'id'>, 'location_id'>"
      },
      "NewPermissions": {
        "title": "NewPermissions",
        "type": "object",
        "description": "(tsType: Omit<Permissions, 'id'>, schemaOptions: { title: 'NewPermissions', exclude: [ 'id' ] })",
        "properties": {
          "alias_name": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "can_be_updated": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "action_id": {
            "type": "number"
          },
          "group_id": {
            "type": "number"
          }
        },
        "required": [
          "alias_name",
          "name",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Permissions, 'id'>"
      },
      "NewUsersInPermissions": {
        "title": "NewUsersInPermissions",
        "type": "object",
        "description": "(tsType: Omit<Users, 'id'>, schemaOptions: { title: 'NewUsersInPermissions', exclude: [ 'id' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Users, 'id'>"
      },
      "NewRolesInPermissions": {
        "title": "NewRolesInPermissions",
        "type": "object",
        "description": "(tsType: Omit<Roles, 'id'>, schemaOptions: { title: 'NewRolesInPermissions', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Roles, 'id'>"
      },
      "PermissionGroup": {
        "title": "PermissionGroup",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "PermissionAction": {
        "title": "PermissionAction",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "NewPaymentSmsSent": {
        "title": "NewPaymentSmsSent",
        "type": "object",
        "description": "(tsType: Omit<PaymentSmsSent, 'id'>, schemaOptions: { title: 'NewPaymentSmsSent', exclude: [ 'id' ] })",
        "properties": {
          "phone": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "is_paid": {
            "type": "boolean"
          },
          "signature": {
            "type": "string"
          },
          "signature_expire_at": {
            "type": "string"
          },
          "is_sms_recived": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "payment_type_id": {
            "type": "number"
          }
        },
        "required": [
          "phone",
          "amount",
          "signature",
          "signature_expire_at",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<PaymentSmsSent, 'id'>"
      },
      "PaymentCheckouts": {
        "title": "PaymentCheckouts",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "reference_number": {
            "type": "string"
          },
          "payment_amount": {
            "type": "string"
          },
          "order_amount": {
            "type": "string"
          },
          "payment_method": {
            "type": "string"
          },
          "payment_Status": {
            "type": "string"
          },
          "fawry_fees": {
            "type": "string"
          },
          "return_json": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "payment_send_id": {
            "type": "number"
          }
        },
        "required": [
          "reference_number",
          "payment_amount",
          "order_amount",
          "payment_method",
          "payment_Status",
          "fawry_fees",
          "return_json",
          "created_at",
          "updated_at"
        ],
        "additionalProperties": false
      },
      "NewPaymentCheckoutInPaymentSmsSent": {
        "title": "NewPaymentCheckoutInPaymentSmsSent",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<PaymentCheckouts, 'id'>, 'payment_send_id'>, schemaOptions: { title: 'NewPaymentCheckoutInPaymentSmsSent', exclude: [ 'id' ], optional: [ 'payment_send_id' ] })",
        "properties": {
          "reference_number": {
            "type": "string"
          },
          "payment_amount": {
            "type": "string"
          },
          "order_amount": {
            "type": "string"
          },
          "payment_method": {
            "type": "string"
          },
          "payment_Status": {
            "type": "string"
          },
          "fawry_fees": {
            "type": "string"
          },
          "return_json": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "payment_send_id": {
            "type": "number"
          }
        },
        "required": [
          "reference_number",
          "payment_amount",
          "order_amount",
          "payment_method",
          "payment_Status",
          "fawry_fees",
          "return_json",
          "created_at",
          "updated_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<PaymentCheckouts, 'id'>, 'payment_send_id'>"
      },
      "PaymentCheckoutsPartial": {
        "title": "PaymentCheckoutsPartial",
        "type": "object",
        "description": "(tsType: Partial<PaymentCheckouts>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "reference_number": {
            "type": "string"
          },
          "payment_amount": {
            "type": "string"
          },
          "order_amount": {
            "type": "string"
          },
          "payment_method": {
            "type": "string"
          },
          "payment_Status": {
            "type": "string"
          },
          "fawry_fees": {
            "type": "string"
          },
          "return_json": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "payment_send_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PaymentCheckouts>"
      },
      "Packages": {
        "title": "Packages",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "NewPackages": {
        "title": "NewPackages",
        "type": "object",
        "description": "(tsType: Omit<Packages, 'id'>, schemaOptions: { title: 'NewPackages', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Packages, 'id'>"
      },
      "PackagesWithRelations": {
        "title": "PackagesWithRelations",
        "type": "object",
        "description": "(tsType: PackagesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "agencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgenciesWithRelations"
            }
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PackagesWithRelations"
      },
      "PackagesPartial": {
        "title": "PackagesPartial",
        "type": "object",
        "description": "(tsType: Partial<Packages>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Packages>"
      },
      "NewAgenciesInPackages": {
        "title": "NewAgenciesInPackages",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Agencies, 'id'>, 'package_id'>, schemaOptions: { title: 'NewAgenciesInPackages', exclude: [ 'id' ], optional: [ 'package_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "string"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "string"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "country_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          },
          "package_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Agencies, 'id'>, 'package_id'>"
      },
      "AgenciesPartial": {
        "title": "AgenciesPartial",
        "type": "object",
        "description": "(tsType: Partial<Agencies>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "string"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "string"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "country_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          },
          "package_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Agencies>"
      },
      "NewNotes": {
        "title": "NewNotes",
        "type": "object",
        "description": "(tsType: Omit<Notes, 'id'>, schemaOptions: { title: 'NewNotes', exclude: [ 'id' ] })",
        "properties": {
          "note": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "isReminder": {
            "type": "boolean"
          },
          "project_id": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Notes, 'id'>"
      },
      "NotesWithRelations": {
        "title": "NotesWithRelations",
        "type": "object",
        "description": "(tsType: NotesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "note": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "isReminder": {
            "type": "boolean"
          },
          "project_id": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          },
          "project": {
            "$ref": "#/components/schemas/ProjectsWithRelations"
          },
          "lead": {
            "$ref": "#/components/schemas/LeadsWithRelations"
          },
          "member": {
            "$ref": "#/components/schemas/UsersWithRelations"
          },
          "rating": {
            "$ref": "#/components/schemas/RatingsWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "NotesWithRelations"
      },
      "WeekDays": {
        "title": "WeekDays",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "day": {
            "type": "string"
          },
          "order": {
            "type": "number"
          }
        },
        "required": [
          "day",
          "order"
        ],
        "additionalProperties": false
      },
      "NewLeads": {
        "title": "NewLeads",
        "type": "object",
        "description": "(tsType: Omit<Leads, 'id'>, schemaOptions: { title: 'NewLeads', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "secondPhone": {
            "type": "string"
          },
          "customer_notes": {
            "type": "string"
          },
          "sales_notes": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "channel_link": {
            "type": "string"
          },
          "additional_info": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "first_rated_at": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "offer": {
            "type": "string"
          },
          "tracking": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "is_chatbot": {
            "type": "boolean"
          },
          "is_approved": {
            "type": "boolean"
          },
          "channel_lead_generated_id": {
            "type": "string"
          },
          "crm_integration": {
            "type": "string"
          },
          "country_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          },
          "campaign_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Leads, 'id'>"
      },
      "NewPaymentSmsSentInLeads": {
        "title": "NewPaymentSmsSentInLeads",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<PaymentSmsSent, 'id'>, 'lead_id'>, schemaOptions: { title: 'NewPaymentSmsSentInLeads', exclude: [ 'id' ], optional: [ 'lead_id' ] })",
        "properties": {
          "phone": {
            "type": "string"
          },
          "amount": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "document": {
            "type": "string"
          },
          "is_paid": {
            "type": "boolean"
          },
          "signature": {
            "type": "string"
          },
          "signature_expire_at": {
            "type": "string"
          },
          "is_sms_recived": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "payment_type_id": {
            "type": "number"
          }
        },
        "required": [
          "phone",
          "amount",
          "signature",
          "signature_expire_at",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<PaymentSmsSent, 'id'>, 'lead_id'>"
      },
      "NewNotesInLeads": {
        "title": "NewNotesInLeads",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Notes, 'id'>, 'lead_id'>, schemaOptions: { title: 'NewNotesInLeads', exclude: [ 'id' ], optional: [ 'lead_id' ] })",
        "properties": {
          "note": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "isReminder": {
            "type": "boolean"
          },
          "project_id": {
            "type": "number"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Notes, 'id'>, 'lead_id'>"
      },
      "NewHoldLeadsInLeads": {
        "title": "NewHoldLeadsInLeads",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<HoldLeads, 'id'>, 'lead_id'>, schemaOptions: { title: 'NewHoldLeadsInLeads', exclude: [ 'id' ], optional: [ 'lead_id' ] })",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_expired": {
            "type": "boolean"
          },
          "unhold_at": {
            "type": "string",
            "format": "date-time"
          },
          "to_be_expire_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          }
        },
        "required": [
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<HoldLeads, 'id'>, 'lead_id'>"
      },
      "NewFbConversionsApiLogsInLeads": {
        "title": "NewFbConversionsApiLogsInLeads",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<FbConversionsApiLogs, 'id'>, 'lead_id'>, schemaOptions: { title: 'NewFbConversionsApiLogsInLeads', exclude: [ 'id' ], optional: [ 'lead_id' ] })",
        "properties": {
          "is_event_received": {
            "type": "boolean"
          },
          "fbtrace_id": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "lead_id": {
            "type": "number"
          },
          "creator_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "fbtrace_id",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<FbConversionsApiLogs, 'id'>, 'lead_id'>"
      },
      "Channels": {
        "title": "Channels",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "is_selected": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "AssignmentHistory": {
        "title": "AssignmentHistory",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "responseTime": {
            "type": "number"
          },
          "respondedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "is_current": {
            "type": "boolean"
          },
          "is_included_in_score": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "memberId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "ratingId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewAssignmentHistoryInLeads": {
        "title": "NewAssignmentHistoryInLeads",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<AssignmentHistory, 'id'>, 'leadId'>, schemaOptions: { title: 'NewAssignmentHistoryInLeads', exclude: [ 'id' ], optional: [ 'leadId' ] })",
        "properties": {
          "responseTime": {
            "type": "number"
          },
          "respondedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "is_current": {
            "type": "boolean"
          },
          "is_included_in_score": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "memberId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "ratingId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<AssignmentHistory, 'id'>, 'leadId'>"
      },
      "AssignmentHistoryPartial": {
        "title": "AssignmentHistoryPartial",
        "type": "object",
        "description": "(tsType: Partial<AssignmentHistory>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "responseTime": {
            "type": "number"
          },
          "respondedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "is_current": {
            "type": "boolean"
          },
          "is_included_in_score": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "memberId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "ratingId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<AssignmentHistory>"
      },
      "NewJwtBlacklistTokens": {
        "title": "NewJwtBlacklistTokens",
        "type": "object",
        "description": "(tsType: Omit<JwtBlacklistTokens, 'id'>, schemaOptions: { title: 'NewJwtBlacklistTokens', exclude: [ 'id' ] })",
        "properties": {
          "token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "number"
          }
        },
        "required": [
          "token",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<JwtBlacklistTokens, 'id'>"
      },
      "JwtBlacklistTokensWithRelations": {
        "title": "JwtBlacklistTokensWithRelations",
        "type": "object",
        "description": "(tsType: JwtBlacklistTokensWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "userId": {
            "type": "number"
          },
          "user": {
            "$ref": "#/components/schemas/UsersWithRelations"
          }
        },
        "required": [
          "token",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "JwtBlacklistTokensWithRelations"
      },
      "NewHoldLeads": {
        "title": "NewHoldLeads",
        "type": "object",
        "description": "(tsType: Omit<HoldLeads, 'id'>, schemaOptions: { title: 'NewHoldLeads', exclude: [ 'id' ] })",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "is_expired": {
            "type": "boolean"
          },
          "unhold_at": {
            "type": "string",
            "format": "date-time"
          },
          "to_be_expire_at": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          }
        },
        "required": [
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<HoldLeads, 'id'>"
      },
      "NewCountries": {
        "title": "NewCountries",
        "type": "object",
        "description": "(tsType: Omit<Countries, 'id'>, schemaOptions: { title: 'NewCountries', exclude: [ 'id' ] })",
        "properties": {
          "iso": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nicename": {
            "type": "string"
          },
          "iso3": {
            "type": "string"
          },
          "numcode": {
            "type": "number"
          },
          "phonecode": {
            "type": "string"
          }
        },
        "required": [
          "iso",
          "name",
          "nicename",
          "phonecode"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Countries, 'id'>"
      },
      "NewTeamsInCountries": {
        "title": "NewTeamsInCountries",
        "type": "object",
        "description": "(tsType: Omit<Teams, 'id'>, schemaOptions: { title: 'NewTeamsInCountries', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "team_type": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "nature_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Teams, 'id'>"
      },
      "NewLeadsInCountries": {
        "title": "NewLeadsInCountries",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'country_id'>, schemaOptions: { title: 'NewLeadsInCountries', exclude: [ 'id' ], optional: [ 'country_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "secondPhone": {
            "type": "string"
          },
          "customer_notes": {
            "type": "string"
          },
          "sales_notes": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "channel_link": {
            "type": "string"
          },
          "additional_info": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "first_rated_at": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "offer": {
            "type": "string"
          },
          "tracking": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "is_chatbot": {
            "type": "boolean"
          },
          "is_approved": {
            "type": "boolean"
          },
          "channel_lead_generated_id": {
            "type": "string"
          },
          "crm_integration": {
            "type": "string"
          },
          "country_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          },
          "campaign_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'country_id'>"
      },
      "NewAgenciesInCountries": {
        "title": "NewAgenciesInCountries",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Agencies, 'id'>, 'country_id'>, schemaOptions: { title: 'NewAgenciesInCountries', exclude: [ 'id' ], optional: [ 'country_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "string"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "string"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "country_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          },
          "package_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Agencies, 'id'>, 'country_id'>"
      },
      "NewClients": {
        "title": "NewClients",
        "type": "object",
        "description": "(tsType: Omit<Clients, 'id'>, schemaOptions: { title: 'NewClients', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "company_logo": {
            "type": "string"
          },
          "analytic_id": {
            "type": "number"
          },
          "account_status": {
            "type": "number"
          },
          "sales_id": {
            "type": "number"
          },
          "contact_phone": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_id": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "number"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "notification_weekly": {
            "type": "number"
          },
          "client_mode": {
            "type": "string"
          },
          "notification_daily": {
            "type": "number"
          },
          "is_online_payment_allowed": {
            "type": "boolean"
          },
          "client_logo": {
            "type": "string"
          },
          "can_use_sales_app": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Clients, 'id'>"
      },
      "ClientsPartial": {
        "title": "ClientsPartial",
        "type": "object",
        "description": "(tsType: Partial<Clients>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "company_logo": {
            "type": "string"
          },
          "analytic_id": {
            "type": "number"
          },
          "account_status": {
            "type": "number"
          },
          "sales_id": {
            "type": "number"
          },
          "contact_phone": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_id": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "number"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "notification_weekly": {
            "type": "number"
          },
          "client_mode": {
            "type": "string"
          },
          "notification_daily": {
            "type": "number"
          },
          "is_online_payment_allowed": {
            "type": "boolean"
          },
          "client_logo": {
            "type": "string"
          },
          "can_use_sales_app": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Clients>"
      },
      "NewUsersInClients": {
        "title": "NewUsersInClients",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Users, 'id'>, 'client_id'>, schemaOptions: { title: 'NewUsersInClients', exclude: [ 'id' ], optional: [ 'client_id' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Users, 'id'>, 'client_id'>"
      },
      "NewTeamsInClients": {
        "title": "NewTeamsInClients",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Teams, 'id'>, 'client_id'>, schemaOptions: { title: 'NewTeamsInClients', exclude: [ 'id' ], optional: [ 'client_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "notes": {
            "type": "string"
          },
          "team_type": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "nature_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Teams, 'id'>, 'client_id'>"
      },
      "NewProjectsInClients": {
        "title": "NewProjectsInClients",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Projects, 'id'>, 'client_id'>, schemaOptions: { title: 'NewProjectsInClients', exclude: [ 'id' ], optional: [ 'client_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "team_id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "fb_pixel_id": {
            "type": "string"
          },
          "fb_access_token": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "location_id": {
            "type": "number"
          },
          "type_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Projects, 'id'>, 'client_id'>"
      },
      "NewProjectPaymentTypesInClients": {
        "title": "NewProjectPaymentTypesInClients",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<ProjectPaymentTypes, 'id'>, 'client_id'>, schemaOptions: { title: 'NewProjectPaymentTypesInClients', exclude: [ 'id' ], optional: [ 'client_id' ] })",
        "properties": {
          "payment_type": {
            "type": "string"
          },
          "is_fixed": {
            "type": "boolean"
          },
          "fixed_amount": {
            "type": "number"
          },
          "custom_amount_from": {
            "type": "number"
          },
          "custom_amount_to": {
            "type": "number"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "expire_duration_millisecond": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "payment_type",
          "is_fixed",
          "is_active",
          "is_deleted",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<ProjectPaymentTypes, 'id'>, 'client_id'>"
      },
      "NewDefaultAssignmentsInClients": {
        "title": "NewDefaultAssignmentsInClients",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<DefaultAssignments, 'id'>, 'client_id'>, schemaOptions: { title: 'NewDefaultAssignmentsInClients', exclude: [ 'id' ], optional: [ 'client_id' ] })",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<DefaultAssignments, 'id'>, 'client_id'>"
      },
      "ClientSmsTemplate": {
        "title": "ClientSmsTemplate",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "template": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "template",
          "created_at"
        ],
        "additionalProperties": false
      },
      "NewClientSmsTemplateInClients": {
        "title": "NewClientSmsTemplateInClients",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<ClientSmsTemplate, 'id'>, 'client_id'>, schemaOptions: { title: 'NewClientSmsTemplateInClients', exclude: [ 'id' ], optional: [ 'client_id' ] })",
        "properties": {
          "template": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "template",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<ClientSmsTemplate, 'id'>, 'client_id'>"
      },
      "ClientSmsTemplatePartial": {
        "title": "ClientSmsTemplatePartial",
        "type": "object",
        "description": "(tsType: Partial<ClientSmsTemplate>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "template": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ClientSmsTemplate>"
      },
      "NewClientSalesforceInClients": {
        "title": "NewClientSalesforceInClients",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<ClientSalesforce, 'id'>, 'client_id'>, schemaOptions: { title: 'NewClientSalesforceInClients', exclude: [ 'id' ], optional: [ 'client_id' ] })",
        "properties": {
          "url": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "grant_type": {
            "type": "string"
          },
          "salesforce_client_id": {
            "type": "string"
          },
          "salesforce_client_secret": {
            "type": "string"
          },
          "record_type_id": {
            "type": "string"
          },
          "access_token": {
            "type": "string"
          },
          "instance_url": {
            "type": "string"
          },
          "salesforce_id": {
            "type": "string"
          },
          "token_type": {
            "type": "string"
          },
          "issued_at": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "add_bulk_url": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "url",
          "username",
          "password",
          "grant_type",
          "salesforce_client_id",
          "salesforce_client_secret",
          "record_type_id",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<ClientSalesforce, 'id'>, 'client_id'>"
      },
      "ClientSalesforcePartial": {
        "title": "ClientSalesforcePartial",
        "type": "object",
        "description": "(tsType: Partial<ClientSalesforce>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "grant_type": {
            "type": "string"
          },
          "salesforce_client_id": {
            "type": "string"
          },
          "salesforce_client_secret": {
            "type": "string"
          },
          "record_type_id": {
            "type": "string"
          },
          "access_token": {
            "type": "string"
          },
          "instance_url": {
            "type": "string"
          },
          "salesforce_id": {
            "type": "string"
          },
          "token_type": {
            "type": "string"
          },
          "issued_at": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "add_bulk_url": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ClientSalesforce>"
      },
      "Cities": {
        "title": "Cities",
        "type": "object",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Name": {
            "type": "string"
          },
          "CountryCode": {
            "type": "string"
          },
          "District": {
            "type": "string"
          },
          "Population": {
            "type": "number"
          }
        },
        "required": [
          "Name",
          "CountryCode",
          "District",
          "Population"
        ],
        "additionalProperties": false
      },
      "NewCampaignsInClients": {
        "title": "NewCampaignsInClients",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Campaigns, 'id'>, 'client_id'>, schemaOptions: { title: 'NewCampaignsInClients', exclude: [ 'id' ], optional: [ 'client_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "start_date": {
            "type": "string",
            "format": "date-time"
          },
          "end_date": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          },
          "total_budget": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "integration_data": {
            "type": "object"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Campaigns, 'id'>, 'client_id'>"
      },
      "NewClientSmsTemplate": {
        "title": "NewClientSmsTemplate",
        "type": "object",
        "description": "(tsType: Omit<ClientSmsTemplate, 'id'>, schemaOptions: { title: 'NewClientSmsTemplate', exclude: [ 'id' ] })",
        "properties": {
          "template": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "template",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ClientSmsTemplate, 'id'>"
      },
      "ClientSmsTemplateWithRelations": {
        "title": "ClientSmsTemplateWithRelations",
        "type": "object",
        "description": "(tsType: ClientSmsTemplateWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "template": {
            "type": "string"
          },
          "is_active": {
            "type": "boolean"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          },
          "client": {
            "$ref": "#/components/schemas/ClientsWithRelations"
          }
        },
        "required": [
          "template",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ClientSmsTemplateWithRelations"
      },
      "NewClientSalesforce": {
        "title": "NewClientSalesforce",
        "type": "object",
        "description": "(tsType: Omit<ClientSalesforce, 'id'>, schemaOptions: { title: 'NewClientSalesforce', exclude: [ 'id' ] })",
        "properties": {
          "url": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "grant_type": {
            "type": "string"
          },
          "salesforce_client_id": {
            "type": "string"
          },
          "salesforce_client_secret": {
            "type": "string"
          },
          "record_type_id": {
            "type": "string"
          },
          "access_token": {
            "type": "string"
          },
          "instance_url": {
            "type": "string"
          },
          "salesforce_id": {
            "type": "string"
          },
          "token_type": {
            "type": "string"
          },
          "issued_at": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "add_bulk_url": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          }
        },
        "required": [
          "url",
          "username",
          "password",
          "grant_type",
          "salesforce_client_id",
          "salesforce_client_secret",
          "record_type_id",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ClientSalesforce, 'id'>"
      },
      "ClientSalesforceWithRelations": {
        "title": "ClientSalesforceWithRelations",
        "type": "object",
        "description": "(tsType: ClientSalesforceWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "grant_type": {
            "type": "string"
          },
          "salesforce_client_id": {
            "type": "string"
          },
          "salesforce_client_secret": {
            "type": "string"
          },
          "record_type_id": {
            "type": "string"
          },
          "access_token": {
            "type": "string"
          },
          "instance_url": {
            "type": "string"
          },
          "salesforce_id": {
            "type": "string"
          },
          "token_type": {
            "type": "string"
          },
          "issued_at": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "add_bulk_url": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "client_id": {
            "type": "number"
          },
          "client": {
            "$ref": "#/components/schemas/ClientsWithRelations"
          },
          "ratingSalesforceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RatingSalesforceMappingWithRelations"
            }
          },
          "channelSalesforceMappings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChannelSalesforceMappingWithRelations"
            }
          }
        },
        "required": [
          "url",
          "username",
          "password",
          "grant_type",
          "salesforce_client_id",
          "salesforce_client_secret",
          "record_type_id",
          "created_at"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ClientSalesforceWithRelations"
      },
      "NewRatingSalesforceMappingInClientSalesforce": {
        "title": "NewRatingSalesforceMappingInClientSalesforce",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<RatingSalesforceMapping, 'id'>, 'client_salesforce_id'>, schemaOptions: { title: 'NewRatingSalesforceMappingInClientSalesforce', exclude: [ 'id' ], optional: [ 'client_salesforce_id' ] })",
        "properties": {
          "mapping_rating": {
            "type": "string"
          },
          "client_salesforce_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "mapping_rating"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<RatingSalesforceMapping, 'id'>, 'client_salesforce_id'>"
      },
      "ChannelSalesforceMapping": {
        "title": "ChannelSalesforceMapping",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "mapping_channel": {
            "type": "string"
          },
          "client_salesforce_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          }
        },
        "required": [
          "mapping_channel"
        ],
        "additionalProperties": false
      },
      "NewChannelSalesforceMappingInClientSalesforce": {
        "title": "NewChannelSalesforceMappingInClientSalesforce",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<ChannelSalesforceMapping, 'id'>, 'client_salesforce_id'>, schemaOptions: { title: 'NewChannelSalesforceMappingInClientSalesforce', exclude: [ 'id' ], optional: [ 'client_salesforce_id' ] })",
        "properties": {
          "mapping_channel": {
            "type": "string"
          },
          "client_salesforce_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          }
        },
        "required": [
          "mapping_channel"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<ChannelSalesforceMapping, 'id'>, 'client_salesforce_id'>"
      },
      "ChannelSalesforceMappingPartial": {
        "title": "ChannelSalesforceMappingPartial",
        "type": "object",
        "description": "(tsType: Partial<ChannelSalesforceMapping>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "mapping_channel": {
            "type": "string"
          },
          "client_salesforce_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ChannelSalesforceMapping>"
      },
      "NewCities": {
        "title": "NewCities",
        "type": "object",
        "description": "(tsType: Omit<Cities, 'ID'>, schemaOptions: { title: 'NewCities', exclude: [ 'ID' ] })",
        "properties": {
          "Name": {
            "type": "string"
          },
          "CountryCode": {
            "type": "string"
          },
          "District": {
            "type": "string"
          },
          "Population": {
            "type": "number"
          }
        },
        "required": [
          "Name",
          "CountryCode",
          "District",
          "Population"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Cities, 'ID'>"
      },
      "CitiesWithRelations": {
        "title": "CitiesWithRelations",
        "type": "object",
        "description": "(tsType: CitiesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Name": {
            "type": "string"
          },
          "CountryCode": {
            "type": "string"
          },
          "District": {
            "type": "string"
          },
          "Population": {
            "type": "number"
          },
          "agencies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AgenciesWithRelations"
            }
          },
          "clients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientsWithRelations"
            }
          }
        },
        "required": [
          "Name",
          "CountryCode",
          "District",
          "Population"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CitiesWithRelations"
      },
      "CitiesPartial": {
        "title": "CitiesPartial",
        "type": "object",
        "description": "(tsType: Partial<Cities>, schemaOptions: { partial: true })",
        "properties": {
          "ID": {
            "type": "number"
          },
          "Name": {
            "type": "string"
          },
          "CountryCode": {
            "type": "string"
          },
          "District": {
            "type": "string"
          },
          "Population": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Cities>"
      },
      "NewClientsInCities": {
        "title": "NewClientsInCities",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Clients, 'id'>, 'city_id'>, schemaOptions: { title: 'NewClientsInCities', exclude: [ 'id' ], optional: [ 'city_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "company_logo": {
            "type": "string"
          },
          "analytic_id": {
            "type": "number"
          },
          "account_status": {
            "type": "number"
          },
          "sales_id": {
            "type": "number"
          },
          "contact_phone": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_id": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "number"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "notification_weekly": {
            "type": "number"
          },
          "client_mode": {
            "type": "string"
          },
          "notification_daily": {
            "type": "number"
          },
          "is_online_payment_allowed": {
            "type": "boolean"
          },
          "client_logo": {
            "type": "string"
          },
          "can_use_sales_app": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Clients, 'id'>, 'city_id'>"
      },
      "NewAgenciesInCities": {
        "title": "NewAgenciesInCities",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Agencies, 'id'>, 'city_id'>, schemaOptions: { title: 'NewAgenciesInCities', exclude: [ 'id' ], optional: [ 'city_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "string"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "string"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "country_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          },
          "package_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Agencies, 'id'>, 'city_id'>"
      },
      "ChatLogs": {
        "title": "ChatLogs",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "changedValues": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "extraValues": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "createdAt"
        ],
        "additionalProperties": false
      },
      "NewChatLogs": {
        "title": "NewChatLogs",
        "type": "object",
        "description": "(tsType: Omit<ChatLogs, 'id'>, schemaOptions: { title: 'NewChatLogs', exclude: [ 'id' ] })",
        "properties": {
          "changedValues": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "extraValues": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "required": [
          "createdAt"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<ChatLogs, 'id'>"
      },
      "ChatLogsPartial": {
        "title": "ChatLogsPartial",
        "type": "object",
        "description": "(tsType: Partial<ChatLogs>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "changedValues": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "extraValues": {
            "type": "array",
            "items": {
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "member_id": {
            "type": "number"
          },
          "lead_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ChatLogs>"
      },
      "NewChannels": {
        "title": "NewChannels",
        "type": "object",
        "description": "(tsType: Omit<Channels, 'id'>, schemaOptions: { title: 'NewChannels', exclude: [ 'id' ] })",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "is_selected": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Channels, 'id'>"
      },
      "ChannelsWithRelations": {
        "title": "ChannelsWithRelations",
        "type": "object",
        "description": "(tsType: ChannelsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "is_selected": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          },
          "agency": {
            "$ref": "#/components/schemas/AgenciesWithRelations"
          },
          "leads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LeadsWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ChannelsWithRelations"
      },
      "ChannelsPartial": {
        "title": "ChannelsPartial",
        "type": "object",
        "description": "(tsType: Partial<Channels>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "is_selected": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Channels>"
      },
      "NewLeadsInChannels": {
        "title": "NewLeadsInChannels",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'channel_id'>, schemaOptions: { title: 'NewLeadsInChannels', exclude: [ 'id' ], optional: [ 'channel_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "secondPhone": {
            "type": "string"
          },
          "customer_notes": {
            "type": "string"
          },
          "sales_notes": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "channel_link": {
            "type": "string"
          },
          "additional_info": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "first_rated_at": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "offer": {
            "type": "string"
          },
          "tracking": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "is_chatbot": {
            "type": "boolean"
          },
          "is_approved": {
            "type": "boolean"
          },
          "channel_lead_generated_id": {
            "type": "string"
          },
          "crm_integration": {
            "type": "string"
          },
          "country_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          },
          "campaign_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'channel_id'>"
      },
      "NewCampaigns": {
        "title": "NewCampaigns",
        "type": "object",
        "description": "(tsType: Omit<Campaigns, 'id'>, schemaOptions: { title: 'NewCampaigns', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "start_date": {
            "type": "string",
            "format": "date-time"
          },
          "end_date": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          },
          "total_budget": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "integration_data": {
            "type": "object"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Campaigns, 'id'>"
      },
      "CampaignsWithRelations": {
        "title": "CampaignsWithRelations",
        "type": "object",
        "description": "(tsType: CampaignsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "start_date": {
            "type": "string",
            "format": "date-time"
          },
          "end_date": {
            "type": "string",
            "format": "date-time"
          },
          "url": {
            "type": "string"
          },
          "total_budget": {
            "type": "number"
          },
          "notes": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "integration_data": {
            "type": "object"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "project_id": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "project": {
            "$ref": "#/components/schemas/ProjectsWithRelations"
          },
          "client": {
            "$ref": "#/components/schemas/ClientsWithRelations"
          },
          "member": {
            "$ref": "#/components/schemas/UsersWithRelations"
          },
          "leads": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LeadsWithRelations"
            }
          },
          "channels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChannelsWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CampaignsWithRelations"
      },
      "NewLeadsInCampaigns": {
        "title": "NewLeadsInCampaigns",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'campaign_id'>, schemaOptions: { title: 'NewLeadsInCampaigns', exclude: [ 'id' ], optional: [ 'campaign_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "secondPhone": {
            "type": "string"
          },
          "customer_notes": {
            "type": "string"
          },
          "sales_notes": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "channel_link": {
            "type": "string"
          },
          "additional_info": {
            "type": "string"
          },
          "device": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "first_rated_at": {
            "type": "string",
            "format": "date-time"
          },
          "response": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "offer": {
            "type": "string"
          },
          "tracking": {
            "type": "string"
          },
          "is_deleted": {
            "type": "boolean"
          },
          "is_chatbot": {
            "type": "boolean"
          },
          "is_approved": {
            "type": "boolean"
          },
          "channel_lead_generated_id": {
            "type": "string"
          },
          "crm_integration": {
            "type": "string"
          },
          "country_id": {
            "type": "number"
          },
          "member_id": {
            "type": "number"
          },
          "channel_id": {
            "type": "number"
          },
          "campaign_id": {
            "type": "number"
          },
          "rating_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Leads, 'id'>, 'campaign_id'>"
      },
      "NewChannelsInCampaigns": {
        "title": "NewChannelsInCampaigns",
        "type": "object",
        "description": "(tsType: Omit<Channels, 'id'>, schemaOptions: { title: 'NewChannelsInCampaigns', exclude: [ 'id' ] })",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "is_selected": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Channels, 'id'>"
      },
      "New Assignment History": {
        "title": "New Assignment History",
        "type": "object",
        "description": "(tsType: Omit<AssignmentHistory, 'id'>, schemaOptions: { title: 'New Assignment History', exclude: [ 'id' ] })",
        "properties": {
          "responseTime": {
            "type": "number"
          },
          "respondedAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "is_current": {
            "type": "boolean"
          },
          "is_included_in_score": {
            "type": "boolean"
          },
          "createdBy": {
            "type": "number"
          },
          "memberId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "ratingId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<AssignmentHistory, 'id'>"
      },
      "NewAgencies": {
        "title": "NewAgencies",
        "type": "object",
        "description": "(tsType: Omit<Agencies, 'id'>, schemaOptions: { title: 'NewAgencies', exclude: [ 'id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "string"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "string"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "country_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          },
          "package_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Agencies, 'id'>"
      },
      "AgenciesWithRelations": {
        "title": "AgenciesWithRelations",
        "type": "object",
        "description": "(tsType: AgenciesWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "contact_phone": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "string"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "string"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "country_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          },
          "package_id": {
            "type": "number"
          },
          "country": {
            "$ref": "#/components/schemas/CountriesWithRelations"
          },
          "city": {
            "$ref": "#/components/schemas/CitiesWithRelations"
          },
          "package": {
            "$ref": "#/components/schemas/PackagesWithRelations"
          },
          "channels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChannelsWithRelations"
            }
          },
          "clients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClientsWithRelations"
            }
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsersWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "AgenciesWithRelations"
      },
      "NewUsersInAgencies": {
        "title": "NewUsersInAgencies",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Users, 'id'>, 'agency_id'>, schemaOptions: { title: 'NewUsersInAgencies', exclude: [ 'id' ], optional: [ 'agency_id' ] })",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "remember_token": {
            "type": "string"
          },
          "disabled": {
            "type": "number"
          },
          "updated_at": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "fcmToken": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "credentials": {
            "type": "string"
          },
          "challenges": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "resetKey": {
            "type": "string"
          },
          "is_auto_assignment": {
            "type": "boolean"
          },
          "is_auto_interested_assignment": {
            "type": "boolean"
          },
          "mobilePhone": {
            "type": "string"
          },
          "can_activate_add_lead": {
            "type": "boolean"
          },
          "role": {
            "type": "number"
          },
          "client_id": {
            "type": "number"
          },
          "team_id": {
            "type": "number"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Users, 'id'>, 'agency_id'>"
      },
      "NewClientsInAgencies": {
        "title": "NewClientsInAgencies",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Clients, 'id'>, 'agency_id'>, schemaOptions: { title: 'NewClientsInAgencies', exclude: [ 'id' ], optional: [ 'agency_id' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "contact_person_name": {
            "type": "string"
          },
          "company_logo": {
            "type": "string"
          },
          "analytic_id": {
            "type": "number"
          },
          "account_status": {
            "type": "number"
          },
          "sales_id": {
            "type": "number"
          },
          "contact_phone": {
            "type": "string"
          },
          "website_url": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "country_id": {
            "type": "string"
          },
          "country_code": {
            "type": "string"
          },
          "time_zone": {
            "type": "string"
          },
          "zip_code": {
            "type": "number"
          },
          "mailing_address": {
            "type": "string"
          },
          "fax": {
            "type": "string"
          },
          "currency": {
            "type": "string"
          },
          "management_fees": {
            "type": "number"
          },
          "client_spending_access": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "notification_weekly": {
            "type": "number"
          },
          "client_mode": {
            "type": "string"
          },
          "notification_daily": {
            "type": "number"
          },
          "is_online_payment_allowed": {
            "type": "boolean"
          },
          "client_logo": {
            "type": "string"
          },
          "can_use_sales_app": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          },
          "city_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Clients, 'id'>, 'agency_id'>"
      },
      "NewChannelsInAgencies": {
        "title": "NewChannelsInAgencies",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Channels, 'id'>, 'agency_id'>, schemaOptions: { title: 'NewChannelsInAgencies', exclude: [ 'id' ], optional: [ 'agency_id' ] })",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "is_selected": {
            "type": "boolean"
          },
          "agency_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Channels, 'id'>, 'agency_id'>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "Agencies.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": "Agencies.ScopeFilter"
      },
      "Agencies.IncludeFilter.Items": {
        "title": "Agencies.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "country",
              "city",
              "package",
              "channels",
              "clients",
              "users"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Agencies.ScopeFilter"
          }
        }
      },
      "Agencies.Filter": {
        "type": "object",
        "title": "Agencies.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"
                  },
                  "contact_person_name": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "country_code": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "time_zone": {
                    "type": "boolean"
                  },
                  "zip_code": {
                    "type": "boolean"
                  },
                  "mailing_address": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "currency": {
                    "type": "boolean"
                  },
                  "management_fees": {
                    "type": "boolean"
                  },
                  "client_spending_access": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "country_id": {
                    "type": "boolean"
                  },
                  "city_id": {
                    "type": "boolean"
                  },
                  "package_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "contact_person_name",
                    "email",
                    "country_code",
                    "contact_phone",
                    "time_zone",
                    "zip_code",
                    "mailing_address",
                    "fax",
                    "currency",
                    "management_fees",
                    "client_spending_access",
                    "created_at",
                    "updated_at",
                    "country_id",
                    "city_id",
                    "package_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Agencies.Fields"
          },
          "include": {
            "title": "Agencies.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Agencies.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Agencies>"
      },
      "Agencies.Filter1": {
        "type": "object",
        "title": "Agencies.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": "Agencies.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "contact_person_name": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "country_code": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "time_zone": {
                    "type": "boolean"
                  },
                  "zip_code": {
                    "type": "boolean"
                  },
                  "mailing_address": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "currency": {
                    "type": "boolean"
                  },
                  "management_fees": {
                    "type": "boolean"
                  },
                  "client_spending_access": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "country_id": {
                    "type": "boolean"
                  },
                  "city_id": {
                    "type": "boolean"
                  },
                  "package_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "contact_person_name",
                    "email",
                    "country_code",
                    "contact_phone",
                    "time_zone",
                    "zip_code",
                    "mailing_address",
                    "fax",
                    "currency",
                    "management_fees",
                    "client_spending_access",
                    "created_at",
                    "updated_at",
                    "country_id",
                    "city_id",
                    "package_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Agencies.Fields"
          },
          "include": {
            "title": "Agencies.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Agencies.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Agencies>"
      },
      "AssignmentHistory.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": "AssignmentHistory.ScopeFilter"
      },
      "AssignmentHistory.IncludeFilter.Items": {
        "title": "AssignmentHistory.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "createdBy",
              "member",
              "lead",
              "rating"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/AssignmentHistory.ScopeFilter"
          }
        }
      },
      "AssignmentHistory.Filter": {
        "type": "object",
        "title": "AssignmentHistory.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"
                  },
                  "responseTime": {
                    "type": "boolean"
                  },
                  "respondedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "is_current": {
                    "type": "boolean"
                  },
                  "is_included_in_score": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "memberId": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "ratingId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "responseTime",
                    "respondedAt",
                    "createdAt",
                    "updatedAt",
                    "is_current",
                    "is_included_in_score",
                    "createdBy",
                    "memberId",
                    "leadId",
                    "ratingId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "AssignmentHistory.Fields"
          },
          "include": {
            "title": "AssignmentHistory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AssignmentHistory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AssignmentHistory>"
      },
      "AssignmentHistory.Filter1": {
        "type": "object",
        "title": "AssignmentHistory.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": "AssignmentHistory.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "responseTime": {
                    "type": "boolean"
                  },
                  "respondedAt": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "is_current": {
                    "type": "boolean"
                  },
                  "is_included_in_score": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "memberId": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "ratingId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "responseTime",
                    "respondedAt",
                    "createdAt",
                    "updatedAt",
                    "is_current",
                    "is_included_in_score",
                    "createdBy",
                    "memberId",
                    "leadId",
                    "ratingId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "AssignmentHistory.Fields"
          },
          "include": {
            "title": "AssignmentHistory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AssignmentHistory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<AssignmentHistory>"
      },
      "Campaigns.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": "Campaigns.ScopeFilter"
      },
      "Campaigns.IncludeFilter.Items": {
        "title": "Campaigns.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "project",
              "client",
              "member",
              "leads",
              "channels"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Campaigns.ScopeFilter"
          }
        }
      },
      "Campaigns.Filter": {
        "type": "object",
        "title": "Campaigns.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"
                  },
                  "start_date": {
                    "type": "boolean"
                  },
                  "end_date": {
                    "type": "boolean"
                  },
                  "url": {
                    "type": "boolean"
                  },
                  "total_budget": {
                    "type": "boolean"
                  },
                  "notes": {
                    "type": "boolean"
                  },
                  "currency": {
                    "type": "boolean"
                  },
                  "management_fees": {
                    "type": "boolean"
                  },
                  "client_spending_access": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "integration_data": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "project_id": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "start_date",
                    "end_date",
                    "url",
                    "total_budget",
                    "notes",
                    "currency",
                    "management_fees",
                    "client_spending_access",
                    "status",
                    "integration_data",
                    "created_at",
                    "updated_at",
                    "project_id",
                    "client_id",
                    "member_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Campaigns.Fields"
          },
          "include": {
            "title": "Campaigns.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Campaigns.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Campaigns>"
      },
      "Campaigns.Filter1": {
        "type": "object",
        "title": "Campaigns.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": "Campaigns.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "start_date": {
                    "type": "boolean"
                  },
                  "end_date": {
                    "type": "boolean"
                  },
                  "url": {
                    "type": "boolean"
                  },
                  "total_budget": {
                    "type": "boolean"
                  },
                  "notes": {
                    "type": "boolean"
                  },
                  "currency": {
                    "type": "boolean"
                  },
                  "management_fees": {
                    "type": "boolean"
                  },
                  "client_spending_access": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "integration_data": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "project_id": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "start_date",
                    "end_date",
                    "url",
                    "total_budget",
                    "notes",
                    "currency",
                    "management_fees",
                    "client_spending_access",
                    "status",
                    "integration_data",
                    "created_at",
                    "updated_at",
                    "project_id",
                    "client_id",
                    "member_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Campaigns.Fields"
          },
          "include": {
            "title": "Campaigns.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Campaigns.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Campaigns>"
      },
      "Channels.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": "Channels.ScopeFilter"
      },
      "Channels.IncludeFilter.Items": {
        "title": "Channels.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "agency",
              "leads"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Channels.ScopeFilter"
          }
        }
      },
      "Channels.Filter": {
        "type": "object",
        "title": "Channels.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"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "is_selected": {
                    "type": "boolean"
                  },
                  "agency_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "created_at",
                    "updated_at",
                    "name",
                    "is_selected",
                    "agency_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Channels.Fields"
          },
          "include": {
            "title": "Channels.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Channels.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Channels>"
      },
      "Channels.Filter1": {
        "type": "object",
        "title": "Channels.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": "Channels.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "is_selected": {
                    "type": "boolean"
                  },
                  "agency_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "created_at",
                    "updated_at",
                    "name",
                    "is_selected",
                    "agency_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Channels.Fields"
          },
          "include": {
            "title": "Channels.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Channels.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Channels>"
      },
      "ChatLogs.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": "ChatLogs.ScopeFilter"
      },
      "ChatLogs.IncludeFilter.Items": {
        "title": "ChatLogs.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "member",
              "lead",
              "rating"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ChatLogs.ScopeFilter"
          }
        }
      },
      "ChatLogs.Filter": {
        "type": "object",
        "title": "ChatLogs.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"
                  },
                  "changedValues": {
                    "type": "boolean"
                  },
                  "extraValues": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "lead_id": {
                    "type": "boolean"
                  },
                  "rating_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "changedValues",
                    "extraValues",
                    "createdAt",
                    "member_id",
                    "lead_id",
                    "rating_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChatLogs.Fields"
          },
          "include": {
            "title": "ChatLogs.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChatLogs.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChatLogs>"
      },
      "ChatLogs.Filter1": {
        "type": "object",
        "title": "ChatLogs.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": "ChatLogs.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "changedValues": {
                    "type": "boolean"
                  },
                  "extraValues": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "lead_id": {
                    "type": "boolean"
                  },
                  "rating_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "changedValues",
                    "extraValues",
                    "createdAt",
                    "member_id",
                    "lead_id",
                    "rating_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChatLogs.Fields"
          },
          "include": {
            "title": "ChatLogs.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChatLogs.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChatLogs>"
      },
      "Cities.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": "Cities.ScopeFilter"
      },
      "Cities.IncludeFilter.Items": {
        "title": "Cities.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "agencies",
              "clients"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Cities.ScopeFilter"
          }
        }
      },
      "Cities.Filter": {
        "type": "object",
        "title": "Cities.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"
                  },
                  "CountryCode": {
                    "type": "boolean"
                  },
                  "District": {
                    "type": "boolean"
                  },
                  "Population": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ID",
                    "Name",
                    "CountryCode",
                    "District",
                    "Population"
                  ],
                  "example": "ID"
                },
                "uniqueItems": true
              }
            ],
            "title": "Cities.Fields"
          },
          "include": {
            "title": "Cities.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Cities.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Cities>"
      },
      "Cities.Filter1": {
        "type": "object",
        "title": "Cities.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": "Cities.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "ID": {
                    "type": "boolean"
                  },
                  "Name": {
                    "type": "boolean"
                  },
                  "CountryCode": {
                    "type": "boolean"
                  },
                  "District": {
                    "type": "boolean"
                  },
                  "Population": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "ID",
                    "Name",
                    "CountryCode",
                    "District",
                    "Population"
                  ],
                  "example": "ID"
                },
                "uniqueItems": true
              }
            ],
            "title": "Cities.Fields"
          },
          "include": {
            "title": "Cities.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Cities.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Cities>"
      },
      "ClientSalesforce.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": "ClientSalesforce.ScopeFilter"
      },
      "ClientSalesforce.IncludeFilter.Items": {
        "title": "ClientSalesforce.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "client",
              "ratingSalesforceMappings",
              "channelSalesforceMappings"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ClientSalesforce.ScopeFilter"
          }
        }
      },
      "ClientSalesforce.Filter": {
        "type": "object",
        "title": "ClientSalesforce.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"
                  },
                  "url": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "password": {
                    "type": "boolean"
                  },
                  "grant_type": {
                    "type": "boolean"
                  },
                  "salesforce_client_id": {
                    "type": "boolean"
                  },
                  "salesforce_client_secret": {
                    "type": "boolean"
                  },
                  "record_type_id": {
                    "type": "boolean"
                  },
                  "access_token": {
                    "type": "boolean"
                  },
                  "instance_url": {
                    "type": "boolean"
                  },
                  "salesforce_id": {
                    "type": "boolean"
                  },
                  "token_type": {
                    "type": "boolean"
                  },
                  "issued_at": {
                    "type": "boolean"
                  },
                  "signature": {
                    "type": "boolean"
                  },
                  "add_bulk_url": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "url",
                    "username",
                    "password",
                    "grant_type",
                    "salesforce_client_id",
                    "salesforce_client_secret",
                    "record_type_id",
                    "access_token",
                    "instance_url",
                    "salesforce_id",
                    "token_type",
                    "issued_at",
                    "signature",
                    "add_bulk_url",
                    "created_at",
                    "updated_at",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ClientSalesforce.Fields"
          },
          "include": {
            "title": "ClientSalesforce.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ClientSalesforce.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ClientSalesforce>"
      },
      "ClientSalesforce.Filter1": {
        "type": "object",
        "title": "ClientSalesforce.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": "ClientSalesforce.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "url": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "password": {
                    "type": "boolean"
                  },
                  "grant_type": {
                    "type": "boolean"
                  },
                  "salesforce_client_id": {
                    "type": "boolean"
                  },
                  "salesforce_client_secret": {
                    "type": "boolean"
                  },
                  "record_type_id": {
                    "type": "boolean"
                  },
                  "access_token": {
                    "type": "boolean"
                  },
                  "instance_url": {
                    "type": "boolean"
                  },
                  "salesforce_id": {
                    "type": "boolean"
                  },
                  "token_type": {
                    "type": "boolean"
                  },
                  "issued_at": {
                    "type": "boolean"
                  },
                  "signature": {
                    "type": "boolean"
                  },
                  "add_bulk_url": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "url",
                    "username",
                    "password",
                    "grant_type",
                    "salesforce_client_id",
                    "salesforce_client_secret",
                    "record_type_id",
                    "access_token",
                    "instance_url",
                    "salesforce_id",
                    "token_type",
                    "issued_at",
                    "signature",
                    "add_bulk_url",
                    "created_at",
                    "updated_at",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ClientSalesforce.Fields"
          },
          "include": {
            "title": "ClientSalesforce.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ClientSalesforce.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ClientSalesforce>"
      },
      "ClientSmsTemplate.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": "ClientSmsTemplate.ScopeFilter"
      },
      "ClientSmsTemplate.IncludeFilter.Items": {
        "title": "ClientSmsTemplate.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "client"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ClientSmsTemplate.ScopeFilter"
          }
        }
      },
      "ClientSmsTemplate.Filter": {
        "type": "object",
        "title": "ClientSmsTemplate.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"
                  },
                  "template": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "template",
                    "is_active",
                    "is_deleted",
                    "created_at",
                    "updated_at",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ClientSmsTemplate.Fields"
          },
          "include": {
            "title": "ClientSmsTemplate.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ClientSmsTemplate.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ClientSmsTemplate>"
      },
      "ClientSmsTemplate.Filter1": {
        "type": "object",
        "title": "ClientSmsTemplate.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": "ClientSmsTemplate.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "template": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "template",
                    "is_active",
                    "is_deleted",
                    "created_at",
                    "updated_at",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ClientSmsTemplate.Fields"
          },
          "include": {
            "title": "ClientSmsTemplate.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ClientSmsTemplate.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ClientSmsTemplate>"
      },
      "Clients.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": "Clients.ScopeFilter"
      },
      "Clients.IncludeFilter.Items": {
        "title": "Clients.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "users",
              "campaigns",
              "agency",
              "city",
              "projects",
              "defaultAssignments",
              "teams",
              "payment_types",
              "smsTemplates",
              "clientSalesforce"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Clients.ScopeFilter"
          }
        }
      },
      "Clients.Filter": {
        "type": "object",
        "title": "Clients.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"
                  },
                  "contact_person_name": {
                    "type": "boolean"
                  },
                  "company_logo": {
                    "type": "boolean"
                  },
                  "analytic_id": {
                    "type": "boolean"
                  },
                  "account_status": {
                    "type": "boolean"
                  },
                  "sales_id": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "website_url": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "country_id": {
                    "type": "boolean"
                  },
                  "country_code": {
                    "type": "boolean"
                  },
                  "time_zone": {
                    "type": "boolean"
                  },
                  "zip_code": {
                    "type": "boolean"
                  },
                  "mailing_address": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "currency": {
                    "type": "boolean"
                  },
                  "management_fees": {
                    "type": "boolean"
                  },
                  "client_spending_access": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "notification_weekly": {
                    "type": "boolean"
                  },
                  "client_mode": {
                    "type": "boolean"
                  },
                  "notification_daily": {
                    "type": "boolean"
                  },
                  "is_online_payment_allowed": {
                    "type": "boolean"
                  },
                  "client_logo": {
                    "type": "boolean"
                  },
                  "can_use_sales_app": {
                    "type": "boolean"
                  },
                  "agency_id": {
                    "type": "boolean"
                  },
                  "city_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "contact_person_name",
                    "company_logo",
                    "analytic_id",
                    "account_status",
                    "sales_id",
                    "contact_phone",
                    "website_url",
                    "email",
                    "country_id",
                    "country_code",
                    "time_zone",
                    "zip_code",
                    "mailing_address",
                    "fax",
                    "currency",
                    "management_fees",
                    "client_spending_access",
                    "created_at",
                    "updated_at",
                    "notification_weekly",
                    "client_mode",
                    "notification_daily",
                    "is_online_payment_allowed",
                    "client_logo",
                    "can_use_sales_app",
                    "agency_id",
                    "city_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Clients.Fields"
          },
          "include": {
            "title": "Clients.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Clients.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Clients>"
      },
      "Clients.Filter1": {
        "type": "object",
        "title": "Clients.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": "Clients.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "contact_person_name": {
                    "type": "boolean"
                  },
                  "company_logo": {
                    "type": "boolean"
                  },
                  "analytic_id": {
                    "type": "boolean"
                  },
                  "account_status": {
                    "type": "boolean"
                  },
                  "sales_id": {
                    "type": "boolean"
                  },
                  "contact_phone": {
                    "type": "boolean"
                  },
                  "website_url": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "country_id": {
                    "type": "boolean"
                  },
                  "country_code": {
                    "type": "boolean"
                  },
                  "time_zone": {
                    "type": "boolean"
                  },
                  "zip_code": {
                    "type": "boolean"
                  },
                  "mailing_address": {
                    "type": "boolean"
                  },
                  "fax": {
                    "type": "boolean"
                  },
                  "currency": {
                    "type": "boolean"
                  },
                  "management_fees": {
                    "type": "boolean"
                  },
                  "client_spending_access": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "notification_weekly": {
                    "type": "boolean"
                  },
                  "client_mode": {
                    "type": "boolean"
                  },
                  "notification_daily": {
                    "type": "boolean"
                  },
                  "is_online_payment_allowed": {
                    "type": "boolean"
                  },
                  "client_logo": {
                    "type": "boolean"
                  },
                  "can_use_sales_app": {
                    "type": "boolean"
                  },
                  "agency_id": {
                    "type": "boolean"
                  },
                  "city_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "contact_person_name",
                    "company_logo",
                    "analytic_id",
                    "account_status",
                    "sales_id",
                    "contact_phone",
                    "website_url",
                    "email",
                    "country_id",
                    "country_code",
                    "time_zone",
                    "zip_code",
                    "mailing_address",
                    "fax",
                    "currency",
                    "management_fees",
                    "client_spending_access",
                    "created_at",
                    "updated_at",
                    "notification_weekly",
                    "client_mode",
                    "notification_daily",
                    "is_online_payment_allowed",
                    "client_logo",
                    "can_use_sales_app",
                    "agency_id",
                    "city_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Clients.Fields"
          },
          "include": {
            "title": "Clients.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Clients.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Clients>"
      },
      "Countries.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": "Countries.ScopeFilter"
      },
      "Countries.IncludeFilter.Items": {
        "title": "Countries.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "agencies",
              "leads",
              "teams"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Countries.ScopeFilter"
          }
        }
      },
      "Countries.Filter": {
        "type": "object",
        "title": "Countries.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"
                  },
                  "iso": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "nicename": {
                    "type": "boolean"
                  },
                  "iso3": {
                    "type": "boolean"
                  },
                  "numcode": {
                    "type": "boolean"
                  },
                  "phonecode": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "iso",
                    "name",
                    "nicename",
                    "iso3",
                    "numcode",
                    "phonecode"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Countries.Fields"
          },
          "include": {
            "title": "Countries.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Countries.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Countries>"
      },
      "Countries.Filter1": {
        "type": "object",
        "title": "Countries.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": "Countries.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "iso": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "nicename": {
                    "type": "boolean"
                  },
                  "iso3": {
                    "type": "boolean"
                  },
                  "numcode": {
                    "type": "boolean"
                  },
                  "phonecode": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "iso",
                    "name",
                    "nicename",
                    "iso3",
                    "numcode",
                    "phonecode"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Countries.Fields"
          },
          "include": {
            "title": "Countries.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Countries.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Countries>"
      },
      "HoldLeads.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": "HoldLeads.ScopeFilter"
      },
      "HoldLeads.IncludeFilter.Items": {
        "title": "HoldLeads.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "member",
              "lead"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/HoldLeads.ScopeFilter"
          }
        }
      },
      "HoldLeads.Filter": {
        "type": "object",
        "title": "HoldLeads.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"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "is_expired": {
                    "type": "boolean"
                  },
                  "unhold_at": {
                    "type": "boolean"
                  },
                  "to_be_expire_at": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "lead_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "created_at",
                    "updated_at",
                    "is_expired",
                    "unhold_at",
                    "to_be_expire_at",
                    "member_id",
                    "lead_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "HoldLeads.Fields"
          },
          "include": {
            "title": "HoldLeads.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/HoldLeads.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<HoldLeads>"
      },
      "HoldLeads.Filter1": {
        "type": "object",
        "title": "HoldLeads.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": "HoldLeads.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "is_expired": {
                    "type": "boolean"
                  },
                  "unhold_at": {
                    "type": "boolean"
                  },
                  "to_be_expire_at": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "lead_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "created_at",
                    "updated_at",
                    "is_expired",
                    "unhold_at",
                    "to_be_expire_at",
                    "member_id",
                    "lead_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "HoldLeads.Fields"
          },
          "include": {
            "title": "HoldLeads.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/HoldLeads.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<HoldLeads>"
      },
      "JwtBlacklistTokens.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": "JwtBlacklistTokens.ScopeFilter"
      },
      "JwtBlacklistTokens.IncludeFilter.Items": {
        "title": "JwtBlacklistTokens.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "user"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/JwtBlacklistTokens.ScopeFilter"
          }
        }
      },
      "JwtBlacklistTokens.Filter": {
        "type": "object",
        "title": "JwtBlacklistTokens.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"
                  },
                  "token": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "token",
                    "created_at",
                    "userId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "JwtBlacklistTokens.Fields"
          },
          "include": {
            "title": "JwtBlacklistTokens.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/JwtBlacklistTokens.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<JwtBlacklistTokens>"
      },
      "JwtBlacklistTokens.Filter1": {
        "type": "object",
        "title": "JwtBlacklistTokens.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": "JwtBlacklistTokens.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "token": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "token",
                    "created_at",
                    "userId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "JwtBlacklistTokens.Fields"
          },
          "include": {
            "title": "JwtBlacklistTokens.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/JwtBlacklistTokens.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<JwtBlacklistTokens>"
      },
      "Leads.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": "Leads.ScopeFilter"
      },
      "Leads.IncludeFilter.Items": {
        "title": "Leads.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "country",
              "member",
              "channel",
              "campaign",
              "rating",
              "notes",
              "chatLogs",
              "holdLeads",
              "assignmentHistory",
              "paymentsSent",
              "fbConversionsApiLogs"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Leads.ScopeFilter"
          }
        }
      },
      "Leads.Filter": {
        "type": "object",
        "title": "Leads.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"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "secondPhone": {
                    "type": "boolean"
                  },
                  "customer_notes": {
                    "type": "boolean"
                  },
                  "sales_notes": {
                    "type": "boolean"
                  },
                  "ip": {
                    "type": "boolean"
                  },
                  "channel_link": {
                    "type": "boolean"
                  },
                  "additional_info": {
                    "type": "boolean"
                  },
                  "device": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "first_rated_at": {
                    "type": "boolean"
                  },
                  "response": {
                    "type": "boolean"
                  },
                  "jobTitle": {
                    "type": "boolean"
                  },
                  "offer": {
                    "type": "boolean"
                  },
                  "tracking": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "is_chatbot": {
                    "type": "boolean"
                  },
                  "is_approved": {
                    "type": "boolean"
                  },
                  "channel_lead_generated_id": {
                    "type": "boolean"
                  },
                  "crm_integration": {
                    "type": "boolean"
                  },
                  "country_id": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "channel_id": {
                    "type": "boolean"
                  },
                  "campaign_id": {
                    "type": "boolean"
                  },
                  "rating_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "email",
                    "phone",
                    "secondPhone",
                    "customer_notes",
                    "sales_notes",
                    "ip",
                    "channel_link",
                    "additional_info",
                    "device",
                    "created_at",
                    "updated_at",
                    "first_rated_at",
                    "response",
                    "jobTitle",
                    "offer",
                    "tracking",
                    "is_deleted",
                    "is_chatbot",
                    "is_approved",
                    "channel_lead_generated_id",
                    "crm_integration",
                    "country_id",
                    "member_id",
                    "channel_id",
                    "campaign_id",
                    "rating_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Leads.Fields"
          },
          "include": {
            "title": "Leads.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Leads.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Leads>"
      },
      "Leads.Filter1": {
        "type": "object",
        "title": "Leads.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": "Leads.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "secondPhone": {
                    "type": "boolean"
                  },
                  "customer_notes": {
                    "type": "boolean"
                  },
                  "sales_notes": {
                    "type": "boolean"
                  },
                  "ip": {
                    "type": "boolean"
                  },
                  "channel_link": {
                    "type": "boolean"
                  },
                  "additional_info": {
                    "type": "boolean"
                  },
                  "device": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "first_rated_at": {
                    "type": "boolean"
                  },
                  "response": {
                    "type": "boolean"
                  },
                  "jobTitle": {
                    "type": "boolean"
                  },
                  "offer": {
                    "type": "boolean"
                  },
                  "tracking": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "is_chatbot": {
                    "type": "boolean"
                  },
                  "is_approved": {
                    "type": "boolean"
                  },
                  "channel_lead_generated_id": {
                    "type": "boolean"
                  },
                  "crm_integration": {
                    "type": "boolean"
                  },
                  "country_id": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "channel_id": {
                    "type": "boolean"
                  },
                  "campaign_id": {
                    "type": "boolean"
                  },
                  "rating_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "email",
                    "phone",
                    "secondPhone",
                    "customer_notes",
                    "sales_notes",
                    "ip",
                    "channel_link",
                    "additional_info",
                    "device",
                    "created_at",
                    "updated_at",
                    "first_rated_at",
                    "response",
                    "jobTitle",
                    "offer",
                    "tracking",
                    "is_deleted",
                    "is_chatbot",
                    "is_approved",
                    "channel_lead_generated_id",
                    "crm_integration",
                    "country_id",
                    "member_id",
                    "channel_id",
                    "campaign_id",
                    "rating_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Leads.Fields"
          },
          "include": {
            "title": "Leads.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Leads.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Leads>"
      },
      "Notes.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": "Notes.ScopeFilter"
      },
      "Notes.IncludeFilter.Items": {
        "title": "Notes.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "project",
              "lead",
              "member",
              "rating"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Notes.ScopeFilter"
          }
        }
      },
      "Notes.Filter": {
        "type": "object",
        "title": "Notes.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"
                  },
                  "note": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "isReminder": {
                    "type": "boolean"
                  },
                  "project_id": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "lead_id": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "rating_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "note",
                    "created_at",
                    "isReminder",
                    "project_id",
                    "updated_at",
                    "lead_id",
                    "member_id",
                    "rating_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Notes.Fields"
          },
          "include": {
            "title": "Notes.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Notes.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Notes>"
      },
      "Notes.Filter1": {
        "type": "object",
        "title": "Notes.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": "Notes.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "note": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "isReminder": {
                    "type": "boolean"
                  },
                  "project_id": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "lead_id": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "rating_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "note",
                    "created_at",
                    "isReminder",
                    "project_id",
                    "updated_at",
                    "lead_id",
                    "member_id",
                    "rating_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Notes.Fields"
          },
          "include": {
            "title": "Notes.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Notes.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Notes>"
      },
      "Packages.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": "Packages.ScopeFilter"
      },
      "Packages.IncludeFilter.Items": {
        "title": "Packages.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "agencies"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Packages.ScopeFilter"
          }
        }
      },
      "Packages.Filter": {
        "type": "object",
        "title": "Packages.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"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "created_at",
                    "updated_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Packages.Fields"
          },
          "include": {
            "title": "Packages.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Packages.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Packages>"
      },
      "Packages.Filter1": {
        "type": "object",
        "title": "Packages.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": "Packages.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "created_at",
                    "updated_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Packages.Fields"
          },
          "include": {
            "title": "Packages.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Packages.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Packages>"
      },
      "PaymentSmsSent.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": "PaymentSmsSent.ScopeFilter"
      },
      "PaymentSmsSent.IncludeFilter.Items": {
        "title": "PaymentSmsSent.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "lead",
              "member",
              "paymentType",
              "paymentCheckouts"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/PaymentSmsSent.ScopeFilter"
          }
        }
      },
      "PaymentSmsSent.Filter": {
        "type": "object",
        "title": "PaymentSmsSent.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"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "message": {
                    "type": "boolean"
                  },
                  "document": {
                    "type": "boolean"
                  },
                  "is_paid": {
                    "type": "boolean"
                  },
                  "signature": {
                    "type": "boolean"
                  },
                  "signature_expire_at": {
                    "type": "boolean"
                  },
                  "is_sms_recived": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "lead_id": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "payment_type_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "phone",
                    "amount",
                    "message",
                    "document",
                    "is_paid",
                    "signature",
                    "signature_expire_at",
                    "is_sms_recived",
                    "created_at",
                    "updated_at",
                    "lead_id",
                    "member_id",
                    "payment_type_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PaymentSmsSent.Fields"
          },
          "include": {
            "title": "PaymentSmsSent.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/PaymentSmsSent.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PaymentSmsSent>"
      },
      "PaymentSmsSent.Filter1": {
        "type": "object",
        "title": "PaymentSmsSent.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": "PaymentSmsSent.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "message": {
                    "type": "boolean"
                  },
                  "document": {
                    "type": "boolean"
                  },
                  "is_paid": {
                    "type": "boolean"
                  },
                  "signature": {
                    "type": "boolean"
                  },
                  "signature_expire_at": {
                    "type": "boolean"
                  },
                  "is_sms_recived": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "lead_id": {
                    "type": "boolean"
                  },
                  "member_id": {
                    "type": "boolean"
                  },
                  "payment_type_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "phone",
                    "amount",
                    "message",
                    "document",
                    "is_paid",
                    "signature",
                    "signature_expire_at",
                    "is_sms_recived",
                    "created_at",
                    "updated_at",
                    "lead_id",
                    "member_id",
                    "payment_type_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PaymentSmsSent.Fields"
          },
          "include": {
            "title": "PaymentSmsSent.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/PaymentSmsSent.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PaymentSmsSent>"
      },
      "Permissions.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": "Permissions.ScopeFilter"
      },
      "Permissions.IncludeFilter.Items": {
        "title": "Permissions.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "usersPermissions",
              "rolesPermissions",
              "action",
              "group"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Permissions.ScopeFilter"
          }
        }
      },
      "Permissions.Filter": {
        "type": "object",
        "title": "Permissions.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"
                  },
                  "alias_name": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "can_be_updated": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "action_id": {
                    "type": "boolean"
                  },
                  "group_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "alias_name",
                    "name",
                    "description",
                    "can_be_updated",
                    "created_at",
                    "updated_at",
                    "is_deleted",
                    "action_id",
                    "group_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Permissions.Fields"
          },
          "include": {
            "title": "Permissions.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Permissions.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Permissions>"
      },
      "Permissions.Filter1": {
        "type": "object",
        "title": "Permissions.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": "Permissions.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "alias_name": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "can_be_updated": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "action_id": {
                    "type": "boolean"
                  },
                  "group_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "alias_name",
                    "name",
                    "description",
                    "can_be_updated",
                    "created_at",
                    "updated_at",
                    "is_deleted",
                    "action_id",
                    "group_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Permissions.Fields"
          },
          "include": {
            "title": "Permissions.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Permissions.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Permissions>"
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "ProjectLocations.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": "ProjectLocations.ScopeFilter"
      },
      "ProjectLocations.IncludeFilter.Items": {
        "title": "ProjectLocations.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "projects"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ProjectLocations.ScopeFilter"
          }
        }
      },
      "ProjectLocations.Filter": {
        "type": "object",
        "title": "ProjectLocations.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"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProjectLocations.Fields"
          },
          "include": {
            "title": "ProjectLocations.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProjectLocations.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProjectLocations>"
      },
      "ProjectLocations.Filter1": {
        "type": "object",
        "title": "ProjectLocations.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": "ProjectLocations.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProjectLocations.Fields"
          },
          "include": {
            "title": "ProjectLocations.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProjectLocations.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProjectLocations>"
      },
      "ProjectPaymentTypes.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": "ProjectPaymentTypes.ScopeFilter"
      },
      "ProjectPaymentTypes.IncludeFilter.Items": {
        "title": "ProjectPaymentTypes.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "project",
              "members",
              "client",
              "paymentsSent"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ProjectPaymentTypes.ScopeFilter"
          }
        }
      },
      "ProjectPaymentTypes.Filter": {
        "type": "object",
        "title": "ProjectPaymentTypes.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"
                  },
                  "payment_type": {
                    "type": "boolean"
                  },
                  "is_fixed": {
                    "type": "boolean"
                  },
                  "fixed_amount": {
                    "type": "boolean"
                  },
                  "custom_amount_from": {
                    "type": "boolean"
                  },
                  "custom_amount_to": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "expire_duration_millisecond": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "project_id": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "payment_type",
                    "is_fixed",
                    "fixed_amount",
                    "custom_amount_from",
                    "custom_amount_to",
                    "is_active",
                    "is_deleted",
                    "expire_duration_millisecond",
                    "created_at",
                    "updated_at",
                    "project_id",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProjectPaymentTypes.Fields"
          },
          "include": {
            "title": "ProjectPaymentTypes.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProjectPaymentTypes.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProjectPaymentTypes>"
      },
      "ProjectPaymentTypes.Filter1": {
        "type": "object",
        "title": "ProjectPaymentTypes.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": "ProjectPaymentTypes.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "payment_type": {
                    "type": "boolean"
                  },
                  "is_fixed": {
                    "type": "boolean"
                  },
                  "fixed_amount": {
                    "type": "boolean"
                  },
                  "custom_amount_from": {
                    "type": "boolean"
                  },
                  "custom_amount_to": {
                    "type": "boolean"
                  },
                  "is_active": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  },
                  "expire_duration_millisecond": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "project_id": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "payment_type",
                    "is_fixed",
                    "fixed_amount",
                    "custom_amount_from",
                    "custom_amount_to",
                    "is_active",
                    "is_deleted",
                    "expire_duration_millisecond",
                    "created_at",
                    "updated_at",
                    "project_id",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProjectPaymentTypes.Fields"
          },
          "include": {
            "title": "ProjectPaymentTypes.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProjectPaymentTypes.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProjectPaymentTypes>"
      },
      "ProjectTypes.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": "ProjectTypes.ScopeFilter"
      },
      "ProjectTypes.IncludeFilter.Items": {
        "title": "ProjectTypes.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "projects"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ProjectTypes.ScopeFilter"
          }
        }
      },
      "ProjectTypes.Filter": {
        "type": "object",
        "title": "ProjectTypes.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"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProjectTypes.Fields"
          },
          "include": {
            "title": "ProjectTypes.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProjectTypes.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProjectTypes>"
      },
      "ProjectTypes.Filter1": {
        "type": "object",
        "title": "ProjectTypes.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": "ProjectTypes.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProjectTypes.Fields"
          },
          "include": {
            "title": "ProjectTypes.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ProjectTypes.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProjectTypes>"
      },
      "Projects.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": "Projects.ScopeFilter"
      },
      "Projects.IncludeFilter.Items": {
        "title": "Projects.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "location",
              "type",
              "client",
              "campaigns",
              "notes",
              "paymentTypes"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Projects.ScopeFilter"
          }
        }
      },
      "Projects.Filter": {
        "type": "object",
        "title": "Projects.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"
                  },
                  "team_id": {
                    "type": "boolean"
                  },
                  "url": {
                    "type": "boolean"
                  },
                  "fb_pixel_id": {
                    "type": "boolean"
                  },
                  "fb_access_token": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "location_id": {
                    "type": "boolean"
                  },
                  "type_id": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "team_id",
                    "url",
                    "fb_pixel_id",
                    "fb_access_token",
                    "created_at",
                    "updated_at",
                    "location_id",
                    "type_id",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Projects.Fields"
          },
          "include": {
            "title": "Projects.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Projects.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Projects>"
      },
      "Projects.Filter1": {
        "type": "object",
        "title": "Projects.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": "Projects.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "team_id": {
                    "type": "boolean"
                  },
                  "url": {
                    "type": "boolean"
                  },
                  "fb_pixel_id": {
                    "type": "boolean"
                  },
                  "fb_access_token": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "location_id": {
                    "type": "boolean"
                  },
                  "type_id": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "team_id",
                    "url",
                    "fb_pixel_id",
                    "fb_access_token",
                    "created_at",
                    "updated_at",
                    "location_id",
                    "type_id",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Projects.Fields"
          },
          "include": {
            "title": "Projects.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Projects.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Projects>"
      },
      "Ratings.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": "Ratings.ScopeFilter"
      },
      "Ratings.IncludeFilter.Items": {
        "title": "Ratings.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "parent",
              "status",
              "leads",
              "notes",
              "ratingScores",
              "chatLogs",
              "fbConversionsApiLogs",
              "ratingSalesforceMappings"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Ratings.ScopeFilter"
          }
        }
      },
      "Ratings.Filter": {
        "type": "object",
        "title": "Ratings.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"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "mode": {
                    "type": "boolean"
                  },
                  "color": {
                    "type": "boolean"
                  },
                  "change_level_flag": {
                    "type": "boolean"
                  },
                  "is_parent": {
                    "type": "boolean"
                  },
                  "is_auto_assignment": {
                    "type": "boolean"
                  },
                  "is_for_call_center": {
                    "type": "boolean"
                  },
                  "is_invalid_interaction": {
                    "type": "boolean"
                  },
                  "fb_event_name": {
                    "type": "boolean"
                  },
                  "parent_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "created_at",
                    "updated_at",
                    "mode",
                    "color",
                    "change_level_flag",
                    "is_parent",
                    "is_auto_assignment",
                    "is_for_call_center",
                    "is_invalid_interaction",
                    "fb_event_name",
                    "parent_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Ratings.Fields"
          },
          "include": {
            "title": "Ratings.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Ratings.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Ratings>"
      },
      "Ratings.Filter1": {
        "type": "object",
        "title": "Ratings.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": "Ratings.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "mode": {
                    "type": "boolean"
                  },
                  "color": {
                    "type": "boolean"
                  },
                  "change_level_flag": {
                    "type": "boolean"
                  },
                  "is_parent": {
                    "type": "boolean"
                  },
                  "is_auto_assignment": {
                    "type": "boolean"
                  },
                  "is_for_call_center": {
                    "type": "boolean"
                  },
                  "is_invalid_interaction": {
                    "type": "boolean"
                  },
                  "fb_event_name": {
                    "type": "boolean"
                  },
                  "parent_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "created_at",
                    "updated_at",
                    "mode",
                    "color",
                    "change_level_flag",
                    "is_parent",
                    "is_auto_assignment",
                    "is_for_call_center",
                    "is_invalid_interaction",
                    "fb_event_name",
                    "parent_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Ratings.Fields"
          },
          "include": {
            "title": "Ratings.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Ratings.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Ratings>"
      },
      "ReminderType.Filter": {
        "type": "object",
        "title": "ReminderType.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"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ReminderType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ReminderType>"
      },
      "ReminderType.Filter1": {
        "type": "object",
        "title": "ReminderType.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": "ReminderType.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ReminderType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ReminderType>"
      },
      "Roles.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": "Roles.ScopeFilter"
      },
      "Roles.IncludeFilter.Items": {
        "title": "Roles.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "users",
              "rolesPermissions"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Roles.ScopeFilter"
          }
        }
      },
      "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"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "created_at",
                    "updated_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Roles.Fields"
          },
          "include": {
            "title": "Roles.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Roles.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "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"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "created_at",
                    "updated_at"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Roles.Fields"
          },
          "include": {
            "title": "Roles.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Roles.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Roles>"
      },
      "SpamNumber.Filter": {
        "type": "object",
        "title": "SpamNumber.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"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "phone",
                    "email",
                    "is_deleted"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "SpamNumber.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<SpamNumber>"
      },
      "SpamNumber.Filter1": {
        "type": "object",
        "title": "SpamNumber.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": "SpamNumber.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "is_deleted": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "phone",
                    "email",
                    "is_deleted"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "SpamNumber.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<SpamNumber>"
      },
      "Teams.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": "Teams.ScopeFilter"
      },
      "Teams.IncludeFilter.Items": {
        "title": "Teams.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "users",
              "countries",
              "nature",
              "client",
              "usersAutoTeam"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Teams.ScopeFilter"
          }
        }
      },
      "Teams.Filter": {
        "type": "object",
        "title": "Teams.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"
                  },
                  "notes": {
                    "type": "boolean"
                  },
                  "team_type": {
                    "type": "boolean"
                  },
                  "is_auto_assignment": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "nature_id": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "notes",
                    "team_type",
                    "is_auto_assignment",
                    "created_at",
                    "updated_at",
                    "nature_id",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Teams.Fields"
          },
          "include": {
            "title": "Teams.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Teams.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Teams>"
      },
      "Teams.Filter1": {
        "type": "object",
        "title": "Teams.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": "Teams.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "notes": {
                    "type": "boolean"
                  },
                  "team_type": {
                    "type": "boolean"
                  },
                  "is_auto_assignment": {
                    "type": "boolean"
                  },
                  "created_at": {
                    "type": "boolean"
                  },
                  "updated_at": {
                    "type": "boolean"
                  },
                  "nature_id": {
                    "type": "boolean"
                  },
                  "client_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "name",
                    "notes",
                    "team_type",
                    "is_auto_assignment",
                    "created_at",
                    "updated_at",
                    "nature_id",
                    "client_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Teams.Fields"
          },
          "include": {
            "title": "Teams.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Teams.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Teams>"
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ]
}