{
  "openapi": "3.0.0",
  "info": {
    "title": "shirepf-backend",
    "version": "0.0.1",
    "description": "shirepf-backend",
    "contact": {
      "name": "Duy Mai",
      "email": "duymai@b13technology.com"
    }
  },
  "paths": {
    "/audit-trails": {
      "post": {
        "x-controller-name": "AuditTrailController",
        "x-operation-name": "create",
        "tags": [
          "AuditTrailController"
        ],
        "responses": {
          "200": {
            "description": "AuditTrail model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditTrail"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "is_admin",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Create Audit Trail"
              }
            }
          },
          "required": true
        },
        "operationId": "AuditTrailController.create"
      }
    },
    "/companies/{sraId}": {
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "findById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "sraId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "is_admin",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "CompanyController.findById"
      }
    },
    "/countries": {
      "get": {
        "x-controller-name": "CountryController",
        "x-operation-name": "getCountries",
        "tags": [
          "CountryController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CountryController.getCountries"
          }
        },
        "operationId": "CountryController.getCountries"
      }
    },
    "/cronjob/aml-report/trigger": {
      "put": {
        "x-controller-name": "CronjobController",
        "x-operation-name": "amlReport",
        "tags": [
          "CronjobController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Csv content sra report"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "operationId": "CronjobController.amlReport"
      }
    },
    "/cronjob/non-salesforce-report/trigger": {
      "put": {
        "x-controller-name": "CronjobController",
        "x-operation-name": "triggerNonSalesforceReportCronJob",
        "tags": [
          "CronjobController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Quote PATCH success"
                }
              }
            }
          }
        },
        "operationId": "CronjobController.triggerNonSalesforceReportCronJob"
      }
    },
    "/cronjob/shirepf-report/error-report/trigger": {
      "put": {
        "x-controller-name": "CronjobController",
        "x-operation-name": "errorReport",
        "tags": [
          "CronjobController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CronjobController.errorReport"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "operationId": "CronjobController.errorReport"
      }
    },
    "/cronjob/shirepf-report/invoice-over-25k/trigger": {
      "put": {
        "x-controller-name": "CronjobController",
        "x-operation-name": "invoiceOver25k",
        "tags": [
          "CronjobController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CronjobController.invoiceOver25k"
          }
        },
        "parameters": [
          {
            "name": "throws",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "operationId": "CronjobController.invoiceOver25k"
      }
    },
    "/cronjob/shirepf-report/submitted-applications/trigger": {
      "put": {
        "x-controller-name": "CronjobController",
        "x-operation-name": "submittedApplications",
        "tags": [
          "CronjobController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CronjobController.submittedApplications"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "operationId": "CronjobController.submittedApplications"
      }
    },
    "/cronjob/shirepf-report/trigger": {
      "put": {
        "x-controller-name": "CronjobController",
        "x-operation-name": "shirepfReport",
        "tags": [
          "CronjobController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Csv content ShirePF report"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "operationId": "CronjobController.shirepfReport"
      }
    },
    "/cronjob/sra-report/trigger": {
      "put": {
        "x-controller-name": "CronjobController",
        "x-operation-name": "sraReport",
        "tags": [
          "CronjobController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Csv content sra report"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "operationId": "CronjobController.sraReport"
      }
    },
    "/email-configurations/{id}": {
      "patch": {
        "x-controller-name": "EmailConfigurationController",
        "x-operation-name": "updateById",
        "tags": [
          "EmailConfigurationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EmailConfiguration PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmailConfigurationPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EmailConfigurationController.updateById"
      },
      "get": {
        "x-controller-name": "EmailConfigurationController",
        "x-operation-name": "findById",
        "tags": [
          "EmailConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "EmailConfiguration model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailConfigurationWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailConfiguration.Filter"
                }
              }
            }
          }
        ],
        "operationId": "EmailConfigurationController.findById"
      },
      "delete": {
        "x-controller-name": "EmailConfigurationController",
        "x-operation-name": "deleteById",
        "tags": [
          "EmailConfigurationController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EmailConfiguration DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "EmailConfigurationController.deleteById"
      }
    },
    "/email-configurations": {
      "post": {
        "x-controller-name": "EmailConfigurationController",
        "x-operation-name": "create",
        "tags": [
          "EmailConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "EmailConfiguration model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailConfiguration"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEmailConfiguration"
              }
            }
          }
        },
        "operationId": "EmailConfigurationController.create"
      },
      "get": {
        "x-controller-name": "EmailConfigurationController",
        "x-operation-name": "find",
        "tags": [
          "EmailConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "Array of EmailConfiguration model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EmailConfigurationWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EmailConfiguration.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "EmailConfigurationController.find"
      }
    },
    "/imap-email-reader": {
      "delete": {
        "x-controller-name": "ImapEmailReaderController",
        "x-operation-name": "cleanup",
        "tags": [
          "ImapEmailReaderController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ImapEmailReaderController.cleanup"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ImapEmailReaderController.cleanup"
      }
    },
    "/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"
      }
    },
    "/power-bi/aml-table/data/download.{format}": {
      "get": {
        "x-controller-name": "PowerBiController",
        "x-operation-name": "downloadAmlTableData",
        "tags": [
          "PowerBiController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PowerBiController.downloadAmlTableData"
          }
        },
        "parameters": [
          {
            "name": "format",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "PowerBiController.downloadAmlTableData"
      }
    },
    "/power-bi/applications/chart/download.{format}": {
      "get": {
        "x-controller-name": "PowerBiController",
        "x-operation-name": "downloadApplicationChart",
        "tags": [
          "PowerBiController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PowerBiController.downloadApplicationChart"
          }
        },
        "parameters": [
          {
            "name": "format",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "PowerBiController.downloadApplicationChart"
      }
    },
    "/power-bi/applications/data/download.{format}": {
      "get": {
        "x-controller-name": "PowerBiController",
        "x-operation-name": "downloadApplicationData",
        "tags": [
          "PowerBiController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PowerBiController.downloadApplicationData"
          }
        },
        "parameters": [
          {
            "name": "format",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "PowerBiController.downloadApplicationData"
      }
    },
    "/power-bi/error-table/data/download.{format}": {
      "get": {
        "x-controller-name": "PowerBiController",
        "x-operation-name": "downloadErrorTableData",
        "tags": [
          "PowerBiController"
        ],
        "responses": {
          "200": {
            "description": "Return value of PowerBiController.downloadErrorTableData"
          }
        },
        "parameters": [
          {
            "name": "format",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "PowerBiController.downloadErrorTableData"
      }
    },
    "/quotes/count": {
      "get": {
        "x-controller-name": "QuoteController",
        "x-operation-name": "count",
        "tags": [
          "QuoteController"
        ],
        "responses": {
          "200": {
            "description": "Quote model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Quote.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Quote>"
                }
              }
            }
          }
        ],
        "operationId": "QuoteController.count"
      }
    },
    "/quotes/{id}": {
      "patch": {
        "x-controller-name": "QuoteController",
        "x-operation-name": "updateById",
        "tags": [
          "QuoteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Quote PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertQuoteDtoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "QuoteController.updateById"
      },
      "get": {
        "x-controller-name": "QuoteController",
        "x-operation-name": "findById",
        "tags": [
          "QuoteController"
        ],
        "responses": {
          "200": {
            "description": "Quote model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuoteWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Quote.Filter"
                }
              }
            }
          }
        ],
        "operationId": "QuoteController.findById"
      }
    },
    "/quotes": {
      "post": {
        "x-controller-name": "QuoteController",
        "x-operation-name": "create",
        "tags": [
          "QuoteController"
        ],
        "responses": {
          "200": {
            "description": "Quote model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpsertQuoteDto"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "is_admin",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewQuote"
              }
            }
          }
        },
        "operationId": "QuoteController.create"
      }
    },
    "/redirect": {
      "get": {
        "x-controller-name": "RedirectController",
        "x-operation-name": "redirectToFrontend",
        "tags": [
          "RedirectController"
        ],
        "responses": {
          "200": {
            "description": "Return value of RedirectController.redirectToFrontend"
          }
        },
        "parameters": [
          {
            "name": "quoteId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "RedirectController.redirectToFrontend"
      }
    },
    "/signatories/count": {
      "get": {
        "x-controller-name": "SignatoryController",
        "x-operation-name": "count",
        "tags": [
          "SignatoryController"
        ],
        "responses": {
          "200": {
            "description": "Signatory model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Signatory.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Signatory>"
                }
              }
            }
          }
        ],
        "operationId": "SignatoryController.count"
      }
    },
    "/signatories/{id}": {
      "patch": {
        "x-controller-name": "SignatoryController",
        "x-operation-name": "updateById",
        "tags": [
          "SignatoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Signatory PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignatoryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SignatoryController.updateById"
      },
      "get": {
        "x-controller-name": "SignatoryController",
        "x-operation-name": "findById",
        "tags": [
          "SignatoryController"
        ],
        "responses": {
          "200": {
            "description": "Signatory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignatoryWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Signatory.Filter"
                }
              }
            }
          }
        ],
        "operationId": "SignatoryController.findById"
      },
      "delete": {
        "x-controller-name": "SignatoryController",
        "x-operation-name": "deleteById",
        "tags": [
          "SignatoryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Signatory DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "SignatoryController.deleteById"
      }
    },
    "/signatories": {
      "post": {
        "x-controller-name": "SignatoryController",
        "x-operation-name": "create",
        "tags": [
          "SignatoryController"
        ],
        "responses": {
          "200": {
            "description": "Signatory model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Signatory"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "is_admin",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSignatory"
              }
            }
          }
        },
        "operationId": "SignatoryController.create"
      },
      "get": {
        "x-controller-name": "SignatoryController",
        "x-operation-name": "find",
        "tags": [
          "SignatoryController"
        ],
        "responses": {
          "200": {
            "description": "Array of Signatory model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignatoryWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Signatory.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "SignatoryController.find"
      }
    },
    "/significant-individuals-entries/count": {
      "get": {
        "x-controller-name": "SignificantIndividualsEntryController",
        "x-operation-name": "count",
        "tags": [
          "SignificantIndividualsEntryController"
        ],
        "responses": {
          "200": {
            "description": "SignificantIndividualsEntry model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "SignificantIndividualsEntry.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<SignificantIndividualsEntry>"
                }
              }
            }
          }
        ],
        "operationId": "SignificantIndividualsEntryController.count"
      }
    },
    "/significant-individuals-entries/{id}": {
      "patch": {
        "x-controller-name": "SignificantIndividualsEntryController",
        "x-operation-name": "updateById",
        "tags": [
          "SignificantIndividualsEntryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SignificantIndividualsEntry PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignificantIndividualsEntryPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SignificantIndividualsEntryController.updateById"
      },
      "get": {
        "x-controller-name": "SignificantIndividualsEntryController",
        "x-operation-name": "findById",
        "tags": [
          "SignificantIndividualsEntryController"
        ],
        "responses": {
          "200": {
            "description": "SignificantIndividualsEntry model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignificantIndividualsEntryWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignificantIndividualsEntry.Filter"
                }
              }
            }
          }
        ],
        "operationId": "SignificantIndividualsEntryController.findById"
      },
      "delete": {
        "x-controller-name": "SignificantIndividualsEntryController",
        "x-operation-name": "deleteById",
        "tags": [
          "SignificantIndividualsEntryController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "SignificantIndividualsEntry DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "SignificantIndividualsEntryController.deleteById"
      }
    },
    "/significant-individuals-entries": {
      "post": {
        "x-controller-name": "SignificantIndividualsEntryController",
        "x-operation-name": "create",
        "tags": [
          "SignificantIndividualsEntryController"
        ],
        "responses": {
          "200": {
            "description": "SignificantIndividualsEntry model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignificantIndividualsEntry"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "is_admin",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSignificantIndividualsEntry"
              }
            }
          }
        },
        "operationId": "SignificantIndividualsEntryController.create"
      },
      "get": {
        "x-controller-name": "SignificantIndividualsEntryController",
        "x-operation-name": "find",
        "tags": [
          "SignificantIndividualsEntryController"
        ],
        "responses": {
          "200": {
            "description": "Array of SignificantIndividualsEntry model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SignificantIndividualsEntryWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignificantIndividualsEntry.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "SignificantIndividualsEntryController.find"
      }
    }
  },
  "servers": [
    {
      "url": "http://shirepf-api-uat.b13devops.com"
    }
  ],
  "components": {
    "schemas": {
      "RecentAddress": {
        "title": "RecentAddress",
        "type": "object",
        "properties": {
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "postcode": {
            "type": "string"
          },
          "timeAtAddress": {
            "type": "number"
          }
        },
        "required": [
          "addressLine1",
          "country",
          "postcode"
        ],
        "additionalProperties": false
      },
      "SignificantIndividualsEntry": {
        "title": "SignificantIndividualsEntry",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "title": {
            "type": "string",
            "enum": [
              "Mr.",
              "Mrs",
              "Miss",
              "Ms.",
              "Dr."
            ]
          },
          "foreName": {
            "type": "string"
          },
          "middleName": {
            "type": "string"
          },
          "surName": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "recentAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecentAddress"
            }
          },
          "createdBy": {
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "foreName",
          "surName",
          "dateOfBirth",
          "recentAddresses"
        ],
        "additionalProperties": true
      },
      "NewSignificantIndividualsEntry": {
        "title": "NewSignificantIndividualsEntry",
        "type": "object",
        "description": "(tsType: Omit<SignificantIndividualsEntry, 'id'>, schemaOptions: { title: 'NewSignificantIndividualsEntry', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "title": {
            "type": "string",
            "enum": [
              "Mr.",
              "Mrs",
              "Miss",
              "Ms.",
              "Dr."
            ]
          },
          "foreName": {
            "type": "string"
          },
          "middleName": {
            "type": "string"
          },
          "surName": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "recentAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecentAddress"
            }
          },
          "createdBy": {
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          }
        },
        "required": [
          "title",
          "foreName",
          "surName",
          "dateOfBirth",
          "recentAddresses"
        ],
        "additionalProperties": true,
        "x-typescript-type": "Omit<SignificantIndividualsEntry, 'id'>"
      },
      "CompanyWithRelations": {
        "title": "CompanyWithRelations",
        "type": "object",
        "description": "(tsType: CompanyWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "sraId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "object"
          },
          "otherOfficeAddress": {
            "type": "object"
          },
          "regNumber": {
            "type": "string"
          },
          "quoteTotal": {
            "type": "number"
          },
          "numberOfSolicitor": {
            "type": "number"
          },
          "monthlyPaymentAmount": {
            "type": "number"
          },
          "monthlyOfMonthRepayment": {
            "type": "number"
          },
          "annualPercentageRate": {
            "type": "number"
          },
          "totalAmountRepayable": {
            "type": "number"
          },
          "alternativeEmail": {
            "type": "string"
          },
          "alternativePhoneNumber": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "quotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteWithRelations"
            }
          }
        },
        "required": [
          "sraId",
          "name"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CompanyWithRelations"
      },
      "SignatoryWithRelations": {
        "title": "SignatoryWithRelations",
        "type": "object",
        "description": "(tsType: SignatoryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "title": {
            "type": "string",
            "enum": [
              "Mr.",
              "Mrs",
              "Miss",
              "Ms.",
              "Dr."
            ]
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          },
          "quote": {
            "$ref": "#/components/schemas/QuoteWithRelations"
          },
          "foreignKey": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "SignatoryWithRelations"
      },
      "QuoteTimelogWithRelations": {
        "title": "QuoteTimelogWithRelations",
        "type": "object",
        "description": "(tsType: QuoteTimelogWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "quoteStatus": {
            "type": "string",
            "enum": [
              "Draft",
              "Proceeding",
              "Submitted"
            ]
          },
          "agreementStatus": {
            "type": "string",
            "enum": [
              "Awaiting-Approval-From-The-SRA",
              "Application-Error",
              "Submitted-To-PCL",
              "PCL-Processing",
              "Process-Complete"
            ]
          },
          "applicationStatus": {
            "type": "string",
            "enum": [
              "Pending",
              "Processed",
              "Live",
              "Cancelled",
              "Renewed",
              "Paidup"
            ]
          },
          "entity": {
            "type": "string",
            "enum": [
              "ShirePF",
              "SRA",
              "PCL"
            ]
          },
          "quoteId": {
            "type": "string"
          },
          "quote": {
            "$ref": "#/components/schemas/QuoteWithRelations"
          },
          "foreignKey": {}
        },
        "required": [
          "timestamp",
          "quoteStatus",
          "entity"
        ],
        "additionalProperties": false,
        "x-typescript-type": "QuoteTimelogWithRelations"
      },
      "QuoteWithRelations": {
        "title": "QuoteWithRelations",
        "type": "object",
        "description": "(tsType: QuoteWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "pclReferencedQuoteId": {
            "type": "string"
          },
          "pclAgreementApplicationId": {
            "type": "string"
          },
          "pclReferencedQuoteRequest": {
            "type": "object"
          },
          "pclReferencedQuoteResponse": {
            "type": "object"
          },
          "pclAgreementApplicationRequest": {
            "type": "object"
          },
          "pclAgreementApplicationResponse": {
            "type": "object"
          },
          "pclAdjustmentRequest": {
            "type": "object"
          },
          "pclAdjustmentResponse": {
            "type": "object"
          },
          "confirmWorkOutsideUK": {
            "type": "boolean"
          },
          "confirmMoreThan10PercentRevenueOutsideUK": {
            "type": "boolean"
          },
          "operatingInCountries": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BQ",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CD",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "VA",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KP",
                "KR",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "SS",
                "ES",
                "LK",
                "SD",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ]
            }
          },
          "tradedWithCountries": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BQ",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CD",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "VA",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KP",
                "KR",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "SS",
                "ES",
                "LK",
                "SD",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ]
            }
          },
          "numberOfPartnersOrDirectors": {
            "type": "number"
          },
          "quoteTotal": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "Draft",
              "Proceeding",
              "Submitted"
            ]
          },
          "agreementStatus": {
            "type": "string",
            "enum": [
              "Awaiting-Approval-From-The-SRA",
              "Application-Error",
              "Submitted-To-PCL",
              "PCL-Processing",
              "Process-Complete"
            ]
          },
          "applicationStatus": {
            "type": "string"
          },
          "monthlyPaymentAmount": {
            "type": "number"
          },
          "monthlyOfMonthRepayment": {
            "type": "number"
          },
          "annualPercentageRate": {
            "type": "number"
          },
          "totalAmountRepayable": {
            "type": "number"
          },
          "applicant": {
            "type": "object"
          },
          "organizationEntityType": {
            "type": "string",
            "enum": [
              "Private-Individual",
              "Sole-Trader",
              "Limited-Company",
              "LLP",
              "PLC",
              "Partnership-3-or-less",
              "Partnership-4-or-more"
            ]
          },
          "reconciledDate": {
            "type": "string",
            "format": "date-time"
          },
          "collectionAmount": {
            "type": "number"
          },
          "baseTransactionAmount": {
            "type": "number"
          },
          "facilityFeeAmount": {
            "type": "number"
          },
          "baseTransactionFeeRate": {
            "type": "number"
          },
          "collectionTerm": {
            "type": "number"
          },
          "companyId": {
            "type": "string"
          },
          "bankDetails": {
            "type": "object"
          },
          "createdBy": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "regNumber": {
            "type": "string"
          },
          "company": {
            "$ref": "#/components/schemas/CompanyWithRelations"
          },
          "foreignKey": {},
          "signatories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignatoryWithRelations"
            }
          },
          "significantIndividualsEntries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SignificantIndividualsEntryWithRelations"
            }
          },
          "quoteTimelogs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuoteTimelogWithRelations"
            }
          }
        },
        "required": [
          "numberOfPartnersOrDirectors",
          "quoteTotal",
          "organizationEntityType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "QuoteWithRelations"
      },
      "SignificantIndividualsEntryWithRelations": {
        "title": "SignificantIndividualsEntryWithRelations",
        "type": "object",
        "description": "(tsType: SignificantIndividualsEntryWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "title": {
            "type": "string",
            "enum": [
              "Mr.",
              "Mrs",
              "Miss",
              "Ms.",
              "Dr."
            ]
          },
          "foreName": {
            "type": "string"
          },
          "middleName": {
            "type": "string"
          },
          "surName": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "recentAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecentAddress"
            }
          },
          "createdBy": {
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          },
          "quote": {
            "$ref": "#/components/schemas/QuoteWithRelations"
          },
          "foreignKey": {}
        },
        "required": [
          "title",
          "foreName",
          "surName",
          "dateOfBirth",
          "recentAddresses"
        ],
        "additionalProperties": true,
        "x-typescript-type": "SignificantIndividualsEntryWithRelations"
      },
      "SignificantIndividualsEntryPartial": {
        "title": "SignificantIndividualsEntryPartial",
        "type": "object",
        "description": "(tsType: Partial<SignificantIndividualsEntry>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "title": {
            "type": "string",
            "enum": [
              "Mr.",
              "Mrs",
              "Miss",
              "Ms.",
              "Dr."
            ]
          },
          "foreName": {
            "type": "string"
          },
          "middleName": {
            "type": "string"
          },
          "surName": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "recentAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RecentAddress"
            }
          },
          "createdBy": {
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          }
        },
        "additionalProperties": true,
        "x-typescript-type": "Partial<SignificantIndividualsEntry>"
      },
      "Signatory": {
        "title": "Signatory",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "title": {
            "type": "string",
            "enum": [
              "Mr.",
              "Mrs",
              "Miss",
              "Ms.",
              "Dr."
            ]
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewSignatory": {
        "title": "NewSignatory",
        "type": "object",
        "description": "(tsType: Omit<Signatory, 'id'>, schemaOptions: { title: 'NewSignatory', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "title": {
            "type": "string",
            "enum": [
              "Mr.",
              "Mrs",
              "Miss",
              "Ms.",
              "Dr."
            ]
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Signatory, 'id'>"
      },
      "SignatoryPartial": {
        "title": "SignatoryPartial",
        "type": "object",
        "description": "(tsType: Partial<Signatory>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "title": {
            "type": "string",
            "enum": [
              "Mr.",
              "Mrs",
              "Miss",
              "Ms.",
              "Dr."
            ]
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "quoteId": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Signatory>"
      },
      "UpsertQuoteDto": {
        "title": "UpsertQuoteDto",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "pclReferencedQuoteId": {
            "type": "string"
          },
          "pclAgreementApplicationId": {
            "type": "string"
          },
          "pclReferencedQuoteRequest": {
            "type": "object"
          },
          "pclReferencedQuoteResponse": {
            "type": "object"
          },
          "pclAgreementApplicationRequest": {
            "type": "object"
          },
          "pclAgreementApplicationResponse": {
            "type": "object"
          },
          "pclAdjustmentRequest": {
            "type": "object"
          },
          "pclAdjustmentResponse": {
            "type": "object"
          },
          "confirmWorkOutsideUK": {
            "type": "boolean"
          },
          "confirmMoreThan10PercentRevenueOutsideUK": {
            "type": "boolean"
          },
          "operatingInCountries": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BQ",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CD",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "VA",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KP",
                "KR",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "SS",
                "ES",
                "LK",
                "SD",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ]
            }
          },
          "tradedWithCountries": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BQ",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CD",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "VA",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KP",
                "KR",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "SS",
                "ES",
                "LK",
                "SD",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ]
            }
          },
          "numberOfPartnersOrDirectors": {
            "type": "number"
          },
          "quoteTotal": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "Draft",
              "Proceeding",
              "Submitted"
            ]
          },
          "agreementStatus": {
            "type": "string",
            "enum": [
              "Awaiting-Approval-From-The-SRA",
              "Application-Error",
              "Submitted-To-PCL",
              "PCL-Processing",
              "Process-Complete"
            ]
          },
          "applicationStatus": {
            "type": "string"
          },
          "monthlyPaymentAmount": {
            "type": "number"
          },
          "monthlyOfMonthRepayment": {
            "type": "number"
          },
          "annualPercentageRate": {
            "type": "number"
          },
          "totalAmountRepayable": {
            "type": "number"
          },
          "applicant": {
            "type": "object"
          },
          "organizationEntityType": {
            "type": "string",
            "enum": [
              "Private-Individual",
              "Sole-Trader",
              "Limited-Company",
              "LLP",
              "PLC",
              "Partnership-3-or-less",
              "Partnership-4-or-more"
            ]
          },
          "reconciledDate": {
            "type": "string",
            "format": "date-time"
          },
          "collectionAmount": {
            "type": "number"
          },
          "baseTransactionAmount": {
            "type": "number"
          },
          "facilityFeeAmount": {
            "type": "number"
          },
          "baseTransactionFeeRate": {
            "type": "number"
          },
          "collectionTerm": {
            "type": "number"
          },
          "companyId": {
            "type": "string"
          },
          "bankDetails": {
            "type": "object"
          },
          "createdBy": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "regNumber": {
            "type": "string"
          }
        },
        "required": [
          "numberOfPartnersOrDirectors",
          "quoteTotal",
          "organizationEntityType"
        ],
        "additionalProperties": false
      },
      "NewQuote": {
        "title": "NewQuote",
        "type": "object",
        "description": "(tsType: Omit<UpsertQuoteDto, 'id'>, schemaOptions: { title: 'NewQuote', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "pclReferencedQuoteId": {
            "type": "string"
          },
          "pclAgreementApplicationId": {
            "type": "string"
          },
          "pclReferencedQuoteRequest": {
            "type": "object"
          },
          "pclReferencedQuoteResponse": {
            "type": "object"
          },
          "pclAgreementApplicationRequest": {
            "type": "object"
          },
          "pclAgreementApplicationResponse": {
            "type": "object"
          },
          "pclAdjustmentRequest": {
            "type": "object"
          },
          "pclAdjustmentResponse": {
            "type": "object"
          },
          "confirmWorkOutsideUK": {
            "type": "boolean"
          },
          "confirmMoreThan10PercentRevenueOutsideUK": {
            "type": "boolean"
          },
          "operatingInCountries": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BQ",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CD",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "VA",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KP",
                "KR",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "SS",
                "ES",
                "LK",
                "SD",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ]
            }
          },
          "tradedWithCountries": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BQ",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CD",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "VA",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KP",
                "KR",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "SS",
                "ES",
                "LK",
                "SD",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ]
            }
          },
          "numberOfPartnersOrDirectors": {
            "type": "number"
          },
          "quoteTotal": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "Draft",
              "Proceeding",
              "Submitted"
            ]
          },
          "agreementStatus": {
            "type": "string",
            "enum": [
              "Awaiting-Approval-From-The-SRA",
              "Application-Error",
              "Submitted-To-PCL",
              "PCL-Processing",
              "Process-Complete"
            ]
          },
          "applicationStatus": {
            "type": "string"
          },
          "monthlyPaymentAmount": {
            "type": "number"
          },
          "monthlyOfMonthRepayment": {
            "type": "number"
          },
          "annualPercentageRate": {
            "type": "number"
          },
          "totalAmountRepayable": {
            "type": "number"
          },
          "applicant": {
            "type": "object"
          },
          "organizationEntityType": {
            "type": "string",
            "enum": [
              "Private-Individual",
              "Sole-Trader",
              "Limited-Company",
              "LLP",
              "PLC",
              "Partnership-3-or-less",
              "Partnership-4-or-more"
            ]
          },
          "reconciledDate": {
            "type": "string",
            "format": "date-time"
          },
          "collectionAmount": {
            "type": "number"
          },
          "baseTransactionAmount": {
            "type": "number"
          },
          "facilityFeeAmount": {
            "type": "number"
          },
          "baseTransactionFeeRate": {
            "type": "number"
          },
          "collectionTerm": {
            "type": "number"
          },
          "companyId": {
            "type": "string"
          },
          "bankDetails": {
            "type": "object"
          },
          "createdBy": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "regNumber": {
            "type": "string"
          }
        },
        "required": [
          "numberOfPartnersOrDirectors",
          "quoteTotal",
          "organizationEntityType"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<UpsertQuoteDto, 'id'>"
      },
      "UpsertQuoteDtoPartial": {
        "title": "UpsertQuoteDtoPartial",
        "type": "object",
        "description": "(tsType: Partial<UpsertQuoteDto>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "pclReferencedQuoteId": {
            "type": "string"
          },
          "pclAgreementApplicationId": {
            "type": "string"
          },
          "pclReferencedQuoteRequest": {
            "type": "object"
          },
          "pclReferencedQuoteResponse": {
            "type": "object"
          },
          "pclAgreementApplicationRequest": {
            "type": "object"
          },
          "pclAgreementApplicationResponse": {
            "type": "object"
          },
          "pclAdjustmentRequest": {
            "type": "object"
          },
          "pclAdjustmentResponse": {
            "type": "object"
          },
          "confirmWorkOutsideUK": {
            "type": "boolean"
          },
          "confirmMoreThan10PercentRevenueOutsideUK": {
            "type": "boolean"
          },
          "operatingInCountries": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BQ",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CD",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "VA",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KP",
                "KR",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "SS",
                "ES",
                "LK",
                "SD",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ]
            }
          },
          "tradedWithCountries": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AF",
                "AX",
                "AL",
                "DZ",
                "AS",
                "AD",
                "AO",
                "AI",
                "AQ",
                "AG",
                "AR",
                "AM",
                "AW",
                "AU",
                "AT",
                "AZ",
                "BS",
                "BH",
                "BD",
                "BB",
                "BY",
                "BE",
                "BZ",
                "BJ",
                "BM",
                "BT",
                "BO",
                "BQ",
                "BA",
                "BW",
                "BV",
                "BR",
                "IO",
                "BN",
                "BG",
                "BF",
                "BI",
                "KH",
                "CM",
                "CA",
                "CV",
                "KY",
                "CF",
                "TD",
                "CL",
                "CN",
                "CX",
                "CC",
                "CO",
                "KM",
                "CG",
                "CD",
                "CK",
                "CR",
                "CI",
                "HR",
                "CU",
                "CW",
                "CY",
                "CZ",
                "DK",
                "DJ",
                "DM",
                "DO",
                "EC",
                "EG",
                "SV",
                "GQ",
                "ER",
                "EE",
                "ET",
                "FK",
                "FO",
                "FJ",
                "FI",
                "FR",
                "GF",
                "PF",
                "TF",
                "GA",
                "GM",
                "GE",
                "DE",
                "GH",
                "GI",
                "GR",
                "GL",
                "GD",
                "GP",
                "GU",
                "GT",
                "GG",
                "GN",
                "GW",
                "GY",
                "HT",
                "HM",
                "VA",
                "HN",
                "HK",
                "HU",
                "IS",
                "IN",
                "ID",
                "IR",
                "IQ",
                "IE",
                "IM",
                "IL",
                "IT",
                "JM",
                "JP",
                "JE",
                "JO",
                "KZ",
                "KE",
                "KI",
                "KP",
                "KR",
                "KW",
                "KG",
                "LA",
                "LV",
                "LB",
                "LS",
                "LR",
                "LY",
                "LI",
                "LT",
                "LU",
                "MO",
                "MK",
                "MG",
                "MW",
                "MY",
                "MV",
                "ML",
                "MT",
                "MH",
                "MQ",
                "MR",
                "MU",
                "YT",
                "MX",
                "FM",
                "MD",
                "MC",
                "MN",
                "ME",
                "MS",
                "MA",
                "MZ",
                "MM",
                "NA",
                "NR",
                "NP",
                "NL",
                "NC",
                "NZ",
                "NI",
                "NE",
                "NG",
                "NU",
                "NF",
                "MP",
                "NO",
                "OM",
                "PK",
                "PW",
                "PS",
                "PA",
                "PG",
                "PY",
                "PE",
                "PH",
                "PN",
                "PL",
                "PT",
                "PR",
                "QA",
                "RE",
                "RO",
                "RU",
                "RW",
                "BL",
                "SH",
                "KN",
                "LC",
                "MF",
                "PM",
                "VC",
                "WS",
                "SM",
                "ST",
                "SA",
                "SN",
                "RS",
                "SC",
                "SL",
                "SG",
                "SX",
                "SK",
                "SI",
                "SB",
                "SO",
                "ZA",
                "GS",
                "SS",
                "ES",
                "LK",
                "SD",
                "SR",
                "SJ",
                "SZ",
                "SE",
                "CH",
                "SY",
                "TW",
                "TJ",
                "TZ",
                "TH",
                "TL",
                "TG",
                "TK",
                "TO",
                "TT",
                "TN",
                "TR",
                "TM",
                "TC",
                "TV",
                "UG",
                "UA",
                "AE",
                "GB",
                "US",
                "UM",
                "UY",
                "UZ",
                "VU",
                "VE",
                "VN",
                "VG",
                "VI",
                "WF",
                "EH",
                "YE",
                "ZM",
                "ZW"
              ]
            }
          },
          "numberOfPartnersOrDirectors": {
            "type": "number"
          },
          "quoteTotal": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "Draft",
              "Proceeding",
              "Submitted"
            ]
          },
          "agreementStatus": {
            "type": "string",
            "enum": [
              "Awaiting-Approval-From-The-SRA",
              "Application-Error",
              "Submitted-To-PCL",
              "PCL-Processing",
              "Process-Complete"
            ]
          },
          "applicationStatus": {
            "type": "string"
          },
          "monthlyPaymentAmount": {
            "type": "number"
          },
          "monthlyOfMonthRepayment": {
            "type": "number"
          },
          "annualPercentageRate": {
            "type": "number"
          },
          "totalAmountRepayable": {
            "type": "number"
          },
          "applicant": {
            "type": "object"
          },
          "organizationEntityType": {
            "type": "string",
            "enum": [
              "Private-Individual",
              "Sole-Trader",
              "Limited-Company",
              "LLP",
              "PLC",
              "Partnership-3-or-less",
              "Partnership-4-or-more"
            ]
          },
          "reconciledDate": {
            "type": "string",
            "format": "date-time"
          },
          "collectionAmount": {
            "type": "number"
          },
          "baseTransactionAmount": {
            "type": "number"
          },
          "facilityFeeAmount": {
            "type": "number"
          },
          "baseTransactionFeeRate": {
            "type": "number"
          },
          "collectionTerm": {
            "type": "number"
          },
          "companyId": {
            "type": "string"
          },
          "bankDetails": {
            "type": "object"
          },
          "createdBy": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "regNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<UpsertQuoteDto>"
      },
      "EmailConfiguration": {
        "title": "EmailConfiguration",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "recipientEmail": {
            "type": "string"
          },
          "imap": {
            "type": "object"
          },
          "type": {
            "type": "string",
            "enum": [
              "non-salesforce-report",
              "bulk-reconciliation",
              "sra-report",
              "shirepf-report",
              "aml-report",
              "sra-reject-attachment"
            ]
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false
      },
      "NewEmailConfiguration": {
        "title": "NewEmailConfiguration",
        "type": "object",
        "description": "(tsType: Omit<EmailConfiguration, 'id'>, schemaOptions: { title: 'NewEmailConfiguration', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "recipientEmail": {
            "type": "string"
          },
          "imap": {
            "type": "object"
          },
          "type": {
            "type": "string",
            "enum": [
              "non-salesforce-report",
              "bulk-reconciliation",
              "sra-report",
              "shirepf-report",
              "aml-report",
              "sra-reject-attachment"
            ]
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<EmailConfiguration, 'id'>"
      },
      "EmailConfigurationWithRelations": {
        "title": "EmailConfigurationWithRelations",
        "type": "object",
        "description": "(tsType: EmailConfigurationWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "recipientEmail": {
            "type": "string"
          },
          "imap": {
            "type": "object"
          },
          "type": {
            "type": "string",
            "enum": [
              "non-salesforce-report",
              "bulk-reconciliation",
              "sra-report",
              "shirepf-report",
              "aml-report",
              "sra-reject-attachment"
            ]
          }
        },
        "required": [
          "type"
        ],
        "additionalProperties": false,
        "x-typescript-type": "EmailConfigurationWithRelations"
      },
      "EmailConfigurationPartial": {
        "title": "EmailConfigurationPartial",
        "type": "object",
        "description": "(tsType: Partial<EmailConfiguration>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "recipientEmail": {
            "type": "string"
          },
          "imap": {
            "type": "object"
          },
          "type": {
            "type": "string",
            "enum": [
              "non-salesforce-report",
              "bulk-reconciliation",
              "sra-report",
              "shirepf-report",
              "aml-report",
              "sra-reject-attachment"
            ]
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EmailConfiguration>"
      },
      "Company": {
        "title": "Company",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isDeleted": {
            "type": "boolean"
          },
          "sraId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "object"
          },
          "otherOfficeAddress": {
            "type": "object"
          },
          "regNumber": {
            "type": "string"
          },
          "quoteTotal": {
            "type": "number"
          },
          "numberOfSolicitor": {
            "type": "number"
          },
          "monthlyPaymentAmount": {
            "type": "number"
          },
          "monthlyOfMonthRepayment": {
            "type": "number"
          },
          "annualPercentageRate": {
            "type": "number"
          },
          "totalAmountRepayable": {
            "type": "number"
          },
          "alternativeEmail": {
            "type": "string"
          },
          "alternativePhoneNumber": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "createdBy": {
            "type": "string"
          }
        },
        "required": [
          "sraId",
          "name"
        ],
        "additionalProperties": false
      },
      "AuditTrail": {
        "title": "AuditTrail",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "sraId": {
            "type": "string"
          },
          "action": {
            "type": "string",
            "enum": [
              "INPUT_SRA_ID",
              "SUBMIT_STEP_1",
              "SUBMIT_STEP_2_A",
              "SUBMIT_STEP_2_B",
              "SUBMIT_STEP_3",
              "SUBMIT_STEP_4"
            ]
          },
          "createdBy": {
            "type": "string"
          }
        },
        "required": [
          "sraId",
          "action"
        ],
        "additionalProperties": true
      },
      "Create Audit Trail": {
        "title": "Create Audit Trail",
        "type": "object",
        "description": "(tsType: Omit<AuditTrail, 'id'>, schemaOptions: { title: 'Create Audit Trail', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "sraId": {
            "type": "string"
          },
          "action": {
            "type": "string",
            "enum": [
              "INPUT_SRA_ID",
              "SUBMIT_STEP_1",
              "SUBMIT_STEP_2_A",
              "SUBMIT_STEP_2_B",
              "SUBMIT_STEP_3",
              "SUBMIT_STEP_4"
            ]
          },
          "createdBy": {
            "type": "string"
          }
        },
        "required": [
          "sraId",
          "action"
        ],
        "additionalProperties": true,
        "x-typescript-type": "Omit<AuditTrail, 'id'>"
      },
      "EmailConfiguration.Filter": {
        "type": "object",
        "title": "EmailConfiguration.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"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "recipientEmail": {
                    "type": "boolean"
                  },
                  "imap": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "updatedAt",
                    "isDeleted",
                    "recipientEmail",
                    "imap",
                    "type"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EmailConfiguration.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EmailConfiguration>"
      },
      "EmailConfiguration.Filter1": {
        "type": "object",
        "title": "EmailConfiguration.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": "EmailConfiguration.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "recipientEmail": {
                    "type": "boolean"
                  },
                  "imap": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "updatedAt",
                    "isDeleted",
                    "recipientEmail",
                    "imap",
                    "type"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EmailConfiguration.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EmailConfiguration>"
      },
      "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
          }
        }
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "Quote.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": "Quote.ScopeFilter"
      },
      "Quote.IncludeFilter.Items": {
        "title": "Quote.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "company",
              "signatories",
              "significantIndividualsEntries",
              "quoteTimelogs"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Quote.ScopeFilter"
          }
        }
      },
      "Quote.Filter": {
        "type": "object",
        "title": "Quote.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"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "pclReferencedQuoteId": {
                    "type": "boolean"
                  },
                  "pclAgreementApplicationId": {
                    "type": "boolean"
                  },
                  "pclReferencedQuoteRequest": {
                    "type": "boolean"
                  },
                  "pclReferencedQuoteResponse": {
                    "type": "boolean"
                  },
                  "pclAgreementApplicationRequest": {
                    "type": "boolean"
                  },
                  "pclAgreementApplicationResponse": {
                    "type": "boolean"
                  },
                  "pclAdjustmentRequest": {
                    "type": "boolean"
                  },
                  "pclAdjustmentResponse": {
                    "type": "boolean"
                  },
                  "confirmWorkOutsideUK": {
                    "type": "boolean"
                  },
                  "confirmMoreThan10PercentRevenueOutsideUK": {
                    "type": "boolean"
                  },
                  "operatingInCountries": {
                    "type": "boolean"
                  },
                  "tradedWithCountries": {
                    "type": "boolean"
                  },
                  "numberOfPartnersOrDirectors": {
                    "type": "boolean"
                  },
                  "quoteTotal": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "agreementStatus": {
                    "type": "boolean"
                  },
                  "applicationStatus": {
                    "type": "boolean"
                  },
                  "monthlyPaymentAmount": {
                    "type": "boolean"
                  },
                  "monthlyOfMonthRepayment": {
                    "type": "boolean"
                  },
                  "annualPercentageRate": {
                    "type": "boolean"
                  },
                  "totalAmountRepayable": {
                    "type": "boolean"
                  },
                  "applicant": {
                    "type": "boolean"
                  },
                  "organizationEntityType": {
                    "type": "boolean"
                  },
                  "reconciledDate": {
                    "type": "boolean"
                  },
                  "collectionAmount": {
                    "type": "boolean"
                  },
                  "baseTransactionAmount": {
                    "type": "boolean"
                  },
                  "facilityFeeAmount": {
                    "type": "boolean"
                  },
                  "baseTransactionFeeRate": {
                    "type": "boolean"
                  },
                  "collectionTerm": {
                    "type": "boolean"
                  },
                  "companyId": {
                    "type": "boolean"
                  },
                  "bankDetails": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "regNumber": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "updatedAt",
                    "isDeleted",
                    "pclReferencedQuoteId",
                    "pclAgreementApplicationId",
                    "pclReferencedQuoteRequest",
                    "pclReferencedQuoteResponse",
                    "pclAgreementApplicationRequest",
                    "pclAgreementApplicationResponse",
                    "pclAdjustmentRequest",
                    "pclAdjustmentResponse",
                    "confirmWorkOutsideUK",
                    "confirmMoreThan10PercentRevenueOutsideUK",
                    "operatingInCountries",
                    "tradedWithCountries",
                    "numberOfPartnersOrDirectors",
                    "quoteTotal",
                    "status",
                    "agreementStatus",
                    "applicationStatus",
                    "monthlyPaymentAmount",
                    "monthlyOfMonthRepayment",
                    "annualPercentageRate",
                    "totalAmountRepayable",
                    "applicant",
                    "organizationEntityType",
                    "reconciledDate",
                    "collectionAmount",
                    "baseTransactionAmount",
                    "facilityFeeAmount",
                    "baseTransactionFeeRate",
                    "collectionTerm",
                    "companyId",
                    "bankDetails",
                    "createdBy",
                    "invoiceNumber",
                    "regNumber"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Quote.Fields"
          },
          "include": {
            "title": "Quote.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Quote.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Quote>"
      },
      "Signatory.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": "Signatory.ScopeFilter"
      },
      "Signatory.IncludeFilter.Items": {
        "title": "Signatory.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "quote"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Signatory.ScopeFilter"
          }
        }
      },
      "Signatory.Filter": {
        "type": "object",
        "title": "Signatory.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"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "firstName": {
                    "type": "boolean"
                  },
                  "lastName": {
                    "type": "boolean"
                  },
                  "position": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "phoneNumber": {
                    "type": "boolean"
                  },
                  "quoteId": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "updatedAt",
                    "isDeleted",
                    "title",
                    "firstName",
                    "lastName",
                    "position",
                    "email",
                    "phoneNumber",
                    "quoteId",
                    "createdBy"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Signatory.Fields"
          },
          "include": {
            "title": "Signatory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Signatory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Signatory>"
      },
      "Signatory.Filter1": {
        "type": "object",
        "title": "Signatory.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": "Signatory.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "firstName": {
                    "type": "boolean"
                  },
                  "lastName": {
                    "type": "boolean"
                  },
                  "position": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "phoneNumber": {
                    "type": "boolean"
                  },
                  "quoteId": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "updatedAt",
                    "isDeleted",
                    "title",
                    "firstName",
                    "lastName",
                    "position",
                    "email",
                    "phoneNumber",
                    "quoteId",
                    "createdBy"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Signatory.Fields"
          },
          "include": {
            "title": "Signatory.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Signatory.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Signatory>"
      },
      "SignificantIndividualsEntry.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": "SignificantIndividualsEntry.ScopeFilter"
      },
      "SignificantIndividualsEntry.IncludeFilter.Items": {
        "title": "SignificantIndividualsEntry.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "quote"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/SignificantIndividualsEntry.ScopeFilter"
          }
        }
      },
      "SignificantIndividualsEntry.Filter": {
        "type": "object",
        "title": "SignificantIndividualsEntry.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"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "foreName": {
                    "type": "boolean"
                  },
                  "middleName": {
                    "type": "boolean"
                  },
                  "surName": {
                    "type": "boolean"
                  },
                  "dateOfBirth": {
                    "type": "boolean"
                  },
                  "recentAddresses": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "quoteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "SignificantIndividualsEntry.Fields"
          },
          "include": {
            "title": "SignificantIndividualsEntry.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/SignificantIndividualsEntry.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<SignificantIndividualsEntry>"
      },
      "SignificantIndividualsEntry.Filter1": {
        "type": "object",
        "title": "SignificantIndividualsEntry.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": "SignificantIndividualsEntry.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "foreName": {
                    "type": "boolean"
                  },
                  "middleName": {
                    "type": "boolean"
                  },
                  "surName": {
                    "type": "boolean"
                  },
                  "dateOfBirth": {
                    "type": "boolean"
                  },
                  "recentAddresses": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "quoteId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "SignificantIndividualsEntry.Fields"
          },
          "include": {
            "title": "SignificantIndividualsEntry.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/SignificantIndividualsEntry.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<SignificantIndividualsEntry>"
      }
    }
  }
}