{
  "openapi": "3.0.0",
  "info": {
    "title": "mng-api",
    "version": "0.0.1",
    "description": "Mutualidad Nueva Galicia API",
    "contact": {
      "name": "Jorge Jacques",
      "email": "jjacquesf@gmail.com"
    }
  },
  "paths": {
    "/agent/policies/assign-collector": {
      "patch": {
        "x-controller-name": "AgentController",
        "x-operation-name": "assignCollector",
        "tags": [
          "AgentController"
        ],
        "responses": {
          "200": {
            "description": "Number of policies updated",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "updated": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "policyIds",
                  "collectorId"
                ],
                "properties": {
                  "policyIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 1
                  },
                  "collectorId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "AgentController.assignCollector"
      }
    },
    "/agent/policies/assign-seller": {
      "patch": {
        "x-controller-name": "AgentController",
        "x-operation-name": "assignSeller",
        "tags": [
          "AgentController"
        ],
        "responses": {
          "200": {
            "description": "Number of policies updated",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "updated": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "policyIds",
                  "sellerId"
                ],
                "properties": {
                  "policyIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    },
                    "minItems": 1
                  },
                  "sellerId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "AgentController.assignSeller"
      }
    },
    "/agent/policies": {
      "get": {
        "x-controller-name": "AgentController",
        "x-operation-name": "searchPolicies",
        "tags": [
          "AgentController"
        ],
        "responses": {
          "200": {
            "description": "Policy search results with enriched data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    },
                    "total": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "publicId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "customerName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "licensePlate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "coverageId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "collectorId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "sellerId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "AgentController.searchPolicies"
      }
    },
    "/agent/users": {
      "get": {
        "x-controller-name": "AgentController",
        "x-operation-name": "getUsers",
        "tags": [
          "AgentController"
        ],
        "responses": {
          "200": {
            "description": "List of all users with id, name, status and roles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "name": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      },
                      "roles": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "AgentController.getUsers"
      }
    },
    "/app/collector/insurance-policies/{id}": {
      "get": {
        "x-controller-name": "AppPoliciesController",
        "x-operation-name": "findCollectorPolicy",
        "tags": [
          "AppPoliciesController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicy model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsurancePolicy"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppPoliciesController.findCollectorPolicy"
      }
    },
    "/app/collector/insurance-policies": {
      "get": {
        "x-controller-name": "AppPoliciesController",
        "x-operation-name": "findCollectorPolicies",
        "tags": [
          "AppPoliciesController"
        ],
        "responses": {
          "200": {
            "description": "Array of InsurancePolicy model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsurancePolicyWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppPoliciesController.findCollectorPolicies"
      }
    },
    "/app/collector/policy-payments": {
      "get": {
        "x-controller-name": "AppPoliciesController",
        "x-operation-name": "find",
        "tags": [
          "AppPoliciesController"
        ],
        "responses": {
          "200": {
            "description": "Array of PolicyPayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyPaymentWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppPoliciesController.find"
      }
    },
    "/app/insurance-policies/{id}/download-url": {
      "get": {
        "x-controller-name": "AppPoliciesController",
        "x-operation-name": "getDownloadLink",
        "tags": [
          "AppPoliciesController"
        ],
        "responses": {
          "200": {
            "description": "Download model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Download"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppPoliciesController.getDownloadLink"
      }
    },
    "/app/seller/insurance-policies/{id}": {
      "get": {
        "x-controller-name": "AppPoliciesController",
        "x-operation-name": "findSellerPolicy",
        "tags": [
          "AppPoliciesController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicy model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsurancePolicy"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "AppPoliciesController.findSellerPolicy"
      }
    },
    "/app/seller/insurance-policies": {
      "get": {
        "x-controller-name": "AppPoliciesController",
        "x-operation-name": "findSellerPolicies",
        "tags": [
          "AppPoliciesController"
        ],
        "responses": {
          "200": {
            "description": "Array of InsurancePolicy model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsurancePolicyWithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppPoliciesController.findSellerPolicies"
      }
    },
    "/app/users/collectors": {
      "get": {
        "x-controller-name": "AppUsersController",
        "x-operation-name": "findSellerPolicies",
        "tags": [
          "AppUsersController"
        ],
        "responses": {
          "200": {
            "description": "Array of collectors users model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserExcluding_deleted-status-username-email-phone-password-roles-lastLogin-fcmToken_WithRelations"
                  }
                }
              }
            }
          }
        },
        "operationId": "AppUsersController.findSellerPolicies"
      }
    },
    "/app-auth/login": {
      "post": {
        "x-controller-name": "AppAuthController",
        "x-operation-name": "login",
        "tags": [
          "AppAuthController"
        ],
        "responses": {
          "200": {
            "description": "App Auth Login service",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AppLoginResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Login"
              }
            }
          }
        },
        "operationId": "AppAuthController.login"
      }
    },
    "/asset/{entity}/{entityId}/{entity2}/{entity2Id}/{group}/{fileName}": {
      "get": {
        "x-controller-name": "AssetsController",
        "x-operation-name": "getLongAssetUrl",
        "tags": [
          "AssetsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AssetsController.getLongAssetUrl"
          }
        },
        "parameters": [
          {
            "name": "entity",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "entityId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "entity2",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "entity2Id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "group",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "fileName",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AssetsController.getLongAssetUrl"
      }
    },
    "/asset/{entity}/{entityId}/{group}/{fileName}": {
      "get": {
        "x-controller-name": "AssetsController",
        "x-operation-name": "getAssetUrl",
        "tags": [
          "AssetsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AssetsController.getAssetUrl"
          }
        },
        "parameters": [
          {
            "name": "entity",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "entityId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "group",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "fileName",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AssetsController.getAssetUrl"
      }
    },
    "/assets/upload-claim-evidence-url/{id}/{fileType}": {
      "get": {
        "x-controller-name": "AssetsController",
        "x-operation-name": "getEvidenceUploadURL",
        "tags": [
          "AssetsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AssetsController.getEvidenceUploadURL"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "fileType",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AssetsController.getEvidenceUploadURL"
      }
    },
    "/assets/upload-document-url/{id}/{fileType}": {
      "get": {
        "x-controller-name": "AssetsController",
        "x-operation-name": "getDocumentUploadURL",
        "tags": [
          "AssetsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AssetsController.getDocumentUploadURL"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "fileType",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AssetsController.getDocumentUploadURL"
      }
    },
    "/assets/upload-payment-url/{id}/{fileType}": {
      "get": {
        "x-controller-name": "AssetsController",
        "x-operation-name": "getPaymentUploadURL",
        "tags": [
          "AssetsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AssetsController.getPaymentUploadURL"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "fileType",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AssetsController.getPaymentUploadURL"
      }
    },
    "/assets/upload-policy-evidence-url/{id}/{fileType}": {
      "get": {
        "x-controller-name": "AssetsController",
        "x-operation-name": "getOrphanEvidenceUploadURL",
        "tags": [
          "AssetsController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AssetsController.getOrphanEvidenceUploadURL"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "fileType",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "AssetsController.getOrphanEvidenceUploadURL"
      }
    },
    "/auth/fcm-token": {
      "patch": {
        "x-controller-name": "AuthController",
        "x-operation-name": "updateFCMToken",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.updateFCMToken"
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AuthController.updateFCMToken"
      }
    },
    "/auth/login": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "create",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Auth Login service",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Login"
              }
            }
          }
        },
        "operationId": "AuthController.create"
      }
    },
    "/auth/logout": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "logout",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.logout"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "AuthController.logout"
      }
    },
    "/auth/refresh": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "refreshToken",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Auth Refresh service",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponse"
                }
              }
            }
          }
        },
        "operationId": "AuthController.refreshToken"
      }
    },
    "/calendar-events/{id}": {
      "patch": {
        "x-controller-name": "CalendarEventController",
        "x-operation-name": "updateById",
        "tags": [
          "CalendarEventController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CalendarEvent PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CalendarEventPartialExcluding_id-publicId-insurancePolicyId-claimId-claimActivityId-type_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CalendarEventController.updateById"
      }
    },
    "/calendar-events": {
      "post": {
        "x-controller-name": "CalendarEventController",
        "x-operation-name": "create",
        "tags": [
          "CalendarEventController"
        ],
        "responses": {
          "200": {
            "description": "CalendarEvent model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarEvent"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCalendarEvent"
              }
            }
          }
        },
        "operationId": "CalendarEventController.create"
      },
      "get": {
        "x-controller-name": "CalendarEventController",
        "x-operation-name": "find",
        "tags": [
          "CalendarEventController"
        ],
        "responses": {
          "200": {
            "description": "Array of CalendarEvent model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CalendarEventWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CalendarEvent.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CalendarEventController.find"
      }
    },
    "/cities/count": {
      "get": {
        "x-controller-name": "CityController",
        "x-operation-name": "count",
        "tags": [
          "CityController"
        ],
        "responses": {
          "200": {
            "description": "City model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "City.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<City>"
                }
              }
            }
          }
        ],
        "operationId": "CityController.count"
      }
    },
    "/cities/{id}": {
      "patch": {
        "x-controller-name": "CityController",
        "x-operation-name": "updateById",
        "tags": [
          "CityController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "City PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CityPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CityController.updateById"
      },
      "get": {
        "x-controller-name": "CityController",
        "x-operation-name": "findById",
        "tags": [
          "CityController"
        ],
        "responses": {
          "200": {
            "description": "City model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CityWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/City.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CityController.findById"
      },
      "delete": {
        "x-controller-name": "CityController",
        "x-operation-name": "deleteById",
        "tags": [
          "CityController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "City DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CityController.deleteById"
      }
    },
    "/cities": {
      "post": {
        "x-controller-name": "CityController",
        "x-operation-name": "create",
        "tags": [
          "CityController"
        ],
        "responses": {
          "200": {
            "description": "City model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/City"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCity"
              }
            }
          }
        },
        "operationId": "CityController.create"
      },
      "patch": {
        "x-controller-name": "CityController",
        "x-operation-name": "updateAll",
        "tags": [
          "CityController"
        ],
        "responses": {
          "200": {
            "description": "City PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "City.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<City>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CityPartial"
              }
            }
          }
        },
        "operationId": "CityController.updateAll"
      },
      "get": {
        "x-controller-name": "CityController",
        "x-operation-name": "find",
        "tags": [
          "CityController"
        ],
        "responses": {
          "200": {
            "description": "Array of City model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CityWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/City.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CityController.find"
      }
    },
    "/claims/dashboard": {
      "post": {
        "x-controller-name": "ClaimController",
        "x-operation-name": "dashboard",
        "tags": [
          "ClaimController"
        ],
        "responses": {
          "200": {
            "description": "Array of Claim model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClaimFilter"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimFilter"
              }
            }
          }
        },
        "operationId": "ClaimController.dashboard"
      }
    },
    "/claims/{id}/activity/{activityId}": {
      "delete": {
        "x-controller-name": "ClaimController",
        "x-operation-name": "deleteClaimActivity",
        "tags": [
          "ClaimController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Claim activity deleted successfully"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "activityId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClaimController.deleteClaimActivity"
      }
    },
    "/claims/{id}/activity": {
      "post": {
        "x-controller-name": "ClaimController",
        "x-operation-name": "createActivity",
        "tags": [
          "ClaimController"
        ],
        "responses": {
          "200": {
            "description": "Claim model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Claim"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClaimActivity"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClaimController.createActivity"
      }
    },
    "/claims/{id}": {
      "patch": {
        "x-controller-name": "ClaimController",
        "x-operation-name": "edit",
        "tags": [
          "ClaimController"
        ],
        "responses": {
          "200": {
            "description": "Edit Claim model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Claim"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "agentId"
                ],
                "properties": {
                  "agentId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ClaimController.edit"
      },
      "get": {
        "x-controller-name": "ClaimController",
        "x-operation-name": "findById",
        "tags": [
          "ClaimController"
        ],
        "responses": {
          "200": {
            "description": "Claim model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClaimWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Claim.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ClaimController.findById"
      },
      "delete": {
        "x-controller-name": "ClaimController",
        "x-operation-name": "deleteClaim",
        "tags": [
          "ClaimController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ClaimController.deleteClaim"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ClaimController.deleteClaim"
      }
    },
    "/claims": {
      "post": {
        "x-controller-name": "ClaimController",
        "x-operation-name": "create",
        "tags": [
          "ClaimController"
        ],
        "responses": {
          "200": {
            "description": "Claim model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Claim"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewClaim"
              }
            }
          }
        },
        "operationId": "ClaimController.create"
      },
      "get": {
        "x-controller-name": "ClaimController",
        "x-operation-name": "find",
        "tags": [
          "ClaimController"
        ],
        "responses": {
          "200": {
            "description": "Array of Claim model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClaimWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Claim.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ClaimController.find"
      }
    },
    "/coverages/count": {
      "get": {
        "x-controller-name": "CoverageController",
        "x-operation-name": "count",
        "tags": [
          "CoverageController"
        ],
        "responses": {
          "200": {
            "description": "Coverage model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Coverage.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Coverage>"
                }
              }
            }
          }
        ],
        "operationId": "CoverageController.count"
      }
    },
    "/coverages/{id}": {
      "patch": {
        "x-controller-name": "CoverageController",
        "x-operation-name": "updateById",
        "tags": [
          "CoverageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Coverage PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CoveragePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CoverageController.updateById"
      },
      "get": {
        "x-controller-name": "CoverageController",
        "x-operation-name": "findById",
        "tags": [
          "CoverageController"
        ],
        "responses": {
          "200": {
            "description": "Coverage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CoverageWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Coverage.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CoverageController.findById"
      },
      "delete": {
        "x-controller-name": "CoverageController",
        "x-operation-name": "deleteById",
        "tags": [
          "CoverageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Coverage DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CoverageController.deleteById"
      }
    },
    "/coverages": {
      "post": {
        "x-controller-name": "CoverageController",
        "x-operation-name": "create",
        "tags": [
          "CoverageController"
        ],
        "responses": {
          "200": {
            "description": "Coverage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Coverage"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCoverage"
              }
            }
          }
        },
        "operationId": "CoverageController.create"
      },
      "patch": {
        "x-controller-name": "CoverageController",
        "x-operation-name": "updateAll",
        "tags": [
          "CoverageController"
        ],
        "responses": {
          "200": {
            "description": "Coverage PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Coverage.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Coverage>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CoveragePartial"
              }
            }
          }
        },
        "operationId": "CoverageController.updateAll"
      },
      "get": {
        "x-controller-name": "CoverageController",
        "x-operation-name": "find",
        "tags": [
          "CoverageController"
        ],
        "responses": {
          "200": {
            "description": "Array of Coverage model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CoverageWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Coverage.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CoverageController.find"
      }
    },
    "/document-types/count": {
      "get": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "count",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DocumentType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DocumentType>"
                }
              }
            }
          }
        ],
        "operationId": "DocumentTypeController.count"
      }
    },
    "/document-types/{id}": {
      "patch": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "updateById",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DocumentType PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentTypeController.updateById"
      },
      "get": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "findById",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentTypeWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentType.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DocumentTypeController.findById"
      },
      "delete": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "deleteById",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DocumentType DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DocumentTypeController.deleteById"
      }
    },
    "/document-types": {
      "post": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "create",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentType"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocumentType"
              }
            }
          }
        },
        "operationId": "DocumentTypeController.create"
      },
      "patch": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "updateAll",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DocumentType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DocumentType>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentTypePartial"
              }
            }
          }
        },
        "operationId": "DocumentTypeController.updateAll"
      },
      "get": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "find",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "Array of DocumentType model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentType.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "DocumentTypeController.find"
      }
    },
    "/insurance-policies/{id}/activate": {
      "patch": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "activatePolicy",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "InsurancePolicy activated success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "InsurancePolicyController.activatePolicy"
      }
    },
    "/insurance-policies/{id}/cancel": {
      "patch": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "cancelPolicy",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "InsurancePolicy canceled success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "InsurancePolicyController.cancelPolicy"
      }
    },
    "/insurance-policies/{id}/documents/{insurancePolicyDocumentId}": {
      "patch": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "updateInsurancePolicyDocument",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "InsurancePolicyDocument PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "insurancePolicyDocumentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStatusPolicyDocument"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "InsurancePolicyController.updateInsurancePolicyDocument"
      },
      "delete": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "deleteInsurancePolicyDocument",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "InsurancePolicyDocument DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "insurancePolicyDocumentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "InsurancePolicyController.deleteInsurancePolicyDocument"
      }
    },
    "/insurance-policies/{insurancePolicyId}/documents/{id}": {
      "get": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "findInsurancePolicyDocument",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicyDocument model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyDocumentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "insurancePolicyId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "InsurancePolicyController.findInsurancePolicyDocument"
      }
    },
    "/insurance-policies/{id}/documents": {
      "get": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "findInsurancePolicyDocuments",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicyDocument model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentRequirementWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "InsurancePolicyController.findInsurancePolicyDocuments"
      }
    },
    "/insurance-policies/{id}/payments/{paymentId}/cancel": {
      "patch": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "cancelInsurancePolicyPaymentById",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicyPayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyPaymentPartialWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "paymentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsurancePolicyPayment"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "InsurancePolicyController.cancelInsurancePolicyPaymentById"
      }
    },
    "/insurance-policies/{id}/payments/{paymentId}": {
      "patch": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "updateInsurancePolicyPaymentById",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicyPayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyPaymentPartialWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "paymentId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateInsurancePolicyPayment"
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "InsurancePolicyController.updateInsurancePolicyPaymentById"
      }
    },
    "/insurance-policies/{id}/payments": {
      "get": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "findInsurancePolicyPayments",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicyPayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyPaymentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "InsurancePolicyController.findInsurancePolicyPayments"
      }
    },
    "/insurance-policies/{id}/pdf": {
      "get": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "getPDFById",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "PDF InsurancePolicy model instance",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "InsurancePolicyController.getPDFById"
      }
    },
    "/insurance-policies/{id}/renew": {
      "post": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "renewInsurancePolicy",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "Insurance policy renewed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsurancePolicyWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "InsurancePolicyController.renewInsurancePolicy"
      }
    },
    "/insurance-policies/{id}": {
      "patch": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "updateById",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "InsurancePolicy PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsurancePolicyPartialExcluding_id-publicId_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "InsurancePolicyController.updateById"
      },
      "get": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "findById",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicy model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsurancePolicyWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsurancePolicy.Filter"
                }
              }
            }
          }
        ],
        "operationId": "InsurancePolicyController.findById"
      }
    },
    "/insurance-policies": {
      "post": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "create",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "InsurancePolicy model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsurancePolicy"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewInsurancePolicy"
              }
            }
          }
        },
        "operationId": "InsurancePolicyController.create"
      },
      "get": {
        "x-controller-name": "InsurancePolicyController",
        "x-operation-name": "find",
        "tags": [
          "InsurancePolicyController"
        ],
        "responses": {
          "200": {
            "description": "Array of InsurancePolicy model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsurancePolicyWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "searchTerm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsurancePolicy.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "InsurancePolicyController.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"
      }
    },
    "/policy-payments/{id}": {
      "patch": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "updateById",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PolicyPayment PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PolicyPaymentPartialWithRelations"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PaymentController.updateById"
      },
      "get": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "findById",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "200": {
            "description": "PolicyPayment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyPaymentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyPayment.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PaymentController.findById"
      }
    },
    "/policy-payments": {
      "get": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "find",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "200": {
            "description": "Array of PolicyPayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyPaymentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "PaymentController.find"
      }
    },
    "/policy-payments-resume": {
      "get": {
        "x-controller-name": "PaymentController",
        "x-operation-name": "getPaymentResume",
        "tags": [
          "PaymentController"
        ],
        "responses": {
          "200": {
            "description": "Payment resume grouped by method",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "operationId": "PaymentController.getPaymentResume"
      }
    },
    "/poliza/{id}/pdf": {
      "get": {
        "x-controller-name": "PublicController",
        "x-operation-name": "getPDFById",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "PDF InsurancePolicy model instance",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "PublicController.getPDFById"
      }
    },
    "/reconciliations/{id}": {
      "get": {
        "x-controller-name": "ReconciliationController",
        "x-operation-name": "findById",
        "tags": [
          "ReconciliationController"
        ],
        "responses": {
          "200": {
            "description": "Reconciliation model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReconciliationWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reconciliation.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ReconciliationController.findById"
      }
    },
    "/reconciliations": {
      "post": {
        "x-controller-name": "ReconciliationController",
        "x-operation-name": "create",
        "tags": [
          "ReconciliationController"
        ],
        "responses": {
          "200": {
            "description": "Reconciliation model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reconciliation"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewReconciliation"
              }
            }
          }
        },
        "operationId": "ReconciliationController.create"
      },
      "get": {
        "x-controller-name": "ReconciliationController",
        "x-operation-name": "find",
        "tags": [
          "ReconciliationController"
        ],
        "responses": {
          "200": {
            "description": "Array of Reconciliation model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReconciliationWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Reconciliation.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ReconciliationController.find"
      }
    },
    "/states/count": {
      "get": {
        "x-controller-name": "StateController",
        "x-operation-name": "count",
        "tags": [
          "StateController"
        ],
        "responses": {
          "200": {
            "description": "State model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "State.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<State>"
                }
              }
            }
          }
        ],
        "operationId": "StateController.count"
      }
    },
    "/states/{id}": {
      "patch": {
        "x-controller-name": "StateController",
        "x-operation-name": "updateById",
        "tags": [
          "StateController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "State PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StateController.updateById"
      },
      "get": {
        "x-controller-name": "StateController",
        "x-operation-name": "findById",
        "tags": [
          "StateController"
        ],
        "responses": {
          "200": {
            "description": "State model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StateWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/State.Filter"
                }
              }
            }
          }
        ],
        "operationId": "StateController.findById"
      },
      "delete": {
        "x-controller-name": "StateController",
        "x-operation-name": "deleteById",
        "tags": [
          "StateController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "State DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "StateController.deleteById"
      }
    },
    "/states": {
      "post": {
        "x-controller-name": "StateController",
        "x-operation-name": "create",
        "tags": [
          "StateController"
        ],
        "responses": {
          "200": {
            "description": "State model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/State"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewState"
              }
            }
          }
        },
        "operationId": "StateController.create"
      },
      "patch": {
        "x-controller-name": "StateController",
        "x-operation-name": "updateAll",
        "tags": [
          "StateController"
        ],
        "responses": {
          "200": {
            "description": "State PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "State.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<State>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatePartial"
              }
            }
          }
        },
        "operationId": "StateController.updateAll"
      },
      "get": {
        "x-controller-name": "StateController",
        "x-operation-name": "find",
        "tags": [
          "StateController"
        ],
        "responses": {
          "200": {
            "description": "Array of State model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StateWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/State.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "StateController.find"
      }
    },
    "/users/count": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "count",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "User.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<User>"
                }
              }
            }
          }
        ],
        "operationId": "UserController.count"
      }
    },
    "/users/{id}": {
      "patch": {
        "x-controller-name": "UserController",
        "x-operation-name": "updateById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserController.updateById"
      },
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "findById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserController.findById"
      },
      "delete": {
        "x-controller-name": "UserController",
        "x-operation-name": "deleteById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserController.deleteById"
      }
    },
    "/users": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "create",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUser"
              }
            }
          }
        },
        "operationId": "UserController.create"
      },
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "find",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "UserController.find"
      }
    },
    "/web/request-contact": {
      "post": {
        "x-controller-name": "PublicController",
        "x-operation-name": "requestContact",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Contact form",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactForm"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContactForm"
              }
            }
          }
        },
        "operationId": "PublicController.requestContact"
      }
    },
    "/web/request-quote": {
      "post": {
        "x-controller-name": "PublicController",
        "x-operation-name": "requestQuote",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Contact form",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteForm"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QuoteForm"
              }
            }
          }
        },
        "operationId": "PublicController.requestQuote"
      }
    },
    "/whatsapp-webhook": {
      "post": {
        "x-controller-name": "PublicController",
        "x-operation-name": "whatsappWebhook",
        "tags": [
          "PublicController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PublicController.whatsappWebhook"
          }
        },
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "SmsMessageSid": {
                    "type": "string"
                  },
                  "MessagingServiceSid": {
                    "type": "string"
                  },
                  "MessageSid": {
                    "type": "string"
                  },
                  "AccountSid": {
                    "type": "string"
                  },
                  "ProfileName": {
                    "type": "string"
                  },
                  "MessageType": {
                    "type": "string"
                  },
                  "SmsStatus": {
                    "type": "string"
                  },
                  "Body": {
                    "type": "string"
                  },
                  "From": {
                    "type": "string"
                  },
                  "To": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "PublicController.whatsappWebhook"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.nuevagaliciaseguros.mx"
    }
  ],
  "components": {
    "schemas": {
      "User": {
        "title": "User",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "ACTIVE",
              "INACTIVE"
            ]
          },
          "name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 1
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "phone": {
            "type": "string",
            "maxLength": 10,
            "minLength": 10
          },
          "password": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lastLogin": {
            "type": "string",
            "format": "date-time"
          },
          "fcmToken": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "username",
          "password",
          "roles"
        ],
        "additionalProperties": false
      },
      "NewUser": {
        "title": "NewUser",
        "type": "object",
        "description": "(tsType: Omit<User, 'id' | 'deleted' | 'status' | 'lastLogin'>, schemaOptions: { title: 'NewUser', exclude: [ 'id', 'deleted', 'status', 'lastLogin' ] })",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 1
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "phone": {
            "type": "string",
            "maxLength": 10,
            "minLength": 10
          },
          "password": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "fcmToken": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "username",
          "password",
          "roles"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<User, 'id' | 'deleted' | 'status' | 'lastLogin'>"
      },
      "UserWithRelations": {
        "title": "UserWithRelations",
        "type": "object",
        "description": "(tsType: UserWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "ACTIVE",
              "INACTIVE"
            ]
          },
          "name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 1
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "phone": {
            "type": "string",
            "maxLength": 10,
            "minLength": 10
          },
          "password": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lastLogin": {
            "type": "string",
            "format": "date-time"
          },
          "fcmToken": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "username",
          "password",
          "roles"
        ],
        "additionalProperties": false,
        "x-typescript-type": "UserWithRelations"
      },
      "UserPartial": {
        "title": "UserPartial",
        "type": "object",
        "description": "(tsType: Partial<User>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "ACTIVE",
              "INACTIVE"
            ]
          },
          "name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 1
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "phone": {
            "type": "string",
            "maxLength": 10,
            "minLength": 10
          },
          "password": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lastLogin": {
            "type": "string",
            "format": "date-time"
          },
          "fcmToken": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<User>"
      },
      "State": {
        "title": "State",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "enum": [
              "Aguascalientes",
              "Baja California",
              "Baja California Sur",
              "Campeche",
              "Coahuila",
              "Colima",
              "Chiapas",
              "Chihuahua",
              "Ciudad de México",
              "Durango",
              "Guanajuato",
              "Guerrero",
              "Hidalgo",
              "Jalisco",
              "México",
              "Michoacán",
              "Morelos",
              "Nayarit",
              "Nuevo León",
              "Oaxaca",
              "Puebla",
              "Querétaro",
              "Quintana Roo",
              "San Luis Potosí",
              "Sinaloa",
              "Sonora",
              "Tabasco",
              "Tamaulipas",
              "Tlaxcala",
              "Veracruz",
              "Yucatán",
              "Zacatecas"
            ]
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false
      },
      "NewState": {
        "title": "NewState",
        "type": "object",
        "description": "(tsType: Omit<State, 'id'>, schemaOptions: { title: 'NewState', exclude: [ 'id' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "enum": [
              "Aguascalientes",
              "Baja California",
              "Baja California Sur",
              "Campeche",
              "Coahuila",
              "Colima",
              "Chiapas",
              "Chihuahua",
              "Ciudad de México",
              "Durango",
              "Guanajuato",
              "Guerrero",
              "Hidalgo",
              "Jalisco",
              "México",
              "Michoacán",
              "Morelos",
              "Nayarit",
              "Nuevo León",
              "Oaxaca",
              "Puebla",
              "Querétaro",
              "Quintana Roo",
              "San Luis Potosí",
              "Sinaloa",
              "Sonora",
              "Tabasco",
              "Tamaulipas",
              "Tlaxcala",
              "Veracruz",
              "Yucatán",
              "Zacatecas"
            ]
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<State, 'id'>"
      },
      "CityWithRelations": {
        "title": "CityWithRelations",
        "type": "object",
        "description": "(tsType: CityWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "suffix": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          },
          "state": {
            "$ref": "#/components/schemas/StateWithRelations"
          },
          "foreignKey": {}
        },
        "required": [
          "name",
          "stateId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CityWithRelations"
      },
      "StateWithRelations": {
        "title": "StateWithRelations",
        "type": "object",
        "description": "(tsType: StateWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "enum": [
              "Aguascalientes",
              "Baja California",
              "Baja California Sur",
              "Campeche",
              "Coahuila",
              "Colima",
              "Chiapas",
              "Chihuahua",
              "Ciudad de México",
              "Durango",
              "Guanajuato",
              "Guerrero",
              "Hidalgo",
              "Jalisco",
              "México",
              "Michoacán",
              "Morelos",
              "Nayarit",
              "Nuevo León",
              "Oaxaca",
              "Puebla",
              "Querétaro",
              "Quintana Roo",
              "San Luis Potosí",
              "Sinaloa",
              "Sonora",
              "Tabasco",
              "Tamaulipas",
              "Tlaxcala",
              "Veracruz",
              "Yucatán",
              "Zacatecas"
            ]
          },
          "cities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CityWithRelations"
            }
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "StateWithRelations"
      },
      "StatePartial": {
        "title": "StatePartial",
        "type": "object",
        "description": "(tsType: Partial<State>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "enum": [
              "Aguascalientes",
              "Baja California",
              "Baja California Sur",
              "Campeche",
              "Coahuila",
              "Colima",
              "Chiapas",
              "Chihuahua",
              "Ciudad de México",
              "Durango",
              "Guanajuato",
              "Guerrero",
              "Hidalgo",
              "Jalisco",
              "México",
              "Michoacán",
              "Morelos",
              "Nayarit",
              "Nuevo León",
              "Oaxaca",
              "Puebla",
              "Querétaro",
              "Quintana Roo",
              "San Luis Potosí",
              "Sinaloa",
              "Sonora",
              "Tabasco",
              "Tamaulipas",
              "Tlaxcala",
              "Veracruz",
              "Yucatán",
              "Zacatecas"
            ]
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<State>"
      },
      "Reconciliation": {
        "title": "Reconciliation",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "beneficiaryId": {
            "type": "number"
          },
          "totalBankTransfers": {
            "type": "number",
            "format": "float"
          },
          "totalCash": {
            "type": "number",
            "format": "float"
          },
          "bankTransfersComissions": {
            "type": "number",
            "format": "float"
          },
          "totalCard": {
            "type": "number",
            "format": "float"
          },
          "cardComission": {
            "type": "number",
            "format": "float"
          },
          "cashComission": {
            "type": "number",
            "format": "float"
          },
          "amountToDeliver": {
            "type": "number",
            "format": "float"
          },
          "totalInitialPayments": {
            "type": "number",
            "format": "float"
          },
          "totalMonthlyPayments": {
            "type": "number",
            "format": "float"
          },
          "status": {
            "type": "string",
            "enum": [
              "OPEN",
              "CLOSED"
            ]
          }
        },
        "required": [
          "createdAt",
          "totalBankTransfers",
          "totalCash",
          "bankTransfersComissions",
          "totalCard",
          "cardComission",
          "cashComission",
          "amountToDeliver",
          "totalInitialPayments",
          "totalMonthlyPayments",
          "status"
        ],
        "additionalProperties": false
      },
      "NewReconciliation": {
        "title": "NewReconciliation",
        "type": "object",
        "description": "(tsType: NewReconciliation, schemaOptions: { title: 'NewReconciliation' })",
        "properties": {
          "beneficiaryId": {
            "type": "number"
          },
          "paymentsId": {
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        },
        "required": [
          "beneficiaryId",
          "paymentsId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "NewReconciliation"
      },
      "CoverageWithRelations": {
        "title": "CoverageWithRelations",
        "type": "object",
        "description": "(tsType: CoverageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "use": {
            "enum": [
              "NO_DED",
              "NO_DED_GOLD",
              "WITH_DED",
              "MOTO",
              "PRIVATE"
            ]
          },
          "propertyDamage": {
            "type": "string"
          },
          "propertyDamageDed": {
            "type": "string"
          },
          "thirdPartyLiability": {
            "type": "string"
          },
          "thirdPartyLiabilityDed": {
            "type": "string"
          },
          "totalTheft": {
            "type": "string"
          },
          "totalTheftDed": {
            "type": "string"
          },
          "occupantsMedicalExpenses": {
            "type": "string"
          },
          "occupantsMedicalExpensesDed": {
            "type": "string"
          },
          "legalAssistance": {
            "type": "string"
          },
          "legalAssistanceDed": {
            "type": "string"
          },
          "glass": {
            "type": "string"
          },
          "glassDed": {
            "type": "string"
          },
          "roadsideAssistance": {
            "type": "string"
          },
          "roadsideAssistanceDed": {
            "type": "string"
          },
          "driverDeath": {
            "type": "string"
          },
          "driverDeathDed": {
            "type": "string"
          },
          "funeralExpenseSupport": {
            "type": "string"
          },
          "funeralExpenseSupportDed": {
            "type": "string"
          },
          "rsaLimit": {
            "type": "number"
          },
          "twtLimit": {
            "type": "number"
          },
          "zeroDed": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "use",
          "rsaLimit"
        ],
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "required": [
                "propertyDamage"
              ]
            },
            "then": {
              "required": [
                "propertyDamageDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "thirdPartyLiability"
              ]
            },
            "then": {
              "required": [
                "thirdPartyLiabilityDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "totalTheft"
              ]
            },
            "then": {
              "required": [
                "totalTheftDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "occupantsMedicalExpenses"
              ]
            },
            "then": {
              "required": [
                "occupantsMedicalExpensesDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "legalAssistance"
              ]
            },
            "then": {
              "required": [
                "legalAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "glass"
              ]
            },
            "then": {
              "required": [
                "glassDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "roadsideAssistance"
              ]
            },
            "then": {
              "required": [
                "roadsideAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "driverDeath"
              ]
            },
            "then": {
              "required": [
                "driverDeathDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "funeralExpenseSupport"
              ]
            },
            "then": {
              "required": [
                "funeralExpenseSupportDed"
              ]
            }
          }
        ],
        "x-typescript-type": "CoverageWithRelations"
      },
      "DocumentTypeWithRelations": {
        "title": "DocumentTypeWithRelations",
        "type": "object",
        "description": "(tsType: DocumentTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "enum": [
              "VEHICLE",
              "CONTRACTOR"
            ]
          },
          "mandatory": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "description",
          "type",
          "mandatory"
        ],
        "additionalProperties": false,
        "x-typescript-type": "DocumentTypeWithRelations"
      },
      "PolicyDocumentWithRelations": {
        "title": "PolicyDocumentWithRelations",
        "type": "object",
        "description": "(tsType: PolicyDocumentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deleted": {
            "type": "boolean"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "documentTypeId": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "SENT",
              "VALIDATED",
              "REJECTED"
            ]
          },
          "fileURL": {
            "type": "string",
            "minLength": 1
          },
          "comments": {
            "type": "string",
            "minLength": 1
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyWithRelations"
          },
          "foreignKey": {},
          "documentType": {
            "$ref": "#/components/schemas/DocumentTypeWithRelations"
          }
        },
        "required": [
          "insurancePolicyId",
          "documentTypeId",
          "status"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PolicyDocumentWithRelations"
      },
      "CalendarEventWithRelations": {
        "title": "CalendarEventWithRelations",
        "type": "object",
        "description": "(tsType: CalendarEventWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "publicId": {
            "type": "string"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "claimId": {
            "type": "number"
          },
          "claimActivityId": {
            "type": "number"
          },
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "COMPLETED",
              "CANCELLED"
            ]
          },
          "location": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "CALL",
              "APPOINTMENT"
            ]
          },
          "comments": {
            "type": "string"
          },
          "contact": {
            "type": "object",
            "title": "CalendarEventContact",
            "properties": {
              "name": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "email": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "phone"
            ],
            "additionalProperties": false
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyWithRelations"
          },
          "foreignKey": {},
          "claim": {
            "$ref": "#/components/schemas/ClaimWithRelations"
          },
          "claimActivity": {
            "$ref": "#/components/schemas/ClaimActivityWithRelations"
          }
        },
        "required": [
          "publicId",
          "insurancePolicyId",
          "claimId",
          "claimActivityId",
          "status",
          "type",
          "comments",
          "contact"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CalendarEventWithRelations"
      },
      "ClaimActivityWithRelations": {
        "title": "ClaimActivityWithRelations",
        "type": "object",
        "description": "(tsType: ClaimActivityWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "publicId": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdById": {
            "type": "number"
          },
          "claimId": {
            "type": "number"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "calendarEventId": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "enum": [
              "IRE",
              "INP",
              "INR",
              "REJ",
              "CLO",
              "CLI",
              "UPD"
            ]
          },
          "data": {
            "type": "object",
            "anyOf": [
              {
                "title": "GenericData",
                "type": "object",
                "properties": {
                  "evidences": {
                    "type": "array",
                    "items": {
                      "title": "ClaimActivityEvidence",
                      "type": "object",
                      "properties": {
                        "comments": {
                          "type": "string"
                        },
                        "filePath": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "evidences"
                ],
                "additionalProperties": false
              },
              {
                "title": "InpData",
                "type": "object",
                "properties": {
                  "incidentDetails": {
                    "type": "object",
                    "title": "IncidentDetails",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "licenceNumber": {
                        "type": "string"
                      },
                      "medicalPassRequired": {
                        "type": "boolean"
                      },
                      "description": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "phone",
                      "licenceNumber",
                      "medicalPassRequired",
                      "description"
                    ],
                    "additionalProperties": false
                  },
                  "insuredDamages": {
                    "type": "object",
                    "title": "InsuredDamages",
                    "properties": {
                      "incidentDamages": {
                        "type": "string"
                      },
                      "preexistingDamages": {
                        "type": "string"
                      },
                      "evidences": {
                        "type": "array",
                        "items": {
                          "title": "ClaimActivityEvidence",
                          "type": "object",
                          "properties": {
                            "comments": {
                              "type": "string"
                            },
                            "filePath": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "incidentDamages",
                      "evidences"
                    ],
                    "additionalProperties": false
                  },
                  "thirdParties": {
                    "type": "array",
                    "items": {
                      "title": "ThirdParty",
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "phone": {
                          "type": "string"
                        },
                        "insuranceCompany": {
                          "type": "string"
                        },
                        "licencePlate": {
                          "type": "string"
                        },
                        "make": {
                          "type": "string"
                        },
                        "modelLine": {
                          "type": "string"
                        },
                        "year": {
                          "type": "number"
                        },
                        "color": {
                          "type": "string"
                        },
                        "trimlevel": {
                          "type": "string"
                        },
                        "serialNumber": {
                          "type": "string"
                        },
                        "incidentDamages": {
                          "type": "string"
                        },
                        "preexistingDamages": {
                          "type": "string"
                        },
                        "evidences": {
                          "type": "array",
                          "items": {
                            "title": "ClaimActivityEvidence",
                            "type": "object",
                            "properties": {
                              "comments": {
                                "type": "string"
                              },
                              "filePath": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "name",
                        "phone",
                        "evidences"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "incidentDetails",
                  "insuredDamages",
                  "thirdParties"
                ],
                "additionalProperties": false
              },
              {
                "title": "InrData",
                "type": "object",
                "properties": {
                  "repairAuthorizations": {
                    "type": "array",
                    "items": {
                      "title": "RepairAuthorization",
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "garage": {
                          "type": "string",
                          "enum": [
                            "G1",
                            "G2",
                            "G3",
                            "G4",
                            "G5",
                            "G6",
                            "G7"
                          ]
                        },
                        "phone": {
                          "type": "string"
                        },
                        "insuranceCompany": {
                          "type": "string"
                        },
                        "licencePlate": {
                          "type": "string"
                        },
                        "make": {
                          "type": "string"
                        },
                        "modelLine": {
                          "type": "string"
                        },
                        "year": {
                          "type": "number"
                        },
                        "color": {
                          "type": "string"
                        },
                        "trimlevel": {
                          "type": "string"
                        },
                        "serialNumber": {
                          "type": "string"
                        },
                        "incidentDamages": {
                          "type": "string"
                        },
                        "preexistingDamages": {
                          "type": "string"
                        },
                        "towTruckRequired": {
                          "type": "boolean"
                        },
                        "evidences": {
                          "type": "array",
                          "items": {
                            "title": "ClaimActivityEvidence",
                            "type": "object",
                            "properties": {
                              "comments": {
                                "type": "string"
                              },
                              "filePath": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "name",
                        "garage",
                        "phone",
                        "insuranceCompany",
                        "licencePlate",
                        "make",
                        "modelLine",
                        "year",
                        "color",
                        "trimlevel",
                        "serialNumber",
                        "incidentDamages",
                        "towTruckRequired",
                        "evidences"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "medicalPasses": {
                    "type": "array",
                    "items": {
                      "title": "MedicalPass",
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "hospital": {
                          "type": "string",
                          "enum": [
                            "H1",
                            "H2",
                            "H3",
                            "H4"
                          ]
                        },
                        "phone": {
                          "type": "string"
                        },
                        "age": {
                          "type": "number"
                        },
                        "gender": {
                          "type": "string"
                        },
                        "address": {
                          "type": "string"
                        },
                        "reportedInjuries": {
                          "type": "string"
                        },
                        "comments": {
                          "type": "string"
                        },
                        "evidences": {
                          "type": "array",
                          "items": {
                            "title": "ClaimActivityEvidence",
                            "type": "object",
                            "properties": {
                              "comments": {
                                "type": "string"
                              },
                              "filePath": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "name",
                        "hospital",
                        "phone",
                        "age",
                        "gender",
                        "address",
                        "reportedInjuries",
                        "evidences"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "repairAuthorizations",
                  "medicalPasses"
                ],
                "additionalProperties": false
              },
              {
                "title": "RejData",
                "type": "object",
                "properties": {
                  "comments": {
                    "type": "string"
                  },
                  "evidences": {
                    "type": "array",
                    "items": {
                      "title": "ClaimActivityEvidence",
                      "type": "object",
                      "properties": {
                        "comments": {
                          "type": "string"
                        },
                        "filePath": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "evidences"
                ],
                "additionalProperties": false
              }
            ]
          },
          "comments": {
            "type": "string",
            "minLength": 1
          },
          "privateComments": {
            "type": "string"
          },
          "createdBy": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "foreignKey": {},
          "claim": {
            "$ref": "#/components/schemas/ClaimWithRelations"
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyWithRelations"
          },
          "calendarEvent": {
            "$ref": "#/components/schemas/CalendarEventWithRelations"
          },
          "claimStatus": {
            "$ref": "#/components/schemas/ClaimWithRelations"
          }
        },
        "required": [
          "publicId",
          "claimId",
          "insurancePolicyId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ClaimActivityWithRelations"
      },
      "ClaimWithRelations": {
        "title": "ClaimWithRelations",
        "type": "object",
        "description": "(tsType: ClaimWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "publicId": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "enum": [
              "COL",
              "ROL",
              "FIR",
              "TTH",
              "PTH",
              "NAT",
              "RSA",
              "TWT",
              "GLA",
              "CWT"
            ]
          },
          "address": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "statusId": {
            "type": "number"
          },
          "mainStatusId": {
            "type": "number"
          },
          "contactName": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "requiresTowTruck": {
            "type": "boolean"
          },
          "requiresMedicalAttention": {
            "type": "boolean"
          },
          "agentId": {
            "type": "number"
          },
          "createdById": {
            "type": "number"
          },
          "evidences": {
            "type": "array",
            "items": {
              "title": "ClaimEvidence",
              "type": "object",
              "properties": {
                "comments": {
                  "type": "string"
                },
                "filePath": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyWithRelations"
          },
          "foreignKey": {},
          "status": {
            "$ref": "#/components/schemas/ClaimActivityWithRelations"
          },
          "mainStatus": {
            "$ref": "#/components/schemas/ClaimActivityWithRelations"
          },
          "agent": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "createdBy": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "activities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClaimActivityWithRelations"
            }
          }
        },
        "required": [
          "publicId",
          "when",
          "insurancePolicyId",
          "type",
          "address",
          "description",
          "contactName",
          "contactPhone",
          "requiresTowTruck",
          "requiresMedicalAttention"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ClaimWithRelations"
      },
      "ChangeLogWithRelations": {
        "title": "ChangeLogWithRelations",
        "type": "object",
        "description": "(tsType: ChangeLogWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "entityName": {
            "type": "string"
          },
          "entityId": {
            "type": "number"
          },
          "action": {
            "type": "string",
            "enum": [
              "CREATE",
              "UPDATE",
              "DELETE"
            ]
          },
          "before": {
            "type": "object"
          },
          "after": {
            "type": "object"
          },
          "changedAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedBy": {
            "type": "number"
          },
          "changedByUser": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "foreignKey": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "ChangeLogWithRelations"
      },
      "InsurancePolicyWithRelations": {
        "title": "InsurancePolicyWithRelations",
        "type": "object",
        "description": "(tsType: InsurancePolicyWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "publicId": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "ACCEPTED",
              "ACTIVE",
              "CANCELLED"
            ]
          },
          "paymentStatus": {
            "type": "string",
            "enum": [
              "PAID",
              "UNPAID"
            ]
          },
          "emissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "downPayment": {
            "type": "integer",
            "minimum": 1
          },
          "paymentTerm": {
            "type": "integer",
            "minimum": 0,
            "maximum": 11
          },
          "policyPremium": {
            "type": "integer",
            "minimum": 0
          },
          "monthlyPremium": {
            "type": "integer"
          },
          "driver": {
            "type": "object",
            "title": "Driver",
            "properties": {
              "name": {
                "type": "string"
              },
              "idNumber": {
                "type": "string"
              },
              "licenceNumber": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "renewed": {
            "type": "boolean"
          },
          "renewedId": {
            "type": "number"
          },
          "insured": {
            "type": "object",
            "title": "Insured",
            "properties": {
              "name": {
                "type": "string"
              },
              "streetNumber": {
                "type": "string"
              },
              "internalNumber": {
                "type": "string"
              },
              "intersection": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "neighborhood": {
                "type": "string"
              },
              "zipCode": {
                "type": "string",
                "pattern": "^[0-9]{5}$",
                "minLength": 5,
                "maxLength": 5
              },
              "phoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "emergencyPhoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "email": {
                "type": "string",
                "format": "email"
              }
            },
            "required": [
              "name",
              "phoneNumber"
            ],
            "additionalProperties": false
          },
          "vehicle": {
            "type": "object",
            "title": "Vehicle",
            "properties": {
              "make": {
                "type": "string"
              },
              "modelLine": {
                "type": "string"
              },
              "year": {
                "type": "number"
              },
              "color": {
                "type": "string"
              },
              "licencePlate": {
                "type": "string"
              },
              "trimLevel": {
                "type": "string"
              },
              "engineNumber": {
                "type": "string"
              },
              "vin": {
                "type": "string"
              },
              "seatingCapacity": {
                "type": "string"
              },
              "intendedUse": {
                "type": "string",
                "enum": [
                  "PUBLIC-TRANSPORTATION",
                  "COMMUNITY",
                  "PRIVATE"
                ]
              }
            },
            "required": [
              "make",
              "modelLine",
              "year",
              "trimLevel",
              "seatingCapacity",
              "intendedUse"
            ],
            "additionalProperties": false
          },
          "coverageId": {
            "type": "number"
          },
          "sellerId": {
            "type": "number"
          },
          "collectorId": {
            "type": "number"
          },
          "authorizerId": {
            "type": "number"
          },
          "comments": {
            "type": "string"
          },
          "coverage": {
            "$ref": "#/components/schemas/CoverageWithRelations"
          },
          "foreignKey": {},
          "seller": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "collector": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "authorizer": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyDocumentWithRelations"
            }
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPaymentWithRelations"
            }
          },
          "claims": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClaimWithRelations"
            }
          },
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChangeLogWithRelations"
            }
          }
        },
        "required": [
          "status",
          "paymentStatus",
          "emissionDate",
          "expirationDate",
          "downPayment",
          "paymentTerm",
          "policyPremium",
          "monthlyPremium",
          "driver",
          "insured",
          "vehicle"
        ],
        "additionalProperties": false,
        "x-typescript-type": "InsurancePolicyWithRelations"
      },
      "PolicyPaymentWithRelations": {
        "title": "PolicyPaymentWithRelations",
        "type": "object",
        "description": "(tsType: PolicyPaymentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "publicId": {
            "type": "string"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "collectorId": {
            "type": "number"
          },
          "reconciliationId": {
            "type": "object"
          },
          "amount": {
            "type": "number",
            "minimum": 1
          },
          "method": {
            "type": "string",
            "enum": [
              "CASH",
              "BANK_TRANSFER",
              "CARD"
            ]
          },
          "concept": {
            "type": "string",
            "enum": [
              "DOWN_PAYMENT",
              "MONTHLY_PREMIUM"
            ]
          },
          "reference": {
            "type": "string"
          },
          "fileURL": {
            "type": "string",
            "minLength": 1
          },
          "deadline": {
            "type": "string",
            "format": "date-time"
          },
          "zeroDedAmount": {
            "type": "number",
            "minimum": 0
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "SENT",
              "VALIDATED"
            ]
          },
          "comission": {
            "type": "number",
            "format": "float"
          },
          "comments": {
            "type": "string",
            "minLength": 1
          },
          "comissionStatus": {
            "type": "string",
            "enum": [
              "PENDING",
              "PAYED"
            ]
          },
          "authorizerId": {
            "type": "number"
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyWithRelations"
          },
          "foreignKey": {},
          "collector": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "reconciliation": {
            "$ref": "#/components/schemas/ReconciliationWithRelations"
          },
          "authorizer": {
            "$ref": "#/components/schemas/UserWithRelations"
          }
        },
        "required": [
          "insurancePolicyId",
          "collectorId",
          "amount",
          "deadline",
          "zeroDedAmount",
          "status"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PolicyPaymentWithRelations"
      },
      "ReconciliationWithRelations": {
        "title": "ReconciliationWithRelations",
        "type": "object",
        "description": "(tsType: ReconciliationWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "beneficiaryId": {
            "type": "number"
          },
          "totalBankTransfers": {
            "type": "number",
            "format": "float"
          },
          "totalCash": {
            "type": "number",
            "format": "float"
          },
          "bankTransfersComissions": {
            "type": "number",
            "format": "float"
          },
          "totalCard": {
            "type": "number",
            "format": "float"
          },
          "cardComission": {
            "type": "number",
            "format": "float"
          },
          "cashComission": {
            "type": "number",
            "format": "float"
          },
          "amountToDeliver": {
            "type": "number",
            "format": "float"
          },
          "totalInitialPayments": {
            "type": "number",
            "format": "float"
          },
          "totalMonthlyPayments": {
            "type": "number",
            "format": "float"
          },
          "status": {
            "type": "string",
            "enum": [
              "OPEN",
              "CLOSED"
            ]
          },
          "beneficiary": {
            "$ref": "#/components/schemas/UserWithRelations"
          },
          "foreignKey": {},
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPaymentWithRelations"
            }
          }
        },
        "required": [
          "createdAt",
          "totalBankTransfers",
          "totalCash",
          "bankTransfersComissions",
          "totalCard",
          "cardComission",
          "cashComission",
          "amountToDeliver",
          "totalInitialPayments",
          "totalMonthlyPayments",
          "status"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ReconciliationWithRelations"
      },
      "ContactForm": {
        "title": "ContactForm",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "subject": {
            "type": "string"
          },
          "body": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "subject",
          "body"
        ],
        "additionalProperties": false
      },
      "QuoteForm": {
        "title": "QuoteForm",
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "zipCode": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "coverage": {
            "type": "string"
          },
          "make": {
            "type": "string"
          },
          "modelLine": {
            "type": "string"
          },
          "year": {
            "type": "string"
          },
          "trimLevel": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "coverage",
          "make",
          "modelLine",
          "year",
          "trimLevel"
        ],
        "additionalProperties": false
      },
      "UserPartialWithRelations": {
        "title": "UserPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<UserWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "ACTIVE",
              "INACTIVE"
            ]
          },
          "name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 1
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "phone": {
            "type": "string",
            "maxLength": 10,
            "minLength": 10
          },
          "password": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "lastLogin": {
            "type": "string",
            "format": "date-time"
          },
          "fcmToken": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<UserWithRelations>"
      },
      "CoveragePartialWithRelations": {
        "title": "CoveragePartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<CoverageWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "use": {
            "enum": [
              "NO_DED",
              "NO_DED_GOLD",
              "WITH_DED",
              "MOTO",
              "PRIVATE"
            ]
          },
          "propertyDamage": {
            "type": "string"
          },
          "propertyDamageDed": {
            "type": "string"
          },
          "thirdPartyLiability": {
            "type": "string"
          },
          "thirdPartyLiabilityDed": {
            "type": "string"
          },
          "totalTheft": {
            "type": "string"
          },
          "totalTheftDed": {
            "type": "string"
          },
          "occupantsMedicalExpenses": {
            "type": "string"
          },
          "occupantsMedicalExpensesDed": {
            "type": "string"
          },
          "legalAssistance": {
            "type": "string"
          },
          "legalAssistanceDed": {
            "type": "string"
          },
          "glass": {
            "type": "string"
          },
          "glassDed": {
            "type": "string"
          },
          "roadsideAssistance": {
            "type": "string"
          },
          "roadsideAssistanceDed": {
            "type": "string"
          },
          "driverDeath": {
            "type": "string"
          },
          "driverDeathDed": {
            "type": "string"
          },
          "funeralExpenseSupport": {
            "type": "string"
          },
          "funeralExpenseSupportDed": {
            "type": "string"
          },
          "rsaLimit": {
            "type": "number"
          },
          "twtLimit": {
            "type": "number"
          },
          "zeroDed": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "required": [
                "propertyDamage"
              ]
            },
            "then": {
              "required": [
                "propertyDamageDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "thirdPartyLiability"
              ]
            },
            "then": {
              "required": [
                "thirdPartyLiabilityDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "totalTheft"
              ]
            },
            "then": {
              "required": [
                "totalTheftDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "occupantsMedicalExpenses"
              ]
            },
            "then": {
              "required": [
                "occupantsMedicalExpensesDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "legalAssistance"
              ]
            },
            "then": {
              "required": [
                "legalAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "glass"
              ]
            },
            "then": {
              "required": [
                "glassDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "roadsideAssistance"
              ]
            },
            "then": {
              "required": [
                "roadsideAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "driverDeath"
              ]
            },
            "then": {
              "required": [
                "driverDeathDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "funeralExpenseSupport"
              ]
            },
            "then": {
              "required": [
                "funeralExpenseSupportDed"
              ]
            }
          }
        ],
        "x-typescript-type": "Partial<CoverageWithRelations>"
      },
      "DocumentTypePartialWithRelations": {
        "title": "DocumentTypePartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<DocumentTypeWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "enum": [
              "VEHICLE",
              "CONTRACTOR"
            ]
          },
          "mandatory": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<DocumentTypeWithRelations>"
      },
      "PolicyDocumentPartialWithRelations": {
        "title": "PolicyDocumentPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<PolicyDocumentWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deleted": {
            "type": "boolean"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "documentTypeId": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "SENT",
              "VALIDATED",
              "REJECTED"
            ]
          },
          "fileURL": {
            "type": "string",
            "minLength": 1
          },
          "comments": {
            "type": "string",
            "minLength": 1
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyPartialWithRelations"
          },
          "foreignKey": {},
          "documentType": {
            "$ref": "#/components/schemas/DocumentTypePartialWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PolicyDocumentWithRelations>"
      },
      "CalendarEventPartialWithRelations": {
        "title": "CalendarEventPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<CalendarEventWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "publicId": {
            "type": "string"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "claimId": {
            "type": "number"
          },
          "claimActivityId": {
            "type": "number"
          },
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "COMPLETED",
              "CANCELLED"
            ]
          },
          "location": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "CALL",
              "APPOINTMENT"
            ]
          },
          "comments": {
            "type": "string"
          },
          "contact": {
            "type": "object",
            "title": "CalendarEventContact",
            "properties": {
              "name": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "email": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "phone"
            ],
            "additionalProperties": false
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyPartialWithRelations"
          },
          "foreignKey": {},
          "claim": {
            "$ref": "#/components/schemas/ClaimPartialWithRelations"
          },
          "claimActivity": {
            "$ref": "#/components/schemas/ClaimActivityPartialWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<CalendarEventWithRelations>"
      },
      "ClaimActivityPartialWithRelations": {
        "title": "ClaimActivityPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<ClaimActivityWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "publicId": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdById": {
            "type": "number"
          },
          "claimId": {
            "type": "number"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "calendarEventId": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "enum": [
              "IRE",
              "INP",
              "INR",
              "REJ",
              "CLO",
              "CLI",
              "UPD"
            ]
          },
          "data": {
            "type": "object",
            "anyOf": [
              {
                "title": "GenericData",
                "type": "object",
                "properties": {
                  "evidences": {
                    "type": "array",
                    "items": {
                      "title": "ClaimActivityEvidence",
                      "type": "object",
                      "properties": {
                        "comments": {
                          "type": "string"
                        },
                        "filePath": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "evidences"
                ],
                "additionalProperties": false
              },
              {
                "title": "InpData",
                "type": "object",
                "properties": {
                  "incidentDetails": {
                    "type": "object",
                    "title": "IncidentDetails",
                    "properties": {
                      "name": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "licenceNumber": {
                        "type": "string"
                      },
                      "medicalPassRequired": {
                        "type": "boolean"
                      },
                      "description": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "phone",
                      "licenceNumber",
                      "medicalPassRequired",
                      "description"
                    ],
                    "additionalProperties": false
                  },
                  "insuredDamages": {
                    "type": "object",
                    "title": "InsuredDamages",
                    "properties": {
                      "incidentDamages": {
                        "type": "string"
                      },
                      "preexistingDamages": {
                        "type": "string"
                      },
                      "evidences": {
                        "type": "array",
                        "items": {
                          "title": "ClaimActivityEvidence",
                          "type": "object",
                          "properties": {
                            "comments": {
                              "type": "string"
                            },
                            "filePath": {
                              "type": "string"
                            }
                          },
                          "additionalProperties": false
                        }
                      }
                    },
                    "required": [
                      "incidentDamages",
                      "evidences"
                    ],
                    "additionalProperties": false
                  },
                  "thirdParties": {
                    "type": "array",
                    "items": {
                      "title": "ThirdParty",
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "phone": {
                          "type": "string"
                        },
                        "insuranceCompany": {
                          "type": "string"
                        },
                        "licencePlate": {
                          "type": "string"
                        },
                        "make": {
                          "type": "string"
                        },
                        "modelLine": {
                          "type": "string"
                        },
                        "year": {
                          "type": "number"
                        },
                        "color": {
                          "type": "string"
                        },
                        "trimlevel": {
                          "type": "string"
                        },
                        "serialNumber": {
                          "type": "string"
                        },
                        "incidentDamages": {
                          "type": "string"
                        },
                        "preexistingDamages": {
                          "type": "string"
                        },
                        "evidences": {
                          "type": "array",
                          "items": {
                            "title": "ClaimActivityEvidence",
                            "type": "object",
                            "properties": {
                              "comments": {
                                "type": "string"
                              },
                              "filePath": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "name",
                        "phone",
                        "evidences"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "incidentDetails",
                  "insuredDamages",
                  "thirdParties"
                ],
                "additionalProperties": false
              },
              {
                "title": "InrData",
                "type": "object",
                "properties": {
                  "repairAuthorizations": {
                    "type": "array",
                    "items": {
                      "title": "RepairAuthorization",
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "garage": {
                          "type": "string",
                          "enum": [
                            "G1",
                            "G2",
                            "G3",
                            "G4",
                            "G5",
                            "G6",
                            "G7"
                          ]
                        },
                        "phone": {
                          "type": "string"
                        },
                        "insuranceCompany": {
                          "type": "string"
                        },
                        "licencePlate": {
                          "type": "string"
                        },
                        "make": {
                          "type": "string"
                        },
                        "modelLine": {
                          "type": "string"
                        },
                        "year": {
                          "type": "number"
                        },
                        "color": {
                          "type": "string"
                        },
                        "trimlevel": {
                          "type": "string"
                        },
                        "serialNumber": {
                          "type": "string"
                        },
                        "incidentDamages": {
                          "type": "string"
                        },
                        "preexistingDamages": {
                          "type": "string"
                        },
                        "towTruckRequired": {
                          "type": "boolean"
                        },
                        "evidences": {
                          "type": "array",
                          "items": {
                            "title": "ClaimActivityEvidence",
                            "type": "object",
                            "properties": {
                              "comments": {
                                "type": "string"
                              },
                              "filePath": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "name",
                        "garage",
                        "phone",
                        "insuranceCompany",
                        "licencePlate",
                        "make",
                        "modelLine",
                        "year",
                        "color",
                        "trimlevel",
                        "serialNumber",
                        "incidentDamages",
                        "towTruckRequired",
                        "evidences"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "medicalPasses": {
                    "type": "array",
                    "items": {
                      "title": "MedicalPass",
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "hospital": {
                          "type": "string",
                          "enum": [
                            "H1",
                            "H2",
                            "H3",
                            "H4"
                          ]
                        },
                        "phone": {
                          "type": "string"
                        },
                        "age": {
                          "type": "number"
                        },
                        "gender": {
                          "type": "string"
                        },
                        "address": {
                          "type": "string"
                        },
                        "reportedInjuries": {
                          "type": "string"
                        },
                        "comments": {
                          "type": "string"
                        },
                        "evidences": {
                          "type": "array",
                          "items": {
                            "title": "ClaimActivityEvidence",
                            "type": "object",
                            "properties": {
                              "comments": {
                                "type": "string"
                              },
                              "filePath": {
                                "type": "string"
                              }
                            },
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "name",
                        "hospital",
                        "phone",
                        "age",
                        "gender",
                        "address",
                        "reportedInjuries",
                        "evidences"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "repairAuthorizations",
                  "medicalPasses"
                ],
                "additionalProperties": false
              },
              {
                "title": "RejData",
                "type": "object",
                "properties": {
                  "comments": {
                    "type": "string"
                  },
                  "evidences": {
                    "type": "array",
                    "items": {
                      "title": "ClaimActivityEvidence",
                      "type": "object",
                      "properties": {
                        "comments": {
                          "type": "string"
                        },
                        "filePath": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "evidences"
                ],
                "additionalProperties": false
              }
            ]
          },
          "comments": {
            "type": "string",
            "minLength": 1
          },
          "privateComments": {
            "type": "string"
          },
          "createdBy": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "foreignKey": {},
          "claim": {
            "$ref": "#/components/schemas/ClaimPartialWithRelations"
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyPartialWithRelations"
          },
          "calendarEvent": {
            "$ref": "#/components/schemas/CalendarEventPartialWithRelations"
          },
          "claimStatus": {
            "$ref": "#/components/schemas/ClaimPartialWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ClaimActivityWithRelations>"
      },
      "ClaimPartialWithRelations": {
        "title": "ClaimPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<ClaimWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "publicId": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "enum": [
              "COL",
              "ROL",
              "FIR",
              "TTH",
              "PTH",
              "NAT",
              "RSA",
              "TWT",
              "GLA",
              "CWT"
            ]
          },
          "address": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "statusId": {
            "type": "number"
          },
          "mainStatusId": {
            "type": "number"
          },
          "contactName": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "requiresTowTruck": {
            "type": "boolean"
          },
          "requiresMedicalAttention": {
            "type": "boolean"
          },
          "agentId": {
            "type": "number"
          },
          "createdById": {
            "type": "number"
          },
          "evidences": {
            "type": "array",
            "items": {
              "title": "ClaimEvidence",
              "type": "object",
              "properties": {
                "comments": {
                  "type": "string"
                },
                "filePath": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyPartialWithRelations"
          },
          "foreignKey": {},
          "status": {
            "$ref": "#/components/schemas/ClaimActivityPartialWithRelations"
          },
          "mainStatus": {
            "$ref": "#/components/schemas/ClaimActivityPartialWithRelations"
          },
          "agent": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "createdBy": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "activities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClaimActivityPartialWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ClaimWithRelations>"
      },
      "ChangeLogPartialWithRelations": {
        "title": "ChangeLogPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<ChangeLogWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "entityName": {
            "type": "string"
          },
          "entityId": {
            "type": "number"
          },
          "action": {
            "type": "string",
            "enum": [
              "CREATE",
              "UPDATE",
              "DELETE"
            ]
          },
          "before": {
            "type": "object"
          },
          "after": {
            "type": "object"
          },
          "changedAt": {
            "type": "string",
            "format": "date-time"
          },
          "changedBy": {
            "type": "number"
          },
          "changedByUser": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "foreignKey": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ChangeLogWithRelations>"
      },
      "InsurancePolicyPartialWithRelations": {
        "title": "InsurancePolicyPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<InsurancePolicyWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "publicId": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "ACCEPTED",
              "ACTIVE",
              "CANCELLED"
            ]
          },
          "paymentStatus": {
            "type": "string",
            "enum": [
              "PAID",
              "UNPAID"
            ]
          },
          "emissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "downPayment": {
            "type": "integer",
            "minimum": 1
          },
          "paymentTerm": {
            "type": "integer",
            "minimum": 0,
            "maximum": 11
          },
          "policyPremium": {
            "type": "integer",
            "minimum": 0
          },
          "monthlyPremium": {
            "type": "integer"
          },
          "driver": {
            "type": "object",
            "title": "Driver",
            "properties": {
              "name": {
                "type": "string"
              },
              "idNumber": {
                "type": "string"
              },
              "licenceNumber": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "renewed": {
            "type": "boolean"
          },
          "renewedId": {
            "type": "number"
          },
          "insured": {
            "type": "object",
            "title": "Insured",
            "properties": {
              "name": {
                "type": "string"
              },
              "streetNumber": {
                "type": "string"
              },
              "internalNumber": {
                "type": "string"
              },
              "intersection": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "neighborhood": {
                "type": "string"
              },
              "zipCode": {
                "type": "string",
                "pattern": "^[0-9]{5}$",
                "minLength": 5,
                "maxLength": 5
              },
              "phoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "emergencyPhoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "email": {
                "type": "string",
                "format": "email"
              }
            },
            "required": [
              "name",
              "phoneNumber"
            ],
            "additionalProperties": false
          },
          "vehicle": {
            "type": "object",
            "title": "Vehicle",
            "properties": {
              "make": {
                "type": "string"
              },
              "modelLine": {
                "type": "string"
              },
              "year": {
                "type": "number"
              },
              "color": {
                "type": "string"
              },
              "licencePlate": {
                "type": "string"
              },
              "trimLevel": {
                "type": "string"
              },
              "engineNumber": {
                "type": "string"
              },
              "vin": {
                "type": "string"
              },
              "seatingCapacity": {
                "type": "string"
              },
              "intendedUse": {
                "type": "string",
                "enum": [
                  "PUBLIC-TRANSPORTATION",
                  "COMMUNITY",
                  "PRIVATE"
                ]
              }
            },
            "required": [
              "make",
              "modelLine",
              "year",
              "trimLevel",
              "seatingCapacity",
              "intendedUse"
            ],
            "additionalProperties": false
          },
          "coverageId": {
            "type": "number"
          },
          "sellerId": {
            "type": "number"
          },
          "collectorId": {
            "type": "number"
          },
          "authorizerId": {
            "type": "number"
          },
          "comments": {
            "type": "string"
          },
          "coverage": {
            "$ref": "#/components/schemas/CoveragePartialWithRelations"
          },
          "foreignKey": {},
          "seller": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "collector": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "authorizer": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyDocumentPartialWithRelations"
            }
          },
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPaymentPartialWithRelations"
            }
          },
          "claims": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClaimPartialWithRelations"
            }
          },
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChangeLogPartialWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<InsurancePolicyWithRelations>"
      },
      "ReconciliationPartialWithRelations": {
        "title": "ReconciliationPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<ReconciliationWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "beneficiaryId": {
            "type": "number"
          },
          "totalBankTransfers": {
            "type": "number",
            "format": "float"
          },
          "totalCash": {
            "type": "number",
            "format": "float"
          },
          "bankTransfersComissions": {
            "type": "number",
            "format": "float"
          },
          "totalCard": {
            "type": "number",
            "format": "float"
          },
          "cardComission": {
            "type": "number",
            "format": "float"
          },
          "cashComission": {
            "type": "number",
            "format": "float"
          },
          "amountToDeliver": {
            "type": "number",
            "format": "float"
          },
          "totalInitialPayments": {
            "type": "number",
            "format": "float"
          },
          "totalMonthlyPayments": {
            "type": "number",
            "format": "float"
          },
          "status": {
            "type": "string",
            "enum": [
              "OPEN",
              "CLOSED"
            ]
          },
          "beneficiary": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "foreignKey": {},
          "payments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyPaymentPartialWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ReconciliationWithRelations>"
      },
      "PolicyPaymentPartialWithRelations": {
        "title": "PolicyPaymentPartialWithRelations",
        "type": "object",
        "description": "(tsType: Partial<PolicyPaymentWithRelations>, schemaOptions: { partial: true, includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "publicId": {
            "type": "string"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "collectorId": {
            "type": "number"
          },
          "reconciliationId": {
            "type": "object"
          },
          "amount": {
            "type": "number",
            "minimum": 1
          },
          "method": {
            "type": "string",
            "enum": [
              "CASH",
              "BANK_TRANSFER",
              "CARD"
            ]
          },
          "concept": {
            "type": "string",
            "enum": [
              "DOWN_PAYMENT",
              "MONTHLY_PREMIUM"
            ]
          },
          "reference": {
            "type": "string"
          },
          "fileURL": {
            "type": "string",
            "minLength": 1
          },
          "deadline": {
            "type": "string",
            "format": "date-time"
          },
          "zeroDedAmount": {
            "type": "number",
            "minimum": 0
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "SENT",
              "VALIDATED"
            ]
          },
          "comission": {
            "type": "number",
            "format": "float"
          },
          "comments": {
            "type": "string",
            "minLength": 1
          },
          "comissionStatus": {
            "type": "string",
            "enum": [
              "PENDING",
              "PAYED"
            ]
          },
          "authorizerId": {
            "type": "number"
          },
          "insurancePolicy": {
            "$ref": "#/components/schemas/InsurancePolicyPartialWithRelations"
          },
          "foreignKey": {},
          "collector": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          },
          "reconciliation": {
            "$ref": "#/components/schemas/ReconciliationPartialWithRelations"
          },
          "authorizer": {
            "$ref": "#/components/schemas/UserPartialWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PolicyPaymentWithRelations>"
      },
      "PolicyPayment": {
        "title": "PolicyPayment",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "publicId": {
            "type": "string"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "collectorId": {
            "type": "number"
          },
          "reconciliationId": {
            "type": "object"
          },
          "amount": {
            "type": "number",
            "minimum": 1
          },
          "method": {
            "type": "string",
            "enum": [
              "CASH",
              "BANK_TRANSFER",
              "CARD"
            ]
          },
          "concept": {
            "type": "string",
            "enum": [
              "DOWN_PAYMENT",
              "MONTHLY_PREMIUM"
            ]
          },
          "reference": {
            "type": "string"
          },
          "fileURL": {
            "type": "string",
            "minLength": 1
          },
          "deadline": {
            "type": "string",
            "format": "date-time"
          },
          "zeroDedAmount": {
            "type": "number",
            "minimum": 0
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "SENT",
              "VALIDATED"
            ]
          },
          "comission": {
            "type": "number",
            "format": "float"
          },
          "comments": {
            "type": "string",
            "minLength": 1
          },
          "comissionStatus": {
            "type": "string",
            "enum": [
              "PENDING",
              "PAYED"
            ]
          },
          "authorizerId": {
            "type": "number"
          }
        },
        "required": [
          "insurancePolicyId",
          "collectorId",
          "amount",
          "deadline",
          "zeroDedAmount",
          "status"
        ],
        "additionalProperties": false
      },
      "InsurancePolicy": {
        "title": "InsurancePolicy",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "publicId": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "ACCEPTED",
              "ACTIVE",
              "CANCELLED"
            ]
          },
          "paymentStatus": {
            "type": "string",
            "enum": [
              "PAID",
              "UNPAID"
            ]
          },
          "emissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "downPayment": {
            "type": "integer",
            "minimum": 1
          },
          "paymentTerm": {
            "type": "integer",
            "minimum": 0,
            "maximum": 11
          },
          "policyPremium": {
            "type": "integer",
            "minimum": 0
          },
          "monthlyPremium": {
            "type": "integer"
          },
          "driver": {
            "type": "object",
            "title": "Driver",
            "properties": {
              "name": {
                "type": "string"
              },
              "idNumber": {
                "type": "string"
              },
              "licenceNumber": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "renewed": {
            "type": "boolean"
          },
          "renewedId": {
            "type": "number"
          },
          "insured": {
            "type": "object",
            "title": "Insured",
            "properties": {
              "name": {
                "type": "string"
              },
              "streetNumber": {
                "type": "string"
              },
              "internalNumber": {
                "type": "string"
              },
              "intersection": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "neighborhood": {
                "type": "string"
              },
              "zipCode": {
                "type": "string",
                "pattern": "^[0-9]{5}$",
                "minLength": 5,
                "maxLength": 5
              },
              "phoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "emergencyPhoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "email": {
                "type": "string",
                "format": "email"
              }
            },
            "required": [
              "name",
              "phoneNumber"
            ],
            "additionalProperties": false
          },
          "vehicle": {
            "type": "object",
            "title": "Vehicle",
            "properties": {
              "make": {
                "type": "string"
              },
              "modelLine": {
                "type": "string"
              },
              "year": {
                "type": "number"
              },
              "color": {
                "type": "string"
              },
              "licencePlate": {
                "type": "string"
              },
              "trimLevel": {
                "type": "string"
              },
              "engineNumber": {
                "type": "string"
              },
              "vin": {
                "type": "string"
              },
              "seatingCapacity": {
                "type": "string"
              },
              "intendedUse": {
                "type": "string",
                "enum": [
                  "PUBLIC-TRANSPORTATION",
                  "COMMUNITY",
                  "PRIVATE"
                ]
              }
            },
            "required": [
              "make",
              "modelLine",
              "year",
              "trimLevel",
              "seatingCapacity",
              "intendedUse"
            ],
            "additionalProperties": false
          },
          "coverageId": {
            "type": "number"
          },
          "sellerId": {
            "type": "number"
          },
          "collectorId": {
            "type": "number"
          },
          "authorizerId": {
            "type": "number"
          },
          "comments": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "paymentStatus",
          "emissionDate",
          "expirationDate",
          "downPayment",
          "paymentTerm",
          "policyPremium",
          "monthlyPremium",
          "driver",
          "insured",
          "vehicle"
        ],
        "additionalProperties": false
      },
      "NewInsurancePolicy": {
        "title": "NewInsurancePolicy",
        "type": "object",
        "description": "(tsType: Omit<InsurancePolicy, 'id' | 'paymentStatus' | 'publicId'>, schemaOptions: { title: 'NewInsurancePolicy', exclude: [ 'id', 'paymentStatus', 'publicId' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "ACCEPTED",
              "ACTIVE",
              "CANCELLED"
            ]
          },
          "emissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "downPayment": {
            "type": "integer",
            "minimum": 1
          },
          "paymentTerm": {
            "type": "integer",
            "minimum": 0,
            "maximum": 11
          },
          "policyPremium": {
            "type": "integer",
            "minimum": 0
          },
          "monthlyPremium": {
            "type": "integer"
          },
          "driver": {
            "type": "object",
            "title": "Driver",
            "properties": {
              "name": {
                "type": "string"
              },
              "idNumber": {
                "type": "string"
              },
              "licenceNumber": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "renewed": {
            "type": "boolean"
          },
          "renewedId": {
            "type": "number"
          },
          "insured": {
            "type": "object",
            "title": "Insured",
            "properties": {
              "name": {
                "type": "string"
              },
              "streetNumber": {
                "type": "string"
              },
              "internalNumber": {
                "type": "string"
              },
              "intersection": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "neighborhood": {
                "type": "string"
              },
              "zipCode": {
                "type": "string",
                "pattern": "^[0-9]{5}$",
                "minLength": 5,
                "maxLength": 5
              },
              "phoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "emergencyPhoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "email": {
                "type": "string",
                "format": "email"
              }
            },
            "required": [
              "name",
              "phoneNumber"
            ],
            "additionalProperties": false
          },
          "vehicle": {
            "type": "object",
            "title": "Vehicle",
            "properties": {
              "make": {
                "type": "string"
              },
              "modelLine": {
                "type": "string"
              },
              "year": {
                "type": "number"
              },
              "color": {
                "type": "string"
              },
              "licencePlate": {
                "type": "string"
              },
              "trimLevel": {
                "type": "string"
              },
              "engineNumber": {
                "type": "string"
              },
              "vin": {
                "type": "string"
              },
              "seatingCapacity": {
                "type": "string"
              },
              "intendedUse": {
                "type": "string",
                "enum": [
                  "PUBLIC-TRANSPORTATION",
                  "COMMUNITY",
                  "PRIVATE"
                ]
              }
            },
            "required": [
              "make",
              "modelLine",
              "year",
              "trimLevel",
              "seatingCapacity",
              "intendedUse"
            ],
            "additionalProperties": false
          },
          "coverageId": {
            "type": "number"
          },
          "sellerId": {
            "type": "number"
          },
          "collectorId": {
            "type": "number"
          },
          "authorizerId": {
            "type": "number"
          },
          "comments": {
            "type": "string"
          }
        },
        "required": [
          "status",
          "emissionDate",
          "expirationDate",
          "downPayment",
          "paymentTerm",
          "policyPremium",
          "monthlyPremium",
          "driver",
          "insured",
          "vehicle"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<InsurancePolicy, 'id' | 'paymentStatus' | 'publicId'>"
      },
      "InsurancePolicyPartialExcluding_id-publicId_": {
        "title": "InsurancePolicyPartialExcluding_id-publicId_",
        "type": "object",
        "description": "(tsType: Omit<Partial<InsurancePolicy>, 'id' | 'publicId'>, schemaOptions: { partial: true, exclude: [ 'id', 'publicId' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "DRAFT",
              "ACCEPTED",
              "ACTIVE",
              "CANCELLED"
            ]
          },
          "paymentStatus": {
            "type": "string",
            "enum": [
              "PAID",
              "UNPAID"
            ]
          },
          "emissionDate": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          },
          "downPayment": {
            "type": "integer",
            "minimum": 1
          },
          "paymentTerm": {
            "type": "integer",
            "minimum": 0,
            "maximum": 11
          },
          "policyPremium": {
            "type": "integer",
            "minimum": 0
          },
          "monthlyPremium": {
            "type": "integer"
          },
          "driver": {
            "type": "object",
            "title": "Driver",
            "properties": {
              "name": {
                "type": "string"
              },
              "idNumber": {
                "type": "string"
              },
              "licenceNumber": {
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "additionalProperties": false
          },
          "renewed": {
            "type": "boolean"
          },
          "renewedId": {
            "type": "number"
          },
          "insured": {
            "type": "object",
            "title": "Insured",
            "properties": {
              "name": {
                "type": "string"
              },
              "streetNumber": {
                "type": "string"
              },
              "internalNumber": {
                "type": "string"
              },
              "intersection": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "neighborhood": {
                "type": "string"
              },
              "zipCode": {
                "type": "string",
                "pattern": "^[0-9]{5}$",
                "minLength": 5,
                "maxLength": 5
              },
              "phoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "emergencyPhoneNumber": {
                "type": "string",
                "pattern": "^[0-9]{10}$",
                "minLength": 10,
                "maxLength": 10
              },
              "email": {
                "type": "string",
                "format": "email"
              }
            },
            "required": [
              "name",
              "phoneNumber"
            ],
            "additionalProperties": false
          },
          "vehicle": {
            "type": "object",
            "title": "Vehicle",
            "properties": {
              "make": {
                "type": "string"
              },
              "modelLine": {
                "type": "string"
              },
              "year": {
                "type": "number"
              },
              "color": {
                "type": "string"
              },
              "licencePlate": {
                "type": "string"
              },
              "trimLevel": {
                "type": "string"
              },
              "engineNumber": {
                "type": "string"
              },
              "vin": {
                "type": "string"
              },
              "seatingCapacity": {
                "type": "string"
              },
              "intendedUse": {
                "type": "string",
                "enum": [
                  "PUBLIC-TRANSPORTATION",
                  "COMMUNITY",
                  "PRIVATE"
                ]
              }
            },
            "required": [
              "make",
              "modelLine",
              "year",
              "trimLevel",
              "seatingCapacity",
              "intendedUse"
            ],
            "additionalProperties": false
          },
          "coverageId": {
            "type": "number"
          },
          "sellerId": {
            "type": "number"
          },
          "collectorId": {
            "type": "number"
          },
          "authorizerId": {
            "type": "number"
          },
          "comments": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<InsurancePolicy>, 'id' | 'publicId'>"
      },
      "DocumentRequirementWithRelations": {
        "title": "DocumentRequirementWithRelations",
        "type": "object",
        "description": "(tsType: DocumentRequirementWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "status": {
            "type": "string"
          },
          "required": {
            "type": "boolean"
          },
          "type": {
            "type": "string"
          },
          "fileURL": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "comments": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "DocumentRequirementWithRelations"
      },
      "UpdateStatusPolicyDocument": {
        "title": "UpdateStatusPolicyDocument",
        "type": "object",
        "description": "(tsType: Omit<Partial<PolicyDocument>, 'id'>, schemaOptions: { title: 'UpdateStatusPolicyDocument', partial: true, exclude: [ 'id' ] })",
        "properties": {
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deleted": {
            "type": "boolean"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "documentTypeId": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "SENT",
              "VALIDATED",
              "REJECTED"
            ]
          },
          "fileURL": {
            "type": "string",
            "minLength": 1
          },
          "comments": {
            "type": "string",
            "minLength": 1
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<PolicyDocument>, 'id'>"
      },
      "UpdateInsurancePolicyPayment": {
        "title": "UpdateInsurancePolicyPayment",
        "type": "object",
        "description": "(tsType: Omit<Partial<PolicyPayment>, 'id' | 'insurancePolicyId' | 'reconciliationId' | 'amount' | 'concept'>, schemaOptions: { title: 'UpdateInsurancePolicyPayment', partial: true, exclude: [ 'id', 'insurancePolicyId', 'reconciliationId', 'amount', 'concept' ] })",
        "properties": {
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "publicId": {
            "type": "string"
          },
          "collectorId": {
            "type": "number"
          },
          "method": {
            "type": "string",
            "enum": [
              "CASH",
              "BANK_TRANSFER",
              "CARD"
            ]
          },
          "reference": {
            "type": "string"
          },
          "fileURL": {
            "type": "string",
            "minLength": 1
          },
          "deadline": {
            "type": "string",
            "format": "date-time"
          },
          "zeroDedAmount": {
            "type": "number",
            "minimum": 0
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "SENT",
              "VALIDATED"
            ]
          },
          "comission": {
            "type": "number",
            "format": "float"
          },
          "comments": {
            "type": "string",
            "minLength": 1
          },
          "comissionStatus": {
            "type": "string",
            "enum": [
              "PENDING",
              "PAYED"
            ]
          },
          "authorizerId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<PolicyPayment>, 'id' | 'insurancePolicyId' | 'reconciliationId' | 'amount' | 'concept'>"
      },
      "DocumentType": {
        "title": "DocumentType",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "enum": [
              "VEHICLE",
              "CONTRACTOR"
            ]
          },
          "mandatory": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "description",
          "type",
          "mandatory"
        ],
        "additionalProperties": false
      },
      "NewDocumentType": {
        "title": "NewDocumentType",
        "type": "object",
        "description": "(tsType: Omit<DocumentType, 'id'>, schemaOptions: { title: 'NewDocumentType', exclude: [ 'id' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "enum": [
              "VEHICLE",
              "CONTRACTOR"
            ]
          },
          "mandatory": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "description",
          "type",
          "mandatory"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<DocumentType, 'id'>"
      },
      "DocumentTypePartial": {
        "title": "DocumentTypePartial",
        "type": "object",
        "description": "(tsType: Partial<DocumentType>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "description": {
            "type": "string",
            "minLength": 1
          },
          "type": {
            "type": "string",
            "enum": [
              "VEHICLE",
              "CONTRACTOR"
            ]
          },
          "mandatory": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<DocumentType>"
      },
      "Coverage": {
        "title": "Coverage",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "use": {
            "enum": [
              "NO_DED",
              "NO_DED_GOLD",
              "WITH_DED",
              "MOTO",
              "PRIVATE"
            ]
          },
          "propertyDamage": {
            "type": "string"
          },
          "propertyDamageDed": {
            "type": "string"
          },
          "thirdPartyLiability": {
            "type": "string"
          },
          "thirdPartyLiabilityDed": {
            "type": "string"
          },
          "totalTheft": {
            "type": "string"
          },
          "totalTheftDed": {
            "type": "string"
          },
          "occupantsMedicalExpenses": {
            "type": "string"
          },
          "occupantsMedicalExpensesDed": {
            "type": "string"
          },
          "legalAssistance": {
            "type": "string"
          },
          "legalAssistanceDed": {
            "type": "string"
          },
          "glass": {
            "type": "string"
          },
          "glassDed": {
            "type": "string"
          },
          "roadsideAssistance": {
            "type": "string"
          },
          "roadsideAssistanceDed": {
            "type": "string"
          },
          "driverDeath": {
            "type": "string"
          },
          "driverDeathDed": {
            "type": "string"
          },
          "funeralExpenseSupport": {
            "type": "string"
          },
          "funeralExpenseSupportDed": {
            "type": "string"
          },
          "rsaLimit": {
            "type": "number"
          },
          "twtLimit": {
            "type": "number"
          },
          "zeroDed": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "use",
          "rsaLimit"
        ],
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "required": [
                "propertyDamage"
              ]
            },
            "then": {
              "required": [
                "propertyDamageDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "thirdPartyLiability"
              ]
            },
            "then": {
              "required": [
                "thirdPartyLiabilityDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "totalTheft"
              ]
            },
            "then": {
              "required": [
                "totalTheftDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "occupantsMedicalExpenses"
              ]
            },
            "then": {
              "required": [
                "occupantsMedicalExpensesDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "legalAssistance"
              ]
            },
            "then": {
              "required": [
                "legalAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "glass"
              ]
            },
            "then": {
              "required": [
                "glassDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "roadsideAssistance"
              ]
            },
            "then": {
              "required": [
                "roadsideAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "driverDeath"
              ]
            },
            "then": {
              "required": [
                "driverDeathDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "funeralExpenseSupport"
              ]
            },
            "then": {
              "required": [
                "funeralExpenseSupportDed"
              ]
            }
          }
        ]
      },
      "NewCoverage": {
        "title": "NewCoverage",
        "type": "object",
        "description": "(tsType: Omit<Coverage, 'id'>, schemaOptions: { title: 'NewCoverage', exclude: [ 'id' ] })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "use": {
            "enum": [
              "NO_DED",
              "NO_DED_GOLD",
              "WITH_DED",
              "MOTO",
              "PRIVATE"
            ]
          },
          "propertyDamage": {
            "type": "string"
          },
          "propertyDamageDed": {
            "type": "string"
          },
          "thirdPartyLiability": {
            "type": "string"
          },
          "thirdPartyLiabilityDed": {
            "type": "string"
          },
          "totalTheft": {
            "type": "string"
          },
          "totalTheftDed": {
            "type": "string"
          },
          "occupantsMedicalExpenses": {
            "type": "string"
          },
          "occupantsMedicalExpensesDed": {
            "type": "string"
          },
          "legalAssistance": {
            "type": "string"
          },
          "legalAssistanceDed": {
            "type": "string"
          },
          "glass": {
            "type": "string"
          },
          "glassDed": {
            "type": "string"
          },
          "roadsideAssistance": {
            "type": "string"
          },
          "roadsideAssistanceDed": {
            "type": "string"
          },
          "driverDeath": {
            "type": "string"
          },
          "driverDeathDed": {
            "type": "string"
          },
          "funeralExpenseSupport": {
            "type": "string"
          },
          "funeralExpenseSupportDed": {
            "type": "string"
          },
          "rsaLimit": {
            "type": "number"
          },
          "twtLimit": {
            "type": "number"
          },
          "zeroDed": {
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "use",
          "rsaLimit"
        ],
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "required": [
                "propertyDamage"
              ]
            },
            "then": {
              "required": [
                "propertyDamageDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "thirdPartyLiability"
              ]
            },
            "then": {
              "required": [
                "thirdPartyLiabilityDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "totalTheft"
              ]
            },
            "then": {
              "required": [
                "totalTheftDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "occupantsMedicalExpenses"
              ]
            },
            "then": {
              "required": [
                "occupantsMedicalExpensesDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "legalAssistance"
              ]
            },
            "then": {
              "required": [
                "legalAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "glass"
              ]
            },
            "then": {
              "required": [
                "glassDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "roadsideAssistance"
              ]
            },
            "then": {
              "required": [
                "roadsideAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "driverDeath"
              ]
            },
            "then": {
              "required": [
                "driverDeathDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "funeralExpenseSupport"
              ]
            },
            "then": {
              "required": [
                "funeralExpenseSupportDed"
              ]
            }
          }
        ],
        "x-typescript-type": "Omit<Coverage, 'id'>"
      },
      "CoveragePartial": {
        "title": "CoveragePartial",
        "type": "object",
        "description": "(tsType: Partial<Coverage>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "minLength": 1
          },
          "use": {
            "enum": [
              "NO_DED",
              "NO_DED_GOLD",
              "WITH_DED",
              "MOTO",
              "PRIVATE"
            ]
          },
          "propertyDamage": {
            "type": "string"
          },
          "propertyDamageDed": {
            "type": "string"
          },
          "thirdPartyLiability": {
            "type": "string"
          },
          "thirdPartyLiabilityDed": {
            "type": "string"
          },
          "totalTheft": {
            "type": "string"
          },
          "totalTheftDed": {
            "type": "string"
          },
          "occupantsMedicalExpenses": {
            "type": "string"
          },
          "occupantsMedicalExpensesDed": {
            "type": "string"
          },
          "legalAssistance": {
            "type": "string"
          },
          "legalAssistanceDed": {
            "type": "string"
          },
          "glass": {
            "type": "string"
          },
          "glassDed": {
            "type": "string"
          },
          "roadsideAssistance": {
            "type": "string"
          },
          "roadsideAssistanceDed": {
            "type": "string"
          },
          "driverDeath": {
            "type": "string"
          },
          "driverDeathDed": {
            "type": "string"
          },
          "funeralExpenseSupport": {
            "type": "string"
          },
          "funeralExpenseSupportDed": {
            "type": "string"
          },
          "rsaLimit": {
            "type": "number"
          },
          "twtLimit": {
            "type": "number"
          },
          "zeroDed": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "allOf": [
          {
            "if": {
              "required": [
                "propertyDamage"
              ]
            },
            "then": {
              "required": [
                "propertyDamageDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "thirdPartyLiability"
              ]
            },
            "then": {
              "required": [
                "thirdPartyLiabilityDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "totalTheft"
              ]
            },
            "then": {
              "required": [
                "totalTheftDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "occupantsMedicalExpenses"
              ]
            },
            "then": {
              "required": [
                "occupantsMedicalExpensesDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "legalAssistance"
              ]
            },
            "then": {
              "required": [
                "legalAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "glass"
              ]
            },
            "then": {
              "required": [
                "glassDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "roadsideAssistance"
              ]
            },
            "then": {
              "required": [
                "roadsideAssistanceDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "driverDeath"
              ]
            },
            "then": {
              "required": [
                "driverDeathDed"
              ]
            }
          },
          {
            "if": {
              "required": [
                "funeralExpenseSupport"
              ]
            },
            "then": {
              "required": [
                "funeralExpenseSupportDed"
              ]
            }
          }
        ],
        "x-typescript-type": "Partial<Coverage>"
      },
      "Claim": {
        "title": "Claim",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "publicId": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "enum": [
              "COL",
              "ROL",
              "FIR",
              "TTH",
              "PTH",
              "NAT",
              "RSA",
              "TWT",
              "GLA",
              "CWT"
            ]
          },
          "address": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "statusId": {
            "type": "number"
          },
          "mainStatusId": {
            "type": "number"
          },
          "contactName": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "requiresTowTruck": {
            "type": "boolean"
          },
          "requiresMedicalAttention": {
            "type": "boolean"
          },
          "agentId": {
            "type": "number"
          },
          "createdById": {
            "type": "number"
          },
          "evidences": {
            "type": "array",
            "items": {
              "title": "ClaimEvidence",
              "type": "object",
              "properties": {
                "comments": {
                  "type": "string"
                },
                "filePath": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "required": [
          "publicId",
          "when",
          "insurancePolicyId",
          "type",
          "address",
          "description",
          "contactName",
          "contactPhone",
          "requiresTowTruck",
          "requiresMedicalAttention"
        ],
        "additionalProperties": false
      },
      "NewClaim": {
        "title": "NewClaim",
        "type": "object",
        "description": "(tsType: Omit<Claim, 'id' | 'createdAt' | 'publicId' | 'createdById'>, schemaOptions: { title: 'NewClaim', exclude: [ 'id', 'createdAt', 'publicId', 'createdById' ] })",
        "properties": {
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "type": {
            "type": "string",
            "enum": [
              "COL",
              "ROL",
              "FIR",
              "TTH",
              "PTH",
              "NAT",
              "RSA",
              "TWT",
              "GLA",
              "CWT"
            ]
          },
          "address": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "statusId": {
            "type": "number"
          },
          "mainStatusId": {
            "type": "number"
          },
          "contactName": {
            "type": "string"
          },
          "contactPhone": {
            "type": "string"
          },
          "requiresTowTruck": {
            "type": "boolean"
          },
          "requiresMedicalAttention": {
            "type": "boolean"
          },
          "agentId": {
            "type": "number"
          },
          "evidences": {
            "type": "array",
            "items": {
              "title": "ClaimEvidence",
              "type": "object",
              "properties": {
                "comments": {
                  "type": "string"
                },
                "filePath": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "required": [
          "when",
          "insurancePolicyId",
          "type",
          "address",
          "description",
          "contactName",
          "contactPhone",
          "requiresTowTruck",
          "requiresMedicalAttention"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Claim, 'id' | 'createdAt' | 'publicId' | 'createdById'>"
      },
      "ClaimFilter": {
        "title": "ClaimFilter",
        "type": "object",
        "properties": {
          "query": {
            "type": "string"
          },
          "from": {
            "type": "string",
            "format": "date-time"
          },
          "to": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "from",
          "to"
        ],
        "additionalProperties": false
      },
      "City": {
        "title": "City",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "suffix": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "stateId"
        ],
        "additionalProperties": false
      },
      "NewCity": {
        "title": "NewCity",
        "type": "object",
        "description": "(tsType: Omit<City, 'id'>, schemaOptions: { title: 'NewCity', exclude: [ 'id' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "suffix": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "stateId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<City, 'id'>"
      },
      "CityPartial": {
        "title": "CityPartial",
        "type": "object",
        "description": "(tsType: Partial<City>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "deleted": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "suffix": {
            "type": "string"
          },
          "stateId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<City>"
      },
      "CalendarEvent": {
        "title": "CalendarEvent",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "publicId": {
            "type": "string"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "claimId": {
            "type": "number"
          },
          "claimActivityId": {
            "type": "number"
          },
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "COMPLETED",
              "CANCELLED"
            ]
          },
          "location": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "CALL",
              "APPOINTMENT"
            ]
          },
          "comments": {
            "type": "string"
          },
          "contact": {
            "type": "object",
            "title": "CalendarEventContact",
            "properties": {
              "name": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "email": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "phone"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "publicId",
          "insurancePolicyId",
          "claimId",
          "claimActivityId",
          "status",
          "type",
          "comments",
          "contact"
        ],
        "additionalProperties": false
      },
      "NewCalendarEvent": {
        "title": "NewCalendarEvent",
        "type": "object",
        "description": "(tsType: Omit<CalendarEvent, 'id' | 'publicId'>, schemaOptions: { title: 'NewCalendarEvent', exclude: [ 'id', 'publicId' ] })",
        "properties": {
          "insurancePolicyId": {
            "type": "number"
          },
          "claimId": {
            "type": "number"
          },
          "claimActivityId": {
            "type": "number"
          },
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "COMPLETED",
              "CANCELLED"
            ]
          },
          "location": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "CALL",
              "APPOINTMENT"
            ]
          },
          "comments": {
            "type": "string"
          },
          "contact": {
            "type": "object",
            "title": "CalendarEventContact",
            "properties": {
              "name": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "email": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "phone"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "insurancePolicyId",
          "claimId",
          "claimActivityId",
          "status",
          "type",
          "comments",
          "contact"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<CalendarEvent, 'id' | 'publicId'>"
      },
      "CalendarEventPartialExcluding_id-publicId-insurancePolicyId-claimId-claimActivityId-type_": {
        "title": "CalendarEventPartialExcluding_id-publicId-insurancePolicyId-claimId-claimActivityId-type_",
        "type": "object",
        "description": "(tsType: Omit<Partial<CalendarEvent>, 'id' | 'publicId' | 'insurancePolicyId' | 'claimId' | 'claimActivityId' | 'type'>, schemaOptions: { partial: true, exclude: [ 'id', 'publicId', 'insurancePolicyId', 'claimId', 'claimActivityId', 'type' ] })",
        "properties": {
          "when": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "enum": [
              "PENDING",
              "COMPLETED",
              "CANCELLED"
            ]
          },
          "location": {
            "type": "string"
          },
          "comments": {
            "type": "string"
          },
          "contact": {
            "type": "object",
            "title": "CalendarEventContact",
            "properties": {
              "name": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              },
              "email": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "phone"
            ],
            "additionalProperties": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<CalendarEvent>, 'id' | 'publicId' | 'insurancePolicyId' | 'claimId' | 'claimActivityId' | 'type'>"
      },
      "LoginResponse": {
        "title": "LoginResponse",
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string"
          },
          "tokenType": {
            "type": "string"
          },
          "expiresIn": {
            "type": "number"
          },
          "user": {
            "$ref": "#/components/schemas/User"
          },
          "refreshToken": {
            "type": "string"
          }
        },
        "required": [
          "accessToken",
          "tokenType",
          "expiresIn",
          "refreshToken"
        ],
        "additionalProperties": false
      },
      "Login": {
        "title": "Login",
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/User"
          }
        },
        "required": [
          "username",
          "password"
        ],
        "additionalProperties": false
      },
      "UserExcluding_deleted-status-username-email-phone-password-roles-lastLogin-fcmToken_WithRelations": {
        "title": "UserExcluding_deleted-status-username-email-phone-password-roles-lastLogin-fcmToken_WithRelations",
        "type": "object",
        "description": "(tsType: Omit<UserWithRelations, 'deleted' | 'status' | 'username' | 'email' | 'phone' | 'password' | 'roles' | 'lastLogin' | 'fcmToken'>, schemaOptions: {\n  includeRelations: true,\n  exclude: [\n    'deleted',  'status',\n    'username', 'email',\n    'phone',    'password',\n    'roles',    'lastLogin',\n    'fcmToken'\n  ]\n})",
        "properties": {
          "id": {
            "type": "number"
          },
          "name": {
            "type": "string",
            "maxLength": 128,
            "minLength": 1
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<UserWithRelations, 'deleted' | 'status' | 'username' | 'email' | 'phone' | 'password' | 'roles' | 'lastLogin' | 'fcmToken'>"
      },
      "Download": {
        "title": "Download",
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "additionalProperties": false
      },
      "AppLoginResponse": {
        "title": "AppLoginResponse",
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string"
          },
          "tokenType": {
            "type": "string"
          },
          "user": {
            "$ref": "#/components/schemas/User"
          }
        },
        "required": [
          "accessToken",
          "tokenType"
        ],
        "additionalProperties": false
      },
      "CalendarEvent.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": "CalendarEvent.ScopeFilter"
      },
      "CalendarEvent.IncludeFilter.Items": {
        "title": "CalendarEvent.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "insurancePolicy",
              "claim",
              "claimActivity"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/CalendarEvent.ScopeFilter"
          }
        }
      },
      "CalendarEvent.Filter": {
        "type": "object",
        "title": "CalendarEvent.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": "CalendarEvent.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "publicId": {
                    "type": "boolean"
                  },
                  "insurancePolicyId": {
                    "type": "boolean"
                  },
                  "claimId": {
                    "type": "boolean"
                  },
                  "claimActivityId": {
                    "type": "boolean"
                  },
                  "when": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  },
                  "comments": {
                    "type": "boolean"
                  },
                  "contact": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "publicId",
                    "insurancePolicyId",
                    "claimId",
                    "claimActivityId",
                    "when",
                    "status",
                    "location",
                    "type",
                    "comments",
                    "contact"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "CalendarEvent.Fields"
          },
          "include": {
            "title": "CalendarEvent.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CalendarEvent.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CalendarEvent>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "City.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": "City.ScopeFilter"
      },
      "City.IncludeFilter.Items": {
        "title": "City.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "state"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/City.ScopeFilter"
          }
        }
      },
      "City.Filter": {
        "type": "object",
        "title": "City.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"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "suffix": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "name",
                    "suffix",
                    "stateId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "City.Fields"
          },
          "include": {
            "title": "City.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/City.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<City>"
      },
      "City.Filter1": {
        "type": "object",
        "title": "City.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": "City.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "suffix": {
                    "type": "boolean"
                  },
                  "stateId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "name",
                    "suffix",
                    "stateId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "City.Fields"
          },
          "include": {
            "title": "City.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/City.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<City>"
      },
      "ClaimActivity": {
        "title": "ClaimActivity",
        "type": "object",
        "properties": {
          "claimId": {
            "type": "number"
          },
          "insurancePolicyId": {
            "type": "number"
          },
          "comments": {
            "type": "string"
          },
          "privateComments": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "IRE",
              "INP",
              "INR",
              "REJ",
              "CLO",
              "CLI",
              "UPD"
            ]
          },
          "data": {
            "type": "object"
          }
        },
        "required": [
          "publicId",
          "claimId",
          "insurancePolicyId"
        ],
        "additionalProperties": false
      },
      "Claim.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": "Claim.ScopeFilter"
      },
      "Claim.IncludeFilter.Items": {
        "title": "Claim.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "insurancePolicy",
              "status",
              "mainStatus",
              "agent",
              "createdBy",
              "activities"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Claim.ScopeFilter"
          }
        }
      },
      "Claim.Filter": {
        "type": "object",
        "title": "Claim.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"
                  },
                  "publicId": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "when": {
                    "type": "boolean"
                  },
                  "insurancePolicyId": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "mainStatusId": {
                    "type": "boolean"
                  },
                  "contactName": {
                    "type": "boolean"
                  },
                  "contactPhone": {
                    "type": "boolean"
                  },
                  "requiresTowTruck": {
                    "type": "boolean"
                  },
                  "requiresMedicalAttention": {
                    "type": "boolean"
                  },
                  "agentId": {
                    "type": "boolean"
                  },
                  "createdById": {
                    "type": "boolean"
                  },
                  "evidences": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "publicId",
                    "createdAt",
                    "when",
                    "insurancePolicyId",
                    "type",
                    "address",
                    "location",
                    "description",
                    "statusId",
                    "mainStatusId",
                    "contactName",
                    "contactPhone",
                    "requiresTowTruck",
                    "requiresMedicalAttention",
                    "agentId",
                    "createdById",
                    "evidences"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Claim.Fields"
          },
          "include": {
            "title": "Claim.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Claim.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Claim>"
      },
      "Claim.Filter1": {
        "type": "object",
        "title": "Claim.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": "Claim.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "publicId": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "when": {
                    "type": "boolean"
                  },
                  "insurancePolicyId": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "location": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "mainStatusId": {
                    "type": "boolean"
                  },
                  "contactName": {
                    "type": "boolean"
                  },
                  "contactPhone": {
                    "type": "boolean"
                  },
                  "requiresTowTruck": {
                    "type": "boolean"
                  },
                  "requiresMedicalAttention": {
                    "type": "boolean"
                  },
                  "agentId": {
                    "type": "boolean"
                  },
                  "createdById": {
                    "type": "boolean"
                  },
                  "evidences": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "publicId",
                    "createdAt",
                    "when",
                    "insurancePolicyId",
                    "type",
                    "address",
                    "location",
                    "description",
                    "statusId",
                    "mainStatusId",
                    "contactName",
                    "contactPhone",
                    "requiresTowTruck",
                    "requiresMedicalAttention",
                    "agentId",
                    "createdById",
                    "evidences"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Claim.Fields"
          },
          "include": {
            "title": "Claim.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Claim.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Claim>"
      },
      "Coverage.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": "Coverage.ScopeFilter"
      },
      "Coverage.IncludeFilter.Items": {
        "title": "Coverage.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "insurancePolicies"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Coverage.ScopeFilter"
          }
        }
      },
      "Coverage.Filter": {
        "type": "object",
        "title": "Coverage.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"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "use": {
                    "type": "boolean"
                  },
                  "propertyDamage": {
                    "type": "boolean"
                  },
                  "propertyDamageDed": {
                    "type": "boolean"
                  },
                  "thirdPartyLiability": {
                    "type": "boolean"
                  },
                  "thirdPartyLiabilityDed": {
                    "type": "boolean"
                  },
                  "totalTheft": {
                    "type": "boolean"
                  },
                  "totalTheftDed": {
                    "type": "boolean"
                  },
                  "occupantsMedicalExpenses": {
                    "type": "boolean"
                  },
                  "occupantsMedicalExpensesDed": {
                    "type": "boolean"
                  },
                  "legalAssistance": {
                    "type": "boolean"
                  },
                  "legalAssistanceDed": {
                    "type": "boolean"
                  },
                  "glass": {
                    "type": "boolean"
                  },
                  "glassDed": {
                    "type": "boolean"
                  },
                  "roadsideAssistance": {
                    "type": "boolean"
                  },
                  "roadsideAssistanceDed": {
                    "type": "boolean"
                  },
                  "driverDeath": {
                    "type": "boolean"
                  },
                  "driverDeathDed": {
                    "type": "boolean"
                  },
                  "funeralExpenseSupport": {
                    "type": "boolean"
                  },
                  "funeralExpenseSupportDed": {
                    "type": "boolean"
                  },
                  "rsaLimit": {
                    "type": "boolean"
                  },
                  "twtLimit": {
                    "type": "boolean"
                  },
                  "zeroDed": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "name",
                    "use",
                    "propertyDamage",
                    "propertyDamageDed",
                    "thirdPartyLiability",
                    "thirdPartyLiabilityDed",
                    "totalTheft",
                    "totalTheftDed",
                    "occupantsMedicalExpenses",
                    "occupantsMedicalExpensesDed",
                    "legalAssistance",
                    "legalAssistanceDed",
                    "glass",
                    "glassDed",
                    "roadsideAssistance",
                    "roadsideAssistanceDed",
                    "driverDeath",
                    "driverDeathDed",
                    "funeralExpenseSupport",
                    "funeralExpenseSupportDed",
                    "rsaLimit",
                    "twtLimit",
                    "zeroDed"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Coverage.Fields"
          },
          "include": {
            "title": "Coverage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Coverage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Coverage>"
      },
      "Coverage.Filter1": {
        "type": "object",
        "title": "Coverage.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": "Coverage.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "use": {
                    "type": "boolean"
                  },
                  "propertyDamage": {
                    "type": "boolean"
                  },
                  "propertyDamageDed": {
                    "type": "boolean"
                  },
                  "thirdPartyLiability": {
                    "type": "boolean"
                  },
                  "thirdPartyLiabilityDed": {
                    "type": "boolean"
                  },
                  "totalTheft": {
                    "type": "boolean"
                  },
                  "totalTheftDed": {
                    "type": "boolean"
                  },
                  "occupantsMedicalExpenses": {
                    "type": "boolean"
                  },
                  "occupantsMedicalExpensesDed": {
                    "type": "boolean"
                  },
                  "legalAssistance": {
                    "type": "boolean"
                  },
                  "legalAssistanceDed": {
                    "type": "boolean"
                  },
                  "glass": {
                    "type": "boolean"
                  },
                  "glassDed": {
                    "type": "boolean"
                  },
                  "roadsideAssistance": {
                    "type": "boolean"
                  },
                  "roadsideAssistanceDed": {
                    "type": "boolean"
                  },
                  "driverDeath": {
                    "type": "boolean"
                  },
                  "driverDeathDed": {
                    "type": "boolean"
                  },
                  "funeralExpenseSupport": {
                    "type": "boolean"
                  },
                  "funeralExpenseSupportDed": {
                    "type": "boolean"
                  },
                  "rsaLimit": {
                    "type": "boolean"
                  },
                  "twtLimit": {
                    "type": "boolean"
                  },
                  "zeroDed": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "name",
                    "use",
                    "propertyDamage",
                    "propertyDamageDed",
                    "thirdPartyLiability",
                    "thirdPartyLiabilityDed",
                    "totalTheft",
                    "totalTheftDed",
                    "occupantsMedicalExpenses",
                    "occupantsMedicalExpensesDed",
                    "legalAssistance",
                    "legalAssistanceDed",
                    "glass",
                    "glassDed",
                    "roadsideAssistance",
                    "roadsideAssistanceDed",
                    "driverDeath",
                    "driverDeathDed",
                    "funeralExpenseSupport",
                    "funeralExpenseSupportDed",
                    "rsaLimit",
                    "twtLimit",
                    "zeroDed"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Coverage.Fields"
          },
          "include": {
            "title": "Coverage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Coverage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Coverage>"
      },
      "DocumentType.Filter": {
        "type": "object",
        "title": "DocumentType.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"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  },
                  "mandatory": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "name",
                    "description",
                    "type",
                    "mandatory"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DocumentType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DocumentType>"
      },
      "DocumentType.Filter1": {
        "type": "object",
        "title": "DocumentType.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": "DocumentType.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  },
                  "mandatory": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "name",
                    "description",
                    "type",
                    "mandatory"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DocumentType.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DocumentType>"
      },
      "InsurancePolicy.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": "InsurancePolicy.ScopeFilter"
      },
      "InsurancePolicy.IncludeFilter.Items": {
        "title": "InsurancePolicy.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "coverage",
              "seller",
              "collector",
              "authorizer",
              "documents",
              "payments",
              "claims",
              "changes"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/InsurancePolicy.ScopeFilter"
          }
        }
      },
      "InsurancePolicy.Filter": {
        "type": "object",
        "title": "InsurancePolicy.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"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "publicId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "paymentStatus": {
                    "type": "boolean"
                  },
                  "emissionDate": {
                    "type": "boolean"
                  },
                  "expirationDate": {
                    "type": "boolean"
                  },
                  "downPayment": {
                    "type": "boolean"
                  },
                  "paymentTerm": {
                    "type": "boolean"
                  },
                  "policyPremium": {
                    "type": "boolean"
                  },
                  "monthlyPremium": {
                    "type": "boolean"
                  },
                  "driver": {
                    "type": "boolean"
                  },
                  "renewed": {
                    "type": "boolean"
                  },
                  "renewedId": {
                    "type": "boolean"
                  },
                  "insured": {
                    "type": "boolean"
                  },
                  "vehicle": {
                    "type": "boolean"
                  },
                  "coverageId": {
                    "type": "boolean"
                  },
                  "sellerId": {
                    "type": "boolean"
                  },
                  "collectorId": {
                    "type": "boolean"
                  },
                  "authorizerId": {
                    "type": "boolean"
                  },
                  "comments": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "publicId",
                    "status",
                    "paymentStatus",
                    "emissionDate",
                    "expirationDate",
                    "downPayment",
                    "paymentTerm",
                    "policyPremium",
                    "monthlyPremium",
                    "driver",
                    "renewed",
                    "renewedId",
                    "insured",
                    "vehicle",
                    "coverageId",
                    "sellerId",
                    "collectorId",
                    "authorizerId",
                    "comments"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "InsurancePolicy.Fields"
          },
          "include": {
            "title": "InsurancePolicy.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/InsurancePolicy.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<InsurancePolicy>"
      },
      "InsurancePolicy.Filter1": {
        "type": "object",
        "title": "InsurancePolicy.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": "InsurancePolicy.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "publicId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "paymentStatus": {
                    "type": "boolean"
                  },
                  "emissionDate": {
                    "type": "boolean"
                  },
                  "expirationDate": {
                    "type": "boolean"
                  },
                  "downPayment": {
                    "type": "boolean"
                  },
                  "paymentTerm": {
                    "type": "boolean"
                  },
                  "policyPremium": {
                    "type": "boolean"
                  },
                  "monthlyPremium": {
                    "type": "boolean"
                  },
                  "driver": {
                    "type": "boolean"
                  },
                  "renewed": {
                    "type": "boolean"
                  },
                  "renewedId": {
                    "type": "boolean"
                  },
                  "insured": {
                    "type": "boolean"
                  },
                  "vehicle": {
                    "type": "boolean"
                  },
                  "coverageId": {
                    "type": "boolean"
                  },
                  "sellerId": {
                    "type": "boolean"
                  },
                  "collectorId": {
                    "type": "boolean"
                  },
                  "authorizerId": {
                    "type": "boolean"
                  },
                  "comments": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "publicId",
                    "status",
                    "paymentStatus",
                    "emissionDate",
                    "expirationDate",
                    "downPayment",
                    "paymentTerm",
                    "policyPremium",
                    "monthlyPremium",
                    "driver",
                    "renewed",
                    "renewedId",
                    "insured",
                    "vehicle",
                    "coverageId",
                    "sellerId",
                    "collectorId",
                    "authorizerId",
                    "comments"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "InsurancePolicy.Fields"
          },
          "include": {
            "title": "InsurancePolicy.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/InsurancePolicy.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<InsurancePolicy>"
      },
      "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
          }
        }
      },
      "PolicyPayment.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": "PolicyPayment.ScopeFilter"
      },
      "PolicyPayment.IncludeFilter.Items": {
        "title": "PolicyPayment.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "insurancePolicy",
              "collector",
              "reconciliation",
              "authorizer"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/PolicyPayment.ScopeFilter"
          }
        }
      },
      "PolicyPayment.Filter": {
        "type": "object",
        "title": "PolicyPayment.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"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "publicId": {
                    "type": "boolean"
                  },
                  "insurancePolicyId": {
                    "type": "boolean"
                  },
                  "collectorId": {
                    "type": "boolean"
                  },
                  "reconciliationId": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "method": {
                    "type": "boolean"
                  },
                  "concept": {
                    "type": "boolean"
                  },
                  "reference": {
                    "type": "boolean"
                  },
                  "fileURL": {
                    "type": "boolean"
                  },
                  "deadline": {
                    "type": "boolean"
                  },
                  "zeroDedAmount": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "comission": {
                    "type": "boolean"
                  },
                  "comments": {
                    "type": "boolean"
                  },
                  "comissionStatus": {
                    "type": "boolean"
                  },
                  "authorizerId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "updatedAt",
                    "publicId",
                    "insurancePolicyId",
                    "collectorId",
                    "reconciliationId",
                    "amount",
                    "method",
                    "concept",
                    "reference",
                    "fileURL",
                    "deadline",
                    "zeroDedAmount",
                    "paymentDate",
                    "status",
                    "comission",
                    "comments",
                    "comissionStatus",
                    "authorizerId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PolicyPayment.Fields"
          },
          "include": {
            "title": "PolicyPayment.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/PolicyPayment.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PolicyPayment>"
      },
      "Reconciliation.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": "Reconciliation.ScopeFilter"
      },
      "Reconciliation.IncludeFilter.Items": {
        "title": "Reconciliation.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "beneficiary",
              "payments"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Reconciliation.ScopeFilter"
          }
        }
      },
      "Reconciliation.Filter": {
        "type": "object",
        "title": "Reconciliation.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"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "beneficiaryId": {
                    "type": "boolean"
                  },
                  "totalBankTransfers": {
                    "type": "boolean"
                  },
                  "totalCash": {
                    "type": "boolean"
                  },
                  "bankTransfersComissions": {
                    "type": "boolean"
                  },
                  "totalCard": {
                    "type": "boolean"
                  },
                  "cardComission": {
                    "type": "boolean"
                  },
                  "cashComission": {
                    "type": "boolean"
                  },
                  "amountToDeliver": {
                    "type": "boolean"
                  },
                  "totalInitialPayments": {
                    "type": "boolean"
                  },
                  "totalMonthlyPayments": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "beneficiaryId",
                    "totalBankTransfers",
                    "totalCash",
                    "bankTransfersComissions",
                    "totalCard",
                    "cardComission",
                    "cashComission",
                    "amountToDeliver",
                    "totalInitialPayments",
                    "totalMonthlyPayments",
                    "status"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Reconciliation.Fields"
          },
          "include": {
            "title": "Reconciliation.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Reconciliation.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Reconciliation>"
      },
      "Reconciliation.Filter1": {
        "type": "object",
        "title": "Reconciliation.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": "Reconciliation.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "beneficiaryId": {
                    "type": "boolean"
                  },
                  "totalBankTransfers": {
                    "type": "boolean"
                  },
                  "totalCash": {
                    "type": "boolean"
                  },
                  "bankTransfersComissions": {
                    "type": "boolean"
                  },
                  "totalCard": {
                    "type": "boolean"
                  },
                  "cardComission": {
                    "type": "boolean"
                  },
                  "cashComission": {
                    "type": "boolean"
                  },
                  "amountToDeliver": {
                    "type": "boolean"
                  },
                  "totalInitialPayments": {
                    "type": "boolean"
                  },
                  "totalMonthlyPayments": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "beneficiaryId",
                    "totalBankTransfers",
                    "totalCash",
                    "bankTransfersComissions",
                    "totalCard",
                    "cardComission",
                    "cashComission",
                    "amountToDeliver",
                    "totalInitialPayments",
                    "totalMonthlyPayments",
                    "status"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Reconciliation.Fields"
          },
          "include": {
            "title": "Reconciliation.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Reconciliation.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Reconciliation>"
      },
      "State.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": "State.ScopeFilter"
      },
      "State.IncludeFilter.Items": {
        "title": "State.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "cities"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/State.ScopeFilter"
          }
        }
      },
      "State.Filter": {
        "type": "object",
        "title": "State.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"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "name"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "State.Fields"
          },
          "include": {
            "title": "State.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/State.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<State>"
      },
      "State.Filter1": {
        "type": "object",
        "title": "State.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": "State.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "name"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "State.Fields"
          },
          "include": {
            "title": "State.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/State.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<State>"
      },
      "User.Filter": {
        "type": "object",
        "title": "User.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"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "password": {
                    "type": "boolean"
                  },
                  "roles": {
                    "type": "boolean"
                  },
                  "lastLogin": {
                    "type": "boolean"
                  },
                  "fcmToken": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "status",
                    "name",
                    "username",
                    "email",
                    "phone",
                    "password",
                    "roles",
                    "lastLogin",
                    "fcmToken"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "User.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<User>"
      },
      "User.Filter1": {
        "type": "object",
        "title": "User.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": "User.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "password": {
                    "type": "boolean"
                  },
                  "roles": {
                    "type": "boolean"
                  },
                  "lastLogin": {
                    "type": "boolean"
                  },
                  "fcmToken": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "deleted",
                    "status",
                    "name",
                    "username",
                    "email",
                    "phone",
                    "password",
                    "roles",
                    "lastLogin",
                    "fcmToken"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "User.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<User>"
      }
    }
  }
}