{
  "openapi": "3.0.0",
  "info": {
    "title": "infinance-api",
    "version": "0.0.1",
    "description": "API for INFINANCE",
    "contact": {
      "name": "Omar Ramos Espinosa",
      "email": "67802294+CapiPato@users.noreply.github.com"
    }
  },
  "paths": {
    "/auth/login": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "login",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "AppUser Signup",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "The input of login",
          "required": true
        },
        "operationId": "AuthController.login"
      }
    },
    "/auth/logout": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "logout",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.logout"
          }
        },
        "operationId": "AuthController.logout"
      }
    },
    "/auth/me": {
      "get": {
        "x-controller-name": "AuthController",
        "x-operation-name": "me",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.me"
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "AuthController.me"
      }
    },
    "/auth/refresh": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "refreshToken",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Renovar access token usando refresh token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "refreshToken": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Refresh token",
          "required": true
        },
        "operationId": "AuthController.refreshToken"
      }
    },
    "/auth/request-reset-password": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "requestResetPassword",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.requestResetPassword"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string",
                    "example": "user@example.com"
                  }
                }
              }
            }
          },
          "description": "The input of request reset password",
          "required": true
        },
        "operationId": "AuthController.requestResetPassword"
      }
    },
    "/auth/reset-password": {
      "post": {
        "x-controller-name": "AuthController",
        "x-operation-name": "resetPassword",
        "tags": [
          "AuthController"
        ],
        "responses": {
          "200": {
            "description": "Return value of AuthController.resetPassword"
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "token": {
                    "type": "string"
                  },
                  "currentPassword": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  },
                  "confirmPassword": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "The input of reset password",
          "required": true
        },
        "operationId": "AuthController.resetPassword"
      }
    },
    "/bank-charge-mortgages/count": {
      "get": {
        "x-controller-name": "BankChargeMortgageController",
        "x-operation-name": "count",
        "tags": [
          "BankChargeMortgageController"
        ],
        "responses": {
          "200": {
            "description": "BankChargeMortgage model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "BankChargeMortgage.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<BankChargeMortgage>"
                }
              }
            }
          }
        ],
        "operationId": "BankChargeMortgageController.count"
      }
    },
    "/bank-charge-mortgages/multiple": {
      "post": {
        "x-controller-name": "BankChargeMortgageController",
        "x-operation-name": "createMultiple",
        "tags": [
          "BankChargeMortgageController"
        ],
        "responses": {
          "200": {
            "description": "BankChargeMortgage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankChargeMortgage"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "bankChargeMortgage": {
                      "$ref": "#/components/schemas/NewBankChargeMortgage"
                    },
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fileURL": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BankChargeMortgageController.createMultiple"
      }
    },
    "/bank-charge-mortgages/{id}": {
      "patch": {
        "x-controller-name": "BankChargeMortgageController",
        "x-operation-name": "updateById",
        "tags": [
          "BankChargeMortgageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "BankChargeMortgage PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "bankChargeMortgage": {
                    "$ref": "#/components/schemas/BankChargeMortgagePartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-commission-iva-totalCommission_"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BankChargeMortgageController.updateById"
      },
      "get": {
        "x-controller-name": "BankChargeMortgageController",
        "x-operation-name": "findById",
        "tags": [
          "BankChargeMortgageController"
        ],
        "responses": {
          "200": {
            "description": "BankChargeMortgage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "invoiceNumber": {
                      "type": "string"
                    },
                    "taxFolio": {
                      "type": "string"
                    },
                    "invoiceSendingDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "probableDepositDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "paymentDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "chargePercentage": {
                      "type": "number"
                    },
                    "statusId": {
                      "type": "number"
                    },
                    "commission": {
                      "type": "number"
                    },
                    "iva": {
                      "type": "number"
                    },
                    "totalCommission": {
                      "type": "string"
                    },
                    "bills": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fileURL": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankChargeMortgage.Filter"
                }
              }
            }
          }
        ],
        "operationId": "BankChargeMortgageController.findById"
      }
    },
    "/bank-charge-mortgages": {
      "post": {
        "x-controller-name": "BankChargeMortgageController",
        "x-operation-name": "create",
        "tags": [
          "BankChargeMortgageController"
        ],
        "responses": {
          "200": {
            "description": "BankChargeMortgage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankChargeMortgage"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "bankChargeMortgage": {
                    "$ref": "#/components/schemas/NewBankChargeMortgage"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BankChargeMortgageController.create"
      },
      "get": {
        "x-controller-name": "BankChargeMortgageController",
        "x-operation-name": "find",
        "tags": [
          "BankChargeMortgageController"
        ],
        "responses": {
          "200": {
            "description": "Array of BankChargeMortgage model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "dateSignatureNotary": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "authorizedAmount": {
                        "type": "number"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "istatusd": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankChargeMortgage.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "BankChargeMortgageController.find"
      }
    },
    "/bank-charge-pymes/count": {
      "get": {
        "x-controller-name": "BankChargePymeController",
        "x-operation-name": "count",
        "tags": [
          "BankChargePymeController"
        ],
        "responses": {
          "200": {
            "description": "BankChargePyme model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "BankChargePyme.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<BankChargePyme>"
                }
              }
            }
          }
        ],
        "operationId": "BankChargePymeController.count"
      }
    },
    "/bank-charge-pymes/{id}": {
      "patch": {
        "x-controller-name": "BankChargePymeController",
        "x-operation-name": "updateById",
        "tags": [
          "BankChargePymeController"
        ],
        "responses": {
          "204": {
            "description": "BankChargePyme PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "bankChargePyme": {
                      "$ref": "#/components/schemas/BankChargePymePartial"
                    },
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "bankChargePyme": {
                    "$ref": "#/components/schemas/BankChargePymePartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-commission-iva-totalCommission_"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BankChargePymeController.updateById"
      },
      "get": {
        "x-controller-name": "BankChargePymeController",
        "x-operation-name": "findById",
        "tags": [
          "BankChargePymeController"
        ],
        "responses": {
          "200": {
            "description": "BankChargePyme model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "invoiceNumber": {
                      "type": "string"
                    },
                    "taxFolio": {
                      "type": "string"
                    },
                    "invoiceSendingDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "probableDepositDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "paymentDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "chargePercentage": {
                      "type": "number"
                    },
                    "commission": {
                      "type": "number"
                    },
                    "iva": {
                      "type": "number"
                    },
                    "totalCommission": {
                      "type": "number"
                    },
                    "statusId": {
                      "type": "number"
                    },
                    "bills": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fileURL": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankChargePyme.Filter"
                }
              }
            }
          }
        ],
        "operationId": "BankChargePymeController.findById"
      }
    },
    "/bank-charge-pymes": {
      "post": {
        "x-controller-name": "BankChargePymeController",
        "x-operation-name": "create",
        "tags": [
          "BankChargePymeController"
        ],
        "responses": {
          "200": {
            "description": "BankChargePyme model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankChargePyme"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "bankChargePyme": {
                    "$ref": "#/components/schemas/NewBankChargePyme"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "BankChargePymeController.create"
      },
      "get": {
        "x-controller-name": "BankChargePymeController",
        "x-operation-name": "find",
        "tags": [
          "BankChargePymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of BankChargePyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "contractSigningdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "authorizedAmount": {
                        "type": "number"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "istatusd": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BankChargePyme.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "BankChargePymeController.find"
      }
    },
    "/carousel-items/active": {
      "get": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "findActive",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "200": {
            "description": "Array of active CarouselItem model instances ordered by order field",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CarouselItem"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CarouselItemController.findActive"
      }
    },
    "/carousel-items/count": {
      "get": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "count",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "200": {
            "description": "CarouselItem model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "CarouselItem.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<CarouselItem>"
                }
              }
            }
          }
        ],
        "operationId": "CarouselItemController.count"
      }
    },
    "/carousel-items/{id}/toggle-status": {
      "post": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "toggleStatus",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Toggle CarouselItem active status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CarouselItemController.toggleStatus"
      }
    },
    "/carousel-items/{id}": {
      "put": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "replaceById",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CarouselItem PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarouselItem"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CarouselItemController.replaceById"
      },
      "patch": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "updateById",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CarouselItem PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CarouselItemPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CarouselItemController.updateById"
      },
      "get": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "findById",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "200": {
            "description": "CarouselItem model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarouselItemWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarouselItem.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CarouselItemController.findById"
      },
      "delete": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "deleteById",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CarouselItem DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CarouselItemController.deleteById"
      }
    },
    "/carousel-items": {
      "post": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "create",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "200": {
            "description": "CarouselItem model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarouselItem"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCarouselItem"
              }
            }
          }
        },
        "operationId": "CarouselItemController.create"
      },
      "get": {
        "x-controller-name": "CarouselItemController",
        "x-operation-name": "find",
        "tags": [
          "CarouselItemController"
        ],
        "responses": {
          "200": {
            "description": "Array of CarouselItem model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CarouselItemWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CarouselItem.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CarouselItemController.find"
      }
    },
    "/charge-commission-mortgages/approved-rejected/{id}": {
      "patch": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "updateAprovedRejectedMortgage",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "204": {
            "description": "charge-commission-mortgages PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "isApproved": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChargeCommissionMortgageController.updateAprovedRejectedMortgage"
      }
    },
    "/charge-commission-mortgages/count": {
      "get": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "count",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "200": {
            "description": "ChargeCommissionMortgage model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ChargeCommissionMortgage.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ChargeCommissionMortgage>"
                }
              }
            }
          }
        ],
        "operationId": "ChargeCommissionMortgageController.count"
      }
    },
    "/charge-commission-mortgages/credit-request-mortgage/{mortgageCreditId}": {
      "get": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "findChargeCommissionMortgageCredit",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "200": {
            "description": "charge-commission-mortgages model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "applicantName": {
                          "type": "string"
                        },
                        "creditReason": {
                          "type": "string"
                        },
                        "authorizedAmount": {
                          "type": "number"
                        },
                        "commissionOpening": {
                          "type": "number"
                        },
                        "deadlines": {
                          "type": "number"
                        },
                        "financialInstitution": {
                          "type": "string"
                        },
                        "origin": {
                          "type": "string"
                        },
                        "responsibleExecutive": {
                          "type": "string"
                        }
                      }
                    },
                    "paymentInformation": {
                      "type": "object",
                      "properties": {
                        "scheduledDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "status": {
                          "type": "string"
                        },
                        "statusId": {
                          "type": "number"
                        },
                        "paymentDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "reasonRejected": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "paymentVouchers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "fileURL": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "extension": {
                                "type": "string"
                              }
                            }
                          }
                        }
                      }
                    },
                    "chargeCommission": {
                      "type": "object",
                      "properties": {
                        "taxRegime": {
                          "type": "number"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "commissionAmount": {
                          "type": "number"
                        },
                        "isFactoring": {
                          "type": "number"
                        },
                        "factoringAmount": {
                          "type": "number"
                        },
                        "factoringCommission": {
                          "type": "number"
                        },
                        "discounts": {
                          "type": "number"
                        },
                        "finalCommission": {
                          "type": "number"
                        },
                        "iva": {
                          "type": "number"
                        },
                        "retentionva": {
                          "type": "number"
                        },
                        "retentionisr": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        },
                        "invoiceNumber": {
                          "type": "string"
                        },
                        "taxFolio": {
                          "type": "string"
                        }
                      }
                    },
                    "bills": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fileURL": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "mortgageCreditId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionMortgage.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ChargeCommissionMortgageController.findChargeCommissionMortgageCredit"
      }
    },
    "/charge-commission-mortgages/responsable-user/{id}": {
      "patch": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "204": {
            "description": "charge-commission-mortgages PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "taxRegime": {
                      "type": "string"
                    },
                    "commission": {
                      "type": "number"
                    },
                    "commissionAmount": {
                      "type": "number"
                    },
                    "isFactoring": {
                      "type": "boolean"
                    },
                    "factoringAmount": {
                      "type": "number"
                    },
                    "factoringCommission": {
                      "type": "number"
                    },
                    "discounts": {
                      "type": "number",
                      "nullable": true
                    },
                    "finalCommission": {
                      "type": "number"
                    },
                    "iva": {
                      "type": "number"
                    },
                    "retentionva": {
                      "type": "number"
                    },
                    "retentionisr": {
                      "type": "number"
                    },
                    "total": {
                      "type": "number"
                    },
                    "invoiceNumber": {
                      "type": "string"
                    },
                    "taxFolio": {
                      "type": "string"
                    },
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "taxRegime": {
                    "type": "string"
                  },
                  "commission": {
                    "type": "number"
                  },
                  "commissionAmount": {
                    "type": "number"
                  },
                  "isFactoring": {
                    "type": "boolean"
                  },
                  "factoringAmount": {
                    "type": "number"
                  },
                  "factoringCommission": {
                    "type": "number"
                  },
                  "discounts": {
                    "type": "number",
                    "nullable": true
                  },
                  "finalCommission": {
                    "type": "number"
                  },
                  "iva": {
                    "type": "number"
                  },
                  "retentionva": {
                    "type": "number"
                  },
                  "retentionisr": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "invoiceNumber": {
                    "type": "string"
                  },
                  "taxFolio": {
                    "type": "string"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChargeCommissionMortgageController.updateDocuments"
      },
      "get": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "getChargeCommisionResponsableUser",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "200": {
            "description": "charge-commission-mortgages model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "paymentInformation": {
                      "type": "object",
                      "properties": {
                        "scheduledDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "paymentDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "status": {
                          "type": "string"
                        },
                        "reasonRejected": {
                          "type": "string"
                        }
                      }
                    },
                    "commissionData": {
                      "type": "object",
                      "properties": {
                        "applicantName": {
                          "type": "string"
                        },
                        "financialInstitution": {
                          "type": "string"
                        },
                        "authorizedAmount": {
                          "type": "number"
                        },
                        "taxRegime": {
                          "type": "string"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "commissionAmount": {
                          "type": "number"
                        },
                        "isFactoring": {
                          "type": "boolean"
                        },
                        "factoringAmount": {
                          "type": "number"
                        },
                        "factoringCommission": {
                          "type": "number"
                        },
                        "discounts": {
                          "type": "number"
                        },
                        "finalCommission": {
                          "type": "number"
                        },
                        "iva": {
                          "type": "number"
                        },
                        "retentionva": {
                          "type": "number"
                        },
                        "retentionisr": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      }
                    },
                    "invoiceNumber": {
                      "type": "string"
                    },
                    "taxFolio": {
                      "type": "string"
                    },
                    "bills": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "paymentVouchers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChargeCommissionMortgageController.getChargeCommisionResponsableUser"
      }
    },
    "/charge-commission-mortgages/responsable-user-multiple": {
      "patch": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "updateDocumentsMultiple",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "204": {
            "description": "charge-commission-mortgages PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "invoiceNumber": {
                    "type": "string"
                  },
                  "taxFolio": {
                    "type": "string"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "commissionIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "ChargeCommissionMortgageController.updateDocumentsMultiple"
      }
    },
    "/charge-commission-mortgages/{mortgageCreditId}": {
      "patch": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "updateById",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "204": {
            "description": "ChargeCommissionMortgage PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionMortgagePartial"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "mortgageCreditId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "chargeCommissionMortgage": {
                    "$ref": "#/components/schemas/ChargeCommissionMortgagePartialExcluding_id-createdBy-createdAt-updatedAt-updatedBy-mortgageCreditId-taxFolio-invoiceNumber-reasonRejected-controllerDate_"
                  },
                  "paymentVouchers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChargeCommissionMortgageController.updateById"
      }
    },
    "/charge-commission-mortgages/{id}": {
      "get": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "findById",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "200": {
            "description": "ChargeCommissionMortgage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionMortgageWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionMortgage.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ChargeCommissionMortgageController.findById"
      }
    },
    "/charge-commission-mortgages": {
      "get": {
        "x-controller-name": "ChargeCommissionMortgageController",
        "x-operation-name": "find",
        "tags": [
          "ChargeCommissionMortgageController"
        ],
        "responses": {
          "200": {
            "description": "Array of ChargeCommissionMortgage model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "scheduledDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "commission": {
                        "type": "number"
                      },
                      "total": {
                        "type": "number"
                      },
                      "paymentDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "status": {
                        "type": "string"
                      },
                      "statusId": {
                        "type": "number"
                      },
                      "bills": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "paymentVouchers": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionMortgage.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ChargeCommissionMortgageController.find"
      }
    },
    "/charge-commission-pymes/approved-rejected/{id}": {
      "patch": {
        "x-controller-name": "ChargeCommissionPymeController",
        "x-operation-name": "updateAprovedRejectedMortgage",
        "tags": [
          "ChargeCommissionPymeController"
        ],
        "responses": {
          "204": {
            "description": "charge-commission-pymes PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "isApproved": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChargeCommissionPymeController.updateAprovedRejectedMortgage"
      }
    },
    "/charge-commission-pymes/count": {
      "get": {
        "x-controller-name": "ChargeCommissionPymeController",
        "x-operation-name": "count",
        "tags": [
          "ChargeCommissionPymeController"
        ],
        "responses": {
          "200": {
            "description": "ChargeCommissionPyme model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ChargeCommissionPyme.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ChargeCommissionPyme>"
                }
              }
            }
          }
        ],
        "operationId": "ChargeCommissionPymeController.count"
      }
    },
    "/charge-commission-pymes/credit-request-pyme/{creditRequestPymeId}": {
      "get": {
        "x-controller-name": "ChargeCommissionPymeController",
        "x-operation-name": "findChargeCommissionPymeCredit",
        "tags": [
          "ChargeCommissionPymeController"
        ],
        "responses": {
          "200": {
            "description": "ChargeCommissionPyme model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "businessName": {
                          "type": "string"
                        },
                        "typeCredit": {
                          "type": "string"
                        },
                        "authorizedAmount": {
                          "type": "number"
                        },
                        "iva": {
                          "type": "number"
                        },
                        "commissionOpening": {
                          "type": "number"
                        },
                        "deadlines": {
                          "type": "number"
                        },
                        "financialInstitution": {
                          "type": "string"
                        },
                        "origin": {
                          "type": "string"
                        },
                        "responsibleExecutive": {
                          "type": "string"
                        }
                      }
                    },
                    "paymentInformation": {
                      "scheduledDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "paymentDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "status": {
                        "type": "string"
                      },
                      "statusId": {
                        "type": "number"
                      },
                      "reasonRejected": {
                        "type": "string"
                      },
                      "paymentVouchers": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "chargeCommission": {
                      "type": "object",
                      "properties": {
                        "taxRegime": {
                          "type": "string"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "commissionAmount": {
                          "type": "number"
                        },
                        "isFactoring": {
                          "type": "number"
                        },
                        "factoringAmount": {
                          "type": "number"
                        },
                        "factoringCommission": {
                          "type": "number"
                        },
                        "discounts": {
                          "type": "number"
                        },
                        "finalCommission": {
                          "type": "number"
                        },
                        "iva": {
                          "type": "number"
                        },
                        "retentionva": {
                          "type": "number"
                        },
                        "retentionisr": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        },
                        "invoiceNumber": {
                          "type": "string"
                        },
                        "taxFolio": {
                          "type": "string"
                        }
                      }
                    },
                    "bills": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fileURL": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "creditRequestPymeId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionPyme.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ChargeCommissionPymeController.findChargeCommissionPymeCredit"
      }
    },
    "/charge-commission-pymes/responsable-user/{id}": {
      "patch": {
        "x-controller-name": "ChargeCommissionPymeController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "ChargeCommissionPymeController"
        ],
        "responses": {
          "204": {
            "description": "charge-commission-pymes PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "taxRegime": {
                      "type": "string"
                    },
                    "commission": {
                      "type": "number"
                    },
                    "commissionAmount": {
                      "type": "number"
                    },
                    "isFactoring": {
                      "type": "boolean"
                    },
                    "factoringAmount": {
                      "type": "number"
                    },
                    "factoringCommission": {
                      "type": "number"
                    },
                    "discounts": {
                      "type": "number"
                    },
                    "finalCommission": {
                      "type": "number"
                    },
                    "iva": {
                      "type": "number"
                    },
                    "retentionva": {
                      "type": "number"
                    },
                    "retentionisr": {
                      "type": "number"
                    },
                    "total": {
                      "type": "number"
                    },
                    "invoiceNumber": {
                      "type": "string"
                    },
                    "taxFolio": {
                      "type": "string"
                    },
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "taxRegime": {
                    "type": "string"
                  },
                  "commission": {
                    "type": "number"
                  },
                  "commissionAmount": {
                    "type": "number"
                  },
                  "isFactoring": {
                    "type": "boolean"
                  },
                  "factoringAmount": {
                    "type": "number"
                  },
                  "factoringCommission": {
                    "type": "number"
                  },
                  "discounts": {
                    "type": "number"
                  },
                  "finalCommission": {
                    "type": "number"
                  },
                  "iva": {
                    "type": "number"
                  },
                  "retentionva": {
                    "type": "number"
                  },
                  "retentionisr": {
                    "type": "number"
                  },
                  "total": {
                    "type": "number"
                  },
                  "invoiceNumber": {
                    "type": "string"
                  },
                  "taxFolio": {
                    "type": "string"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChargeCommissionPymeController.updateDocuments"
      },
      "get": {
        "x-controller-name": "ChargeCommissionPymeController",
        "x-operation-name": "getChargeCommisionResponsableUser",
        "tags": [
          "ChargeCommissionPymeController"
        ],
        "responses": {
          "200": {
            "description": "ChargeCommissionPyme model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "paymentInformation": {
                      "type": "object",
                      "properties": {
                        "scheduledDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "paymentDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "status": {
                          "type": "string"
                        },
                        "reasonRejected": {
                          "type": "string"
                        }
                      }
                    },
                    "commissionData": {
                      "type": "object",
                      "properties": {
                        "businessName": {
                          "type": "string"
                        },
                        "financialInstitution": {
                          "type": "string"
                        },
                        "authorizedAmount": {
                          "type": "number"
                        },
                        "taxRegime": {
                          "type": "string"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "commissionAmount": {
                          "type": "number"
                        },
                        "isFactoring": {
                          "type": "boolean"
                        },
                        "factoringAmount": {
                          "type": "number"
                        },
                        "factoringCommission": {
                          "type": "number"
                        },
                        "discounts": {
                          "type": "number"
                        },
                        "finalCommission": {
                          "type": "number"
                        },
                        "iva": {
                          "type": "number"
                        },
                        "retentionva": {
                          "type": "number"
                        },
                        "retentionisr": {
                          "type": "number"
                        },
                        "total": {
                          "type": "number"
                        }
                      }
                    },
                    "invoiceNumber": {
                      "type": "string"
                    },
                    "taxFolio": {
                      "type": "string"
                    },
                    "bills": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "paymentVouchers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ChargeCommissionPymeController.getChargeCommisionResponsableUser"
      }
    },
    "/charge-commission-pymes/{creditRequestPymeId}": {
      "patch": {
        "x-controller-name": "ChargeCommissionPymeController",
        "x-operation-name": "updateById",
        "tags": [
          "ChargeCommissionPymeController"
        ],
        "responses": {
          "204": {
            "description": "ChargeCommissionPyme PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionPymePartial"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "creditRequestPymeId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "chargeCommissionPyme": {
                    "$ref": "#/components/schemas/ChargeCommissionPymePartialExcluding_id-createdBy-createdAt-updatedAt-updatedBy-creditRequestPymeId-taxFolio-invoiceNumber-taxRegime-reasonRejected-controllerDate_"
                  },
                  "paymentVouchers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ChargeCommissionPymeController.updateById"
      }
    },
    "/charge-commission-pymes/{id}": {
      "get": {
        "x-controller-name": "ChargeCommissionPymeController",
        "x-operation-name": "findById",
        "tags": [
          "ChargeCommissionPymeController"
        ],
        "responses": {
          "200": {
            "description": "ChargeCommissionPyme model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionPyme"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionPyme.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ChargeCommissionPymeController.findById"
      }
    },
    "/charge-commission-pymes": {
      "get": {
        "x-controller-name": "ChargeCommissionPymeController",
        "x-operation-name": "find",
        "tags": [
          "ChargeCommissionPymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of ChargeCommissionPyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "scheduledDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "commission": {
                        "type": "number"
                      },
                      "total": {
                        "type": "number"
                      },
                      "paymentDate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "status": {
                        "type": "string"
                      },
                      "statusId": {
                        "type": "number"
                      },
                      "bills": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "paymentVouchers": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCommissionPyme.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ChargeCommissionPymeController.find"
      }
    },
    "/configurations": {
      "post": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "create",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "Configuration model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Configuration"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewConfiguration"
              }
            }
          }
        },
        "operationId": "ConfigurationController.create"
      },
      "get": {
        "x-controller-name": "ConfigurationController",
        "x-operation-name": "find",
        "tags": [
          "ConfigurationController"
        ],
        "responses": {
          "200": {
            "description": "Configuration model instances",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Configuration"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Configuration.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ConfigurationController.find"
      }
    },
    "/courses/catalog/franchise/{franchiseId}": {
      "get": {
        "x-controller-name": "CourseDashboardController",
        "x-operation-name": "franchiseCatalog",
        "tags": [
          "CourseDashboardController"
        ],
        "responses": {
          "200": {
            "description": "Franchise course catalog with team progress",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franchiseId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "categoryName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CourseDashboardController.franchiseCatalog"
      }
    },
    "/courses/catalog": {
      "get": {
        "x-controller-name": "CourseController",
        "x-operation-name": "catalog",
        "tags": [
          "CourseController"
        ],
        "responses": {
          "200": {
            "description": "Course catalog with filters and pagination",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "categoryName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CourseController.catalog"
      }
    },
    "/courses/count": {
      "get": {
        "x-controller-name": "CourseController",
        "x-operation-name": "count",
        "tags": [
          "CourseController"
        ],
        "responses": {
          "200": {
            "description": "Course model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Course.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Course>"
                }
              }
            }
          }
        ],
        "operationId": "CourseController.count"
      }
    },
    "/courses/dashboard/franchise/{franchiseId}/remind": {
      "post": {
        "x-controller-name": "CourseDashboardController",
        "x-operation-name": "sendFranchiseReminder",
        "tags": [
          "CourseDashboardController"
        ],
        "responses": {
          "200": {
            "description": "Send reminder to pending employees of a franchise",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "recipients": {
                      "type": "number"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franchiseId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "courseId": {
                    "type": "number"
                  },
                  "status": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseDashboardController.sendFranchiseReminder"
      }
    },
    "/courses/dashboard/franchise/{franchiseId}": {
      "get": {
        "x-controller-name": "CourseDashboardController",
        "x-operation-name": "franchiseDashboard",
        "tags": [
          "CourseDashboardController"
        ],
        "responses": {
          "200": {
            "description": "Franchise dashboard KPIs and employee table",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franchiseId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "courseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CourseDashboardController.franchiseDashboard"
      }
    },
    "/courses/dashboard/matriz": {
      "get": {
        "x-controller-name": "CourseDashboardController",
        "x-operation-name": "matrizDashboard",
        "tags": [
          "CourseDashboardController"
        ],
        "responses": {
          "200": {
            "description": "Matriz dashboard KPIs and franchise table",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "zone",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "courseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CourseDashboardController.matrizDashboard"
      }
    },
    "/courses/my-courses/{courseId}/videos/{videoId}": {
      "get": {
        "x-controller-name": "CourseProgressController",
        "x-operation-name": "videoForPlayer",
        "tags": [
          "CourseProgressController"
        ],
        "responses": {
          "200": {
            "description": "Video detail for player with segments and questions",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "courseId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "videoId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CourseProgressController.videoForPlayer"
      }
    },
    "/courses/my-courses/{courseId}": {
      "get": {
        "x-controller-name": "CourseProgressController",
        "x-operation-name": "myCourseDetail",
        "tags": [
          "CourseProgressController"
        ],
        "responses": {
          "200": {
            "description": "Course videos list with user progress",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "courseId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CourseProgressController.myCourseDetail"
      }
    },
    "/courses/my-courses": {
      "get": {
        "x-controller-name": "CourseProgressController",
        "x-operation-name": "myCourses",
        "tags": [
          "CourseProgressController"
        ],
        "responses": {
          "200": {
            "description": "My assigned courses with personal progress",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "operationId": "CourseProgressController.myCourses"
      }
    },
    "/courses/questions/{id}/answer": {
      "post": {
        "x-controller-name": "CourseProgressController",
        "x-operation-name": "answerQuestion",
        "tags": [
          "CourseProgressController"
        ],
        "responses": {
          "200": {
            "description": "Submit answer to a question",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "selectedOptionIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseProgressController.answerQuestion"
      }
    },
    "/courses/videos/{id}/progress": {
      "post": {
        "x-controller-name": "CourseProgressController",
        "x-operation-name": "updateVideoProgress",
        "tags": [
          "CourseProgressController"
        ],
        "responses": {
          "200": {
            "description": "Update video progress",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "completed": {
                    "type": "boolean"
                  },
                  "lastSeenAt": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "lastPositionSeconds": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseProgressController.updateVideoProgress"
      }
    },
    "/courses/{id}/publish": {
      "post": {
        "x-controller-name": "CourseController",
        "x-operation-name": "publish",
        "tags": [
          "CourseController"
        ],
        "responses": {
          "200": {
            "description": "Course publish success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CourseController.publish"
      }
    },
    "/courses/{id}/tracking/remind": {
      "post": {
        "x-controller-name": "CourseDashboardController",
        "x-operation-name": "sendCourseReminder",
        "tags": [
          "CourseDashboardController"
        ],
        "responses": {
          "200": {
            "description": "Send reminder to pending users",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "recipients": {
                      "type": "number"
                    },
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "franchiseId": {
                    "type": "number"
                  },
                  "status": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseDashboardController.sendCourseReminder"
      }
    },
    "/courses/{id}/tracking": {
      "get": {
        "x-controller-name": "CourseDashboardController",
        "x-operation-name": "courseTracking",
        "tags": [
          "CourseDashboardController"
        ],
        "responses": {
          "200": {
            "description": "Course tracking detail",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "CourseDashboardController.courseTracking"
      }
    },
    "/courses/{id}": {
      "patch": {
        "x-controller-name": "CourseController",
        "x-operation-name": "updateById",
        "tags": [
          "CourseController"
        ],
        "responses": {
          "200": {
            "description": "Course PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CourseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "course": {
                    "$ref": "#/components/schemas/UpdateCourse"
                  },
                  "videos": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string"
                        },
                        "videoUrl": {
                          "type": "string"
                        },
                        "durationMinutes": {
                          "type": "number"
                        },
                        "fileSizeMb": {
                          "type": "number"
                        },
                        "order": {
                          "type": "number"
                        },
                        "hasQuestions": {
                          "type": "boolean"
                        },
                        "segments": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "pauseAtSeconds": {
                                "type": "number"
                              },
                              "answerType": {
                                "type": "string"
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "questionText": {
                                      "type": "string"
                                    },
                                    "options": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "text": {
                                            "type": "string"
                                          },
                                          "isCorrect": {
                                            "type": "boolean"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "roleIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "franchiseIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CourseController.updateById"
      },
      "get": {
        "x-controller-name": "CourseController",
        "x-operation-name": "findById",
        "tags": [
          "CourseController"
        ],
        "responses": {
          "200": {
            "description": "Course model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CourseWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CourseController.findById"
      },
      "delete": {
        "x-controller-name": "CourseController",
        "x-operation-name": "deleteById",
        "tags": [
          "CourseController"
        ],
        "responses": {
          "200": {
            "description": "Course DELETE success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CourseController.deleteById"
      }
    },
    "/courses": {
      "post": {
        "x-controller-name": "CourseController",
        "x-operation-name": "create",
        "tags": [
          "CourseController"
        ],
        "responses": {
          "200": {
            "description": "Course model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Course"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "course": {
                    "$ref": "#/components/schemas/NewCourse"
                  },
                  "videos": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string"
                        },
                        "videoUrl": {
                          "type": "string"
                        },
                        "durationMinutes": {
                          "type": "number"
                        },
                        "fileSizeMb": {
                          "type": "number"
                        },
                        "order": {
                          "type": "number"
                        },
                        "hasQuestions": {
                          "type": "boolean"
                        },
                        "segments": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "pauseAtSeconds": {
                                "type": "number"
                              },
                              "answerType": {
                                "type": "string"
                              },
                              "questions": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "questionText": {
                                      "type": "string"
                                    },
                                    "options": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "text": {
                                            "type": "string"
                                          },
                                          "isCorrect": {
                                            "type": "boolean"
                                          }
                                        }
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  },
                  "roleIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  },
                  "franchiseIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "CourseController.create"
      },
      "get": {
        "x-controller-name": "CourseController",
        "x-operation-name": "find",
        "tags": [
          "CourseController"
        ],
        "responses": {
          "200": {
            "description": "Array of Course model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CourseWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Course.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CourseController.find"
      }
    },
    "/credit-reasons/count": {
      "get": {
        "x-controller-name": "CreditReasonController",
        "x-operation-name": "count",
        "tags": [
          "CreditReasonController"
        ],
        "responses": {
          "200": {
            "description": "CreditReason model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "CreditReason.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<CreditReason>"
                }
              }
            }
          }
        ],
        "operationId": "CreditReasonController.count"
      }
    },
    "/credit-reasons/{id}": {
      "put": {
        "x-controller-name": "CreditReasonController",
        "x-operation-name": "replaceById",
        "tags": [
          "CreditReasonController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CreditReason PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditReason"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditReasonController.replaceById"
      },
      "patch": {
        "x-controller-name": "CreditReasonController",
        "x-operation-name": "updateById",
        "tags": [
          "CreditReasonController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CreditReason PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditReasonPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditReasonController.updateById"
      },
      "get": {
        "x-controller-name": "CreditReasonController",
        "x-operation-name": "findById",
        "tags": [
          "CreditReasonController"
        ],
        "responses": {
          "200": {
            "description": "CreditReason model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditReasonWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditReason.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CreditReasonController.findById"
      },
      "delete": {
        "x-controller-name": "CreditReasonController",
        "x-operation-name": "deleteById",
        "tags": [
          "CreditReasonController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CreditReason DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CreditReasonController.deleteById"
      }
    },
    "/credit-reasons": {
      "post": {
        "x-controller-name": "CreditReasonController",
        "x-operation-name": "create",
        "tags": [
          "CreditReasonController"
        ],
        "responses": {
          "200": {
            "description": "CreditReason model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditReason"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCreditReason"
              }
            }
          }
        },
        "operationId": "CreditReasonController.create"
      },
      "patch": {
        "x-controller-name": "CreditReasonController",
        "x-operation-name": "updateAll",
        "tags": [
          "CreditReasonController"
        ],
        "responses": {
          "200": {
            "description": "CreditReason PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "CreditReason.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<CreditReason>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreditReasonPartial"
              }
            }
          }
        },
        "operationId": "CreditReasonController.updateAll"
      },
      "get": {
        "x-controller-name": "CreditReasonController",
        "x-operation-name": "find",
        "tags": [
          "CreditReasonController"
        ],
        "responses": {
          "200": {
            "description": "Array of CreditReason model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CreditReasonWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditReason.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CreditReasonController.find"
      }
    },
    "/credit-request-pymes/bank-charge-pyme/detail/{id}": {
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "findByIdBankChargePyme",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of CreditRequestPyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "businessName": {
                      "type": "string"
                    },
                    "typeCredit": {
                      "type": "string"
                    },
                    "authorizedAmount": {
                      "type": "number"
                    },
                    "iva": {
                      "type": "number"
                    },
                    "commissionOpening": {
                      "type": "number"
                    },
                    "deadlines": {
                      "type": "number"
                    },
                    "financialInstitution": {
                      "type": "string"
                    },
                    "origin": {
                      "type": "string"
                    },
                    "responsibleExecutive": {
                      "type": "string"
                    },
                    "bankChargePyme": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "invoiceNumber": {
                          "type": "string"
                        },
                        "taxFolio": {
                          "type": "string"
                        },
                        "invoiceSendingDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "probableDepositDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "paymentDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "chargePercentage": {
                          "type": "number"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "iva": {
                          "type": "number"
                        },
                        "totalCommission": {
                          "type": "number"
                        },
                        "status": {
                          "type": "number"
                        },
                        "bills": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "fileURL": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "extension": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CreditRequestPymeController.findByIdBankChargePyme"
      }
    },
    "/credit-request-pymes/bank-charge-pyme": {
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "findBankChargePyme",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of CreditRequestPyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "businessName": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "contractSigningdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "authorizedAmount": {
                        "type": "number"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "mainCharge": {
                        "type": "string"
                      },
                      "differenceOne": {
                        "type": "string"
                      },
                      "differenceTwo": {
                        "type": "string"
                      },
                      "bills": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditRequestPyme.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CreditRequestPymeController.findBankChargePyme"
      }
    },
    "/credit-request-pymes/charge-commission-pyme": {
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "findChargeCommissionPyme",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of CreditRequestPyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "businessName": {
                        "type": "string"
                      },
                      "isFactoring": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "responsibleExecutive": {
                        "type": "string"
                      },
                      "contractSigningdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "authorizedAmount": {
                        "type": "number"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "commission": {
                        "type": "number"
                      },
                      "commissionAmount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "bills": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditRequestPyme.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CreditRequestPymeController.findChargeCommissionPyme"
      }
    },
    "/credit-request-pymes/controller/{id}": {
      "patch": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateValueController",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "credit-request-pymes PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "isApproved": {
                    "type": "boolean"
                  },
                  "reasonControllerRejected": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateValueController"
      }
    },
    "/credit-request-pymes/count": {
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "count",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "CreditRequestPyme model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "CreditRequestPyme.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<CreditRequestPyme>"
                }
              }
            }
          }
        ],
        "operationId": "CreditRequestPymeController.count"
      }
    },
    "/credit-request-pymes/dashboard": {
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "findCreditRequestPymeDashboard",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of CreditRequestPyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "applicant": {
                        "type": "string"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "responsibleExecutive": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      },
                      "isRejected": {
                        "type": "boolean"
                      },
                      "reasonRejected": {
                        "type": "string"
                      },
                      "controller": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "financialInstitutionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "address",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "typeCreditId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "responsibleExecutiveId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taxRegime",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "min",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "max",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "maxDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "minDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zone",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "CreditRequestPymeController.findCreditRequestPymeDashboard"
      }
    },
    "/credit-request-pymes/documents/{id}": {
      "patch": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "credit-request-pymes PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateDocuments"
      }
    },
    "/credit-request-pymes/monitoring/{id}": {
      "patch": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateMonitoring",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "Monitoring PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dateFinancialInstitution": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "commentDateFinancialInstitution": {
                    "type": "string",
                    "nullable": true
                  },
                  "dateResolution": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "authorizedAmount": {
                    "type": "number",
                    "nullable": true
                  },
                  "deadlines": {
                    "type": "number",
                    "nullable": true
                  },
                  "rate": {
                    "type": "number",
                    "nullable": true
                  },
                  "commissionOpening": {
                    "type": "number",
                    "nullable": true
                  },
                  "contractSigningdate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "commentContractSigningdate": {
                    "type": "string",
                    "nullable": true
                  },
                  "anchoringDate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "commentAnchoringDate": {
                    "type": "string",
                    "nullable": true
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateMonitoring"
      }
    },
    "/credit-request-pymes/pending-validation": {
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "findPendingValidation",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of CreditRequestPyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "businessName": {
                        "type": "string"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "contractSigningdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "controller": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditRequestPyme.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CreditRequestPymeController.findPendingValidation"
      }
    },
    "/credit-request-pymes/report": {
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "downloadReport",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "Excel report of PYME credits",
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditRequestPyme.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CreditRequestPymeController.downloadReport"
      }
    },
    "/credit-request-pymes/responsible-executive/{franshiseId}": {
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "findResponsableExecutive",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of CreditRequestPyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "applicant": {
                        "type": "string"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "assignedExecutive": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franshiseId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CreditRequestPymeController.findResponsableExecutive"
      }
    },
    "/credit-request-pymes/status-autorizado/{id}": {
      "patch": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateStatusCreditAutorizado",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "CreditRequestPyme PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "isApproved": {
                    "type": "boolean"
                  },
                  "dateResolution": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "authorizedAmount": {
                    "type": "number"
                  },
                  "deadlines": {
                    "type": "number"
                  },
                  "rate": {
                    "type": "number"
                  },
                  "commissionOpening": {
                    "type": "number"
                  },
                  "reasonRejected": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateStatusCreditAutorizado"
      }
    },
    "/credit-request-pymes/status-firmado/{id}": {
      "patch": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateStatusCreditFirmaddo",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "CreditRequestPyme PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "contractSigningdate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "commentContractSigningdate": {
                    "type": "string",
                    "nullable": true
                  },
                  "authorizedEvidence": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateStatusCreditFirmaddo"
      }
    },
    "/credit-request-pymes/status-fondeado/{id}": {
      "patch": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateStatusCreditFondeado",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "CreditRequestPyme PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "anchoringDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "commentAnchoringDate": {
                    "type": "string",
                    "nullable": true
                  },
                  "signedEvidence": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateStatusCreditFondeado"
      }
    },
    "/credit-request-pymes/status-ingresado/{id}": {
      "patch": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateStatusCredit",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "CreditRequestPyme PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dateFinancialInstitution": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "commentDateFinancialInstitution": {
                    "type": "string",
                    "nullable": true
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateStatusCredit"
      }
    },
    "/credit-request-pymes/{id}": {
      "patch": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateById",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "CreditRequestPyme PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "creditRequestPyme": {
                    "type": "object",
                    "properties": {
                      "taxRegime": {
                        "type": "string"
                      },
                      "businessName": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "responsibleExecutive": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "comment": {
                        "type": "string"
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "extNum": {
                            "type": "string"
                          },
                          "intNum": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      },
                      "typeCreditId": {
                        "type": "number"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "deadlines": {
                        "type": "number"
                      },
                      "financialInstitutionId": {
                        "type": "number"
                      },
                      "franchiseId": {
                        "type": "number",
                        "nullable": true
                      },
                      "birthPlaceCountry": {
                        "type": "string",
                        "nullable": true
                      },
                      "birthPlaceState": {
                        "type": "string",
                        "nullable": true
                      },
                      "gender": {
                        "type": "string",
                        "nullable": true
                      },
                      "education": {
                        "type": "string",
                        "nullable": true
                      },
                      "residenceTime": {
                        "type": "number",
                        "nullable": true
                      },
                      "paymentScheme": {
                        "type": "string",
                        "nullable": true
                      },
                      "workAddress": {
                        "type": "object",
                        "nullable": true,
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          }
                        }
                      },
                      "workPhone": {
                        "type": "string",
                        "nullable": true
                      },
                      "previousCompanyName": {
                        "type": "string",
                        "nullable": true
                      },
                      "previousCompanyAntiquity": {
                        "type": "number",
                        "nullable": true
                      },
                      "bankSelected": {
                        "type": "string",
                        "nullable": true
                      },
                      "bankSpecificData": {
                        "type": "object",
                        "nullable": true
                      },
                      "personalReferences": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "phone": {
                              "type": "string"
                            },
                            "relationship": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "paymentFile": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "authorizedEvidence": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "signedEvidence": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "personalReferences": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "phone": {
                          "type": "string"
                        },
                        "relationship": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateById"
      },
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "findById",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "CreditRequestPyme model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditRequestPyme"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditRequestPyme.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CreditRequestPymeController.findById"
      },
      "delete": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "deleteById",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "CreditRequestPyme DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CreditRequestPymeController.deleteById"
      }
    },
    "/credit-request-pymes": {
      "post": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "create",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "CreditRequestPyme model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditRequestPyme"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "creditRequestPyme": {
                    "type": "object",
                    "properties": {
                      "taxRegime": {
                        "type": "string"
                      },
                      "businessName": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string"
                      },
                      "responsibleExecutive": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "comment": {
                        "type": "string"
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "extNum": {
                            "type": "string"
                          },
                          "intNum": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      },
                      "typeCreditId": {
                        "type": "number"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "deadlines": {
                        "type": "number"
                      },
                      "financialInstitutionId": {
                        "type": "number"
                      },
                      "franchiseId": {
                        "type": "number",
                        "nullable": true
                      },
                      "birthPlaceCountry": {
                        "type": "string",
                        "nullable": true
                      },
                      "birthPlaceState": {
                        "type": "string",
                        "nullable": true
                      },
                      "gender": {
                        "type": "string",
                        "nullable": true
                      },
                      "education": {
                        "type": "string",
                        "nullable": true
                      },
                      "residenceTime": {
                        "type": "number",
                        "nullable": true
                      },
                      "paymentScheme": {
                        "type": "string",
                        "nullable": true
                      },
                      "workAddress": {
                        "type": "object",
                        "nullable": true,
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          }
                        }
                      },
                      "workPhone": {
                        "type": "string",
                        "nullable": true
                      },
                      "previousCompanyName": {
                        "type": "string",
                        "nullable": true
                      },
                      "previousCompanyAntiquity": {
                        "type": "number",
                        "nullable": true
                      },
                      "bankSelected": {
                        "type": "string",
                        "nullable": true
                      },
                      "bankSpecificData": {
                        "type": "object",
                        "nullable": true
                      },
                      "personalReferences": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "phone": {
                              "type": "string"
                            },
                            "relationship": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "personalReferences": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "phone": {
                          "type": "string"
                        },
                        "relationship": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "CreditRequestPymeController.create"
      },
      "get": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "find",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "200": {
            "description": "Array of CreditRequestPyme model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "applicant": {
                        "type": "string"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "responsibleExecutive": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      },
                      "isRejected": {
                        "type": "boolean"
                      },
                      "reasonRejected": {
                        "type": "string"
                      },
                      "controller": {
                        "type": "string"
                      },
                      "isCancel": {
                        "type": "boolean"
                      },
                      "creditCancelReason": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreditRequestPyme.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CreditRequestPymeController.find"
      }
    },
    "/customers/activate-deactivate/{id}": {
      "post": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "deactivateById",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "Customer Activate/Deactivate success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "activateDeactivateComment": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CustomerController.deactivateById"
      }
    },
    "/customers/count": {
      "get": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "count",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "Customer model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Customer.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Customer>"
                }
              }
            }
          }
        ],
        "operationId": "CustomerController.count"
      }
    },
    "/customers/{id}": {
      "patch": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "updateById",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "204": {
            "description": "Customer PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "customer": {
                    "$ref": "#/components/schemas/CustomerPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-organizationId-isActive-isDeleted-franchiseId_"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CustomerController.updateById"
      },
      "get": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "findById",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "Customer model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customer"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customer.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CustomerController.findById"
      },
      "delete": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "deleteById",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "204": {
            "description": "Customer DELETE success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CustomerController.deleteById"
      }
    },
    "/customers": {
      "post": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "create",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "Customer model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customer"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "customer": {
                    "$ref": "#/components/schemas/NewCustomer"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "CustomerController.create"
      },
      "get": {
        "x-controller-name": "CustomerController",
        "x-operation-name": "find",
        "tags": [
          "CustomerController"
        ],
        "responses": {
          "200": {
            "description": "Array of Customer model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Customer"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Customer.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CustomerController.find"
      }
    },
    "/dashboard/charts/placement-monthly": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "getPlacementMonthly",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Datos mensuales de colocación comparativa (año actual vs anterior)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "currentYear": {
                      "type": "number"
                    },
                    "previousYear": {
                      "type": "number"
                    },
                    "labels": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "currentYearData": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    },
                    "previousYearData": {
                      "type": "array",
                      "items": {
                        "type": "number"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "franchiseIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DashboardController.getPlacementMonthly"
      }
    },
    "/dashboard/indicators/credits-count": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "getCreditsCount",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Número total de créditos con variación trimestral",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalCount": {
                      "type": "number"
                    },
                    "currentQuarterCount": {
                      "type": "number"
                    },
                    "previousQuarterCount": {
                      "type": "number"
                    },
                    "variation": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "franchiseIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DashboardController.getCreditsCount"
      }
    },
    "/dashboard/indicators/franchises-active": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "getFranchisesActive",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Cantidad de franquicias activas vs total",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "activeCount": {
                      "type": "number"
                    },
                    "totalCount": {
                      "type": "number"
                    },
                    "activePercentage": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "DashboardController.getFranchisesActive"
      }
    },
    "/dashboard/indicators/placement-goal-progress": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "getPlacementGoalProgress",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Avance de meta de colocación trimestral",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "currentQuarterAmount": {
                      "type": "number"
                    },
                    "goalAmount": {
                      "type": "number"
                    },
                    "progressPercentage": {
                      "type": "number"
                    },
                    "hasGoal": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "franchiseIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DashboardController.getPlacementGoalProgress"
      }
    },
    "/dashboard/indicators/total-amount-mortgage": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "getTotalAmountMortgage",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Monto total Hipotecario con variación trimestral",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalAmount": {
                      "type": "number"
                    },
                    "currentQuarterAmount": {
                      "type": "number"
                    },
                    "previousQuarterAmount": {
                      "type": "number"
                    },
                    "variation": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "franchiseIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DashboardController.getTotalAmountMortgage"
      }
    },
    "/dashboard/indicators/total-amount-pyme": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "getTotalAmountPyme",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Monto total PyME con variación trimestral",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "totalAmount": {
                      "type": "number"
                    },
                    "currentQuarterAmount": {
                      "type": "number"
                    },
                    "previousQuarterAmount": {
                      "type": "number"
                    },
                    "variation": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "franchiseIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DashboardController.getTotalAmountPyme"
      }
    },
    "/delete-file/{filename}": {
      "delete": {
        "x-controller-name": "StorageController",
        "x-operation-name": "deleteFile",
        "tags": [
          "StorageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StorageController.deleteFile"
          }
        },
        "parameters": [
          {
            "name": "filename",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StorageController.deleteFile"
      }
    },
    "/documents/count": {
      "get": {
        "x-controller-name": "DocumentsController",
        "x-operation-name": "count",
        "tags": [
          "DocumentsController"
        ],
        "responses": {
          "200": {
            "description": "Document model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Document.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Document>"
                }
              }
            }
          }
        ],
        "operationId": "DocumentsController.count"
      }
    },
    "/documents/fix-urls": {
      "post": {
        "x-controller-name": "DocumentsController",
        "x-operation-name": "fixUrls",
        "tags": [
          "DocumentsController"
        ],
        "responses": {
          "200": {
            "description": "Fix malformed URLs (https://https:// and double slashes)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "updatedCount": {
                      "type": "number"
                    },
                    "updatedDocuments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "name": {
                            "type": "string"
                          },
                          "oldFileUrl": {
                            "type": "string"
                          },
                          "newFileUrl": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DocumentsController.fixUrls"
      }
    },
    "/documents/migrate-urls": {
      "post": {
        "x-controller-name": "DocumentsController",
        "x-operation-name": "migrateUrls",
        "tags": [
          "DocumentsController"
        ],
        "responses": {
          "200": {
            "description": "Migrate old URLs to new domain",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "updatedCount": {
                      "type": "number"
                    },
                    "oldUrl": {
                      "type": "string"
                    },
                    "newUrl": {
                      "type": "string"
                    },
                    "updatedDocuments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "name": {
                            "type": "string"
                          },
                          "oldFileUrl": {
                            "type": "string"
                          },
                          "newFileUrl": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DocumentsController.migrateUrls"
      }
    },
    "/documents/{id}": {
      "patch": {
        "x-controller-name": "DocumentsController",
        "x-operation-name": "updateById",
        "tags": [
          "DocumentsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Document PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentsController.updateById"
      },
      "get": {
        "x-controller-name": "DocumentsController",
        "x-operation-name": "findById",
        "tags": [
          "DocumentsController"
        ],
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DocumentsController.findById"
      },
      "delete": {
        "x-controller-name": "DocumentsController",
        "x-operation-name": "deleteById",
        "tags": [
          "DocumentsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Document DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DocumentsController.deleteById"
      }
    },
    "/documents": {
      "post": {
        "x-controller-name": "DocumentsController",
        "x-operation-name": "create",
        "tags": [
          "DocumentsController"
        ],
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocument"
              }
            }
          }
        },
        "operationId": "DocumentsController.create"
      }
    },
    "/explorer-storage/files/download-url": {
      "get": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "getDownloadUrl",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Obtener URL firmada para descargar archivo",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "example": "https://simplycode.sfo3.digitaloceanspaces.com/...?X-Amz-Algorithm=..."
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "expiresIn",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "ExplorerStorageController.getDownloadUrl"
      }
    },
    "/explorer-storage/files/move": {
      "post": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "moveFile",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Archivo movido",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Archivo movido"
                    },
                    "from": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit/archivo.pdf"
                    },
                    "to": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit2/archivo.pdf"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ExplorerStorageController.moveFile"
      }
    },
    "/explorer-storage/files": {
      "post": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "uploadFile",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Archivo subido",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Archivo subido"
                    },
                    "name": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit/archivo.pdf"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "ExplorerStorageController.uploadFile"
      },
      "patch": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "renameFile",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Archivo renombrado o alias actualizado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Archivo renombrado"
                    },
                    "from": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit/archivo.pdf"
                    },
                    "to": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit/archivo-renombrado.pdf"
                    },
                    "alias": {
                      "type": "string",
                      "example": "Nuevo alias del archivo"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ExplorerStorageController.renameFile"
      },
      "get": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "downloadFile",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Descargar archivo",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ExplorerStorageController.downloadFile"
      },
      "delete": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "deleteFile",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Archivo eliminado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Archivo eliminado"
                    },
                    "path": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit/archivo.pdf"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ExplorerStorageController.deleteFile"
      }
    },
    "/explorer-storage/folders/env": {
      "post": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "createFolderEnv",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Carpeta creada"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ExplorerStorageController.createFolderEnv"
      }
    },
    "/explorer-storage/folders": {
      "post": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "createFolder",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Carpeta creada",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Carpeta creada"
                    },
                    "path": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit/"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ExplorerStorageController.createFolder"
      },
      "patch": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "renameFolder",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Carpeta renombrada",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Carpeta renombrada"
                    },
                    "from": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/test/"
                    },
                    "to": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit/"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ExplorerStorageController.renameFolder"
      },
      "get": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "listFolders",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Lista de carpetas y archivos",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "isFolder": {
                            "type": "boolean"
                          },
                          "size": {
                            "type": "number",
                            "nullable": true
                          },
                          "contentType": {
                            "type": "string",
                            "nullable": true
                          },
                          "updated": {
                            "type": "string",
                            "nullable": true
                          },
                          "metadata": {
                            "type": "object",
                            "nullable": true
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ExplorerStorageController.listFolders"
      },
      "delete": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "deleteFolder",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Carpeta eliminada",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Carpeta y su contenido eliminados"
                    },
                    "path": {
                      "type": "string",
                      "example": "Hipotecario/Santander/prueba/testedit/"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "path",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ExplorerStorageController.deleteFolder"
      }
    },
    "/explorer-storage/populate": {
      "post": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "populateFolders",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Estructura de carpetas poblada",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "Poblado completado"
                    },
                    "totalInstitutions": {
                      "type": "number",
                      "example": 103
                    },
                    "createdFolders": {
                      "type": "number",
                      "example": 156
                    },
                    "folders": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "example": [
                        "Hipotecario/",
                        "Pyme/",
                        "infinance/",
                        "Hipotecario/21/",
                        "Pyme/1/"
                      ]
                    },
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "nullable": true
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "ExplorerStorageController.populateFolders"
      }
    },
    "/explorer-storage/test-connection": {
      "get": {
        "x-controller-name": "ExplorerStorageController",
        "x-operation-name": "testConnection",
        "tags": [
          "ExplorerStorageController"
        ],
        "responses": {
          "200": {
            "description": "Prueba de conexión a DigitalOcean Spaces",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "operationId": "ExplorerStorageController.testConnection"
      }
    },
    "/files/video/{filename}": {
      "get": {
        "x-controller-name": "StorageController",
        "x-operation-name": "generateViewUrl",
        "tags": [
          "StorageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StorageController.generateViewUrl"
          }
        },
        "parameters": [
          {
            "name": "filename",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StorageController.generateViewUrl"
      }
    },
    "/files/{filename}": {
      "get": {
        "x-controller-name": "StorageController",
        "x-operation-name": "downloadFile",
        "tags": [
          "StorageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StorageController.downloadFile"
          }
        },
        "parameters": [
          {
            "name": "filename",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "StorageController.downloadFile"
      }
    },
    "/files": {
      "post": {
        "x-controller-name": "StorageController",
        "x-operation-name": "uploadFile",
        "tags": [
          "StorageController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Archivo subido correctamente"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "StorageController.uploadFile"
      },
      "get": {
        "x-controller-name": "StorageController",
        "x-operation-name": "listFiles",
        "tags": [
          "StorageController"
        ],
        "responses": {
          "200": {
            "description": "Return value of StorageController.listFiles"
          }
        },
        "operationId": "StorageController.listFiles"
      }
    },
    "/financial-institutions/consolidate-all-documents-pyme": {
      "get": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "consolidateAllDocuments",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "200": {
            "description": "Consolidate documents for all financial institutions and return counts and document names",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "bankCount": {
                        "type": "number"
                      },
                      "documentCount": {
                        "type": "number"
                      },
                      "documentNames": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "FinancialInstitutionController.consolidateAllDocuments"
      }
    },
    "/financial-institutions/consolidate-documents-pyme": {
      "get": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "consolidateDocumentsByName",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "200": {
            "description": "Consolidate documents for financial institutions with the same name and return counts and document names",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "bankCount": {
                      "type": "number"
                    },
                    "documentCount": {
                      "type": "number"
                    },
                    "documentNames": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FinancialInstitutionController.consolidateDocumentsByName"
      }
    },
    "/financial-institutions/count": {
      "get": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "count",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "200": {
            "description": "FinancialInstitution model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FinancialInstitution.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FinancialInstitution>"
                }
              }
            }
          }
        ],
        "operationId": "FinancialInstitutionController.count"
      }
    },
    "/financial-institutions/documents/{id}": {
      "patch": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "204": {
            "description": "financial-institutions PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "isPyme": {
                          "type": "boolean"
                        },
                        "isMortgage": {
                          "type": "boolean"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FinancialInstitutionController.updateDocuments"
      },
      "get": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "findByIdDocuments",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "200": {
            "description": "FinancialInstitution model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialInstitutionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FinancialInstitutionController.findByIdDocuments"
      }
    },
    "/financial-institutions/search": {
      "get": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "findByNameAndType",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "200": {
            "description": "Array of FinancialInstitution model instances with count",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "number"
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/FinancialInstitutionWithRelations"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FinancialInstitutionController.findByNameAndType"
      }
    },
    "/financial-institutions/{id}": {
      "patch": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "updateById",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FinancialInstitution PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FinancialInstitutionPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-isDeleted_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FinancialInstitutionController.updateById"
      },
      "get": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "findById",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "200": {
            "description": "FinancialInstitution model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialInstitutionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialInstitution.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FinancialInstitutionController.findById"
      },
      "delete": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "deleteById",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FinancialInstitution DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FinancialInstitutionController.deleteById"
      }
    },
    "/financial-institutions": {
      "post": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "create",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "200": {
            "description": "FinancialInstitution model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialInstitution"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFinancialInstitution"
              }
            }
          }
        },
        "operationId": "FinancialInstitutionController.create"
      },
      "get": {
        "x-controller-name": "FinancialInstitutionController",
        "x-operation-name": "find",
        "tags": [
          "FinancialInstitutionController"
        ],
        "responses": {
          "200": {
            "description": "Array of FinancialInstitution model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FinancialInstitutionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FinancialInstitution.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FinancialInstitutionController.find"
      }
    },
    "/franchise-payments/bills/{id}": {
      "patch": {
        "x-controller-name": "FranchisePaymentController",
        "x-operation-name": "billingFranchisePayment",
        "tags": [
          "FranchisePaymentController"
        ],
        "responses": {
          "200": {
            "description": "FranchisePayment bill model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "invoicefolio": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number"
                  },
                  "paymentDate": {
                    "type": "string"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FranchisePaymentController.billingFranchisePayment"
      },
      "get": {
        "x-controller-name": "FranchisePaymentController",
        "x-operation-name": "getBillingFranchisePayment",
        "tags": [
          "FranchisePaymentController"
        ],
        "responses": {
          "200": {
            "description": "FranchisePayment bill model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "invoicefolio": {
                      "type": "string"
                    },
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FranchisePaymentController.getBillingFranchisePayment"
      }
    },
    "/franchise-payments/count": {
      "get": {
        "x-controller-name": "FranchisePaymentController",
        "x-operation-name": "count",
        "tags": [
          "FranchisePaymentController"
        ],
        "responses": {
          "200": {
            "description": "FranchisePayment model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "FranchisePayment.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<FranchisePayment>"
                }
              }
            }
          }
        ],
        "operationId": "FranchisePaymentController.count"
      }
    },
    "/franchise-payments/documents/{id}": {
      "patch": {
        "x-controller-name": "FranchisePaymentController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "FranchisePaymentController"
        ],
        "responses": {
          "204": {
            "description": "franchise-payments PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FranchisePaymentController.updateDocuments"
      }
    },
    "/franchise-payments/status/{id}": {
      "patch": {
        "x-controller-name": "FranchisePaymentController",
        "x-operation-name": "patchStatus",
        "tags": [
          "FranchisePaymentController"
        ],
        "responses": {
          "200": {
            "description": "FranchisePayment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string"
                  },
                  "comment": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FranchisePaymentController.patchStatus"
      }
    },
    "/franchise-payments/{id}": {
      "patch": {
        "x-controller-name": "FranchisePaymentController",
        "x-operation-name": "updateById",
        "tags": [
          "FranchisePaymentController"
        ],
        "responses": {
          "204": {
            "description": "FranchisePayment PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FranchisePaymentPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-statusId-organizationId-franchiseId_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FranchisePaymentController.updateById"
      },
      "get": {
        "x-controller-name": "FranchisePaymentController",
        "x-operation-name": "findById",
        "tags": [
          "FranchisePaymentController"
        ],
        "responses": {
          "200": {
            "description": "FranchisePayment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FranchisePayment"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FranchisePayment.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FranchisePaymentController.findById"
      }
    },
    "/franchise-payments": {
      "get": {
        "x-controller-name": "FranchisePaymentController",
        "x-operation-name": "find",
        "tags": [
          "FranchisePaymentController"
        ],
        "responses": {
          "200": {
            "description": "Array of FranchisePayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "createdAt": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      },
                      "paymentDate": {
                        "type": "string"
                      },
                      "invoicefolio": {
                        "type": "string"
                      },
                      "franchiseId": {
                        "type": "number"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "bills": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "number"
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "createdBy": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "number"
                                },
                                "avatar": {
                                  "type": "string"
                                },
                                "nameid": {
                                  "type": "string"
                                }
                              }
                            },
                            "updatedBy": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "number"
                                },
                                "avatar": {
                                  "type": "string"
                                },
                                "nameid": {
                                  "type": "string"
                                }
                              }
                            },
                            "fileURL": {
                              "type": "string"
                            },
                            "alias": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FranchisePayment.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FranchisePaymentController.find"
      }
    },
    "/franchises/activate-deactivate/{id}": {
      "post": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "deactivateById",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Franchises Activate/Deactivate success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "activateDeactivateComment": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FranchiseController.deactivateById"
      }
    },
    "/franchises/count": {
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "count",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Franchise model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Franchise.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Franchise>"
                }
              }
            }
          }
        ],
        "operationId": "FranchiseController.count"
      }
    },
    "/franchises/franchise-payment/{id}": {
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "getFranchisePaymentById",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "FranchisePayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number"
                    },
                    "name": {
                      "type": "string"
                    },
                    "administrator": {
                      "type": "string"
                    },
                    "deadlines": {
                      "type": "number"
                    },
                    "downpayment": {
                      "type": "number"
                    },
                    "franchiseFee": {
                      "type": "number"
                    },
                    "iva": {
                      "type": "number"
                    },
                    "totalPrice": {
                      "type": "number"
                    },
                    "paid": {
                      "type": "number"
                    },
                    "balance": {
                      "type": "number"
                    },
                    "startPaymentRoyalties": {
                      "type": "string"
                    },
                    "payments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "paymentDate": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "invoiceFolio": {
                            "type": "string"
                          },
                          "balance": {
                            "type": "number"
                          },
                          "status": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FranchiseController.getFranchisePaymentById"
      }
    },
    "/franchises/franchise-payments": {
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "getFranchisePayments",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Array of FranchisePayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "name": {
                        "type": "string"
                      },
                      "administrator": {
                        "type": "string"
                      },
                      "deadlines": {
                        "type": "number"
                      },
                      "totalPrice": {
                        "type": "number"
                      },
                      "paid": {
                        "type": "number"
                      },
                      "balance": {
                        "type": "number"
                      },
                      "documents": {
                        "type": "array",
                        "items": {
                          "properties": {
                            "id": {
                              "type": "number"
                            },
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "statusPay": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "status": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "FranchiseController.getFranchisePayments"
      }
    },
    "/franchises/non-franchise-prospects": {
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "getNonFranchiseProspects",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Array of non-franchise prospects  model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "createdAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "createdBy": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "updatedBy": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "name": {
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "FranchiseController.getNonFranchiseProspects"
      }
    },
    "/franchises/report": {
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "downloadFranchisesReport",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Excel report of Franchises model instances",
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Franchise.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FranchiseController.downloadFranchisesReport"
      }
    },
    "/franchises/royalty-payment/{id}": {
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "getRoyaltyPaymentById",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Royalty payment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number"
                    },
                    "name": {
                      "type": "string"
                    },
                    "administrator": {
                      "type": "string"
                    },
                    "startPaymentRoyalties": {
                      "type": "string"
                    },
                    "payments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "paymentDate": {
                            "type": "string"
                          },
                          "amount": {
                            "type": "number"
                          },
                          "invoiceFolio": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "bankReference": {
                            "type": "string"
                          },
                          "billingDate": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FranchiseController.getRoyaltyPaymentById"
      }
    },
    "/franchises/royalty-payments": {
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "getRoyaltyPayments",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Array of RoyaltyPayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "name": {
                        "type": "string"
                      },
                      "administrator": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "string"
                      },
                      "documents": {
                        "type": "array",
                        "items": {
                          "properties": {
                            "id": {
                              "type": "number"
                            },
                            "fileURL": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      },
                      "statusPay": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "status": {
                            "type": "string"
                          }
                        }
                      },
                      "startPaymentRoyalties": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "FranchiseController.getRoyaltyPayments"
      }
    },
    "/franchises/update-zone": {
      "post": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "updateFranchiseZone",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Update franchise zone by name",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "zone": {
                    "type": "string"
                  }
                },
                "required": [
                  "name",
                  "zone"
                ]
              }
            }
          }
        },
        "operationId": "FranchiseController.updateFranchiseZone"
      }
    },
    "/franchises/{id}/documents": {
      "post": {
        "x-controller-name": "FranchiseDocumentController",
        "x-operation-name": "create",
        "tags": [
          "FranchiseDocumentController"
        ],
        "responses": {
          "200": {
            "description": "Franchise model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocumentInFranchise"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FranchiseDocumentController.create"
      },
      "patch": {
        "x-controller-name": "FranchiseDocumentController",
        "x-operation-name": "patch",
        "tags": [
          "FranchiseDocumentController"
        ],
        "responses": {
          "200": {
            "description": "Franchise.Document PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Document.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Document>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FranchiseDocumentController.patch"
      },
      "get": {
        "x-controller-name": "FranchiseDocumentController",
        "x-operation-name": "find",
        "tags": [
          "FranchiseDocumentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Franchise has many Document",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Document"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "FranchiseDocumentController.find"
      },
      "delete": {
        "x-controller-name": "FranchiseDocumentController",
        "x-operation-name": "delete",
        "tags": [
          "FranchiseDocumentController"
        ],
        "responses": {
          "200": {
            "description": "Franchise.Document DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Document.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Document>"
                }
              }
            }
          }
        ],
        "operationId": "FranchiseDocumentController.delete"
      }
    },
    "/franchises/{id}": {
      "patch": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "updateById",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "204": {
            "description": "Franchise PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "phone": {
                    "type": "string",
                    "pattern": "^[0-9]{10}$",
                    "description": "Debe contener exactamente 10 dígitos"
                  },
                  "description": {
                    "type": "string"
                  },
                  "leadEmail": {
                    "type": "string"
                  },
                  "address": {
                    "type": "object",
                    "properties": {
                      "street": {
                        "type": "string"
                      },
                      "extNum": {
                        "type": "string"
                      },
                      "intNum": {
                        "type": "string",
                        "nullable": true
                      },
                      "zipCode": {
                        "type": "string",
                        "pattern": "^[0-9]{5}$",
                        "description": "El código postal debe contener 5 dígitos"
                      },
                      "suburb": {
                        "type": "string"
                      },
                      "city": {
                        "type": "string"
                      },
                      "state": {
                        "type": "string"
                      },
                      "country": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "street",
                      "extNum",
                      "zipCode",
                      "suburb",
                      "city",
                      "state",
                      "country"
                    ]
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "fileURL",
                        "alias",
                        "extension",
                        "name"
                      ]
                    }
                  },
                  "termsSale": {
                    "type": "object"
                  }
                },
                "required": [
                  "name",
                  "phone",
                  "address"
                ]
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FranchiseController.updateById"
      },
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "findById",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Franchise model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Franchise"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Franchise.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FranchiseController.findById"
      }
    },
    "/franchises": {
      "post": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "create",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Franchise model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Franchise"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "franchise": {
                    "$ref": "#/components/schemas/NewFranchise"
                  },
                  "leadId": {
                    "type": "number"
                  },
                  "leadEmail": {
                    "type": "string"
                  }
                },
                "required": [
                  "franchise",
                  "leadId",
                  "leadEmail"
                ]
              }
            }
          }
        },
        "operationId": "FranchiseController.create"
      },
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "find",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Array of Franchise model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Franchise"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Franchise.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FranchiseController.find"
      }
    },
    "/health": {
      "get": {
        "x-controller-name": "HealthController",
        "x-operation-name": "health",
        "tags": [
          "HealthController"
        ],
        "responses": {
          "200": {
            "description": "Health check response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string"
                    },
                    "database": {
                      "type": "string"
                    },
                    "timestamp": {
                      "type": "string"
                    },
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "HealthController.health"
      }
    },
    "/important-announcements/current": {
      "get": {
        "x-controller-name": "ImportantAnnouncementController",
        "x-operation-name": "findCurrent",
        "tags": [
          "ImportantAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Anuncio vigente actual"
          }
        },
        "operationId": "ImportantAnnouncementController.findCurrent"
      }
    },
    "/important-announcements/generate-image": {
      "post": {
        "x-controller-name": "ImportantAnnouncementController",
        "x-operation-name": "generateImage",
        "tags": [
          "ImportantAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Generar imagen con IA"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ImportantAnnouncementController.generateImage"
      }
    },
    "/important-announcements/{id}/regenerate-image": {
      "post": {
        "x-controller-name": "ImportantAnnouncementController",
        "x-operation-name": "regenerateImage",
        "tags": [
          "ImportantAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Regenerar imagen del anuncio"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ImportantAnnouncementController.regenerateImage"
      }
    },
    "/important-announcements/{id}": {
      "patch": {
        "x-controller-name": "ImportantAnnouncementController",
        "x-operation-name": "updateById",
        "tags": [
          "ImportantAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Actualizar anuncio importante"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ImportantAnnouncementController.updateById"
      },
      "delete": {
        "x-controller-name": "ImportantAnnouncementController",
        "x-operation-name": "deleteById",
        "tags": [
          "ImportantAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Eliminar anuncio importante"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ImportantAnnouncementController.deleteById"
      }
    },
    "/important-announcements": {
      "post": {
        "x-controller-name": "ImportantAnnouncementController",
        "x-operation-name": "create",
        "tags": [
          "ImportantAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Crear anuncio importante"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "ImportantAnnouncementController.create"
      },
      "get": {
        "x-controller-name": "ImportantAnnouncementController",
        "x-operation-name": "findAll",
        "tags": [
          "ImportantAnnouncementController"
        ],
        "responses": {
          "200": {
            "description": "Lista de anuncios importantes"
          }
        },
        "operationId": "ImportantAnnouncementController.findAll"
      }
    },
    "/insignia-images/count": {
      "get": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "count",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "200": {
            "description": "InsigniaImage model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "InsigniaImage.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<InsigniaImage>"
                }
              }
            }
          }
        ],
        "operationId": "InsigniaImageController.count"
      }
    },
    "/insignia-images/current": {
      "get": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "findCurrent",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "200": {
            "description": "Current active InsigniaImage",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsigniaImage"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "InsigniaImageController.findCurrent"
      }
    },
    "/insignia-images/upsert": {
      "post": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "upsert",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "200": {
            "description": "Create or replace the single InsigniaImage",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsigniaImage"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpsertInsigniaImage"
              }
            }
          }
        },
        "operationId": "InsigniaImageController.upsert"
      }
    },
    "/insignia-images/{id}/set-current": {
      "post": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "setCurrent",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Set InsigniaImage as current"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "InsigniaImageController.setCurrent"
      }
    },
    "/insignia-images/{id}": {
      "put": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "replaceById",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "InsigniaImage PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsigniaImage"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "InsigniaImageController.replaceById"
      },
      "patch": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "updateById",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "InsigniaImage PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsigniaImagePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "InsigniaImageController.updateById"
      },
      "get": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "findById",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "200": {
            "description": "InsigniaImage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsigniaImageWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsigniaImage.Filter"
                }
              }
            }
          }
        ],
        "operationId": "InsigniaImageController.findById"
      },
      "delete": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "deleteById",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "InsigniaImage DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "InsigniaImageController.deleteById"
      }
    },
    "/insignia-images": {
      "post": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "create",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "200": {
            "description": "InsigniaImage model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsigniaImage"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewInsigniaImage"
              }
            }
          }
        },
        "operationId": "InsigniaImageController.create"
      },
      "get": {
        "x-controller-name": "InsigniaImageController",
        "x-operation-name": "find",
        "tags": [
          "InsigniaImageController"
        ],
        "responses": {
          "200": {
            "description": "Array of InsigniaImage model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsigniaImageWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsigniaImage.Filter"
                }
              }
            }
          }
        ],
        "operationId": "InsigniaImageController.find"
      }
    },
    "/languages/count": {
      "get": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "count",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Language model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Language.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Language>"
                }
              }
            }
          }
        ],
        "operationId": "LanguageController.count"
      }
    },
    "/languages/{id}": {
      "put": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "replaceById",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Language PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Language"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LanguageController.replaceById"
      },
      "patch": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "updateById",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Language PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LanguagePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LanguageController.updateById"
      },
      "get": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "findById",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Language model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LanguageWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Language.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LanguageController.findById"
      },
      "delete": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "deleteById",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Language DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LanguageController.deleteById"
      }
    },
    "/languages": {
      "post": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "create",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Language model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Language"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLanguage"
              }
            }
          }
        },
        "operationId": "LanguageController.create"
      },
      "patch": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "updateAll",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Language PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Language.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Language>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LanguagePartial"
              }
            }
          }
        },
        "operationId": "LanguageController.updateAll"
      },
      "get": {
        "x-controller-name": "LanguageController",
        "x-operation-name": "find",
        "tags": [
          "LanguageController"
        ],
        "responses": {
          "200": {
            "description": "Array of Language model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LanguageWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Language.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LanguageController.find"
      }
    },
    "/leads/activate-deactivate/{id}": {
      "post": {
        "x-controller-name": "LeadController",
        "x-operation-name": "deactivateById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Leads Activate/Deactivate success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "activateDeactivateComment": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.deactivateById"
      }
    },
    "/leads/count": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "count",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Leads model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Lead.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Lead>"
                }
              }
            }
          }
        ],
        "operationId": "LeadController.count"
      }
    },
    "/leads/documents/{id}": {
      "patch": {
        "x-controller-name": "LeadController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "204": {
            "description": "Leads PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.updateDocuments"
      },
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "findDocuments",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Array of documents model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "createdAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "createdBy": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "nameid": {
                            "type": "string"
                          }
                        }
                      },
                      "updatedBy": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "nameid": {
                            "type": "string"
                          }
                        }
                      },
                      "fileURL": {
                        "type": "string"
                      },
                      "alias": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "extension": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.findDocuments"
      }
    },
    "/leads/sales-documents/{id}": {
      "patch": {
        "x-controller-name": "LeadController",
        "x-operation-name": "patchSalesDocuments",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "204": {
            "description": "Leads PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "salesDocuments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "salesDocuments": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.patchSalesDocuments"
      },
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "findDocumentsSales",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Array of documents model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "createdAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "createdBy": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "nameid": {
                            "type": "string"
                          }
                        }
                      },
                      "updatedBy": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "nameid": {
                            "type": "string"
                          }
                        }
                      },
                      "fileURL": {
                        "type": "string"
                      },
                      "alias": {
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      },
                      "extension": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.findDocumentsSales"
      }
    },
    "/leads/status/{id}": {
      "patch": {
        "x-controller-name": "LeadController",
        "x-operation-name": "updateStatus",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Message",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.updateStatus"
      }
    },
    "/leads/status-rejected/{id}": {
      "patch": {
        "x-controller-name": "LeadController",
        "x-operation-name": "rejectedLead",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Message",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "reasonRejected": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.rejectedLead"
      }
    },
    "/leads/terms-sale/{id}": {
      "patch": {
        "x-controller-name": "LeadController",
        "x-operation-name": "updateTermsSale",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "204": {
            "description": "Leads PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TermsSale"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TermsSale"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.updateTermsSale"
      }
    },
    "/leads/validate": {
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "findLeadValidate",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadController.findLeadValidate"
      }
    },
    "/leads/{id}": {
      "patch": {
        "x-controller-name": "LeadController",
        "x-operation-name": "updateById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "204": {
            "description": "Leads PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LeadPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-organizationId-status-isDeleted-isExternal-isRejected-reasonRejected-termsSale_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LeadController.updateById"
      },
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "findById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeadWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LeadController.findById"
      },
      "delete": {
        "x-controller-name": "LeadController",
        "x-operation-name": "deleteById",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Leads deleted",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Leads DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LeadController.deleteById"
      }
    },
    "/leads": {
      "post": {
        "x-controller-name": "LeadController",
        "x-operation-name": "create",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Leads model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLeads"
              }
            }
          }
        },
        "operationId": "LeadController.create"
      },
      "get": {
        "x-controller-name": "LeadController",
        "x-operation-name": "find",
        "tags": [
          "LeadController"
        ],
        "responses": {
          "200": {
            "description": "Array of Leads model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LeadWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Lead.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LeadController.find"
      }
    },
    "/locations/states": {
      "get": {
        "x-controller-name": "LocationController",
        "x-operation-name": "findLocations",
        "tags": [
          "LocationController"
        ],
        "responses": {
          "200": {
            "description": "Array of States",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "operationId": "LocationController.findLocations"
      }
    },
    "/log-details/count": {
      "get": {
        "x-controller-name": "LogDetailsController",
        "x-operation-name": "count",
        "tags": [
          "LogDetailsController"
        ],
        "responses": {
          "200": {
            "description": "LogDetails model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LogDetails.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LogDetails>"
                }
              }
            }
          }
        ],
        "operationId": "LogDetailsController.count"
      }
    },
    "/log-details/{id}": {
      "put": {
        "x-controller-name": "LogDetailsController",
        "x-operation-name": "replaceById",
        "tags": [
          "LogDetailsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LogDetails PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogDetails"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LogDetailsController.replaceById"
      },
      "patch": {
        "x-controller-name": "LogDetailsController",
        "x-operation-name": "updateById",
        "tags": [
          "LogDetailsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LogDetails PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogDetailsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LogDetailsController.updateById"
      },
      "get": {
        "x-controller-name": "LogDetailsController",
        "x-operation-name": "findById",
        "tags": [
          "LogDetailsController"
        ],
        "responses": {
          "200": {
            "description": "LogDetails model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogDetailsWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogDetails.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LogDetailsController.findById"
      },
      "delete": {
        "x-controller-name": "LogDetailsController",
        "x-operation-name": "deleteById",
        "tags": [
          "LogDetailsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "LogDetails DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LogDetailsController.deleteById"
      }
    },
    "/log-details": {
      "post": {
        "x-controller-name": "LogDetailsController",
        "x-operation-name": "create",
        "tags": [
          "LogDetailsController"
        ],
        "responses": {
          "200": {
            "description": "LogDetails model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogDetails"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLogDetails"
              }
            }
          }
        },
        "operationId": "LogDetailsController.create"
      },
      "patch": {
        "x-controller-name": "LogDetailsController",
        "x-operation-name": "updateAll",
        "tags": [
          "LogDetailsController"
        ],
        "responses": {
          "200": {
            "description": "LogDetails PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LogDetails.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LogDetails>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogDetailsPartial"
              }
            }
          }
        },
        "operationId": "LogDetailsController.updateAll"
      },
      "get": {
        "x-controller-name": "LogDetailsController",
        "x-operation-name": "find",
        "tags": [
          "LogDetailsController"
        ],
        "responses": {
          "200": {
            "description": "Array of LogDetails model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LogDetailsWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogDetails.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LogDetailsController.find"
      }
    },
    "/logs/count": {
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "count",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Log model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Log.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Log>"
                }
              }
            }
          }
        ],
        "operationId": "LogController.count"
      }
    },
    "/logs/{id}/organization": {
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "getOrganization",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Organization belonging to Log",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Organization"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "LogController.getOrganization"
      }
    },
    "/logs/{id}": {
      "put": {
        "x-controller-name": "LogController",
        "x-operation-name": "replaceById",
        "tags": [
          "LogController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Log PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Log"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LogController.replaceById"
      },
      "patch": {
        "x-controller-name": "LogController",
        "x-operation-name": "updateById",
        "tags": [
          "LogController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Log PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "LogController.updateById"
      },
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "findById",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Log model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Log.Filter"
                }
              }
            }
          }
        ],
        "operationId": "LogController.findById"
      },
      "delete": {
        "x-controller-name": "LogController",
        "x-operation-name": "deleteById",
        "tags": [
          "LogController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Log DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "LogController.deleteById"
      }
    },
    "/logs": {
      "post": {
        "x-controller-name": "LogController",
        "x-operation-name": "create",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Log model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Log"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLog"
              }
            }
          }
        },
        "operationId": "LogController.create"
      },
      "patch": {
        "x-controller-name": "LogController",
        "x-operation-name": "updateAll",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Log PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Log.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Log>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogPartial"
              }
            }
          }
        },
        "operationId": "LogController.updateAll"
      },
      "get": {
        "x-controller-name": "LogController",
        "x-operation-name": "find",
        "tags": [
          "LogController"
        ],
        "responses": {
          "200": {
            "description": "Array of Log model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LogWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Log.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "LogController.find"
      }
    },
    "/model-logs/count": {
      "get": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "count",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "ModelLog model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ModelLog.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ModelLog>"
                }
              }
            }
          }
        ],
        "operationId": "ModelLogsController.count"
      }
    },
    "/model-logs/{id}/log-details": {
      "post": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "createLogDetails",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "ModelLog model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogDetails"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLogDetailsInModelLog"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModelLogsController.createLogDetails"
      },
      "patch": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "patch",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "ModelLog.LogDetails PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LogDetails.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LogDetails>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogDetailsPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModelLogsController.patch"
      },
      "get": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "findLogDetails",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ModelLog has many LogDetails",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/LogDetails"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ModelLogsController.findLogDetails"
      },
      "delete": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "delete",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "ModelLog.LogDetails DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "LogDetails.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<LogDetails>"
                }
              }
            }
          }
        ],
        "operationId": "ModelLogsController.delete"
      }
    },
    "/model-logs/{id}": {
      "put": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "replaceById",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ModelLog PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelLog"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModelLogsController.replaceById"
      },
      "patch": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "updateById",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ModelLog PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelLogPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModelLogsController.updateById"
      },
      "get": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "findById",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "ModelLog model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelLogWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelLog.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ModelLogsController.findById"
      },
      "delete": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "deleteById",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ModelLog DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ModelLogsController.deleteById"
      }
    },
    "/model-logs": {
      "post": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "create",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "ModelLog model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelLog"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewModelLog"
              }
            }
          }
        },
        "operationId": "ModelLogsController.create"
      },
      "patch": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "updateAll",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "ModelLog PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "ModelLog.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<ModelLog>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelLogPartial"
              }
            }
          }
        },
        "operationId": "ModelLogsController.updateAll"
      },
      "get": {
        "x-controller-name": "ModelLogsController",
        "x-operation-name": "find",
        "tags": [
          "ModelLogsController"
        ],
        "responses": {
          "200": {
            "description": "Array of ModelLog model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModelLogWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelLog.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "ModelLogsController.find"
      }
    },
    "/modules/count": {
      "get": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "count",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Module model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Module.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Module>"
                }
              }
            }
          }
        ],
        "operationId": "ModuleController.count"
      }
    },
    "/modules/{id}/role-modules": {
      "post": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "createRoleModule",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Module model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleModule"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRoleModuleInModule"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModuleController.createRoleModule"
      },
      "patch": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "patchRoleModule",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Module.RoleModule PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RoleModule.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RoleModule>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleModulePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModuleController.patchRoleModule"
      },
      "get": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "findRoleModule",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Array of Module has many RoleModule",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoleModule"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "ModuleController.findRoleModule"
      },
      "delete": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "deleteRoleModule",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Module.RoleModule DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RoleModule.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RoleModule>"
                }
              }
            }
          }
        ],
        "operationId": "ModuleController.deleteRoleModule"
      }
    },
    "/modules/{id}": {
      "put": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "replaceById",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "204": {
            "description": "Module PUT success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Module"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModuleController.replaceById"
      },
      "patch": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "updateById",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "204": {
            "description": "Module PATCH success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModulePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ModuleController.updateById"
      },
      "get": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "findById",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Module model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModuleWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Module.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ModuleController.findById"
      },
      "delete": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "deleteById",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "204": {
            "description": "Module DELETE success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ModuleController.deleteById"
      }
    },
    "/modules": {
      "post": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "create",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Module model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Module"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewModule"
              }
            }
          }
        },
        "operationId": "ModuleController.create"
      },
      "patch": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "updateAll",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Module PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Module.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Module>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModulePartial"
              }
            }
          }
        },
        "operationId": "ModuleController.updateAll"
      },
      "get": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "find",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Array of Module model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuleWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Module.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ModuleController.find"
      }
    },
    "/modules-grouped": {
      "get": {
        "x-controller-name": "ModuleController",
        "x-operation-name": "findGroupedByCategory",
        "tags": [
          "ModuleController"
        ],
        "responses": {
          "200": {
            "description": "Array of Module model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuleWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Module.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ModuleController.findGroupedByCategory"
      }
    },
    "/mortgage-credits/bank-charge-mortgage/detail/{id}": {
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "getMortgageCreditFondeadosById",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "Array of Mortgage credit model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "applicantName": {
                      "type": "string"
                    },
                    "creditReason": {
                      "type": "string"
                    },
                    "authorizedAmount": {
                      "type": "number"
                    },
                    "iva": {
                      "type": "number"
                    },
                    "commissionOpening": {
                      "type": "number"
                    },
                    "deadlines": {
                      "type": "number"
                    },
                    "financialInstitution": {
                      "type": "string"
                    },
                    "origin": {
                      "type": "string"
                    },
                    "responsibleExecutive": {
                      "type": "string"
                    },
                    "bankChargeMortgage": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "invoiceNumber": {
                          "type": "string"
                        },
                        "taxFolio": {
                          "type": "string"
                        },
                        "invoiceSendingDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "probableDepositDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "paymentDate": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "chargePercentage": {
                          "type": "number"
                        },
                        "commission": {
                          "type": "number"
                        },
                        "iva": {
                          "type": "number"
                        },
                        "totalCommission": {
                          "type": "number"
                        },
                        "status": {
                          "type": "number"
                        },
                        "bills": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "fileURL": {
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              },
                              "extension": {
                                "type": "string"
                              }
                            }
                          }
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MortgageCreditController.getMortgageCreditFondeadosById"
      }
    },
    "/mortgage-credits/bank-charge-mortgage": {
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "getMortgageCreditFondeados",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "Array of Mortgage credit model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "applicantName": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "contractSigningdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "authorizedAmount": {
                        "type": "number"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "mainCharge": {
                        "type": "string"
                      },
                      "differenceOne": {
                        "type": "string"
                      },
                      "differenceTwo": {
                        "type": "string"
                      },
                      "bill": {
                        "type": "object",
                        "properties": {
                          "fileURL": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MortgageCredit.Filter"
                }
              }
            }
          }
        ],
        "operationId": "MortgageCreditController.getMortgageCreditFondeados"
      }
    },
    "/mortgage-credits/cancel/{id}": {
      "post": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateStatusCancel",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "Mortgage credit POST success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "isCancel": {
                    "type": "boolean"
                  },
                  "creditCancelReason": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateStatusCancel"
      }
    },
    "/mortgage-credits/charge-commission-mortgage": {
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "findChargeCommissionMortgage",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "Array of mortgage-credits model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "applicantName": {
                        "type": "string"
                      },
                      "isFactoring": {
                        "type": "string"
                      },
                      "responsibleExecutive": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "dateSignatureNotary": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "authorizedAmount": {
                        "type": "number"
                      },
                      "commission": {
                        "type": "number"
                      },
                      "commissionAmount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MortgageCredit.Filter"
                }
              }
            }
          }
        ],
        "operationId": "MortgageCreditController.findChargeCommissionMortgage"
      }
    },
    "/mortgage-credits/controller/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateValueController",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "mortgage-credits PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "isApproved": {
                    "type": "boolean"
                  },
                  "reasonControllerRejected": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateValueController"
      }
    },
    "/mortgage-credits/count": {
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "count",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "MortgageCredit model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "MortgageCredit.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<MortgageCredit>"
                }
              }
            }
          }
        ],
        "operationId": "MortgageCreditController.count"
      }
    },
    "/mortgage-credits/dashboard": {
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "findMortgageCreditDashboard",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "Array of MortgageCredit model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "applicantName": {
                        "type": "string"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "requestedAmount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "assignedExecutive": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "origin": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      },
                      "isRejected": {
                        "type": "boolean"
                      },
                      "reasonRejected": {
                        "type": "string"
                      },
                      "isPending": {
                        "type": "boolean"
                      },
                      "reasonPending": {
                        "type": "string"
                      },
                      "controller": {
                        "type": "string"
                      },
                      "franchise": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestedAmount",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "aforo",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "address",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "responsibleExecutiveId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "financialInstitutionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "homeValue",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "creditReasonId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "min",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "max",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "maxDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "minDate",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "zone",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "franchiseId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MortgageCreditController.findMortgageCreditDashboard"
      }
    },
    "/mortgage-credits/documents/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "mortgage-credits PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateDocuments"
      }
    },
    "/mortgage-credits/monitoring/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateMonitoring",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "Monitoring PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dateFinancialInstitution": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "commentDateFinancialInstitution": {
                    "type": "string",
                    "nullable": true
                  },
                  "dateResolution": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "resolutionFinancialInstitution": {
                    "type": "string",
                    "nullable": true
                  },
                  "authorizedAmount": {
                    "type": "number",
                    "nullable": true
                  },
                  "deadlines": {
                    "type": "number",
                    "nullable": true
                  },
                  "rate": {
                    "type": "number",
                    "nullable": true
                  },
                  "commissionOpening": {
                    "type": "number",
                    "nullable": true
                  },
                  "commissionDeferredOpening": {
                    "type": "number",
                    "nullable": true
                  },
                  "oforo": {
                    "type": "number",
                    "nullable": true
                  },
                  "expirationCreditAuthorization": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "costAppraised": {
                    "type": "number",
                    "nullable": true
                  },
                  "notarialCharges": {
                    "type": "number",
                    "nullable": true
                  },
                  "reasonPending": {
                    "type": "string",
                    "nullable": true
                  },
                  "reasonRejected": {
                    "type": "string",
                    "nullable": true
                  },
                  "dateShipmentAppraisal": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "dateSendingNotary": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "authorizedAmountCC": {
                    "type": "number",
                    "nullable": true
                  },
                  "deadlinesCC": {
                    "type": "number",
                    "nullable": true
                  },
                  "rateCC": {
                    "type": "number",
                    "nullable": true
                  },
                  "commissionOpeningCC": {
                    "type": "number",
                    "nullable": true
                  },
                  "commissionDeferredOpeningCC": {
                    "type": "number",
                    "nullable": true
                  },
                  "oforoCC": {
                    "type": "number",
                    "nullable": true
                  },
                  "costAppraisedCC": {
                    "type": "number",
                    "nullable": true
                  },
                  "notarialChargesCC": {
                    "type": "number",
                    "nullable": true
                  },
                  "dateSignatureNotary": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "commentCC": {
                    "type": "string",
                    "nullable": true
                  },
                  "anchoringDate": {
                    "type": "string",
                    "format": "date-time",
                    "nullable": true
                  },
                  "commentSigned": {
                    "type": "string",
                    "nullable": true
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateMonitoring"
      }
    },
    "/mortgage-credits/pending-validation": {
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "findPendingValidation",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "Array of MortgageCredit model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "applicantName": {
                        "type": "string"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "origin": {
                        "type": "string"
                      },
                      "dateSignatureNotary": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "controller": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MortgageCredit.Filter"
                }
              }
            }
          }
        ],
        "operationId": "MortgageCreditController.findPendingValidation"
      }
    },
    "/mortgage-credits/report": {
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "downloadReport",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "Excel report of mortgage credits",
            "content": {
              "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MortgageCredit.Filter"
                }
              }
            }
          }
        ],
        "operationId": "MortgageCreditController.downloadReport"
      }
    },
    "/mortgage-credits/status-autorizado/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateStatusCreditAutorizado",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "Mortgage credit PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dateResolution": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "resolutionFinancialInstitution": {
                    "type": "string"
                  },
                  "authorizedAmount": {
                    "type": "number"
                  },
                  "deadlines": {
                    "type": "number"
                  },
                  "rate": {
                    "type": "number"
                  },
                  "commissionOpening": {
                    "type": "number"
                  },
                  "commissionDeferredOpening": {
                    "type": "number"
                  },
                  "oforo": {
                    "type": "number"
                  },
                  "expirationCreditAuthorization": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "costAppraised": {
                    "type": "number",
                    "nullable": true
                  },
                  "notarialCharges": {
                    "type": "number",
                    "nullable": true
                  },
                  "reasonPending": {
                    "type": "string"
                  },
                  "reasonRejected": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateStatusCreditAutorizado"
      }
    },
    "/mortgage-credits/status-avaluo/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateStatusCreditAvaluo",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "Mortgage credit PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dateShipmentAppraisal": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "dateSendingNotary": {
                    "type": "string",
                    "format": "date-time"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateStatusCreditAvaluo"
      }
    },
    "/mortgage-credits/status-firmado/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateStatusCreditFirmado",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "Mortgage credit PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "authorizedAmountCC": {
                    "type": "number"
                  },
                  "deadlinesCC": {
                    "type": "number"
                  },
                  "rateCC": {
                    "type": "number"
                  },
                  "commissionOpeningCC": {
                    "type": "number"
                  },
                  "commissionDeferredOpeningCC": {
                    "type": "number"
                  },
                  "oforoCC": {
                    "type": "number"
                  },
                  "costAppraisedCC": {
                    "type": "number"
                  },
                  "notarialChargesCC": {
                    "type": "number"
                  },
                  "dateSignatureNotary": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "commentCC": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateStatusCreditFirmado"
      }
    },
    "/mortgage-credits/status-fondeado/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateStatusCreditFondeado",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "Mortgage credit PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "anchoringDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "commentSigned": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateStatusCreditFondeado"
      }
    },
    "/mortgage-credits/status-ingresado/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateStatusCredit",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "Mortgage credit PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dateFinancialInstitution": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "commentDateFinancialInstitution": {
                    "type": "string",
                    "nullable": true
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateStatusCredit"
      }
    },
    "/mortgage-credits/{id}/banorte-application/publish": {
      "post": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "publishBanorteApplication",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Solicitud Banorte generada y asociada al crédito hipotecario."
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MortgageCreditController.publishBanorteApplication"
      }
    },
    "/mortgage-credits/{id}/banorte-application": {
      "delete": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "deleteBanorteApplication",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Solicitud Banorte generada eliminada."
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "MortgageCreditController.deleteBanorteApplication"
      }
    },
    "/mortgage-credits/{id}": {
      "patch": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "updateById",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "MortgageCredit PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "mortgageCredit": {
                    "type": "object",
                    "properties": {
                      "applicantName": {
                        "type": "string"
                      },
                      "birthdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "curp": {
                        "type": "string"
                      },
                      "rfc": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "cellPhone": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string",
                        "example": "correo@correo.com"
                      },
                      "nationality": {
                        "type": "string",
                        "nullable": true
                      },
                      "civilStatus": {
                        "type": "string",
                        "nullable": true
                      },
                      "patrimonialRegime": {
                        "type": "string",
                        "nullable": true
                      },
                      "economicDependents": {
                        "type": "number"
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "extNum": {
                            "type": "string"
                          },
                          "intNum": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      },
                      "nss": {
                        "type": "string"
                      },
                      "isCoOwner": {
                        "type": "boolean"
                      },
                      "financialInstitutionId": {
                        "type": "number"
                      },
                      "homeValue": {
                        "type": "number"
                      },
                      "requestedAmount": {
                        "type": "number"
                      },
                      "deadlines": {
                        "type": "number"
                      },
                      "aforo": {
                        "type": "number"
                      },
                      "laborData": {
                        "type": "object",
                        "properties": {
                          "taxRegime": {
                            "type": "string",
                            "nullable": true
                          },
                          "employeeCompany": {
                            "type": "string",
                            "nullable": true
                          },
                          "workPosition": {
                            "type": "string",
                            "nullable": true
                          },
                          "typeContract": {
                            "type": "string",
                            "nullable": true
                          },
                          "grossSalary": {
                            "type": "number",
                            "nullable": true
                          },
                          "netIncome": {
                            "type": "number",
                            "nullable": true
                          },
                          "antiquity": {
                            "type": "number",
                            "nullable": true
                          },
                          "antiquityFinance": {
                            "type": "number",
                            "nullable": true
                          },
                          "activityFinance": {
                            "type": "string",
                            "nullable": true
                          },
                          "averageDeposits": {
                            "type": "number",
                            "nullable": true
                          },
                          "annualDeclarations": {
                            "type": "number",
                            "nullable": true
                          }
                        }
                      },
                      "responsibleExecutiveId": {
                        "type": "number"
                      },
                      "comment": {
                        "type": "string"
                      },
                      "creditReasonId": {
                        "type": "number"
                      },
                      "birthPlaceCountry": {
                        "type": "string",
                        "nullable": true
                      },
                      "birthPlaceState": {
                        "type": "string",
                        "nullable": true
                      },
                      "gender": {
                        "type": "string",
                        "nullable": true
                      },
                      "education": {
                        "type": "string",
                        "nullable": true
                      },
                      "paymentScheme": {
                        "type": "string",
                        "nullable": true
                      }
                    }
                  },
                  "coOwner": {
                    "type": "object",
                    "nullable": true,
                    "properties": {
                      "applicantName": {
                        "type": "string"
                      },
                      "birthdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "curp": {
                        "type": "string"
                      },
                      "rfc": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "cellPhone": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string",
                        "example": "correo@correo.com"
                      },
                      "nationality": {
                        "type": "string",
                        "nullable": true
                      },
                      "civilStatus": {
                        "type": "string",
                        "nullable": true
                      },
                      "patrimonialRegime": {
                        "type": "string",
                        "nullable": true
                      },
                      "economicDependents": {
                        "type": "number"
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "extNum": {
                            "type": "string"
                          },
                          "intNum": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      },
                      "nss": {
                        "type": "string"
                      },
                      "laborData": {
                        "type": "object",
                        "properties": {
                          "taxRegime": {
                            "type": "string",
                            "nullable": true
                          },
                          "employeeCompany": {
                            "type": "string",
                            "nullable": true
                          },
                          "workPosition": {
                            "type": "string",
                            "nullable": true
                          },
                          "typeContract": {
                            "type": "string",
                            "nullable": true
                          },
                          "grossSalary": {
                            "type": "number",
                            "nullable": true
                          },
                          "netIncome": {
                            "type": "number",
                            "nullable": true
                          },
                          "antiquity": {
                            "type": "number",
                            "nullable": true
                          },
                          "antiquityFinance": {
                            "type": "number",
                            "nullable": true
                          },
                          "activityFinance": {
                            "type": "string",
                            "nullable": true
                          },
                          "averageDeposits": {
                            "type": "number",
                            "nullable": true
                          },
                          "annualDeclarations": {
                            "type": "number",
                            "nullable": true
                          },
                          "workAddress": {
                            "type": "object",
                            "nullable": true,
                            "properties": {
                              "street": {
                                "type": "string"
                              },
                              "suburb": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string"
                              },
                              "city": {
                                "type": "string"
                              },
                              "zipCode": {
                                "type": "string"
                              }
                            }
                          },
                          "workPhone": {
                            "type": "string",
                            "nullable": true
                          },
                          "previousCompanyName": {
                            "type": "string",
                            "nullable": true
                          },
                          "previousCompanyAntiquity": {
                            "type": "number",
                            "nullable": true
                          }
                        }
                      },
                      "birthPlaceCountry": {
                        "type": "string",
                        "nullable": true
                      },
                      "birthPlaceState": {
                        "type": "string",
                        "nullable": true
                      },
                      "gender": {
                        "type": "string",
                        "nullable": true
                      },
                      "education": {
                        "type": "string",
                        "nullable": true
                      },
                      "coOwnerRelationship": {
                        "type": "string",
                        "nullable": true
                      },
                      "bankSelected": {
                        "type": "string",
                        "nullable": true
                      },
                      "bankSpecificData": {
                        "type": "object",
                        "nullable": true
                      }
                    }
                  },
                  "personalReferences": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "phone": {
                          "type": "string"
                        },
                        "relationship": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "paymentFiles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "MortgageCreditController.updateById"
      },
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "findById",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "MortgageCredit model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MortgageCreditWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MortgageCredit.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "MortgageCreditController.findById"
      }
    },
    "/mortgage-credits": {
      "post": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "create",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "MortgageCredit model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MortgageCredit"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "selectedFranchiseId": {
                    "type": "number"
                  },
                  "mortgageCredit": {
                    "type": "object",
                    "properties": {
                      "applicantName": {
                        "type": "string"
                      },
                      "birthdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "curp": {
                        "type": "string"
                      },
                      "rfc": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "cellPhone": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string",
                        "example": "correo@correo.com"
                      },
                      "nationality": {
                        "type": "string"
                      },
                      "civilStatus": {
                        "type": "string"
                      },
                      "patrimonialRegime": {
                        "type": "string"
                      },
                      "economicDependents": {
                        "type": "number"
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "extNum": {
                            "type": "string"
                          },
                          "intNum": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      },
                      "nss": {
                        "type": "string"
                      },
                      "isCoOwner": {
                        "type": "boolean"
                      },
                      "financialInstitutionId": {
                        "type": "number"
                      },
                      "homeValue": {
                        "type": "number"
                      },
                      "requestedAmount": {
                        "type": "number"
                      },
                      "deadlines": {
                        "type": "number"
                      },
                      "aforo": {
                        "type": "number"
                      },
                      "laborData": {
                        "type": "object",
                        "properties": {
                          "taxRegime": {
                            "type": "string",
                            "nullable": true
                          },
                          "employeeCompany": {
                            "type": "string",
                            "nullable": true
                          },
                          "workPosition": {
                            "type": "string",
                            "nullable": true
                          },
                          "typeContract": {
                            "type": "string",
                            "nullable": true
                          },
                          "grossSalary": {
                            "type": "number",
                            "nullable": true
                          },
                          "netIncome": {
                            "type": "number",
                            "nullable": true
                          },
                          "antiquity": {
                            "type": "number",
                            "nullable": true
                          },
                          "antiquityFinance": {
                            "type": "number",
                            "nullable": true
                          },
                          "activityFinance": {
                            "type": "string",
                            "nullable": true
                          },
                          "averageDeposits": {
                            "type": "number",
                            "nullable": true
                          },
                          "annualDeclarations": {
                            "type": "number",
                            "nullable": true
                          }
                        }
                      },
                      "responsibleExecutiveId": {
                        "type": "number"
                      },
                      "comment": {
                        "type": "string"
                      },
                      "creditReasonId": {
                        "type": "number"
                      },
                      "birthPlaceCountry": {
                        "type": "string",
                        "nullable": true
                      },
                      "birthPlaceState": {
                        "type": "string",
                        "nullable": true
                      },
                      "gender": {
                        "type": "string",
                        "nullable": true
                      },
                      "education": {
                        "type": "string",
                        "nullable": true
                      },
                      "paymentScheme": {
                        "type": "string",
                        "nullable": true
                      }
                    }
                  },
                  "coOwner": {
                    "type": "object",
                    "nullable": true,
                    "properties": {
                      "applicantName": {
                        "type": "string"
                      },
                      "birthdate": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "curp": {
                        "type": "string"
                      },
                      "rfc": {
                        "type": "string"
                      },
                      "phone": {
                        "type": "string"
                      },
                      "cellPhone": {
                        "type": "string"
                      },
                      "email": {
                        "type": "string",
                        "example": "correo@correo.com"
                      },
                      "nationality": {
                        "type": "string"
                      },
                      "civilStatus": {
                        "type": "string"
                      },
                      "patrimonialRegime": {
                        "type": "string"
                      },
                      "economicDependents": {
                        "type": "number"
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "extNum": {
                            "type": "string"
                          },
                          "intNum": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      },
                      "nss": {
                        "type": "string"
                      },
                      "laborData": {
                        "type": "object",
                        "properties": {
                          "taxRegime": {
                            "type": "string",
                            "nullable": true
                          },
                          "employeeCompany": {
                            "type": "string",
                            "nullable": true
                          },
                          "workPosition": {
                            "type": "string",
                            "nullable": true
                          },
                          "typeContract": {
                            "type": "string",
                            "nullable": true
                          },
                          "grossSalary": {
                            "type": "number",
                            "nullable": true
                          },
                          "netIncome": {
                            "type": "number",
                            "nullable": true
                          },
                          "antiquity": {
                            "type": "number",
                            "nullable": true
                          },
                          "antiquityFinance": {
                            "type": "number",
                            "nullable": true
                          },
                          "activityFinance": {
                            "type": "string",
                            "nullable": true
                          },
                          "averageDeposits": {
                            "type": "number",
                            "nullable": true
                          },
                          "annualDeclarations": {
                            "type": "number",
                            "nullable": true
                          },
                          "workAddress": {
                            "type": "object",
                            "nullable": true,
                            "properties": {
                              "street": {
                                "type": "string"
                              },
                              "suburb": {
                                "type": "string"
                              },
                              "state": {
                                "type": "string"
                              },
                              "city": {
                                "type": "string"
                              },
                              "zipCode": {
                                "type": "string"
                              }
                            }
                          },
                          "workPhone": {
                            "type": "string",
                            "nullable": true
                          },
                          "previousCompanyName": {
                            "type": "string",
                            "nullable": true
                          },
                          "previousCompanyAntiquity": {
                            "type": "number",
                            "nullable": true
                          }
                        }
                      },
                      "birthPlaceCountry": {
                        "type": "string",
                        "nullable": true
                      },
                      "birthPlaceState": {
                        "type": "string",
                        "nullable": true
                      },
                      "gender": {
                        "type": "string",
                        "nullable": true
                      },
                      "education": {
                        "type": "string",
                        "nullable": true
                      },
                      "coOwnerRelationship": {
                        "type": "string",
                        "nullable": true
                      },
                      "bankSelected": {
                        "type": "string",
                        "nullable": true
                      },
                      "bankSpecificData": {
                        "type": "object",
                        "nullable": true
                      }
                    }
                  },
                  "personalReferences": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "phone": {
                          "type": "string"
                        },
                        "relationship": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "MortgageCreditController.create"
      }
    },
    "/mortgage-credits-list/{id}": {
      "get": {
        "x-controller-name": "MortgageCreditController",
        "x-operation-name": "find",
        "tags": [
          "MortgageCreditController"
        ],
        "responses": {
          "200": {
            "description": "Array of MortgageCredit model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "applicantName": {
                        "type": "string"
                      },
                      "financialInstitution": {
                        "type": "string"
                      },
                      "requestedAmount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "assignedExecutive": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        }
                      },
                      "origin": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      },
                      "isRejected": {
                        "type": "boolean"
                      },
                      "reasonRejected": {
                        "type": "string"
                      },
                      "isPending": {
                        "type": "boolean"
                      },
                      "reasonPending": {
                        "type": "string"
                      },
                      "controller": {
                        "type": "string"
                      },
                      "franchise": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          }
                        }
                      },
                      "isCancel": {
                        "type": "boolean"
                      },
                      "creditCancelReason": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MortgageCredit.Filter"
                }
              }
            }
          }
        ],
        "operationId": "MortgageCreditController.find"
      }
    },
    "/organizations/count": {
      "get": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "count",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Organization.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Organization>"
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.count"
      }
    },
    "/organizations/{id}/logs": {
      "post": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "createLog",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Log"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewLogInOrganization"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrganizationController.createLog"
      },
      "patch": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "patchLog",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization.Log PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Log.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Log>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrganizationController.patchLog"
      },
      "get": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "findLog",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Array of Organization has many Log",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Log"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.findLog"
      },
      "delete": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "deleteLog",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization.Log DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Log.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Log>"
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.deleteLog"
      }
    },
    "/organizations/{id}/user-roles": {
      "post": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "createUserRole",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRole"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSysUserRoleInOrganization"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrganizationController.createUserRole"
      },
      "patch": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "patchUserRole",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization.SysUserRole PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserRole.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserRole>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserRolePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrganizationController.patchUserRole"
      },
      "get": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "findSysUserRole",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Array of Organization has many SysUserRole",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRole"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.findSysUserRole"
      },
      "delete": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "deleteSysUserRole",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization.UserRole DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserRole.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserRole>"
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.deleteSysUserRole"
      }
    },
    "/organizations/{id}/users": {
      "post": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "createUser",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUserInOrganization"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrganizationController.createUser"
      },
      "patch": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "patchUser",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization.User PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "User.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<User>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrganizationController.patchUser"
      },
      "get": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "findUser",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Array of Organization has many User",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.findUser"
      },
      "delete": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "deleteUser",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization.User DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "User.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<User>"
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.deleteUser"
      }
    },
    "/organizations/{id}": {
      "put": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "replaceById",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "204": {
            "description": "Organization PUT success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Organization"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrganizationController.replaceById"
      },
      "patch": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "updateById",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "204": {
            "description": "Organization PATCH success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Organization"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "OrganizationController.updateById"
      },
      "get": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "findById",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization.Filter"
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.findById"
      },
      "delete": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "deleteById",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "204": {
            "description": "Organization DELETE success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "OrganizationController.deleteById"
      }
    },
    "/organizations": {
      "post": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "create",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewOrganization"
              }
            }
          }
        },
        "operationId": "OrganizationController.create"
      },
      "patch": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "updateAll",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Organization PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Organization.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Organization>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizationPartial"
              }
            }
          }
        },
        "operationId": "OrganizationController.updateAll"
      },
      "get": {
        "x-controller-name": "OrganizationController",
        "x-operation-name": "find",
        "tags": [
          "OrganizationController"
        ],
        "responses": {
          "200": {
            "description": "Array of Organization model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrganizationWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization.Filter"
                }
              }
            }
          }
        ],
        "operationId": "OrganizationController.find"
      }
    },
    "/placement-goals/by-quarter": {
      "get": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "findByQuarter",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "200": {
            "description": "Get PlacementGoal by year and quarter",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementGoal"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "quarter",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "PlacementGoalController.findByQuarter"
      }
    },
    "/placement-goals/count": {
      "get": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "count",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "200": {
            "description": "PlacementGoal model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PlacementGoal.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PlacementGoal>"
                }
              }
            }
          }
        ],
        "operationId": "PlacementGoalController.count"
      }
    },
    "/placement-goals/current": {
      "get": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "findCurrent",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "200": {
            "description": "Current quarter PlacementGoal",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementGoal"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "PlacementGoalController.findCurrent"
      }
    },
    "/placement-goals/{id}": {
      "put": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "replaceById",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PlacementGoal PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlacementGoal"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PlacementGoalController.replaceById"
      },
      "patch": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "updateById",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PlacementGoal PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlacementGoalPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PlacementGoalController.updateById"
      },
      "get": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "findById",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "200": {
            "description": "PlacementGoal model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementGoalWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementGoal.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PlacementGoalController.findById"
      },
      "delete": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "deleteById",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PlacementGoal DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "PlacementGoalController.deleteById"
      }
    },
    "/placement-goals": {
      "post": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "create",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "200": {
            "description": "PlacementGoal model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementGoal"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPlacementGoal"
              }
            }
          }
        },
        "operationId": "PlacementGoalController.create"
      },
      "get": {
        "x-controller-name": "PlacementGoalController",
        "x-operation-name": "find",
        "tags": [
          "PlacementGoalController"
        ],
        "responses": {
          "200": {
            "description": "Array of PlacementGoal model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlacementGoalWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlacementGoal.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PlacementGoalController.find"
      }
    },
    "/pyme-credits/cancel/{id}": {
      "post": {
        "x-controller-name": "CreditRequestPymeController",
        "x-operation-name": "updateStatusCancel",
        "tags": [
          "CreditRequestPymeController"
        ],
        "responses": {
          "204": {
            "description": "pyme credit POST success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "isCancel": {
                    "type": "boolean"
                  },
                  "creditCancelReason": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CreditRequestPymeController.updateStatusCancel"
      }
    },
    "/role-modules/count": {
      "get": {
        "x-controller-name": "RoleModuleController",
        "x-operation-name": "count",
        "tags": [
          "RoleModuleController"
        ],
        "responses": {
          "200": {
            "description": "RoleModule model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RoleModule.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RoleModule>"
                }
              }
            }
          }
        ],
        "operationId": "RoleModuleController.count"
      }
    },
    "/role-modules/{id}": {
      "put": {
        "x-controller-name": "RoleModuleController",
        "x-operation-name": "replaceById",
        "tags": [
          "RoleModuleController"
        ],
        "responses": {
          "204": {
            "description": "RoleModule PUT success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleModule"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RoleModuleController.replaceById"
      },
      "patch": {
        "x-controller-name": "RoleModuleController",
        "x-operation-name": "updateById",
        "tags": [
          "RoleModuleController"
        ],
        "responses": {
          "204": {
            "description": "RoleModule PATCH success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleModulePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RoleModuleController.updateById"
      },
      "get": {
        "x-controller-name": "RoleModuleController",
        "x-operation-name": "findById",
        "tags": [
          "RoleModuleController"
        ],
        "responses": {
          "200": {
            "description": "RoleModule model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleModuleWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleModule.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RoleModuleController.findById"
      },
      "delete": {
        "x-controller-name": "RoleModuleController",
        "x-operation-name": "deleteById",
        "tags": [
          "RoleModuleController"
        ],
        "responses": {
          "204": {
            "description": "RoleModule DELETE success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RoleModuleController.deleteById"
      }
    },
    "/role-modules": {
      "post": {
        "x-controller-name": "RoleModuleController",
        "x-operation-name": "create",
        "tags": [
          "RoleModuleController"
        ],
        "responses": {
          "200": {
            "description": "RoleModule model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleModule"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRoleModule"
              }
            }
          }
        },
        "operationId": "RoleModuleController.create"
      },
      "patch": {
        "x-controller-name": "RoleModuleController",
        "x-operation-name": "updateAll",
        "tags": [
          "RoleModuleController"
        ],
        "responses": {
          "200": {
            "description": "RoleModule PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RoleModule.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RoleModule>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoleModulePartial"
              }
            }
          }
        },
        "operationId": "RoleModuleController.updateAll"
      },
      "get": {
        "x-controller-name": "RoleModuleController",
        "x-operation-name": "find",
        "tags": [
          "RoleModuleController"
        ],
        "responses": {
          "200": {
            "description": "Array of RoleModule model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoleModuleWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoleModule.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RoleModuleController.find"
      }
    },
    "/royalty-payments/bills/{id}": {
      "patch": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "billingRoyaltyPayment",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "200": {
            "description": "RoyaltyPayment bill model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "invoicefolio": {
                    "type": "string"
                  },
                  "amount": {
                    "type": "number"
                  },
                  "billingDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "paymentDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RoyaltyPaymentController.billingRoyaltyPayment"
      },
      "get": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "getBillingRoyaltyPayment",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "200": {
            "description": "RoyaltyPayment bill model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "invoicefolio": {
                      "type": "string"
                    },
                    "billingDate": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "RoyaltyPaymentController.getBillingRoyaltyPayment"
      }
    },
    "/royalty-payments/count": {
      "get": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "count",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "200": {
            "description": "RoyaltyPayment model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "RoyaltyPayment.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<RoyaltyPayment>"
                }
              }
            }
          }
        ],
        "operationId": "RoyaltyPaymentController.count"
      }
    },
    "/royalty-payments/documents/{id}": {
      "patch": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "updateDocuments",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "204": {
            "description": "royalty-payments PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "fileURL": {
                            "type": "string"
                          },
                          "alias": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "fileURL": {
                          "type": "string"
                        },
                        "alias": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RoyaltyPaymentController.updateDocuments"
      }
    },
    "/royalty-payments/reminder": {
      "post": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "sendReminder",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "200": {
            "description": "RoyaltyPayment manual reminder",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "email": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "unpaidBalance": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "RoyaltyPaymentController.sendReminder"
      }
    },
    "/royalty-payments/status/{id}": {
      "patch": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "patchStatus",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "200": {
            "description": "royalty-payments model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string"
                  },
                  "comment": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RoyaltyPaymentController.patchStatus"
      }
    },
    "/royalty-payments/{id}": {
      "patch": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "updateById",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "204": {
            "description": "RoyaltyPayment PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RoyaltyPaymentPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-statusId-organizationId-franchiseId_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "RoyaltyPaymentController.updateById"
      },
      "get": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "findById",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "200": {
            "description": "RoyaltyPayment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoyaltyPayment"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoyaltyPayment.Filter"
                }
              }
            }
          }
        ],
        "operationId": "RoyaltyPaymentController.findById"
      }
    },
    "/royalty-payments": {
      "post": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "create",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "200": {
            "description": "RoyaltyPayment model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoyaltyPayment"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewRoyaltyPayment"
              }
            }
          }
        },
        "operationId": "RoyaltyPaymentController.create"
      },
      "get": {
        "x-controller-name": "RoyaltyPaymentController",
        "x-operation-name": "find",
        "tags": [
          "RoyaltyPaymentController"
        ],
        "responses": {
          "200": {
            "description": "Array of RoyaltyPayment model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "createdAt": {
                        "type": "string"
                      },
                      "updatedAt": {
                        "type": "string"
                      },
                      "paymentDate": {
                        "type": "string"
                      },
                      "invoicefolio": {
                        "type": "string"
                      },
                      "franchiseId": {
                        "type": "number"
                      },
                      "amount": {
                        "type": "number"
                      },
                      "status": {
                        "type": "string"
                      },
                      "bankReference": {
                        "type": "string"
                      },
                      "comment": {
                        "type": "string"
                      },
                      "bills": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "number"
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time"
                            },
                            "createdBy": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "number"
                                },
                                "avatar": {
                                  "type": "string"
                                },
                                "nameid": {
                                  "type": "string"
                                }
                              }
                            },
                            "updatedBy": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "number"
                                },
                                "avatar": {
                                  "type": "string"
                                },
                                "nameid": {
                                  "type": "string"
                                }
                              }
                            },
                            "fileURL": {
                              "type": "string"
                            },
                            "alias": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "extension": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RoyaltyPayment.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "RoyaltyPaymentController.find"
      }
    },
    "/statuses/count": {
      "get": {
        "x-controller-name": "StatusController",
        "x-operation-name": "count",
        "tags": [
          "StatusController"
        ],
        "responses": {
          "200": {
            "description": "Status model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Status.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Status>"
                }
              }
            }
          }
        ],
        "operationId": "StatusController.count"
      }
    },
    "/statuses/deactivate/{id}": {
      "post": {
        "x-controller-name": "StatusController",
        "x-operation-name": "deleteById",
        "tags": [
          "StatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Status DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "StatusController.deleteById"
      }
    },
    "/statuses/{id}": {
      "patch": {
        "x-controller-name": "StatusController",
        "x-operation-name": "updateById",
        "tags": [
          "StatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Status PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatusPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "StatusController.updateById"
      },
      "get": {
        "x-controller-name": "StatusController",
        "x-operation-name": "findById",
        "tags": [
          "StatusController"
        ],
        "responses": {
          "200": {
            "description": "Status model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatusWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status.Filter"
                }
              }
            }
          }
        ],
        "operationId": "StatusController.findById"
      }
    },
    "/statuses": {
      "post": {
        "x-controller-name": "StatusController",
        "x-operation-name": "create",
        "tags": [
          "StatusController"
        ],
        "responses": {
          "200": {
            "description": "Status model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewStatus"
              }
            }
          }
        },
        "operationId": "StatusController.create"
      },
      "get": {
        "x-controller-name": "StatusController",
        "x-operation-name": "find",
        "tags": [
          "StatusController"
        ],
        "responses": {
          "200": {
            "description": "Array of Status model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StatusWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Status.Filter"
                }
              }
            }
          }
        ],
        "operationId": "StatusController.find"
      }
    },
    "/tasks/cancelled/{id}": {
      "patch": {
        "x-controller-name": "TaskController",
        "x-operation-name": "deleteById",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "204": {
            "description": "Task cancelled success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TaskController.deleteById"
      }
    },
    "/tasks/count": {
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "count",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "Task model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Task.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Task>"
                }
              }
            }
          }
        ],
        "operationId": "TaskController.count"
      }
    },
    "/tasks/validate-dates": {
      "post": {
        "x-controller-name": "TaskController",
        "x-operation-name": "validateDateTask",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "Task model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "isValid": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "trainingId": {
                    "type": "number"
                  },
                  "startDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "endDate": {
                    "type": "string",
                    "format": "date-time"
                  },
                  "taskId": {
                    "type": "number",
                    "nullable": true
                  }
                }
              }
            }
          }
        },
        "operationId": "TaskController.validateDateTask"
      }
    },
    "/tasks/{id}": {
      "patch": {
        "x-controller-name": "TaskController",
        "x-operation-name": "updateById",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "204": {
            "description": "Task PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "task": {
                    "$ref": "#/components/schemas/TaskPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-trainingId-organizationId-statusId_"
                  },
                  "guestFranchisees": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "otherGuests": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "managers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TaskController.updateById"
      },
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "findById",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "Task model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TaskController.findById"
      }
    },
    "/tasks": {
      "post": {
        "x-controller-name": "TaskController",
        "x-operation-name": "create",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "Task model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "task": {
                    "$ref": "#/components/schemas/NewTask"
                  },
                  "guestFranchisees": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "otherGuests": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "managers": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "TaskController.create"
      },
      "get": {
        "x-controller-name": "TaskController",
        "x-operation-name": "find",
        "tags": [
          "TaskController"
        ],
        "responses": {
          "200": {
            "description": "Array of Task model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Task"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Task.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TaskController.find"
      }
    },
    "/trainings/count": {
      "get": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "count",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Training.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Training>"
                }
              }
            }
          }
        ],
        "operationId": "TrainingController.count"
      }
    },
    "/trainings/finalized/{id}": {
      "patch": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "trainingFinalized",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TrainingController.trainingFinalized"
      }
    },
    "/trainings/franchisee": {
      "get": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "getFranchisee",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training model count",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "firstName": {
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "TrainingController.getFranchisee"
      }
    },
    "/trainings/guests": {
      "get": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "getGuests",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training model count",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "firstName": {
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "TrainingController.getGuests"
      }
    },
    "/trainings/managers": {
      "get": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "getManagers",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training model count",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "firstName": {
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "TrainingController.getManagers"
      }
    },
    "/trainings/{id}": {
      "patch": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "updateById",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training PATCH success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Training"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "training": {
                    "$ref": "#/components/schemas/NewTraining"
                  },
                  "users": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TrainingController.updateById"
      },
      "get": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "findById",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Training"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Training.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TrainingController.findById"
      },
      "delete": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "deleteById",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training DELETE success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TrainingController.deleteById"
      }
    },
    "/trainings": {
      "post": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "create",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Training model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Training"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "training": {
                    "$ref": "#/components/schemas/NewTraining"
                  },
                  "users": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "userId": {
                          "type": "number"
                        }
                      }
                    }
                  },
                  "tasks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "task": {
                          "$ref": "#/components/schemas/TaskExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-trainingId-statusId_"
                        },
                        "guestFranchisees": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "userId": {
                                "type": "number"
                              }
                            }
                          }
                        },
                        "otherGuests": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "userId": {
                                "type": "number"
                              }
                            }
                          }
                        },
                        "managers": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "userId": {
                                "type": "number"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "TrainingController.create"
      },
      "get": {
        "x-controller-name": "TrainingController",
        "x-operation-name": "find",
        "tags": [
          "TrainingController"
        ],
        "responses": {
          "200": {
            "description": "Array of Training model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "properties": {
                      "id": {
                        "type": "number"
                      },
                      "isDeleted": {
                        "type": "boolean"
                      },
                      "status": {
                        "type": "string"
                      },
                      "createdAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "createdBy": {
                        "type": "number"
                      },
                      "updatedBy": {
                        "type": "number"
                      },
                      "updatedAt": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "name": {
                        "type": "string"
                      },
                      "description": {
                        "type": "string"
                      },
                      "startDateTrain": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "endDateTrain": {
                        "type": "string",
                        "format": "date-time"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Training.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TrainingController.find"
      }
    },
    "/type-credits/count": {
      "get": {
        "x-controller-name": "TypeCreditController",
        "x-operation-name": "count",
        "tags": [
          "TypeCreditController"
        ],
        "responses": {
          "200": {
            "description": "TypeCredit model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TypeCredit.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TypeCredit>"
                }
              }
            }
          }
        ],
        "operationId": "TypeCreditController.count"
      }
    },
    "/type-credits/{id}": {
      "patch": {
        "x-controller-name": "TypeCreditController",
        "x-operation-name": "updateById",
        "tags": [
          "TypeCreditController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TypeCredit PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TypeCreditPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-isDeleted_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TypeCreditController.updateById"
      },
      "get": {
        "x-controller-name": "TypeCreditController",
        "x-operation-name": "findById",
        "tags": [
          "TypeCreditController"
        ],
        "responses": {
          "200": {
            "description": "TypeCredit model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TypeCreditWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TypeCredit.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TypeCreditController.findById"
      },
      "delete": {
        "x-controller-name": "TypeCreditController",
        "x-operation-name": "deleteById",
        "tags": [
          "TypeCreditController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TypeCredit DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TypeCreditController.deleteById"
      }
    },
    "/type-credits": {
      "post": {
        "x-controller-name": "TypeCreditController",
        "x-operation-name": "create",
        "tags": [
          "TypeCreditController"
        ],
        "responses": {
          "200": {
            "description": "TypeCredit model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TypeCredit"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTypeCredit"
              }
            }
          }
        },
        "operationId": "TypeCreditController.create"
      },
      "get": {
        "x-controller-name": "TypeCreditController",
        "x-operation-name": "find",
        "tags": [
          "TypeCreditController"
        ],
        "responses": {
          "200": {
            "description": "Array of TypeCredit model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TypeCreditWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TypeCredit.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TypeCreditController.find"
      }
    },
    "/user-data/count": {
      "get": {
        "x-controller-name": "UserDataController",
        "x-operation-name": "count",
        "tags": [
          "UserDataController"
        ],
        "responses": {
          "200": {
            "description": "UserData model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserData.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserData>"
                }
              }
            }
          }
        ],
        "operationId": "UserDataController.count"
      }
    },
    "/user-data/{id}/user-role": {
      "get": {
        "x-controller-name": "UserDataController",
        "x-operation-name": "getSysUserRole",
        "tags": [
          "UserDataController"
        ],
        "responses": {
          "200": {
            "description": "SysUserRole belonging to UserData",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRole"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "UserDataController.getSysUserRole"
      }
    },
    "/user-data/{id}": {
      "put": {
        "x-controller-name": "UserDataController",
        "x-operation-name": "replaceById",
        "tags": [
          "UserDataController"
        ],
        "responses": {
          "204": {
            "description": "UserData PUT success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserData"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserDataController.replaceById"
      },
      "patch": {
        "x-controller-name": "UserDataController",
        "x-operation-name": "updateById",
        "tags": [
          "UserDataController"
        ],
        "responses": {
          "204": {
            "description": "UserData PATCH success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserDataPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserDataController.updateById"
      },
      "get": {
        "x-controller-name": "UserDataController",
        "x-operation-name": "findById",
        "tags": [
          "UserDataController"
        ],
        "responses": {
          "200": {
            "description": "UserData model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserDataWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserData.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserDataController.findById"
      }
    },
    "/user-data": {
      "post": {
        "x-controller-name": "UserDataController",
        "x-operation-name": "create",
        "tags": [
          "UserDataController"
        ],
        "responses": {
          "200": {
            "description": "UserData model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDataWithRelations"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUserData"
              }
            }
          }
        },
        "operationId": "UserDataController.create"
      },
      "patch": {
        "x-controller-name": "UserDataController",
        "x-operation-name": "updateAll",
        "tags": [
          "UserDataController"
        ],
        "responses": {
          "200": {
            "description": "UserData PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserData.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserData>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserDataPartial"
              }
            }
          }
        },
        "operationId": "UserDataController.updateAll"
      },
      "get": {
        "x-controller-name": "UserDataController",
        "x-operation-name": "find",
        "tags": [
          "UserDataController"
        ],
        "responses": {
          "200": {
            "description": "Array of UserData model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserDataWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserData.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "UserDataController.find"
      }
    },
    "/user-roles/activate-deactivate/{id}": {
      "post": {
        "x-controller-name": "UserRoleController",
        "x-operation-name": "deactivateById",
        "tags": [
          "UserRoleController"
        ],
        "responses": {
          "200": {
            "description": "User Roles Activate/Deactivate success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "activateDeactivateComment": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserRoleController.deactivateById"
      }
    },
    "/user-roles/count": {
      "get": {
        "x-controller-name": "UserRoleController",
        "x-operation-name": "count",
        "tags": [
          "UserRoleController"
        ],
        "responses": {
          "200": {
            "description": "UserRole model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserRole.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserRole>"
                }
              }
            }
          }
        ],
        "operationId": "UserRoleController.count"
      }
    },
    "/user-roles/{id}/role-module": {
      "get": {
        "x-controller-name": "UserRoleController",
        "x-operation-name": "getRoleModule",
        "tags": [
          "UserRoleController"
        ],
        "responses": {
          "200": {
            "description": "RoleModule belonging to UserRole",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RoleModule"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "UserRoleController.getRoleModule"
      }
    },
    "/user-roles/{id}": {
      "patch": {
        "x-controller-name": "UserRoleController",
        "x-operation-name": "updateById",
        "tags": [
          "UserRoleController"
        ],
        "responses": {
          "204": {
            "description": "UserRole PATCH success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "accessLevel": {
                    "type": "number"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "shareFranchises": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "number"
                  },
                  "roleModules": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "create": {
                          "type": "boolean"
                        },
                        "read": {
                          "type": "boolean"
                        },
                        "update": {
                          "type": "boolean"
                        },
                        "del": {
                          "type": "boolean"
                        },
                        "moduleId": {
                          "type": "number"
                        },
                        "roleCustom": {
                          "type": "object",
                          "properties": {
                            "consultProspects": {
                              "type": "boolean"
                            },
                            "emitVoteProspect": {
                              "type": "boolean"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserRoleController.updateById"
      },
      "get": {
        "x-controller-name": "UserRoleController",
        "x-operation-name": "findById",
        "tags": [
          "UserRoleController"
        ],
        "responses": {
          "200": {
            "description": "UserRole model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRoleWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRole.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserRoleController.findById"
      },
      "delete": {
        "x-controller-name": "UserRoleController",
        "x-operation-name": "deleteById",
        "tags": [
          "UserRoleController"
        ],
        "responses": {
          "204": {
            "description": "UserRole DELETE success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserRoleController.deleteById"
      }
    },
    "/user-roles": {
      "post": {
        "x-controller-name": "UserRoleController",
        "x-operation-name": "create",
        "tags": [
          "UserRoleController"
        ],
        "responses": {
          "200": {
            "description": "UserRole model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "accessLevel": {
                      "type": "number"
                    },
                    "isActive": {
                      "type": "boolean"
                    },
                    "organizationId": {
                      "type": "number"
                    },
                    "configuration": {
                      "type": "object",
                      "properties": {
                        "showAtManageUsers": {
                          "type": "boolean"
                        }
                      }
                    },
                    "roleModules": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "create": {
                            "type": "boolean"
                          },
                          "read": {
                            "type": "boolean"
                          },
                          "update": {
                            "type": "boolean"
                          },
                          "del": {
                            "type": "boolean"
                          },
                          "moduleId": {
                            "type": "number"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "accessLevel": {
                    "type": "number"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "shareFranchises": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "number"
                  },
                  "configuration": {
                    "type": "object",
                    "properties": {
                      "showAtManageUsers": {
                        "type": "boolean"
                      }
                    }
                  },
                  "roleModules": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "create": {
                          "type": "boolean"
                        },
                        "read": {
                          "type": "boolean"
                        },
                        "update": {
                          "type": "boolean"
                        },
                        "del": {
                          "type": "boolean"
                        },
                        "roleCustom": {
                          "type": "object",
                          "properties": {
                            "consultProspects": {
                              "type": "boolean"
                            },
                            "emitVoteProspect": {
                              "type": "boolean"
                            }
                          }
                        },
                        "moduleId": {
                          "type": "number"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "UserRoleController.create"
      },
      "get": {
        "x-controller-name": "UserRoleController",
        "x-operation-name": "find",
        "tags": [
          "UserRoleController"
        ],
        "responses": {
          "200": {
            "description": "Array of UserRole model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserRole"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserRole.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "UserRoleController.find"
      }
    },
    "/users/count": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "count",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "User.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<User>"
                }
              }
            }
          }
        ],
        "operationId": "UserController.count"
      }
    },
    "/users/create": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "createNewUser",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "user": {
                      "type": "object",
                      "properties": {
                        "email": {
                          "type": "string"
                        },
                        "organizationId": {
                          "type": "number"
                        },
                        "firstName": {
                          "type": "string"
                        },
                        "lastName": {
                          "type": "string"
                        },
                        "avatar": {
                          "type": "string"
                        }
                      }
                    },
                    "userData": {
                      "type": "object",
                      "properties": {
                        "birthdate": {
                          "type": "string"
                        },
                        "cellphone": {
                          "type": "string"
                        },
                        "workStart": {
                          "type": "string"
                        },
                        "userRoleId": {
                          "type": "number"
                        },
                        "isAdmin": {
                          "type": "boolean"
                        },
                        "taxData": {
                          "type": "object",
                          "properties": {
                            "rfc": {
                              "type": "string"
                            },
                            "curp": {
                              "type": "string"
                            },
                            "nss": {
                              "type": "string"
                            }
                          }
                        },
                        "address": {
                          "type": "object",
                          "properties": {
                            "street": {
                              "type": "string"
                            },
                            "extNum": {
                              "type": "string"
                            },
                            "intNum": {
                              "type": "string"
                            },
                            "zipCode": {
                              "type": "string"
                            },
                            "suburb": {
                              "type": "string"
                            },
                            "city": {
                              "type": "string"
                            },
                            "state": {
                              "type": "string"
                            },
                            "country": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fileURL": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user": {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string"
                      },
                      "organizationId": {
                        "type": "number"
                      },
                      "firstName": {
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      },
                      "avatar": {
                        "type": "string"
                      },
                      "franchiseId": {
                        "type": "number",
                        "nullable": true
                      }
                    }
                  },
                  "userData": {
                    "type": "object",
                    "properties": {
                      "birthdate": {
                        "type": "string"
                      },
                      "cellphone": {
                        "type": "string"
                      },
                      "workStart": {
                        "type": "string",
                        "nullable": true
                      },
                      "userRoleId": {
                        "type": "number",
                        "nullable": true
                      },
                      "isAdmin": {
                        "type": "boolean"
                      },
                      "taxData": {
                        "type": "object",
                        "properties": {
                          "rfc": {
                            "type": "string"
                          },
                          "curp": {
                            "type": "string"
                          },
                          "nss": {
                            "type": "string"
                          }
                        }
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "extNum": {
                            "type": "string"
                          },
                          "intNum": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.createNewUser"
      }
    },
    "/users/deactivate-activate/{id}": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "deleteById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "example": "En hora buena! La acción se ha realizado con éxito"
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User active or deactive"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "activateDeactivateComment": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserController.deleteById"
      }
    },
    "/users/excel/download": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "downloadExcel",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Excel generado con los usuarios seleccionados",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string"
                    },
                    "fileName": {
                      "type": "string"
                    },
                    "totalUsers": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "filter": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.downloadExcel"
      }
    },
    "/users/role": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "findUsersFilterRole",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserController.findUsersFilterRole"
      }
    },
    "/users/user-by-token": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "findByToken",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Find User By Token"
          }
        },
        "parameters": [
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "franchiseId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.findByToken"
      }
    },
    "/users/{id}/curp": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "getUserCurp",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Get user CURP",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "curp": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserController.getUserCurp"
      }
    },
    "/users/{id}/franchises": {
      "get": {
        "x-controller-name": "FranchiseController",
        "x-operation-name": "findFranchisesByUser",
        "tags": [
          "FranchiseController"
        ],
        "responses": {
          "200": {
            "description": "Array of User has many Franchise",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Franchise"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "FranchiseController.findFranchisesByUser"
      }
    },
    "/users/{id}/user-data": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "getSysUserData",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "SysUserData belonging to User",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserData"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "UserController.getSysUserData"
      }
    },
    "/users/{id}": {
      "patch": {
        "x-controller-name": "UserController",
        "x-operation-name": "editSystemUser",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "user": {
                      "type": "object",
                      "properties": {
                        "email": {
                          "type": "string"
                        },
                        "firstName": {
                          "type": "string"
                        },
                        "lastName": {
                          "type": "string"
                        },
                        "avatar": {
                          "type": "string"
                        }
                      }
                    },
                    "userData": {
                      "type": "object",
                      "properties": {
                        "birthdate": {
                          "type": "string"
                        },
                        "cellphone": {
                          "type": "string"
                        },
                        "workStart": {
                          "type": "string"
                        },
                        "userRoleId": {
                          "type": "number"
                        },
                        "isAdmin": {
                          "type": "boolean"
                        },
                        "taxData": {
                          "type": "object",
                          "properties": {
                            "rfc": {
                              "type": "string"
                            },
                            "curp": {
                              "type": "string"
                            },
                            "nss": {
                              "type": "string"
                            }
                          }
                        },
                        "address": {
                          "type": "object",
                          "properties": {
                            "street": {
                              "type": "string"
                            },
                            "extNum": {
                              "type": "string"
                            },
                            "intNum": {
                              "type": "string"
                            },
                            "zipCode": {
                              "type": "string"
                            },
                            "suburb": {
                              "type": "string"
                            },
                            "city": {
                              "type": "string"
                            },
                            "state": {
                              "type": "string"
                            },
                            "country": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    },
                    "documents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "fileURL": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "extension": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "authorization",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user": {
                    "type": "object",
                    "properties": {
                      "email": {
                        "type": "string"
                      },
                      "firstName": {
                        "type": "string"
                      },
                      "lastName": {
                        "type": "string"
                      },
                      "avatar": {
                        "type": "string"
                      },
                      "franchiseId": {
                        "type": "number",
                        "nullable": true
                      }
                    }
                  },
                  "userData": {
                    "type": "object",
                    "properties": {
                      "birthdate": {
                        "type": "string"
                      },
                      "cellphone": {
                        "type": "string"
                      },
                      "workStart": {
                        "type": "string",
                        "nullable": true
                      },
                      "userRoleId": {
                        "type": "number",
                        "nullable": true
                      },
                      "isAdmin": {
                        "type": "boolean"
                      },
                      "taxData": {
                        "type": "object",
                        "properties": {
                          "rfc": {
                            "type": "string"
                          },
                          "curp": {
                            "type": "string"
                          },
                          "nss": {
                            "type": "string"
                          }
                        }
                      },
                      "address": {
                        "type": "object",
                        "properties": {
                          "street": {
                            "type": "string"
                          },
                          "extNum": {
                            "type": "string"
                          },
                          "intNum": {
                            "type": "string"
                          },
                          "zipCode": {
                            "type": "string"
                          },
                          "suburb": {
                            "type": "string"
                          },
                          "city": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string"
                          },
                          "country": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "documents": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "fileURL": {
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "extension": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserController.editSystemUser"
      },
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "findById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "UserController.findById"
      },
      "delete": {
        "x-controller-name": "UserController",
        "x-operation-name": "deleteByIdUser",
        "tags": [
          "UserController"
        ],
        "responses": {
          "204": {
            "description": "User DELETE success"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "UserController.deleteByIdUser"
      }
    },
    "/users": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "find",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/User"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserController.find"
      }
    },
    "/users-all": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "findAllUsers",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of all User model instances with roles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "number"
                    },
                    "users": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "number"
                          },
                          "name": {
                            "type": "string"
                          },
                          "avatar": {
                            "type": "string"
                          },
                          "isActive": {
                            "type": "boolean"
                          },
                          "activateDeactivateComment": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "franchiseId": {
                            "type": "number"
                          },
                          "roles": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserController.findAllUsers"
      }
    },
    "/users-all-ids": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "getAllUserIds",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of all User model instances ids",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserController.getAllUserIds"
      }
    },
    "/users-franchise/{id}": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "usersFranchise",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "franchiseId": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "UserController.usersFranchise"
      }
    },
    "/votes": {
      "post": {
        "x-controller-name": "VoteController",
        "x-operation-name": "create",
        "tags": [
          "VoteController"
        ],
        "responses": {
          "200": {
            "description": "Vote model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Vote"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewVote"
              }
            }
          }
        },
        "operationId": "VoteController.create"
      }
    },
    "/zoho-certificate": {
      "post": {
        "x-controller-name": "ZohoCertController",
        "x-operation-name": "generarCertificado",
        "tags": [
          "ZohoCertController"
        ],
        "responses": {
          "200": {
            "description": "Certificado generado en Zoho",
            "content": {
              "application/json": {}
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "nombre",
                  "apellido_paterno",
                  "apellido_materno",
                  "rfc",
                  "importe",
                  "banco",
                  "entidad_federativa",
                  "municipio",
                  "asesor_curp"
                ],
                "properties": {
                  "nombre": {
                    "type": "string"
                  },
                  "apellido_paterno": {
                    "type": "string"
                  },
                  "apellido_materno": {
                    "type": "string"
                  },
                  "rfc": {
                    "type": "string"
                  },
                  "importe": {
                    "type": "string"
                  },
                  "banco": {
                    "type": "string"
                  },
                  "entidad_federativa": {
                    "type": "string"
                  },
                  "municipio": {
                    "type": "string"
                  },
                  "asesor_curp": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "ZohoCertController.generarCertificado"
      }
    }
  },
  "servers": [
    {
      "url": "http://dev.api.infinance.simplycode.mx"
    }
  ],
  "components": {
    "schemas": {
      "Vote": {
        "title": "Vote",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "comments": {
            "type": "string"
          },
          "leadId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewVote": {
        "title": "NewVote",
        "type": "object",
        "description": "(tsType: Omit<Vote, 'id' | 'createdAt'>, schemaOptions: { title: 'NewVote', exclude: [ 'id', 'createdAt' ] })",
        "properties": {
          "status": {
            "type": "string"
          },
          "comments": {
            "type": "string"
          },
          "leadId": {
            "type": "number"
          },
          "userId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Vote, 'id' | 'createdAt'>"
      },
      "User": {
        "title": "User",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "username": {
            "type": "string"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "tokenExpiration": {
            "type": "string",
            "format": "date-time"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "avatar": {
            "type": "string"
          },
          "firstTime": {
            "type": "boolean"
          },
          "isSuperAdmin": {
            "type": "boolean"
          },
          "userDataId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "isAdmin": {
            "type": "boolean"
          },
          "isFranchise": {
            "type": "boolean"
          },
          "franchiseId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "UserData": {
        "title": "UserData",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "userId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "cellphone": {
            "type": "string"
          },
          "personalEmail": {
            "type": "string"
          },
          "personalCellphone": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "object"
          },
          "workStart": {
            "type": "string",
            "format": "date-time"
          },
          "taxData": {
            "type": "object"
          }
        },
        "additionalProperties": false
      },
      "UserRole": {
        "title": "UserRole",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "accessLevel": {
            "type": "number"
          },
          "configuration": {
            "type": "object"
          },
          "userId": {
            "type": "number"
          },
          "roleModuleId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "shareFranchises": {
            "type": "boolean"
          },
          "isFranchise": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RoleModule": {
        "title": "RoleModule",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "create": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "update": {
            "type": "boolean"
          },
          "del": {
            "type": "boolean"
          },
          "moduleId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "roleCustomModelId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "UserRoleWithRelations": {
        "title": "UserRoleWithRelations",
        "type": "object",
        "description": "(tsType: UserRoleWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "accessLevel": {
            "type": "number"
          },
          "configuration": {
            "type": "object"
          },
          "userId": {
            "type": "number"
          },
          "roleModuleId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "shareFranchises": {
            "type": "boolean"
          },
          "isFranchise": {
            "type": "boolean"
          },
          "user": {
            "$ref": "#/components/schemas/UserData"
          },
          "foreignKey": {},
          "roleModule": {
            "$ref": "#/components/schemas/RoleModule"
          },
          "userData": {
            "$ref": "#/components/schemas/UserData"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "UserRoleWithRelations"
      },
      "Document": {
        "title": "Document",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "fileURL": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "extension": {
            "type": "string"
          },
          "userDataId": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "alias": {
            "type": "string"
          },
          "franchisePaymentId": {
            "type": "number"
          },
          "royaltyPaymentId": {
            "type": "number"
          },
          "billId": {
            "type": "number"
          },
          "billRoyaltyPaymentId": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "bankChargePymeId": {
            "type": "number"
          },
          "bankChargeMortgageId": {
            "type": "number"
          },
          "chargeCommissionPymeId": {
            "type": "number"
          },
          "chargeCommissionMortgageId": {
            "type": "number"
          },
          "creditRequestPymePaymentFileId": {
            "type": "number"
          },
          "mortgageCreditPaymentFileId": {
            "type": "number"
          },
          "chargeCommissionMortgagePaymentVoucherId": {
            "type": "number"
          },
          "chargeCommissionPymePaymentVoucherId": {
            "type": "number"
          },
          "authorizedEvidenceId": {
            "type": "number"
          },
          "signedEvidenceId": {
            "type": "number"
          },
          "financialInstitutionId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "UserDataWithRelations": {
        "title": "UserDataWithRelations",
        "type": "object",
        "description": "(tsType: UserDataWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "userId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "cellphone": {
            "type": "string"
          },
          "personalEmail": {
            "type": "string"
          },
          "personalCellphone": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "object"
          },
          "workStart": {
            "type": "string",
            "format": "date-time"
          },
          "taxData": {
            "type": "object"
          },
          "user": {
            "$ref": "#/components/schemas/User"
          },
          "foreignKey": {},
          "userRole": {
            "$ref": "#/components/schemas/UserRole"
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Document"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "UserDataWithRelations"
      },
      "NewUserData": {
        "title": "NewUserData",
        "type": "object",
        "description": "(tsType: Omit<UserData, 'id'>, schemaOptions: { title: 'NewUserData', exclude: [ 'id' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "userId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "cellphone": {
            "type": "string"
          },
          "personalEmail": {
            "type": "string"
          },
          "personalCellphone": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "object"
          },
          "workStart": {
            "type": "string",
            "format": "date-time"
          },
          "taxData": {
            "type": "object"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<UserData, 'id'>"
      },
      "UserDataPartial": {
        "title": "UserDataPartial",
        "type": "object",
        "description": "(tsType: Partial<UserData>, schemaOptions: { partial: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "userId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "cellphone": {
            "type": "string"
          },
          "personalEmail": {
            "type": "string"
          },
          "personalCellphone": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "type": "object"
          },
          "workStart": {
            "type": "string",
            "format": "date-time"
          },
          "taxData": {
            "type": "object"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<UserData>"
      },
      "TypeCredit": {
        "title": "TypeCredit",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewTypeCredit": {
        "title": "NewTypeCredit",
        "type": "object",
        "description": "(tsType: Omit<TypeCredit, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted'>, schemaOptions: { title: 'NewTypeCredit', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'isActive', 'isDeleted' ] })",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<TypeCredit, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted'>"
      },
      "TypeCreditWithRelations": {
        "title": "TypeCreditWithRelations",
        "type": "object",
        "description": "(tsType: TypeCreditWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "TypeCreditWithRelations"
      },
      "TypeCreditPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-isDeleted_": {
        "title": "TypeCreditPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-isDeleted_",
        "type": "object",
        "description": "(tsType: Omit<Partial<TypeCredit>, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'isActive', 'isDeleted' ] })",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<TypeCredit>, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted'>"
      },
      "Training": {
        "title": "Training",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "statusId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewTraining": {
        "title": "NewTraining",
        "type": "object",
        "description": "(tsType: Omit<Training, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'organizationId' | 'statusId' | 'isDeleted'>, schemaOptions: { title: 'NewTraining', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'organizationId', 'statusId', 'isDeleted' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Training, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'organizationId' | 'statusId' | 'isDeleted'>"
      },
      "TaskExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-trainingId-statusId_": {
        "title": "TaskExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-trainingId-statusId_",
        "type": "object",
        "description": "(tsType: Omit<Task, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'trainingId' | 'statusId'>, schemaOptions: { exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'organizationId', 'trainingId', 'statusId' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Task, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'trainingId' | 'statusId'>"
      },
      "Task": {
        "title": "Task",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "trainingId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewTask": {
        "title": "NewTask",
        "type": "object",
        "description": "(tsType: Omit<Task, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'statusId'>, schemaOptions: { title: 'NewTask', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'organizationId', 'statusId' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "trainingId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Task, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'statusId'>"
      },
      "TaskPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-trainingId-organizationId-statusId_": {
        "title": "TaskPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-trainingId-organizationId-statusId_",
        "type": "object",
        "description": "(tsType: Omit<Partial<Task>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'trainingId' | 'organizationId' | 'statusId'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'trainingId', 'organizationId', 'statusId' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<Task>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'trainingId' | 'organizationId' | 'statusId'>"
      },
      "Status": {
        "title": "Status",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "dependsOn": {
            "type": "number"
          },
          "isInitialStatus": {
            "type": "boolean"
          },
          "isFinalStatus": {
            "type": "boolean"
          },
          "isCancellationStatus": {
            "type": "boolean"
          },
          "isBase": {
            "type": "boolean"
          },
          "process": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "number"
          },
          "isValidated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NewStatus": {
        "title": "NewStatus",
        "type": "object",
        "description": "(tsType: Omit<Status, 'id'>, schemaOptions: { title: 'NewStatus', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "dependsOn": {
            "type": "number"
          },
          "isInitialStatus": {
            "type": "boolean"
          },
          "isFinalStatus": {
            "type": "boolean"
          },
          "isCancellationStatus": {
            "type": "boolean"
          },
          "isBase": {
            "type": "boolean"
          },
          "process": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "number"
          },
          "isValidated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Status, 'id'>"
      },
      "StatusWithRelations": {
        "title": "StatusWithRelations",
        "type": "object",
        "description": "(tsType: StatusWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "dependsOn": {
            "type": "number"
          },
          "isInitialStatus": {
            "type": "boolean"
          },
          "isFinalStatus": {
            "type": "boolean"
          },
          "isCancellationStatus": {
            "type": "boolean"
          },
          "isBase": {
            "type": "boolean"
          },
          "process": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "number"
          },
          "isValidated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "StatusWithRelations"
      },
      "StatusPartial": {
        "title": "StatusPartial",
        "type": "object",
        "description": "(tsType: Partial<Status>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "dependsOn": {
            "type": "number"
          },
          "isInitialStatus": {
            "type": "boolean"
          },
          "isFinalStatus": {
            "type": "boolean"
          },
          "isCancellationStatus": {
            "type": "boolean"
          },
          "isBase": {
            "type": "boolean"
          },
          "process": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "organizationId": {
            "type": "number"
          },
          "isValidated": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Status>"
      },
      "RoyaltyPayment": {
        "title": "RoyaltyPayment",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "dueDate": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number"
          },
          "amountBase": {
            "type": "number"
          },
          "interests": {
            "type": "number"
          },
          "dueDays": {
            "type": "number"
          },
          "dailyPenaltyFee": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "bankReference": {
            "type": "string"
          },
          "comment": {
            "type": "string"
          },
          "invoicefolio": {
            "type": "string"
          },
          "billingDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "NewRoyaltyPayment": {
        "title": "NewRoyaltyPayment",
        "type": "object",
        "description": "(tsType: Omit<RoyaltyPayment, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'statusId' | 'organizationId'>, schemaOptions: { title: 'NewRoyaltyPayment', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'statusId', 'organizationId' ] })",
        "properties": {
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "dueDate": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number"
          },
          "amountBase": {
            "type": "number"
          },
          "interests": {
            "type": "number"
          },
          "dueDays": {
            "type": "number"
          },
          "dailyPenaltyFee": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "bankReference": {
            "type": "string"
          },
          "comment": {
            "type": "string"
          },
          "invoicefolio": {
            "type": "string"
          },
          "billingDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<RoyaltyPayment, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'statusId' | 'organizationId'>"
      },
      "RoyaltyPaymentPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-statusId-organizationId-franchiseId_": {
        "title": "RoyaltyPaymentPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-statusId-organizationId-franchiseId_",
        "type": "object",
        "description": "(tsType: Omit<Partial<RoyaltyPayment>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'statusId' | 'organizationId' | 'franchiseId'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'statusId', 'organizationId', 'franchiseId' ] })",
        "properties": {
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "dueDate": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number"
          },
          "amountBase": {
            "type": "number"
          },
          "interests": {
            "type": "number"
          },
          "dueDays": {
            "type": "number"
          },
          "dailyPenaltyFee": {
            "type": "number"
          },
          "bankReference": {
            "type": "string"
          },
          "comment": {
            "type": "string"
          },
          "invoicefolio": {
            "type": "string"
          },
          "billingDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<RoyaltyPayment>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'statusId' | 'organizationId' | 'franchiseId'>"
      },
      "NewRoleModule": {
        "title": "NewRoleModule",
        "type": "object",
        "description": "(tsType: Omit<RoleModule, 'id'>, schemaOptions: { title: 'NewRoleModule', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "create": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "update": {
            "type": "boolean"
          },
          "del": {
            "type": "boolean"
          },
          "moduleId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "roleCustomModelId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<RoleModule, 'id'>"
      },
      "Module": {
        "title": "Module",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categoryName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "RoleCustomModel": {
        "title": "RoleCustomModel",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "consultProspects": {
            "type": "boolean"
          },
          "emitVoteProspect": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "RoleModuleWithRelations": {
        "title": "RoleModuleWithRelations",
        "type": "object",
        "description": "(tsType: RoleModuleWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "create": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "update": {
            "type": "boolean"
          },
          "del": {
            "type": "boolean"
          },
          "moduleId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "roleCustomModelId": {
            "type": "number"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "foreignKey": {},
          "userRole": {
            "$ref": "#/components/schemas/UserRole"
          },
          "roleCustomModel": {
            "$ref": "#/components/schemas/RoleCustomModel"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "RoleModuleWithRelations"
      },
      "RoleModulePartial": {
        "title": "RoleModulePartial",
        "type": "object",
        "description": "(tsType: Partial<RoleModule>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "create": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "update": {
            "type": "boolean"
          },
          "del": {
            "type": "boolean"
          },
          "moduleId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "roleCustomModelId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<RoleModule>"
      },
      "PlacementGoal": {
        "title": "PlacementGoal",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "year": {
            "type": "number"
          },
          "quarter": {
            "type": "number"
          },
          "goalAmount": {
            "type": "number"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "year",
          "quarter",
          "goalAmount"
        ],
        "additionalProperties": false
      },
      "NewPlacementGoal": {
        "title": "NewPlacementGoal",
        "type": "object",
        "description": "(tsType: Omit<PlacementGoal, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt'>, schemaOptions: { title: 'NewPlacementGoal', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "year": {
            "type": "number"
          },
          "quarter": {
            "type": "number"
          },
          "goalAmount": {
            "type": "number"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "year",
          "quarter",
          "goalAmount"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<PlacementGoal, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt'>"
      },
      "PlacementGoalWithRelations": {
        "title": "PlacementGoalWithRelations",
        "type": "object",
        "description": "(tsType: PlacementGoalWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "year": {
            "type": "number"
          },
          "quarter": {
            "type": "number"
          },
          "goalAmount": {
            "type": "number"
          },
          "description": {
            "type": "string"
          }
        },
        "required": [
          "year",
          "quarter",
          "goalAmount"
        ],
        "additionalProperties": false,
        "x-typescript-type": "PlacementGoalWithRelations"
      },
      "PlacementGoalPartial": {
        "title": "PlacementGoalPartial",
        "type": "object",
        "description": "(tsType: Partial<PlacementGoal>, schemaOptions: { partial: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "year": {
            "type": "number"
          },
          "quarter": {
            "type": "number"
          },
          "goalAmount": {
            "type": "number"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PlacementGoal>"
      },
      "Organization": {
        "title": "Organization",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "canUpdate": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewOrganization": {
        "title": "NewOrganization",
        "type": "object",
        "description": "(tsType: Omit<Organization, 'id'>, schemaOptions: { title: 'NewOrganization', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "canUpdate": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Organization, 'id'>"
      },
      "Log": {
        "title": "Log",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "calledURL": {
            "type": "string"
          },
          "userEmail": {
            "type": "string"
          },
          "userName": {
            "type": "string"
          },
          "request": {
            "type": "object"
          },
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "object"
          },
          "organizationId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "OrganizationWithRelations": {
        "title": "OrganizationWithRelations",
        "type": "object",
        "description": "(tsType: OrganizationWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "canUpdate": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/User"
            }
          },
          "userRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserRole"
            }
          },
          "logs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Log"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "OrganizationWithRelations"
      },
      "OrganizationPartial": {
        "title": "OrganizationPartial",
        "type": "object",
        "description": "(tsType: Partial<Organization>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "canUpdate": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Organization>"
      },
      "NewSysUserRoleInOrganization": {
        "title": "NewSysUserRoleInOrganization",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<UserRole, 'id'>, 'organizationId'>, schemaOptions: { title: 'NewSysUserRoleInOrganization', exclude: [ 'id' ], optional: [ 'organizationId' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "accessLevel": {
            "type": "number"
          },
          "configuration": {
            "type": "object"
          },
          "userId": {
            "type": "number"
          },
          "roleModuleId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "shareFranchises": {
            "type": "boolean"
          },
          "isFranchise": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<UserRole, 'id'>, 'organizationId'>"
      },
      "UserRolePartial": {
        "title": "UserRolePartial",
        "type": "object",
        "description": "(tsType: Partial<UserRole>, schemaOptions: { partial: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "accessLevel": {
            "type": "number"
          },
          "configuration": {
            "type": "object"
          },
          "userId": {
            "type": "number"
          },
          "roleModuleId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "shareFranchises": {
            "type": "boolean"
          },
          "isFranchise": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<UserRole>"
      },
      "NewUserInOrganization": {
        "title": "NewUserInOrganization",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<User, 'id'>, 'organizationId'>, schemaOptions: { title: 'NewUserInOrganization', exclude: [ 'id' ], optional: [ 'organizationId' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "username": {
            "type": "string"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "tokenExpiration": {
            "type": "string",
            "format": "date-time"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "avatar": {
            "type": "string"
          },
          "firstTime": {
            "type": "boolean"
          },
          "isSuperAdmin": {
            "type": "boolean"
          },
          "userDataId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "isAdmin": {
            "type": "boolean"
          },
          "isFranchise": {
            "type": "boolean"
          },
          "franchiseId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<User, 'id'>, 'organizationId'>"
      },
      "UserPartial": {
        "title": "UserPartial",
        "type": "object",
        "description": "(tsType: Partial<User>, schemaOptions: { partial: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "email": {
            "type": "string",
            "format": "email"
          },
          "username": {
            "type": "string"
          },
          "resetPasswordToken": {
            "type": "string"
          },
          "tokenExpiration": {
            "type": "string",
            "format": "date-time"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "avatar": {
            "type": "string"
          },
          "firstTime": {
            "type": "boolean"
          },
          "isSuperAdmin": {
            "type": "boolean"
          },
          "userDataId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "isAdmin": {
            "type": "boolean"
          },
          "isFranchise": {
            "type": "boolean"
          },
          "franchiseId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<User>"
      },
      "NewLogInOrganization": {
        "title": "NewLogInOrganization",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Log, 'id'>, 'organizationId'>, schemaOptions: { title: 'NewLogInOrganization', exclude: [ 'id' ], optional: [ 'organizationId' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "calledURL": {
            "type": "string"
          },
          "userEmail": {
            "type": "string"
          },
          "userName": {
            "type": "string"
          },
          "request": {
            "type": "object"
          },
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "object"
          },
          "organizationId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Log, 'id'>, 'organizationId'>"
      },
      "LogPartial": {
        "title": "LogPartial",
        "type": "object",
        "description": "(tsType: Partial<Log>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "calledURL": {
            "type": "string"
          },
          "userEmail": {
            "type": "string"
          },
          "userName": {
            "type": "string"
          },
          "request": {
            "type": "object"
          },
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "object"
          },
          "organizationId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Log>"
      },
      "MortgageCredit": {
        "title": "MortgageCredit",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isCreditCancel": {
            "type": "boolean"
          },
          "creditCancelReason": {
            "type": "string"
          },
          "applicantName": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "curp": {
            "type": "string"
          },
          "rfc": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "cellPhone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "nss": {
            "type": "string"
          },
          "nationality": {
            "type": "string",
            "nullable": true
          },
          "civilStatus": {
            "type": "string",
            "nullable": true
          },
          "patrimonialRegime": {
            "type": "string",
            "nullable": true
          },
          "economicDependents": {
            "type": "string"
          },
          "isCoOwner": {
            "type": "boolean"
          },
          "coOwnerId": {
            "type": "number"
          },
          "financialInstitutionId": {
            "type": "number"
          },
          "homeValue": {
            "type": "number"
          },
          "requestedAmount": {
            "type": "number"
          },
          "deadlines": {
            "type": "number"
          },
          "aforo": {
            "type": "number"
          },
          "laborData": {
            "type": "object",
            "title": "LaborData",
            "properties": {
              "taxRegime": {
                "type": "string"
              },
              "employeeCompany": {
                "type": "string"
              },
              "workPosition": {
                "type": "string"
              },
              "typeContract": {
                "type": "string"
              },
              "grossSalary": {
                "type": "number"
              },
              "netIncome": {
                "type": "number"
              },
              "antiquity": {
                "type": "number"
              },
              "antiquityFinance": {
                "type": "number"
              },
              "activityFinance": {
                "type": "string"
              },
              "averageDeposits": {
                "type": "number"
              },
              "annualDeclarations": {
                "type": "number"
              },
              "workAddress": {
                "type": "object",
                "title": "Address",
                "properties": {
                  "street": {
                    "type": "string"
                  },
                  "extNum": {
                    "type": "string"
                  },
                  "intNum": {
                    "type": "string"
                  },
                  "zipCode": {
                    "type": "string"
                  },
                  "suburb": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "residenceTime": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "workPhone": {
                "type": "string"
              },
              "previousCompanyName": {
                "type": "string"
              },
              "previousCompanyAntiquity": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "responsibleExecutiveId": {
            "type": "number"
          },
          "comment": {
            "type": "string"
          },
          "organizationId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "isRejected": {
            "type": "boolean"
          },
          "reasonRejected": {
            "type": "string"
          },
          "isPending": {
            "type": "boolean"
          },
          "reasonPending": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "Perfilado",
              "Ingresado",
              "Autorizado",
              "Avaluo/Notaria",
              "Firmado",
              "Fondeado"
            ]
          },
          "origin": {
            "type": "string",
            "enum": [
              "Matriz",
              "Franquicia",
              "Freelance"
            ]
          },
          "creditReasonId": {
            "type": "number"
          },
          "mortgageCreditMonitoringId": {
            "type": "number"
          },
          "controller": {
            "type": "string"
          },
          "reasonControllerRejected": {
            "type": "string"
          },
          "controllerDate": {
            "type": "string",
            "format": "date-time"
          },
          "birthPlaceCountry": {
            "type": "string"
          },
          "birthPlaceState": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "education": {
            "type": "string"
          },
          "paymentScheme": {
            "type": "string"
          },
          "personalReferences": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "bankSelected": {
            "type": "string"
          },
          "bankSpecificData": {
            "type": "object"
          }
        },
        "additionalProperties": false
      },
      "CoOwner": {
        "title": "CoOwner",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "applicantName": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "curp": {
            "type": "string"
          },
          "rfc": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "cellPhone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "nss": {
            "type": "string"
          },
          "nationality": {
            "type": "string"
          },
          "civilStatus": {
            "type": "string"
          },
          "patrimonialRegime": {
            "type": "string"
          },
          "economicDependents": {
            "type": "string"
          },
          "laborData": {
            "type": "object",
            "title": "LaborData",
            "properties": {
              "taxRegime": {
                "type": "string"
              },
              "employeeCompany": {
                "type": "string"
              },
              "workPosition": {
                "type": "string"
              },
              "typeContract": {
                "type": "string"
              },
              "grossSalary": {
                "type": "number"
              },
              "netIncome": {
                "type": "number"
              },
              "antiquity": {
                "type": "number"
              },
              "antiquityFinance": {
                "type": "number"
              },
              "activityFinance": {
                "type": "string"
              },
              "averageDeposits": {
                "type": "number"
              },
              "annualDeclarations": {
                "type": "number"
              },
              "workAddress": {
                "type": "object",
                "title": "Address",
                "properties": {
                  "street": {
                    "type": "string"
                  },
                  "extNum": {
                    "type": "string"
                  },
                  "intNum": {
                    "type": "string"
                  },
                  "zipCode": {
                    "type": "string"
                  },
                  "suburb": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "residenceTime": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "workPhone": {
                "type": "string"
              },
              "previousCompanyName": {
                "type": "string"
              },
              "previousCompanyAntiquity": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "birthPlaceCountry": {
            "type": "string"
          },
          "birthPlaceState": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "education": {
            "type": "string"
          },
          "coOwnerRelationship": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FinancialInstitution": {
        "title": "FinancialInstitution",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          },
          "isInfinance": {
            "type": "boolean"
          },
          "paydaysPyme": {
            "type": "number",
            "nullable": true
          },
          "paydaysMortgage": {
            "type": "number",
            "nullable": true
          },
          "typeFinancialInstitution": {
            "type": "string",
            "enum": [
              "Pyme",
              "Hipotecario",
              "infinance"
            ]
          }
        },
        "additionalProperties": false
      },
      "Franchise": {
        "title": "Franchise",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "zone": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "userId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "ChargeCommissionMortgage": {
        "title": "ChargeCommissionMortgage",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "taxRegime": {
            "type": "string",
            "enum": [
              "Persona física con actividad empresarial",
              "Persona física RESICO",
              "Persona moral"
            ]
          },
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "commission": {
            "type": "number"
          },
          "discounts": {
            "type": "number",
            "nullable": true
          },
          "isFactoring": {
            "type": "boolean"
          },
          "factoringAmount": {
            "type": "number"
          },
          "factoringCommission": {
            "type": "number"
          },
          "commissionAmount": {
            "type": "number"
          },
          "finalCommission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "retentionva": {
            "type": "number"
          },
          "retentionisr": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "reasonRejected": {
            "type": "string"
          },
          "controllerDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CreditReason": {
        "title": "CreditReason",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "MortgageCreditMonitoring": {
        "title": "MortgageCreditMonitoring",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "dateFinancialInstitution": {
            "type": "string",
            "format": "date-time"
          },
          "commentDateFinancialInstitution": {
            "type": "string"
          },
          "dateResolution": {
            "type": "string",
            "format": "date-time"
          },
          "resolutionFinancialInstitution": {
            "type": "string"
          },
          "authorizedAmount": {
            "type": "number"
          },
          "deadlines": {
            "type": "number"
          },
          "rate": {
            "type": "number"
          },
          "commissionOpening": {
            "type": "number"
          },
          "commissionDeferredOpening": {
            "type": "number"
          },
          "oforo": {
            "type": "number"
          },
          "expirationCreditAuthorization": {
            "type": "string",
            "format": "date-time"
          },
          "costAppraised": {
            "type": "number"
          },
          "notarialCharges": {
            "type": "number"
          },
          "dateShipmentAppraisal": {
            "type": "string",
            "format": "date-time"
          },
          "dateSendingNotary": {
            "type": "string",
            "format": "date-time"
          },
          "authorizedAmountCC": {
            "type": "number"
          },
          "deadlinesCC": {
            "type": "number"
          },
          "rateCC": {
            "type": "number"
          },
          "commissionOpeningCC": {
            "type": "number"
          },
          "commissionDeferredOpeningCC": {
            "type": "number"
          },
          "oforoCC": {
            "type": "number"
          },
          "costAppraisedCC": {
            "type": "number"
          },
          "notarialChargesCC": {
            "type": "number"
          },
          "dateSignatureNotary": {
            "type": "string",
            "format": "date-time"
          },
          "commentCC": {
            "type": "string"
          },
          "anchoringDate": {
            "type": "string",
            "format": "date-time"
          },
          "commentSigned": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "BankChargeMortgage": {
        "title": "BankChargeMortgage",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "invoiceSendingDate": {
            "type": "string",
            "format": "date-time"
          },
          "probableDepositDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "chargePercentage": {
            "type": "number"
          },
          "commission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "totalCommission": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "MortgageCreditWithRelations": {
        "title": "MortgageCreditWithRelations",
        "type": "object",
        "description": "(tsType: MortgageCreditWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "isCreditCancel": {
            "type": "boolean"
          },
          "creditCancelReason": {
            "type": "string"
          },
          "applicantName": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "curp": {
            "type": "string"
          },
          "rfc": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "cellPhone": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "nss": {
            "type": "string"
          },
          "nationality": {
            "type": "string",
            "nullable": true
          },
          "civilStatus": {
            "type": "string",
            "nullable": true
          },
          "patrimonialRegime": {
            "type": "string",
            "nullable": true
          },
          "economicDependents": {
            "type": "string"
          },
          "isCoOwner": {
            "type": "boolean"
          },
          "coOwnerId": {
            "type": "number"
          },
          "financialInstitutionId": {
            "type": "number"
          },
          "homeValue": {
            "type": "number"
          },
          "requestedAmount": {
            "type": "number"
          },
          "deadlines": {
            "type": "number"
          },
          "aforo": {
            "type": "number"
          },
          "laborData": {
            "type": "object",
            "title": "LaborData",
            "properties": {
              "taxRegime": {
                "type": "string"
              },
              "employeeCompany": {
                "type": "string"
              },
              "workPosition": {
                "type": "string"
              },
              "typeContract": {
                "type": "string"
              },
              "grossSalary": {
                "type": "number"
              },
              "netIncome": {
                "type": "number"
              },
              "antiquity": {
                "type": "number"
              },
              "antiquityFinance": {
                "type": "number"
              },
              "activityFinance": {
                "type": "string"
              },
              "averageDeposits": {
                "type": "number"
              },
              "annualDeclarations": {
                "type": "number"
              },
              "workAddress": {
                "type": "object",
                "title": "Address",
                "properties": {
                  "street": {
                    "type": "string"
                  },
                  "extNum": {
                    "type": "string"
                  },
                  "intNum": {
                    "type": "string"
                  },
                  "zipCode": {
                    "type": "string"
                  },
                  "suburb": {
                    "type": "string"
                  },
                  "city": {
                    "type": "string"
                  },
                  "state": {
                    "type": "string"
                  },
                  "country": {
                    "type": "string"
                  },
                  "residenceTime": {
                    "type": "number"
                  }
                },
                "additionalProperties": false
              },
              "workPhone": {
                "type": "string"
              },
              "previousCompanyName": {
                "type": "string"
              },
              "previousCompanyAntiquity": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "responsibleExecutiveId": {
            "type": "number"
          },
          "comment": {
            "type": "string"
          },
          "organizationId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "isRejected": {
            "type": "boolean"
          },
          "reasonRejected": {
            "type": "string"
          },
          "isPending": {
            "type": "boolean"
          },
          "reasonPending": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "Perfilado",
              "Ingresado",
              "Autorizado",
              "Avaluo/Notaria",
              "Firmado",
              "Fondeado"
            ]
          },
          "origin": {
            "type": "string",
            "enum": [
              "Matriz",
              "Franquicia",
              "Freelance"
            ]
          },
          "creditReasonId": {
            "type": "number"
          },
          "mortgageCreditMonitoringId": {
            "type": "number"
          },
          "controller": {
            "type": "string"
          },
          "reasonControllerRejected": {
            "type": "string"
          },
          "controllerDate": {
            "type": "string",
            "format": "date-time"
          },
          "birthPlaceCountry": {
            "type": "string"
          },
          "birthPlaceState": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "education": {
            "type": "string"
          },
          "paymentScheme": {
            "type": "string"
          },
          "personalReferences": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "bankSelected": {
            "type": "string"
          },
          "bankSpecificData": {
            "type": "object"
          },
          "coOwner": {
            "$ref": "#/components/schemas/CoOwner"
          },
          "foreignKey": {},
          "financialInstitution": {
            "$ref": "#/components/schemas/FinancialInstitution"
          },
          "responsibleExecutive": {
            "$ref": "#/components/schemas/User"
          },
          "organization": {
            "$ref": "#/components/schemas/Organization"
          },
          "franchise": {
            "$ref": "#/components/schemas/Franchise"
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Document"
            }
          },
          "chargeCommissionMortgage": {
            "$ref": "#/components/schemas/ChargeCommissionMortgage"
          },
          "creditReason": {
            "$ref": "#/components/schemas/CreditReason"
          },
          "mortgageCreditMonitoring": {
            "$ref": "#/components/schemas/MortgageCreditMonitoring"
          },
          "paymentFiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Document"
            }
          },
          "bankChargeMortgages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BankChargeMortgage"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "MortgageCreditWithRelations"
      },
      "NewModule": {
        "title": "NewModule",
        "type": "object",
        "description": "(tsType: Omit<Module, 'id'>, schemaOptions: { title: 'NewModule', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categoryName": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Module, 'id'>"
      },
      "ModuleWithRelations": {
        "title": "ModuleWithRelations",
        "type": "object",
        "description": "(tsType: ModuleWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categoryName": {
            "type": "string"
          },
          "roleModules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleModule"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ModuleWithRelations"
      },
      "ModulePartial": {
        "title": "ModulePartial",
        "type": "object",
        "description": "(tsType: Partial<Module>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categoryName": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Module>"
      },
      "NewRoleModuleInModule": {
        "title": "NewRoleModuleInModule",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<RoleModule, 'id'>, 'moduleId'>, schemaOptions: { title: 'NewRoleModuleInModule', exclude: [ 'id' ], optional: [ 'moduleId' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "create": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "update": {
            "type": "boolean"
          },
          "del": {
            "type": "boolean"
          },
          "moduleId": {
            "type": "number"
          },
          "userRoleId": {
            "type": "number"
          },
          "roleCustomModelId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<RoleModule, 'id'>, 'moduleId'>"
      },
      "ModelLog": {
        "title": "ModelLog",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "user": {
            "type": "string"
          },
          "userId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "modificationType": {
            "type": "string"
          },
          "modelName": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewModelLog": {
        "title": "NewModelLog",
        "type": "object",
        "description": "(tsType: Omit<ModelLog, 'id'>, schemaOptions: { title: 'NewModelLog', exclude: [ 'id' ] })",
        "properties": {
          "user": {
            "type": "string"
          },
          "userId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "modificationType": {
            "type": "string"
          },
          "modelName": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ModelLog, 'id'>"
      },
      "LogDetails": {
        "title": "LogDetails",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "valueBeforeChange": {
            "type": "string"
          },
          "valueAfterChange": {
            "type": "string"
          },
          "modelLogId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "ModelLogWithRelations": {
        "title": "ModelLogWithRelations",
        "type": "object",
        "description": "(tsType: ModelLogWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "user": {
            "type": "string"
          },
          "userId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "modificationType": {
            "type": "string"
          },
          "modelName": {
            "type": "string"
          },
          "logDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LogDetails"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ModelLogWithRelations"
      },
      "ModelLogPartial": {
        "title": "ModelLogPartial",
        "type": "object",
        "description": "(tsType: Partial<ModelLog>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "user": {
            "type": "string"
          },
          "userId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "modificationType": {
            "type": "string"
          },
          "modelName": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ModelLog>"
      },
      "NewLogDetailsInModelLog": {
        "title": "NewLogDetailsInModelLog",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<LogDetails, 'id'>, 'modelLogId'>, schemaOptions: { title: 'NewLogDetailsInModelLog', exclude: [ 'id' ], optional: [ 'modelLogId' ] })",
        "properties": {
          "valueBeforeChange": {
            "type": "string"
          },
          "valueAfterChange": {
            "type": "string"
          },
          "modelLogId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<LogDetails, 'id'>, 'modelLogId'>"
      },
      "LogDetailsPartial": {
        "title": "LogDetailsPartial",
        "type": "object",
        "description": "(tsType: Partial<LogDetails>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "valueBeforeChange": {
            "type": "string"
          },
          "valueAfterChange": {
            "type": "string"
          },
          "modelLogId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<LogDetails>"
      },
      "NewLog": {
        "title": "NewLog",
        "type": "object",
        "description": "(tsType: Omit<Log, 'id'>, schemaOptions: { title: 'NewLog', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "calledURL": {
            "type": "string"
          },
          "userEmail": {
            "type": "string"
          },
          "userName": {
            "type": "string"
          },
          "request": {
            "type": "object"
          },
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "object"
          },
          "organizationId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Log, 'id'>"
      },
      "LogWithRelations": {
        "title": "LogWithRelations",
        "type": "object",
        "description": "(tsType: LogWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "calledURL": {
            "type": "string"
          },
          "userEmail": {
            "type": "string"
          },
          "userName": {
            "type": "string"
          },
          "request": {
            "type": "object"
          },
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "object"
          },
          "organizationId": {
            "type": "number"
          },
          "organization": {
            "$ref": "#/components/schemas/Organization"
          },
          "foreignKey": {}
        },
        "additionalProperties": false,
        "x-typescript-type": "LogWithRelations"
      },
      "NewLogDetails": {
        "title": "NewLogDetails",
        "type": "object",
        "description": "(tsType: Omit<LogDetails, 'id'>, schemaOptions: { title: 'NewLogDetails', exclude: [ 'id' ] })",
        "properties": {
          "valueBeforeChange": {
            "type": "string"
          },
          "valueAfterChange": {
            "type": "string"
          },
          "modelLogId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<LogDetails, 'id'>"
      },
      "LogDetailsWithRelations": {
        "title": "LogDetailsWithRelations",
        "type": "object",
        "description": "(tsType: LogDetailsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "valueBeforeChange": {
            "type": "string"
          },
          "valueAfterChange": {
            "type": "string"
          },
          "modelLogId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LogDetailsWithRelations"
      },
      "References": {
        "title": "References",
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "contact": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Lead": {
        "title": "Lead",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "nationality": {
            "type": "string"
          },
          "civilStatus": {
            "type": "string"
          },
          "RFC": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "occupation": {
            "type": "string"
          },
          "childrensNumber": {
            "type": "number"
          },
          "childrensAges": {
            "type": "string"
          },
          "hasEconomicDependents": {
            "type": "boolean"
          },
          "economicDependentsNumber": {
            "type": "number"
          },
          "cellphone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "profileLeads": {
            "type": "object",
            "title": "ProfileLeads",
            "properties": {
              "profession": {
                "type": "string"
              },
              "job": {
                "type": "string"
              },
              "seniority": {
                "type": "string"
              },
              "hasAdditionalIncome": {
                "type": "boolean"
              },
              "sourceOfIncome": {
                "type": "string"
              },
              "hasFinancialExperience": {
                "type": "boolean"
              },
              "financialExperienceYears": {
                "type": "number"
              },
              "hasSalesPassion": {
                "type": "boolean"
              },
              "salesPassionReason": {
                "type": "string"
              },
              "hasContactWithRealEstate": {
                "type": "boolean"
              },
              "contactWithRealEstateReason": {
                "type": "string"
              },
              "wouldOperateFranchise": {
                "type": "boolean"
              },
              "franchiseOperationDuration": {
                "type": "number"
              },
              "franchiseModel": {
                "type": "string"
              },
              "franchiseModelDescription": {
                "type": "string"
              },
              "whoWouldResponsibleWork": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "termsSale": {
            "type": "object",
            "title": "TermsSale",
            "properties": {
              "contractDate": {
                "type": "string",
                "format": "date-time"
              },
              "franchiseName": {
                "type": "string"
              },
              "typeContract": {
                "type": "string"
              },
              "franchiseCost": {
                "type": "number"
              },
              "ivaFranchiseCost": {
                "type": "number"
              },
              "totalIvaFranchiseCost": {
                "type": "number"
              },
              "totalFranchiseCost": {
                "type": "number"
              },
              "discountPercentage": {
                "type": "number"
              },
              "totalDiscountPercentage": {
                "type": "number"
              },
              "discountedFranchiseCost": {
                "type": "number"
              },
              "initialPaymentPercentage": {
                "type": "number"
              },
              "initialPayment": {
                "type": "number"
              },
              "ivaInitialPayment": {
                "type": "number"
              },
              "totalIvaInitialPayment": {
                "type": "number"
              },
              "totalInitialPayment": {
                "type": "number"
              },
              "remainderPay": {
                "type": "number"
              },
              "ivaRemainderPayPercentage": {
                "type": "number"
              },
              "ivaRemainderPay": {
                "type": "number"
              },
              "totalIvaRemainderPay": {
                "type": "number"
              },
              "deadlines": {
                "type": "number"
              },
              "monthlyPayments": {
                "type": "number"
              },
              "ivaMonthlyPayments": {
                "type": "number"
              },
              "totalIvaMonthlyPayments": {
                "type": "number"
              },
              "totalMonthlyPayments": {
                "type": "number"
              },
              "startPaymentRoyalties": {
                "type": "string",
                "format": "date-time"
              },
              "royaltyAmount": {
                "type": "number"
              },
              "ivaRoyaltyAmount": {
                "type": "number"
              },
              "totalRoyaltyAmount": {
                "type": "number"
              },
              "bank": {
                "type": "string"
              },
              "accountNumber": {
                "type": "string"
              },
              "interbankClabe": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "references": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/References"
            }
          },
          "organizationId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "Prospecto",
              "Ingresado",
              "Por autorizar",
              "Autorizado",
              "Contrato"
            ]
          },
          "isExternal": {
            "type": "boolean"
          },
          "isRejected": {
            "type": "boolean"
          },
          "reasonRejected": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewLeads": {
        "title": "NewLeads",
        "type": "object",
        "description": "(tsType: Omit<Lead, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'organizationId' | 'isDeleted' | 'status' | 'isExternal' | 'isRejected' | 'reasonRejected' | 'termsSale'>, schemaOptions: { title: 'NewLeads', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'isActive', 'organizationId', 'isDeleted', 'status', 'isExternal', 'isRejected', 'reasonRejected', 'termsSale' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "nationality": {
            "type": "string"
          },
          "civilStatus": {
            "type": "string"
          },
          "RFC": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "occupation": {
            "type": "string"
          },
          "childrensNumber": {
            "type": "number"
          },
          "childrensAges": {
            "type": "string"
          },
          "hasEconomicDependents": {
            "type": "boolean"
          },
          "economicDependentsNumber": {
            "type": "number"
          },
          "cellphone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "profileLeads": {
            "type": "object",
            "title": "ProfileLeads",
            "properties": {
              "profession": {
                "type": "string"
              },
              "job": {
                "type": "string"
              },
              "seniority": {
                "type": "string"
              },
              "hasAdditionalIncome": {
                "type": "boolean"
              },
              "sourceOfIncome": {
                "type": "string"
              },
              "hasFinancialExperience": {
                "type": "boolean"
              },
              "financialExperienceYears": {
                "type": "number"
              },
              "hasSalesPassion": {
                "type": "boolean"
              },
              "salesPassionReason": {
                "type": "string"
              },
              "hasContactWithRealEstate": {
                "type": "boolean"
              },
              "contactWithRealEstateReason": {
                "type": "string"
              },
              "wouldOperateFranchise": {
                "type": "boolean"
              },
              "franchiseOperationDuration": {
                "type": "number"
              },
              "franchiseModel": {
                "type": "string"
              },
              "franchiseModelDescription": {
                "type": "string"
              },
              "whoWouldResponsibleWork": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "references": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/References"
            }
          },
          "franchiseId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Lead, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'organizationId' | 'isDeleted' | 'status' | 'isExternal' | 'isRejected' | 'reasonRejected' | 'termsSale'>"
      },
      "SaleDocument": {
        "title": "SaleDocument",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "fileURL": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "extension": {
            "type": "string"
          },
          "alias": {
            "type": "string"
          },
          "leadId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "LeadWithRelations": {
        "title": "LeadWithRelations",
        "type": "object",
        "description": "(tsType: LeadWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "nationality": {
            "type": "string"
          },
          "civilStatus": {
            "type": "string"
          },
          "RFC": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "occupation": {
            "type": "string"
          },
          "childrensNumber": {
            "type": "number"
          },
          "childrensAges": {
            "type": "string"
          },
          "hasEconomicDependents": {
            "type": "boolean"
          },
          "economicDependentsNumber": {
            "type": "number"
          },
          "cellphone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "profileLeads": {
            "type": "object",
            "title": "ProfileLeads",
            "properties": {
              "profession": {
                "type": "string"
              },
              "job": {
                "type": "string"
              },
              "seniority": {
                "type": "string"
              },
              "hasAdditionalIncome": {
                "type": "boolean"
              },
              "sourceOfIncome": {
                "type": "string"
              },
              "hasFinancialExperience": {
                "type": "boolean"
              },
              "financialExperienceYears": {
                "type": "number"
              },
              "hasSalesPassion": {
                "type": "boolean"
              },
              "salesPassionReason": {
                "type": "string"
              },
              "hasContactWithRealEstate": {
                "type": "boolean"
              },
              "contactWithRealEstateReason": {
                "type": "string"
              },
              "wouldOperateFranchise": {
                "type": "boolean"
              },
              "franchiseOperationDuration": {
                "type": "number"
              },
              "franchiseModel": {
                "type": "string"
              },
              "franchiseModelDescription": {
                "type": "string"
              },
              "whoWouldResponsibleWork": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "termsSale": {
            "type": "object",
            "title": "TermsSale",
            "properties": {
              "contractDate": {
                "type": "string",
                "format": "date-time"
              },
              "franchiseName": {
                "type": "string"
              },
              "typeContract": {
                "type": "string"
              },
              "franchiseCost": {
                "type": "number"
              },
              "ivaFranchiseCost": {
                "type": "number"
              },
              "totalIvaFranchiseCost": {
                "type": "number"
              },
              "totalFranchiseCost": {
                "type": "number"
              },
              "discountPercentage": {
                "type": "number"
              },
              "totalDiscountPercentage": {
                "type": "number"
              },
              "discountedFranchiseCost": {
                "type": "number"
              },
              "initialPaymentPercentage": {
                "type": "number"
              },
              "initialPayment": {
                "type": "number"
              },
              "ivaInitialPayment": {
                "type": "number"
              },
              "totalIvaInitialPayment": {
                "type": "number"
              },
              "totalInitialPayment": {
                "type": "number"
              },
              "remainderPay": {
                "type": "number"
              },
              "ivaRemainderPayPercentage": {
                "type": "number"
              },
              "ivaRemainderPay": {
                "type": "number"
              },
              "totalIvaRemainderPay": {
                "type": "number"
              },
              "deadlines": {
                "type": "number"
              },
              "monthlyPayments": {
                "type": "number"
              },
              "ivaMonthlyPayments": {
                "type": "number"
              },
              "totalIvaMonthlyPayments": {
                "type": "number"
              },
              "totalMonthlyPayments": {
                "type": "number"
              },
              "startPaymentRoyalties": {
                "type": "string",
                "format": "date-time"
              },
              "royaltyAmount": {
                "type": "number"
              },
              "ivaRoyaltyAmount": {
                "type": "number"
              },
              "totalRoyaltyAmount": {
                "type": "number"
              },
              "bank": {
                "type": "string"
              },
              "accountNumber": {
                "type": "string"
              },
              "interbankClabe": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "references": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/References"
            }
          },
          "organizationId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "Prospecto",
              "Ingresado",
              "Por autorizar",
              "Autorizado",
              "Contrato"
            ]
          },
          "isExternal": {
            "type": "boolean"
          },
          "isRejected": {
            "type": "boolean"
          },
          "reasonRejected": {
            "type": "string"
          },
          "organization": {
            "$ref": "#/components/schemas/Organization"
          },
          "foreignKey": {},
          "franchise": {
            "$ref": "#/components/schemas/Franchise"
          },
          "votes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Vote"
            }
          },
          "saleDocuments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SaleDocument"
            }
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Document"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LeadWithRelations"
      },
      "LeadPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-organizationId-status-isDeleted-isExternal-isRejected-reasonRejected-termsSale_": {
        "title": "LeadPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-organizationId-status-isDeleted-isExternal-isRejected-reasonRejected-termsSale_",
        "type": "object",
        "description": "(tsType: Omit<Partial<Lead>, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'organizationId' | 'status' | 'isDeleted' | 'isExternal' | 'isRejected' | 'reasonRejected' | 'termsSale'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'isActive', 'organizationId', 'status', 'isDeleted', 'isExternal', 'isRejected', 'reasonRejected', 'termsSale' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "nationality": {
            "type": "string"
          },
          "civilStatus": {
            "type": "string"
          },
          "RFC": {
            "type": "string"
          },
          "CURP": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "occupation": {
            "type": "string"
          },
          "childrensNumber": {
            "type": "number"
          },
          "childrensAges": {
            "type": "string"
          },
          "hasEconomicDependents": {
            "type": "boolean"
          },
          "economicDependentsNumber": {
            "type": "number"
          },
          "cellphone": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "profileLeads": {
            "type": "object",
            "title": "ProfileLeads",
            "properties": {
              "profession": {
                "type": "string"
              },
              "job": {
                "type": "string"
              },
              "seniority": {
                "type": "string"
              },
              "hasAdditionalIncome": {
                "type": "boolean"
              },
              "sourceOfIncome": {
                "type": "string"
              },
              "hasFinancialExperience": {
                "type": "boolean"
              },
              "financialExperienceYears": {
                "type": "number"
              },
              "hasSalesPassion": {
                "type": "boolean"
              },
              "salesPassionReason": {
                "type": "string"
              },
              "hasContactWithRealEstate": {
                "type": "boolean"
              },
              "contactWithRealEstateReason": {
                "type": "string"
              },
              "wouldOperateFranchise": {
                "type": "boolean"
              },
              "franchiseOperationDuration": {
                "type": "number"
              },
              "franchiseModel": {
                "type": "string"
              },
              "franchiseModelDescription": {
                "type": "string"
              },
              "whoWouldResponsibleWork": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "references": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/References"
            }
          },
          "franchiseId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<Lead>, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'organizationId' | 'status' | 'isDeleted' | 'isExternal' | 'isRejected' | 'reasonRejected' | 'termsSale'>"
      },
      "TermsSale": {
        "title": "TermsSale",
        "type": "object",
        "properties": {
          "contractDate": {
            "type": "string",
            "format": "date-time"
          },
          "franchiseName": {
            "type": "string"
          },
          "typeContract": {
            "type": "string"
          },
          "franchiseCost": {
            "type": "number"
          },
          "ivaFranchiseCost": {
            "type": "number"
          },
          "totalIvaFranchiseCost": {
            "type": "number"
          },
          "totalFranchiseCost": {
            "type": "number"
          },
          "discountPercentage": {
            "type": "number"
          },
          "totalDiscountPercentage": {
            "type": "number"
          },
          "discountedFranchiseCost": {
            "type": "number"
          },
          "initialPaymentPercentage": {
            "type": "number"
          },
          "initialPayment": {
            "type": "number"
          },
          "ivaInitialPayment": {
            "type": "number"
          },
          "totalIvaInitialPayment": {
            "type": "number"
          },
          "totalInitialPayment": {
            "type": "number"
          },
          "remainderPay": {
            "type": "number"
          },
          "ivaRemainderPayPercentage": {
            "type": "number"
          },
          "ivaRemainderPay": {
            "type": "number"
          },
          "totalIvaRemainderPay": {
            "type": "number"
          },
          "deadlines": {
            "type": "number"
          },
          "monthlyPayments": {
            "type": "number"
          },
          "ivaMonthlyPayments": {
            "type": "number"
          },
          "totalIvaMonthlyPayments": {
            "type": "number"
          },
          "totalMonthlyPayments": {
            "type": "number"
          },
          "startPaymentRoyalties": {
            "type": "string",
            "format": "date-time"
          },
          "royaltyAmount": {
            "type": "number"
          },
          "ivaRoyaltyAmount": {
            "type": "number"
          },
          "totalRoyaltyAmount": {
            "type": "number"
          },
          "bank": {
            "type": "string"
          },
          "accountNumber": {
            "type": "string"
          },
          "interbankClabe": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Language": {
        "title": "Language",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "ISO_code": {
            "type": "string"
          },
          "nativeName": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NewLanguage": {
        "title": "NewLanguage",
        "type": "object",
        "description": "(tsType: Omit<Language, 'id'>, schemaOptions: { title: 'NewLanguage', exclude: [ 'id' ] })",
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "ISO_code": {
            "type": "string"
          },
          "nativeName": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Language, 'id'>"
      },
      "LanguageWithRelations": {
        "title": "LanguageWithRelations",
        "type": "object",
        "description": "(tsType: LanguageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "ISO_code": {
            "type": "string"
          },
          "nativeName": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "LanguageWithRelations"
      },
      "LanguagePartial": {
        "title": "LanguagePartial",
        "type": "object",
        "description": "(tsType: Partial<Language>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "ISO_code": {
            "type": "string"
          },
          "nativeName": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Language>"
      },
      "InsigniaImage": {
        "title": "InsigniaImage",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "required": [
          "imageUrl"
        ],
        "additionalProperties": false
      },
      "NewInsigniaImage": {
        "title": "NewInsigniaImage",
        "type": "object",
        "description": "(tsType: Omit<InsigniaImage, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt'>, schemaOptions: { title: 'NewInsigniaImage', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "required": [
          "imageUrl"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<InsigniaImage, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt'>"
      },
      "InsigniaImageWithRelations": {
        "title": "InsigniaImageWithRelations",
        "type": "object",
        "description": "(tsType: InsigniaImageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "required": [
          "imageUrl"
        ],
        "additionalProperties": false,
        "x-typescript-type": "InsigniaImageWithRelations"
      },
      "InsigniaImagePartial": {
        "title": "InsigniaImagePartial",
        "type": "object",
        "description": "(tsType: Partial<InsigniaImage>, schemaOptions: { partial: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<InsigniaImage>"
      },
      "UpsertInsigniaImage": {
        "title": "UpsertInsigniaImage",
        "type": "object",
        "description": "(tsType: Omit<InsigniaImage, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt'>, schemaOptions: { title: 'UpsertInsigniaImage', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "imageUrl": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "isCurrent": {
            "type": "boolean"
          }
        },
        "required": [
          "imageUrl"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<InsigniaImage, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt'>"
      },
      "NewFranchise": {
        "title": "NewFranchise",
        "type": "object",
        "description": "(tsType: Omit<Franchise, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted' | 'userId' | 'organizationId'>, schemaOptions: { title: 'NewFranchise', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'isActive', 'isDeleted', 'userId', 'organizationId' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "zone": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Franchise, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted' | 'userId' | 'organizationId'>"
      },
      "FranchisePayment": {
        "title": "FranchisePayment",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "comment": {
            "type": "string"
          },
          "invoicefolio": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "FranchisePaymentPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-statusId-organizationId-franchiseId_": {
        "title": "FranchisePaymentPartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-statusId-organizationId-franchiseId_",
        "type": "object",
        "description": "(tsType: Omit<Partial<FranchisePayment>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'statusId' | 'organizationId' | 'franchiseId'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'statusId', 'organizationId', 'franchiseId' ] })",
        "properties": {
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "amount": {
            "type": "number"
          },
          "comment": {
            "type": "string"
          },
          "invoicefolio": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<FranchisePayment>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'statusId' | 'organizationId' | 'franchiseId'>"
      },
      "NewDocumentInFranchise": {
        "title": "NewDocumentInFranchise",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Document, 'franchiseId'>, 'franchiseId'>, schemaOptions: { title: 'NewDocumentInFranchise', exclude: [ 'franchiseId' ], optional: [ 'franchiseId' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "fileURL": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "extension": {
            "type": "string"
          },
          "userDataId": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "alias": {
            "type": "string"
          },
          "franchisePaymentId": {
            "type": "number"
          },
          "royaltyPaymentId": {
            "type": "number"
          },
          "billId": {
            "type": "number"
          },
          "billRoyaltyPaymentId": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "bankChargePymeId": {
            "type": "number"
          },
          "bankChargeMortgageId": {
            "type": "number"
          },
          "chargeCommissionPymeId": {
            "type": "number"
          },
          "chargeCommissionMortgageId": {
            "type": "number"
          },
          "creditRequestPymePaymentFileId": {
            "type": "number"
          },
          "mortgageCreditPaymentFileId": {
            "type": "number"
          },
          "chargeCommissionMortgagePaymentVoucherId": {
            "type": "number"
          },
          "chargeCommissionPymePaymentVoucherId": {
            "type": "number"
          },
          "authorizedEvidenceId": {
            "type": "number"
          },
          "signedEvidenceId": {
            "type": "number"
          },
          "financialInstitutionId": {
            "type": "number"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Document, 'franchiseId'>, 'franchiseId'>"
      },
      "DocumentPartial": {
        "title": "DocumentPartial",
        "type": "object",
        "description": "(tsType: Partial<Document>, schemaOptions: { partial: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "fileURL": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "extension": {
            "type": "string"
          },
          "userDataId": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "alias": {
            "type": "string"
          },
          "franchisePaymentId": {
            "type": "number"
          },
          "royaltyPaymentId": {
            "type": "number"
          },
          "billId": {
            "type": "number"
          },
          "billRoyaltyPaymentId": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "bankChargePymeId": {
            "type": "number"
          },
          "bankChargeMortgageId": {
            "type": "number"
          },
          "chargeCommissionPymeId": {
            "type": "number"
          },
          "chargeCommissionMortgageId": {
            "type": "number"
          },
          "creditRequestPymePaymentFileId": {
            "type": "number"
          },
          "mortgageCreditPaymentFileId": {
            "type": "number"
          },
          "chargeCommissionMortgagePaymentVoucherId": {
            "type": "number"
          },
          "chargeCommissionPymePaymentVoucherId": {
            "type": "number"
          },
          "authorizedEvidenceId": {
            "type": "number"
          },
          "signedEvidenceId": {
            "type": "number"
          },
          "financialInstitutionId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Document>"
      },
      "NewFinancialInstitution": {
        "title": "NewFinancialInstitution",
        "type": "object",
        "description": "(tsType: Omit<FinancialInstitution, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted'>, schemaOptions: { title: 'NewFinancialInstitution', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'isActive', 'isDeleted' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          },
          "isInfinance": {
            "type": "boolean"
          },
          "paydaysPyme": {
            "type": "number",
            "nullable": true
          },
          "paydaysMortgage": {
            "type": "number",
            "nullable": true
          },
          "typeFinancialInstitution": {
            "type": "string",
            "enum": [
              "Pyme",
              "Hipotecario",
              "infinance"
            ]
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<FinancialInstitution, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted'>"
      },
      "FinancialInstitutionWithRelations": {
        "title": "FinancialInstitutionWithRelations",
        "type": "object",
        "description": "(tsType: FinancialInstitutionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          },
          "isInfinance": {
            "type": "boolean"
          },
          "paydaysPyme": {
            "type": "number",
            "nullable": true
          },
          "paydaysMortgage": {
            "type": "number",
            "nullable": true
          },
          "typeFinancialInstitution": {
            "type": "string",
            "enum": [
              "Pyme",
              "Hipotecario",
              "infinance"
            ]
          },
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Document"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "FinancialInstitutionWithRelations"
      },
      "FinancialInstitutionPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-isDeleted_": {
        "title": "FinancialInstitutionPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-isActive-isDeleted_",
        "type": "object",
        "description": "(tsType: Omit<Partial<FinancialInstitution>, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'isActive', 'isDeleted' ] })",
        "properties": {
          "name": {
            "type": "string"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          },
          "isInfinance": {
            "type": "boolean"
          },
          "paydaysPyme": {
            "type": "number",
            "nullable": true
          },
          "paydaysMortgage": {
            "type": "number",
            "nullable": true
          },
          "typeFinancialInstitution": {
            "type": "string",
            "enum": [
              "Pyme",
              "Hipotecario",
              "infinance"
            ]
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<FinancialInstitution>, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'isActive' | 'isDeleted'>"
      },
      "NewDocument": {
        "title": "NewDocument",
        "type": "object",
        "description": "(tsType: Omit<Document, 'id'>, schemaOptions: { title: 'NewDocument', exclude: [ 'id' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "fileURL": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "extension": {
            "type": "string"
          },
          "userDataId": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "alias": {
            "type": "string"
          },
          "franchisePaymentId": {
            "type": "number"
          },
          "royaltyPaymentId": {
            "type": "number"
          },
          "billId": {
            "type": "number"
          },
          "billRoyaltyPaymentId": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "bankChargePymeId": {
            "type": "number"
          },
          "bankChargeMortgageId": {
            "type": "number"
          },
          "chargeCommissionPymeId": {
            "type": "number"
          },
          "chargeCommissionMortgageId": {
            "type": "number"
          },
          "creditRequestPymePaymentFileId": {
            "type": "number"
          },
          "mortgageCreditPaymentFileId": {
            "type": "number"
          },
          "chargeCommissionMortgagePaymentVoucherId": {
            "type": "number"
          },
          "chargeCommissionPymePaymentVoucherId": {
            "type": "number"
          },
          "authorizedEvidenceId": {
            "type": "number"
          },
          "signedEvidenceId": {
            "type": "number"
          },
          "financialInstitutionId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Document, 'id'>"
      },
      "DocumentWithRelations": {
        "title": "DocumentWithRelations",
        "type": "object",
        "description": "(tsType: DocumentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "fileURL": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "extension": {
            "type": "string"
          },
          "userDataId": {
            "type": "number"
          },
          "customerId": {
            "type": "number"
          },
          "leadId": {
            "type": "number"
          },
          "alias": {
            "type": "string"
          },
          "franchisePaymentId": {
            "type": "number"
          },
          "royaltyPaymentId": {
            "type": "number"
          },
          "billId": {
            "type": "number"
          },
          "billRoyaltyPaymentId": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "bankChargePymeId": {
            "type": "number"
          },
          "bankChargeMortgageId": {
            "type": "number"
          },
          "chargeCommissionPymeId": {
            "type": "number"
          },
          "chargeCommissionMortgageId": {
            "type": "number"
          },
          "creditRequestPymePaymentFileId": {
            "type": "number"
          },
          "mortgageCreditPaymentFileId": {
            "type": "number"
          },
          "chargeCommissionMortgagePaymentVoucherId": {
            "type": "number"
          },
          "chargeCommissionPymePaymentVoucherId": {
            "type": "number"
          },
          "authorizedEvidenceId": {
            "type": "number"
          },
          "signedEvidenceId": {
            "type": "number"
          },
          "financialInstitutionId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number"
          },
          "isPyme": {
            "type": "boolean"
          },
          "isMortgage": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "DocumentWithRelations"
      },
      "Customer": {
        "title": "Customer",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "nationality": {
            "type": "string"
          },
          "civilStatus": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "cellphone": {
            "type": "string"
          },
          "organizationId": {
            "type": "number"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "franchiseId": {
            "type": "number"
          }
        },
        "description": "{\"indexInfo\":{\"email\":{\"unique\":true}}}",
        "additionalProperties": false
      },
      "NewCustomer": {
        "title": "NewCustomer",
        "type": "object",
        "description": "(tsType: Omit<Customer, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'organizationId' | 'isActive' | 'isDeleted' | 'franchiseId'>, schemaOptions: { title: 'NewCustomer', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'organizationId', 'isActive', 'isDeleted', 'franchiseId' ] }), {\"indexInfo\":{\"email\":{\"unique\":true}}}",
        "properties": {
          "name": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "nationality": {
            "type": "string"
          },
          "civilStatus": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "cellphone": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Customer, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'organizationId' | 'isActive' | 'isDeleted' | 'franchiseId'>"
      },
      "CustomerPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-organizationId-isActive-isDeleted-franchiseId_": {
        "title": "CustomerPartialExcluding_id-createdAt-createdBy-updatedBy-updatedAt-activateDeactivateComment-organizationId-isActive-isDeleted-franchiseId_",
        "type": "object",
        "description": "(tsType: Omit<Partial<Customer>, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'organizationId' | 'isActive' | 'isDeleted' | 'franchiseId'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'activateDeactivateComment', 'organizationId', 'isActive', 'isDeleted', 'franchiseId' ] }), {\"indexInfo\":{\"email\":{\"unique\":true}}}",
        "properties": {
          "name": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "nationality": {
            "type": "string"
          },
          "civilStatus": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "cellphone": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<Customer>, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'activateDeactivateComment' | 'organizationId' | 'isActive' | 'isDeleted' | 'franchiseId'>"
      },
      "CreditRequestPyme": {
        "title": "CreditRequestPyme",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "taxRegime": {
            "type": "string"
          },
          "businessName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "responsibleExecutive": {
            "type": "string"
          },
          "comment": {
            "type": "string"
          },
          "isCreditCancel": {
            "type": "boolean"
          },
          "creditCancelReason": {
            "type": "string"
          },
          "address": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "typeCreditId": {
            "type": "number"
          },
          "amount": {
            "type": "number"
          },
          "deadlines": {
            "type": "number"
          },
          "financialInstitutionId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "Perfilado",
              "Ingresado",
              "Autorizado",
              "Firmado",
              "Fondeado"
            ]
          },
          "origin": {
            "type": "string",
            "enum": [
              "Matriz",
              "Franquicia",
              "Freelance"
            ]
          },
          "franchiseId": {
            "type": "number"
          },
          "isRejected": {
            "type": "boolean"
          },
          "reasonRejected": {
            "type": "string"
          },
          "pymeCreditMonitoringId": {
            "type": "number"
          },
          "controller": {
            "type": "string"
          },
          "reasonControllerRejected": {
            "type": "string"
          },
          "controllerDate": {
            "type": "string",
            "format": "date-time"
          },
          "birthPlaceCountry": {
            "type": "string"
          },
          "birthPlaceState": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "education": {
            "type": "string"
          },
          "residenceTime": {
            "type": "number"
          },
          "paymentScheme": {
            "type": "string"
          },
          "workAddress": {
            "type": "object",
            "title": "Address",
            "properties": {
              "street": {
                "type": "string"
              },
              "extNum": {
                "type": "string"
              },
              "intNum": {
                "type": "string"
              },
              "zipCode": {
                "type": "string"
              },
              "suburb": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "state": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "residenceTime": {
                "type": "number"
              }
            },
            "additionalProperties": false
          },
          "workPhone": {
            "type": "string"
          },
          "previousCompanyName": {
            "type": "string"
          },
          "previousCompanyAntiquity": {
            "type": "number"
          },
          "personalReferences": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "bankSelected": {
            "type": "string"
          },
          "bankSpecificData": {
            "type": "object"
          }
        },
        "additionalProperties": false
      },
      "PymeCreditMonitoring": {
        "title": "PymeCreditMonitoring",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "dateFinancialInstitution": {
            "type": "string",
            "format": "date-time"
          },
          "commentDateFinancialInstitution": {
            "type": "string"
          },
          "dateResolution": {
            "type": "string",
            "format": "date-time"
          },
          "authorizedAmount": {
            "type": "number"
          },
          "deadlines": {
            "type": "number"
          },
          "rate": {
            "type": "number"
          },
          "commissionOpening": {
            "type": "number"
          },
          "contractSigningdate": {
            "type": "string",
            "format": "date-time"
          },
          "commentContractSigningdate": {
            "type": "string"
          },
          "anchoringDate": {
            "type": "string",
            "format": "date-time"
          },
          "commentAnchoringDate": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewCreditReason": {
        "title": "NewCreditReason",
        "type": "object",
        "description": "(tsType: Omit<CreditReason, 'id'>, schemaOptions: { title: 'NewCreditReason', exclude: [ 'id' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<CreditReason, 'id'>"
      },
      "CreditReasonWithRelations": {
        "title": "CreditReasonWithRelations",
        "type": "object",
        "description": "(tsType: CreditReasonWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CreditReasonWithRelations"
      },
      "CreditReasonPartial": {
        "title": "CreditReasonPartial",
        "type": "object",
        "description": "(tsType: Partial<CreditReason>, schemaOptions: { partial: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<CreditReason>"
      },
      "Course": {
        "title": "Course",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categoryName": {
            "type": "string",
            "enum": [
              "Hipotecario",
              "PYME",
              "Auto",
              "General-Inducción"
            ]
          },
          "totalDurationMinutes": {
            "type": "number",
            "description": "Suma de duración de los videos (minutos). Autocalculado, solo lectura."
          },
          "notifyOnPublish": {
            "type": "boolean"
          },
          "isMandatory": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "Borrador",
              "Publicado"
            ]
          },
          "supportMaterialUrl": {
            "type": "string",
            "description": "URL del material de apoyo (PDF/PPTX) en el storage."
          },
          "audienceAllRoles": {
            "type": "boolean",
            "description": "Si true, el curso aplica a todos los roles (audiencia)."
          },
          "audienceAllFranchises": {
            "type": "boolean",
            "description": "Si true, el curso aplica a todas las franquicias (audiencia)."
          },
          "organizationId": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "categoryName"
        ],
        "additionalProperties": false
      },
      "NewCourse": {
        "title": "NewCourse",
        "type": "object",
        "description": "(tsType: Omit<Course, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'organizationId' | 'isDeleted' | 'totalDurationMinutes' | 'status'>, schemaOptions: { title: 'NewCourse', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'organizationId', 'isDeleted', 'totalDurationMinutes', 'status' ] })",
        "properties": {
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categoryName": {
            "type": "string",
            "enum": [
              "Hipotecario",
              "PYME",
              "Auto",
              "General-Inducción"
            ]
          },
          "notifyOnPublish": {
            "type": "boolean"
          },
          "isMandatory": {
            "type": "boolean"
          },
          "supportMaterialUrl": {
            "type": "string",
            "description": "URL del material de apoyo (PDF/PPTX) en el storage."
          },
          "audienceAllRoles": {
            "type": "boolean",
            "description": "Si true, el curso aplica a todos los roles (audiencia)."
          },
          "audienceAllFranchises": {
            "type": "boolean",
            "description": "Si true, el curso aplica a todas las franquicias (audiencia)."
          }
        },
        "required": [
          "name",
          "categoryName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Course, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'organizationId' | 'isDeleted' | 'totalDurationMinutes' | 'status'>"
      },
      "CourseVideo": {
        "title": "CourseVideo",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "videoUrl": {
            "type": "string",
            "description": "URL del archivo de video (MP4) en el storage."
          },
          "durationMinutes": {
            "type": "number",
            "description": "Duración del video en minutos."
          },
          "fileSizeMb": {
            "type": "number",
            "description": "Peso del archivo en MB. Autocalculado al subir el archivo."
          },
          "order": {
            "type": "number",
            "description": "Orden del video dentro del curso."
          },
          "hasQuestions": {
            "type": "boolean",
            "description": "Si true, el video tiene preguntas intermedias."
          },
          "courseId": {
            "type": "number"
          }
        },
        "required": [
          "title",
          "durationMinutes"
        ],
        "additionalProperties": false
      },
      "CourseRole": {
        "title": "CourseRole",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "courseId": {
            "type": "number"
          },
          "roleId": {
            "type": "number",
            "description": "Id del UserRole al que aplica el curso (audiencia por rol)."
          }
        },
        "additionalProperties": false
      },
      "CourseFranchise": {
        "title": "CourseFranchise",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "courseId": {
            "type": "number"
          },
          "franchiseId": {
            "type": "number",
            "description": "Id de la franquicia a la que aplica el curso (audiencia por franquicia)."
          }
        },
        "additionalProperties": false
      },
      "CourseWithRelations": {
        "title": "CourseWithRelations",
        "type": "object",
        "description": "(tsType: CourseWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categoryName": {
            "type": "string",
            "enum": [
              "Hipotecario",
              "PYME",
              "Auto",
              "General-Inducción"
            ]
          },
          "totalDurationMinutes": {
            "type": "number",
            "description": "Suma de duración de los videos (minutos). Autocalculado, solo lectura."
          },
          "notifyOnPublish": {
            "type": "boolean"
          },
          "isMandatory": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "enum": [
              "Borrador",
              "Publicado"
            ]
          },
          "supportMaterialUrl": {
            "type": "string",
            "description": "URL del material de apoyo (PDF/PPTX) en el storage."
          },
          "audienceAllRoles": {
            "type": "boolean",
            "description": "Si true, el curso aplica a todos los roles (audiencia)."
          },
          "audienceAllFranchises": {
            "type": "boolean",
            "description": "Si true, el curso aplica a todas las franquicias (audiencia)."
          },
          "organizationId": {
            "type": "number"
          },
          "organization": {
            "$ref": "#/components/schemas/Organization"
          },
          "foreignKey": {},
          "videos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CourseVideo"
            }
          },
          "courseRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CourseRole"
            }
          },
          "courseFranchises": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CourseFranchise"
            }
          }
        },
        "required": [
          "name",
          "categoryName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CourseWithRelations"
      },
      "UpdateCourse": {
        "title": "UpdateCourse",
        "type": "object",
        "description": "(tsType: Omit<Course, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'organizationId' | 'isDeleted' | 'totalDurationMinutes' | 'status'>, schemaOptions: { title: 'UpdateCourse', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt', 'organizationId', 'isDeleted', 'totalDurationMinutes', 'status' ] })",
        "properties": {
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "categoryName": {
            "type": "string",
            "enum": [
              "Hipotecario",
              "PYME",
              "Auto",
              "General-Inducción"
            ]
          },
          "notifyOnPublish": {
            "type": "boolean"
          },
          "isMandatory": {
            "type": "boolean"
          },
          "supportMaterialUrl": {
            "type": "string",
            "description": "URL del material de apoyo (PDF/PPTX) en el storage."
          },
          "audienceAllRoles": {
            "type": "boolean",
            "description": "Si true, el curso aplica a todos los roles (audiencia)."
          },
          "audienceAllFranchises": {
            "type": "boolean",
            "description": "Si true, el curso aplica a todas las franquicias (audiencia)."
          }
        },
        "required": [
          "name",
          "categoryName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Course, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt' | 'organizationId' | 'isDeleted' | 'totalDurationMinutes' | 'status'>"
      },
      "Configuration": {
        "title": "Configuration",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "documentTerms": {
            "type": "string"
          },
          "sendgridMail": {
            "type": "string"
          },
          "sendgridKey": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewConfiguration": {
        "title": "NewConfiguration",
        "type": "object",
        "description": "(tsType: Omit<Configuration, 'id' | 'createdAt' | 'updatedAt' | 'createdBy' | 'updatedBy'>, schemaOptions: { title: 'NewConfiguration', exclude: [ 'id', 'createdAt', 'updatedAt', 'createdBy', 'updatedBy' ] })",
        "properties": {
          "documentTerms": {
            "type": "string"
          },
          "sendgridMail": {
            "type": "string"
          },
          "sendgridKey": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Configuration, 'id' | 'createdAt' | 'updatedAt' | 'createdBy' | 'updatedBy'>"
      },
      "ChargeCommissionPyme": {
        "title": "ChargeCommissionPyme",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "taxRegime": {
            "type": "string",
            "enum": [
              "Persona física con actividad empresarial",
              "Persona física RESICO",
              "Persona moral"
            ]
          },
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "number"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "commission": {
            "type": "number"
          },
          "commissionAmount": {
            "type": "number"
          },
          "isFactoring": {
            "type": "boolean"
          },
          "factoringAmount": {
            "type": "number"
          },
          "factoringCommission": {
            "type": "number"
          },
          "discounts": {
            "type": "number",
            "nullable": true
          },
          "finalCommission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "retentionva": {
            "type": "number"
          },
          "retentionisr": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "reasonRejected": {
            "type": "string"
          },
          "controllerDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "ChargeCommissionPymePartial": {
        "title": "ChargeCommissionPymePartial",
        "type": "object",
        "description": "(tsType: Partial<ChargeCommissionPyme>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "taxRegime": {
            "type": "string",
            "enum": [
              "Persona física con actividad empresarial",
              "Persona física RESICO",
              "Persona moral"
            ]
          },
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "number"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "commission": {
            "type": "number"
          },
          "commissionAmount": {
            "type": "number"
          },
          "isFactoring": {
            "type": "boolean"
          },
          "factoringAmount": {
            "type": "number"
          },
          "factoringCommission": {
            "type": "number"
          },
          "discounts": {
            "type": "number",
            "nullable": true
          },
          "finalCommission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "retentionva": {
            "type": "number"
          },
          "retentionisr": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "reasonRejected": {
            "type": "string"
          },
          "controllerDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ChargeCommissionPyme>"
      },
      "ChargeCommissionPymePartialExcluding_id-createdBy-createdAt-updatedAt-updatedBy-creditRequestPymeId-taxFolio-invoiceNumber-taxRegime-reasonRejected-controllerDate_": {
        "title": "ChargeCommissionPymePartialExcluding_id-createdBy-createdAt-updatedAt-updatedBy-creditRequestPymeId-taxFolio-invoiceNumber-taxRegime-reasonRejected-controllerDate_",
        "type": "object",
        "description": "(tsType: Omit<Partial<ChargeCommissionPyme>, 'id' | 'createdBy' | 'createdAt' | 'updatedAt' | 'updatedBy' | 'creditRequestPymeId' | 'taxFolio' | 'invoiceNumber' | 'taxRegime' | 'reasonRejected' | 'controllerDate'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdBy', 'createdAt', 'updatedAt', 'updatedBy', 'creditRequestPymeId', 'taxFolio', 'invoiceNumber', 'taxRegime', 'reasonRejected', 'controllerDate' ] })",
        "properties": {
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "number"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "commission": {
            "type": "number"
          },
          "commissionAmount": {
            "type": "number"
          },
          "isFactoring": {
            "type": "boolean"
          },
          "factoringAmount": {
            "type": "number"
          },
          "factoringCommission": {
            "type": "number"
          },
          "discounts": {
            "type": "number",
            "nullable": true
          },
          "finalCommission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "retentionva": {
            "type": "number"
          },
          "retentionisr": {
            "type": "number"
          },
          "total": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<ChargeCommissionPyme>, 'id' | 'createdBy' | 'createdAt' | 'updatedAt' | 'updatedBy' | 'creditRequestPymeId' | 'taxFolio' | 'invoiceNumber' | 'taxRegime' | 'reasonRejected' | 'controllerDate'>"
      },
      "ChargeCommissionMortgageWithRelations": {
        "title": "ChargeCommissionMortgageWithRelations",
        "type": "object",
        "description": "(tsType: ChargeCommissionMortgageWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "taxRegime": {
            "type": "string",
            "enum": [
              "Persona física con actividad empresarial",
              "Persona física RESICO",
              "Persona moral"
            ]
          },
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "commission": {
            "type": "number"
          },
          "discounts": {
            "type": "number",
            "nullable": true
          },
          "isFactoring": {
            "type": "boolean"
          },
          "factoringAmount": {
            "type": "number"
          },
          "factoringCommission": {
            "type": "number"
          },
          "commissionAmount": {
            "type": "number"
          },
          "finalCommission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "retentionva": {
            "type": "number"
          },
          "retentionisr": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "reasonRejected": {
            "type": "string"
          },
          "controllerDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/Status"
          },
          "foreignKey": {},
          "documents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Document"
            }
          },
          "mortgageCredit": {
            "$ref": "#/components/schemas/MortgageCredit"
          },
          "paymentVouchers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Document"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ChargeCommissionMortgageWithRelations"
      },
      "ChargeCommissionMortgagePartial": {
        "title": "ChargeCommissionMortgagePartial",
        "type": "object",
        "description": "(tsType: Partial<ChargeCommissionMortgage>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "taxRegime": {
            "type": "string",
            "enum": [
              "Persona física con actividad empresarial",
              "Persona física RESICO",
              "Persona moral"
            ]
          },
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "commission": {
            "type": "number"
          },
          "discounts": {
            "type": "number",
            "nullable": true
          },
          "isFactoring": {
            "type": "boolean"
          },
          "factoringAmount": {
            "type": "number"
          },
          "factoringCommission": {
            "type": "number"
          },
          "commissionAmount": {
            "type": "number"
          },
          "finalCommission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "retentionva": {
            "type": "number"
          },
          "retentionisr": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "reasonRejected": {
            "type": "string"
          },
          "controllerDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ChargeCommissionMortgage>"
      },
      "ChargeCommissionMortgagePartialExcluding_id-createdBy-createdAt-updatedAt-updatedBy-mortgageCreditId-taxFolio-invoiceNumber-reasonRejected-controllerDate_": {
        "title": "ChargeCommissionMortgagePartialExcluding_id-createdBy-createdAt-updatedAt-updatedBy-mortgageCreditId-taxFolio-invoiceNumber-reasonRejected-controllerDate_",
        "type": "object",
        "description": "(tsType: Omit<Partial<ChargeCommissionMortgage>, 'id' | 'createdBy' | 'createdAt' | 'updatedAt' | 'updatedBy' | 'mortgageCreditId' | 'taxFolio' | 'invoiceNumber' | 'reasonRejected' | 'controllerDate'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdBy', 'createdAt', 'updatedAt', 'updatedBy', 'mortgageCreditId', 'taxFolio', 'invoiceNumber', 'reasonRejected', 'controllerDate' ] })",
        "properties": {
          "taxRegime": {
            "type": "string",
            "enum": [
              "Persona física con actividad empresarial",
              "Persona física RESICO",
              "Persona moral"
            ]
          },
          "scheduledDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "commission": {
            "type": "number"
          },
          "discounts": {
            "type": "number",
            "nullable": true
          },
          "isFactoring": {
            "type": "boolean"
          },
          "factoringAmount": {
            "type": "number"
          },
          "factoringCommission": {
            "type": "number"
          },
          "commissionAmount": {
            "type": "number"
          },
          "finalCommission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "retentionva": {
            "type": "number"
          },
          "retentionisr": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<ChargeCommissionMortgage>, 'id' | 'createdBy' | 'createdAt' | 'updatedAt' | 'updatedBy' | 'mortgageCreditId' | 'taxFolio' | 'invoiceNumber' | 'reasonRejected' | 'controllerDate'>"
      },
      "CarouselItem": {
        "title": "CarouselItem",
        "type": "object",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "linkUrl": {
            "type": "string"
          },
          "order": {
            "type": "number"
          }
        },
        "required": [
          "title",
          "imageUrl",
          "order"
        ],
        "additionalProperties": false
      },
      "NewCarouselItem": {
        "title": "NewCarouselItem",
        "type": "object",
        "description": "(tsType: Omit<CarouselItem, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt'>, schemaOptions: { title: 'NewCarouselItem', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedBy', 'updatedAt' ] })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "linkUrl": {
            "type": "string"
          },
          "order": {
            "type": "number"
          }
        },
        "required": [
          "title",
          "imageUrl",
          "order"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<CarouselItem, 'id' | 'createdAt' | 'createdBy' | 'updatedBy' | 'updatedAt'>"
      },
      "CarouselItemWithRelations": {
        "title": "CarouselItemWithRelations",
        "type": "object",
        "description": "(tsType: CarouselItemWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "linkUrl": {
            "type": "string"
          },
          "order": {
            "type": "number"
          }
        },
        "required": [
          "title",
          "imageUrl",
          "order"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CarouselItemWithRelations"
      },
      "CarouselItemPartial": {
        "title": "CarouselItemPartial",
        "type": "object",
        "description": "(tsType: Partial<CarouselItem>, schemaOptions: { partial: true })",
        "properties": {
          "isDeleted": {
            "type": "boolean"
          },
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "activateDeactivateComment": {
            "type": "string"
          },
          "isActive": {
            "type": "boolean"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "linkUrl": {
            "type": "string"
          },
          "order": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<CarouselItem>"
      },
      "BankChargePyme": {
        "title": "BankChargePyme",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "invoiceSendingDate": {
            "type": "string",
            "format": "date-time"
          },
          "probableDepositDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "chargePercentage": {
            "type": "number"
          },
          "commission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "totalCommission": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewBankChargePyme": {
        "title": "NewBankChargePyme",
        "type": "object",
        "description": "(tsType: Omit<BankChargePyme, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'commission' | 'iva' | 'totalCommission'>, schemaOptions: { title: 'NewBankChargePyme', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'organizationId', 'commission', 'iva', 'totalCommission' ] })",
        "properties": {
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "invoiceSendingDate": {
            "type": "string",
            "format": "date-time"
          },
          "probableDepositDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "chargePercentage": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<BankChargePyme, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'commission' | 'iva' | 'totalCommission'>"
      },
      "BankChargePymePartial": {
        "title": "BankChargePymePartial",
        "type": "object",
        "description": "(tsType: Partial<BankChargePyme>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "createdBy": {
            "type": "number"
          },
          "updatedBy": {
            "type": "number"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "invoiceSendingDate": {
            "type": "string",
            "format": "date-time"
          },
          "probableDepositDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "chargePercentage": {
            "type": "number"
          },
          "commission": {
            "type": "number"
          },
          "iva": {
            "type": "number"
          },
          "totalCommission": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "organizationId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<BankChargePyme>"
      },
      "BankChargePymePartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-commission-iva-totalCommission_": {
        "title": "BankChargePymePartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-commission-iva-totalCommission_",
        "type": "object",
        "description": "(tsType: Omit<Partial<BankChargePyme>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'commission' | 'iva' | 'totalCommission'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'organizationId', 'commission', 'iva', 'totalCommission' ] })",
        "properties": {
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "invoiceSendingDate": {
            "type": "string",
            "format": "date-time"
          },
          "probableDepositDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "chargePercentage": {
            "type": "number"
          },
          "creditRequestPymeId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<BankChargePyme>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'commission' | 'iva' | 'totalCommission'>"
      },
      "NewBankChargeMortgage": {
        "title": "NewBankChargeMortgage",
        "type": "object",
        "description": "(tsType: Omit<BankChargeMortgage, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'commission' | 'iva' | 'totalCommission'>, schemaOptions: { title: 'NewBankChargeMortgage', exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'organizationId', 'commission', 'iva', 'totalCommission' ] })",
        "properties": {
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "invoiceSendingDate": {
            "type": "string",
            "format": "date-time"
          },
          "probableDepositDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "chargePercentage": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<BankChargeMortgage, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'commission' | 'iva' | 'totalCommission'>"
      },
      "BankChargeMortgagePartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-commission-iva-totalCommission_": {
        "title": "BankChargeMortgagePartialExcluding_id-createdAt-createdBy-updatedAt-updatedBy-organizationId-commission-iva-totalCommission_",
        "type": "object",
        "description": "(tsType: Omit<Partial<BankChargeMortgage>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'commission' | 'iva' | 'totalCommission'>, schemaOptions: { partial: true, exclude: [ 'id', 'createdAt', 'createdBy', 'updatedAt', 'updatedBy', 'organizationId', 'commission', 'iva', 'totalCommission' ] })",
        "properties": {
          "invoiceNumber": {
            "type": "string"
          },
          "taxFolio": {
            "type": "string"
          },
          "invoiceSendingDate": {
            "type": "string",
            "format": "date-time"
          },
          "probableDepositDate": {
            "type": "string",
            "format": "date-time"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "chargePercentage": {
            "type": "number"
          },
          "mortgageCreditId": {
            "type": "number"
          },
          "statusId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<BankChargeMortgage>, 'id' | 'createdAt' | 'createdBy' | 'updatedAt' | 'updatedBy' | 'organizationId' | 'commission' | 'iva' | 'totalCommission'>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "BankChargeMortgage.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": "BankChargeMortgage.ScopeFilter"
      },
      "BankChargeMortgage.IncludeFilter.Items": {
        "title": "BankChargeMortgage.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "mortgageCredit",
              "organization",
              "bills",
              "status"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/BankChargeMortgage.ScopeFilter"
          }
        }
      },
      "BankChargeMortgage.Filter": {
        "type": "object",
        "title": "BankChargeMortgage.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "taxFolio": {
                    "type": "boolean"
                  },
                  "invoiceSendingDate": {
                    "type": "boolean"
                  },
                  "probableDepositDate": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "chargePercentage": {
                    "type": "boolean"
                  },
                  "commission": {
                    "type": "boolean"
                  },
                  "iva": {
                    "type": "boolean"
                  },
                  "totalCommission": {
                    "type": "boolean"
                  },
                  "mortgageCreditId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "invoiceNumber",
                    "taxFolio",
                    "invoiceSendingDate",
                    "probableDepositDate",
                    "paymentDate",
                    "chargePercentage",
                    "commission",
                    "iva",
                    "totalCommission",
                    "mortgageCreditId",
                    "organizationId",
                    "statusId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BankChargeMortgage.Fields"
          },
          "include": {
            "title": "BankChargeMortgage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BankChargeMortgage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BankChargeMortgage>"
      },
      "BankChargeMortgage.Filter1": {
        "type": "object",
        "title": "BankChargeMortgage.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": "BankChargeMortgage.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "taxFolio": {
                    "type": "boolean"
                  },
                  "invoiceSendingDate": {
                    "type": "boolean"
                  },
                  "probableDepositDate": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "chargePercentage": {
                    "type": "boolean"
                  },
                  "commission": {
                    "type": "boolean"
                  },
                  "iva": {
                    "type": "boolean"
                  },
                  "totalCommission": {
                    "type": "boolean"
                  },
                  "mortgageCreditId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "invoiceNumber",
                    "taxFolio",
                    "invoiceSendingDate",
                    "probableDepositDate",
                    "paymentDate",
                    "chargePercentage",
                    "commission",
                    "iva",
                    "totalCommission",
                    "mortgageCreditId",
                    "organizationId",
                    "statusId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BankChargeMortgage.Fields"
          },
          "include": {
            "title": "BankChargeMortgage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BankChargeMortgage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BankChargeMortgage>"
      },
      "BankChargePyme.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": "BankChargePyme.ScopeFilter"
      },
      "BankChargePyme.IncludeFilter.Items": {
        "title": "BankChargePyme.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "creditRequestPyme",
              "organization",
              "bills",
              "status"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/BankChargePyme.ScopeFilter"
          }
        }
      },
      "BankChargePyme.Filter": {
        "type": "object",
        "title": "BankChargePyme.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "taxFolio": {
                    "type": "boolean"
                  },
                  "invoiceSendingDate": {
                    "type": "boolean"
                  },
                  "probableDepositDate": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "chargePercentage": {
                    "type": "boolean"
                  },
                  "commission": {
                    "type": "boolean"
                  },
                  "iva": {
                    "type": "boolean"
                  },
                  "totalCommission": {
                    "type": "boolean"
                  },
                  "creditRequestPymeId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "invoiceNumber",
                    "taxFolio",
                    "invoiceSendingDate",
                    "probableDepositDate",
                    "paymentDate",
                    "chargePercentage",
                    "commission",
                    "iva",
                    "totalCommission",
                    "creditRequestPymeId",
                    "organizationId",
                    "statusId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BankChargePyme.Fields"
          },
          "include": {
            "title": "BankChargePyme.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BankChargePyme.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BankChargePyme>"
      },
      "BankChargePyme.Filter1": {
        "type": "object",
        "title": "BankChargePyme.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": "BankChargePyme.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "taxFolio": {
                    "type": "boolean"
                  },
                  "invoiceSendingDate": {
                    "type": "boolean"
                  },
                  "probableDepositDate": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "chargePercentage": {
                    "type": "boolean"
                  },
                  "commission": {
                    "type": "boolean"
                  },
                  "iva": {
                    "type": "boolean"
                  },
                  "totalCommission": {
                    "type": "boolean"
                  },
                  "creditRequestPymeId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "invoiceNumber",
                    "taxFolio",
                    "invoiceSendingDate",
                    "probableDepositDate",
                    "paymentDate",
                    "chargePercentage",
                    "commission",
                    "iva",
                    "totalCommission",
                    "creditRequestPymeId",
                    "organizationId",
                    "statusId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "BankChargePyme.Fields"
          },
          "include": {
            "title": "BankChargePyme.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BankChargePyme.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<BankChargePyme>"
      },
      "CarouselItem.Filter": {
        "type": "object",
        "title": "CarouselItem.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": "CarouselItem.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "imageUrl": {
                    "type": "boolean"
                  },
                  "linkUrl": {
                    "type": "boolean"
                  },
                  "order": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "title",
                    "description",
                    "imageUrl",
                    "linkUrl",
                    "order"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "CarouselItem.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CarouselItem>"
      },
      "ChargeCommissionMortgage.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": "ChargeCommissionMortgage.ScopeFilter"
      },
      "ChargeCommissionMortgage.IncludeFilter.Items": {
        "title": "ChargeCommissionMortgage.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "status",
              "documents",
              "mortgageCredit",
              "paymentVouchers"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ChargeCommissionMortgage.ScopeFilter"
          }
        }
      },
      "ChargeCommissionMortgage.Filter": {
        "type": "object",
        "title": "ChargeCommissionMortgage.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "taxFolio": {
                    "type": "boolean"
                  },
                  "taxRegime": {
                    "type": "boolean"
                  },
                  "scheduledDate": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "commission": {
                    "type": "boolean"
                  },
                  "discounts": {
                    "type": "boolean"
                  },
                  "isFactoring": {
                    "type": "boolean"
                  },
                  "factoringAmount": {
                    "type": "boolean"
                  },
                  "factoringCommission": {
                    "type": "boolean"
                  },
                  "commissionAmount": {
                    "type": "boolean"
                  },
                  "finalCommission": {
                    "type": "boolean"
                  },
                  "iva": {
                    "type": "boolean"
                  },
                  "retentionva": {
                    "type": "boolean"
                  },
                  "retentionisr": {
                    "type": "boolean"
                  },
                  "total": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "mortgageCreditId": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  },
                  "controllerDate": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "invoiceNumber",
                    "taxFolio",
                    "taxRegime",
                    "scheduledDate",
                    "paymentDate",
                    "commission",
                    "discounts",
                    "isFactoring",
                    "factoringAmount",
                    "factoringCommission",
                    "commissionAmount",
                    "finalCommission",
                    "iva",
                    "retentionva",
                    "retentionisr",
                    "total",
                    "statusId",
                    "mortgageCreditId",
                    "reasonRejected",
                    "controllerDate"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChargeCommissionMortgage.Fields"
          },
          "include": {
            "title": "ChargeCommissionMortgage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChargeCommissionMortgage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChargeCommissionMortgage>"
      },
      "ChargeCommissionMortgage.Filter1": {
        "type": "object",
        "title": "ChargeCommissionMortgage.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": "ChargeCommissionMortgage.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "taxFolio": {
                    "type": "boolean"
                  },
                  "taxRegime": {
                    "type": "boolean"
                  },
                  "scheduledDate": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "commission": {
                    "type": "boolean"
                  },
                  "discounts": {
                    "type": "boolean"
                  },
                  "isFactoring": {
                    "type": "boolean"
                  },
                  "factoringAmount": {
                    "type": "boolean"
                  },
                  "factoringCommission": {
                    "type": "boolean"
                  },
                  "commissionAmount": {
                    "type": "boolean"
                  },
                  "finalCommission": {
                    "type": "boolean"
                  },
                  "iva": {
                    "type": "boolean"
                  },
                  "retentionva": {
                    "type": "boolean"
                  },
                  "retentionisr": {
                    "type": "boolean"
                  },
                  "total": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "mortgageCreditId": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  },
                  "controllerDate": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "invoiceNumber",
                    "taxFolio",
                    "taxRegime",
                    "scheduledDate",
                    "paymentDate",
                    "commission",
                    "discounts",
                    "isFactoring",
                    "factoringAmount",
                    "factoringCommission",
                    "commissionAmount",
                    "finalCommission",
                    "iva",
                    "retentionva",
                    "retentionisr",
                    "total",
                    "statusId",
                    "mortgageCreditId",
                    "reasonRejected",
                    "controllerDate"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChargeCommissionMortgage.Fields"
          },
          "include": {
            "title": "ChargeCommissionMortgage.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChargeCommissionMortgage.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChargeCommissionMortgage>"
      },
      "ChargeCommissionPyme.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": "ChargeCommissionPyme.ScopeFilter"
      },
      "ChargeCommissionPyme.IncludeFilter.Items": {
        "title": "ChargeCommissionPyme.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "status",
              "paymentVouchers",
              "bills",
              "creditRequestPyme"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ChargeCommissionPyme.ScopeFilter"
          }
        }
      },
      "ChargeCommissionPyme.Filter": {
        "type": "object",
        "title": "ChargeCommissionPyme.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "taxFolio": {
                    "type": "boolean"
                  },
                  "taxRegime": {
                    "type": "boolean"
                  },
                  "scheduledDate": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "commission": {
                    "type": "boolean"
                  },
                  "commissionAmount": {
                    "type": "boolean"
                  },
                  "isFactoring": {
                    "type": "boolean"
                  },
                  "factoringAmount": {
                    "type": "boolean"
                  },
                  "factoringCommission": {
                    "type": "boolean"
                  },
                  "discounts": {
                    "type": "boolean"
                  },
                  "finalCommission": {
                    "type": "boolean"
                  },
                  "iva": {
                    "type": "boolean"
                  },
                  "retentionva": {
                    "type": "boolean"
                  },
                  "retentionisr": {
                    "type": "boolean"
                  },
                  "total": {
                    "type": "boolean"
                  },
                  "creditRequestPymeId": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  },
                  "controllerDate": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "invoiceNumber",
                    "taxFolio",
                    "taxRegime",
                    "scheduledDate",
                    "statusId",
                    "paymentDate",
                    "commission",
                    "commissionAmount",
                    "isFactoring",
                    "factoringAmount",
                    "factoringCommission",
                    "discounts",
                    "finalCommission",
                    "iva",
                    "retentionva",
                    "retentionisr",
                    "total",
                    "creditRequestPymeId",
                    "reasonRejected",
                    "controllerDate"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChargeCommissionPyme.Fields"
          },
          "include": {
            "title": "ChargeCommissionPyme.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChargeCommissionPyme.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChargeCommissionPyme>"
      },
      "ChargeCommissionPyme.Filter1": {
        "type": "object",
        "title": "ChargeCommissionPyme.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": "ChargeCommissionPyme.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  },
                  "taxFolio": {
                    "type": "boolean"
                  },
                  "taxRegime": {
                    "type": "boolean"
                  },
                  "scheduledDate": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "commission": {
                    "type": "boolean"
                  },
                  "commissionAmount": {
                    "type": "boolean"
                  },
                  "isFactoring": {
                    "type": "boolean"
                  },
                  "factoringAmount": {
                    "type": "boolean"
                  },
                  "factoringCommission": {
                    "type": "boolean"
                  },
                  "discounts": {
                    "type": "boolean"
                  },
                  "finalCommission": {
                    "type": "boolean"
                  },
                  "iva": {
                    "type": "boolean"
                  },
                  "retentionva": {
                    "type": "boolean"
                  },
                  "retentionisr": {
                    "type": "boolean"
                  },
                  "total": {
                    "type": "boolean"
                  },
                  "creditRequestPymeId": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  },
                  "controllerDate": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "invoiceNumber",
                    "taxFolio",
                    "taxRegime",
                    "scheduledDate",
                    "statusId",
                    "paymentDate",
                    "commission",
                    "commissionAmount",
                    "isFactoring",
                    "factoringAmount",
                    "factoringCommission",
                    "discounts",
                    "finalCommission",
                    "iva",
                    "retentionva",
                    "retentionisr",
                    "total",
                    "creditRequestPymeId",
                    "reasonRejected",
                    "controllerDate"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ChargeCommissionPyme.Fields"
          },
          "include": {
            "title": "ChargeCommissionPyme.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChargeCommissionPyme.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ChargeCommissionPyme>"
      },
      "Configuration.Filter": {
        "type": "object",
        "title": "Configuration.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": "Configuration.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "documentTerms": {
                    "type": "boolean"
                  },
                  "sendgridMail": {
                    "type": "boolean"
                  },
                  "sendgridKey": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "documentTerms",
                    "sendgridMail",
                    "sendgridKey"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Configuration.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Configuration>"
      },
      "Course.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": "Course.ScopeFilter"
      },
      "Course.IncludeFilter.Items": {
        "title": "Course.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "organization",
              "videos",
              "courseRoles",
              "courseFranchises"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Course.ScopeFilter"
          }
        }
      },
      "Course.Filter": {
        "type": "object",
        "title": "Course.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": "Course.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "categoryName": {
                    "type": "boolean"
                  },
                  "totalDurationMinutes": {
                    "type": "boolean"
                  },
                  "notifyOnPublish": {
                    "type": "boolean"
                  },
                  "isMandatory": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "supportMaterialUrl": {
                    "type": "boolean"
                  },
                  "audienceAllRoles": {
                    "type": "boolean"
                  },
                  "audienceAllFranchises": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "description",
                    "categoryName",
                    "totalDurationMinutes",
                    "notifyOnPublish",
                    "isMandatory",
                    "status",
                    "supportMaterialUrl",
                    "audienceAllRoles",
                    "audienceAllFranchises",
                    "organizationId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Course.Fields"
          },
          "include": {
            "title": "Course.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Course.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Course>"
      },
      "CreditReason.Filter": {
        "type": "object",
        "title": "CreditReason.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "CreditReason.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CreditReason>"
      },
      "CreditReason.Filter1": {
        "type": "object",
        "title": "CreditReason.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": "CreditReason.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "CreditReason.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CreditReason>"
      },
      "CreditRequestPyme.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": "CreditRequestPyme.ScopeFilter"
      },
      "CreditRequestPyme.IncludeFilter.Items": {
        "title": "CreditRequestPyme.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "typeCredit",
              "financialInstitution",
              "documents",
              "organization",
              "bankChargePymes",
              "authorizedEvidence",
              "signedEvidence",
              "franchise",
              "pymeCreditMonitoring",
              "chargeCommissionPyme",
              "paymentFile"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/CreditRequestPyme.ScopeFilter"
          }
        }
      },
      "CreditRequestPyme.Filter": {
        "type": "object",
        "title": "CreditRequestPyme.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": "CreditRequestPyme.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "taxRegime": {
                    "type": "boolean"
                  },
                  "businessName": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "responsibleExecutive": {
                    "type": "boolean"
                  },
                  "comment": {
                    "type": "boolean"
                  },
                  "isCreditCancel": {
                    "type": "boolean"
                  },
                  "creditCancelReason": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "typeCreditId": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "deadlines": {
                    "type": "boolean"
                  },
                  "financialInstitutionId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "origin": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "isRejected": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  },
                  "pymeCreditMonitoringId": {
                    "type": "boolean"
                  },
                  "controller": {
                    "type": "boolean"
                  },
                  "reasonControllerRejected": {
                    "type": "boolean"
                  },
                  "controllerDate": {
                    "type": "boolean"
                  },
                  "birthPlaceCountry": {
                    "type": "boolean"
                  },
                  "birthPlaceState": {
                    "type": "boolean"
                  },
                  "gender": {
                    "type": "boolean"
                  },
                  "education": {
                    "type": "boolean"
                  },
                  "residenceTime": {
                    "type": "boolean"
                  },
                  "paymentScheme": {
                    "type": "boolean"
                  },
                  "workAddress": {
                    "type": "boolean"
                  },
                  "workPhone": {
                    "type": "boolean"
                  },
                  "previousCompanyName": {
                    "type": "boolean"
                  },
                  "previousCompanyAntiquity": {
                    "type": "boolean"
                  },
                  "personalReferences": {
                    "type": "boolean"
                  },
                  "bankSelected": {
                    "type": "boolean"
                  },
                  "bankSpecificData": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "taxRegime",
                    "businessName",
                    "email",
                    "responsibleExecutive",
                    "comment",
                    "isCreditCancel",
                    "creditCancelReason",
                    "address",
                    "typeCreditId",
                    "amount",
                    "deadlines",
                    "financialInstitutionId",
                    "organizationId",
                    "status",
                    "origin",
                    "franchiseId",
                    "isRejected",
                    "reasonRejected",
                    "pymeCreditMonitoringId",
                    "controller",
                    "reasonControllerRejected",
                    "controllerDate",
                    "birthPlaceCountry",
                    "birthPlaceState",
                    "gender",
                    "education",
                    "residenceTime",
                    "paymentScheme",
                    "workAddress",
                    "workPhone",
                    "previousCompanyName",
                    "previousCompanyAntiquity",
                    "personalReferences",
                    "bankSelected",
                    "bankSpecificData"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "CreditRequestPyme.Fields"
          },
          "include": {
            "title": "CreditRequestPyme.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CreditRequestPyme.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CreditRequestPyme>"
      },
      "CreditRequestPyme.Filter1": {
        "type": "object",
        "title": "CreditRequestPyme.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "taxRegime": {
                    "type": "boolean"
                  },
                  "businessName": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "responsibleExecutive": {
                    "type": "boolean"
                  },
                  "comment": {
                    "type": "boolean"
                  },
                  "isCreditCancel": {
                    "type": "boolean"
                  },
                  "creditCancelReason": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "typeCreditId": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "deadlines": {
                    "type": "boolean"
                  },
                  "financialInstitutionId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "origin": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "isRejected": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  },
                  "pymeCreditMonitoringId": {
                    "type": "boolean"
                  },
                  "controller": {
                    "type": "boolean"
                  },
                  "reasonControllerRejected": {
                    "type": "boolean"
                  },
                  "controllerDate": {
                    "type": "boolean"
                  },
                  "birthPlaceCountry": {
                    "type": "boolean"
                  },
                  "birthPlaceState": {
                    "type": "boolean"
                  },
                  "gender": {
                    "type": "boolean"
                  },
                  "education": {
                    "type": "boolean"
                  },
                  "residenceTime": {
                    "type": "boolean"
                  },
                  "paymentScheme": {
                    "type": "boolean"
                  },
                  "workAddress": {
                    "type": "boolean"
                  },
                  "workPhone": {
                    "type": "boolean"
                  },
                  "previousCompanyName": {
                    "type": "boolean"
                  },
                  "previousCompanyAntiquity": {
                    "type": "boolean"
                  },
                  "personalReferences": {
                    "type": "boolean"
                  },
                  "bankSelected": {
                    "type": "boolean"
                  },
                  "bankSpecificData": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "taxRegime",
                    "businessName",
                    "email",
                    "responsibleExecutive",
                    "comment",
                    "isCreditCancel",
                    "creditCancelReason",
                    "address",
                    "typeCreditId",
                    "amount",
                    "deadlines",
                    "financialInstitutionId",
                    "organizationId",
                    "status",
                    "origin",
                    "franchiseId",
                    "isRejected",
                    "reasonRejected",
                    "pymeCreditMonitoringId",
                    "controller",
                    "reasonControllerRejected",
                    "controllerDate",
                    "birthPlaceCountry",
                    "birthPlaceState",
                    "gender",
                    "education",
                    "residenceTime",
                    "paymentScheme",
                    "workAddress",
                    "workPhone",
                    "previousCompanyName",
                    "previousCompanyAntiquity",
                    "personalReferences",
                    "bankSelected",
                    "bankSpecificData"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "CreditRequestPyme.Fields"
          },
          "include": {
            "title": "CreditRequestPyme.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/CreditRequestPyme.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<CreditRequestPyme>"
      },
      "Customer.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": "Customer.ScopeFilter"
      },
      "Customer.IncludeFilter.Items": {
        "title": "Customer.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "organization",
              "documents",
              "franchise"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Customer.ScopeFilter"
          }
        }
      },
      "Customer.Filter": {
        "type": "object",
        "title": "Customer.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "lastName": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "birthdate": {
                    "type": "boolean"
                  },
                  "nationality": {
                    "type": "boolean"
                  },
                  "civilStatus": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "cellphone": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "lastName",
                    "email",
                    "birthdate",
                    "nationality",
                    "civilStatus",
                    "phone",
                    "cellphone",
                    "organizationId",
                    "address",
                    "franchiseId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Customer.Fields"
          },
          "include": {
            "title": "Customer.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Customer.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Customer>"
      },
      "Customer.Filter1": {
        "type": "object",
        "title": "Customer.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": "Customer.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "lastName": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "birthdate": {
                    "type": "boolean"
                  },
                  "nationality": {
                    "type": "boolean"
                  },
                  "civilStatus": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "cellphone": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "lastName",
                    "email",
                    "birthdate",
                    "nationality",
                    "civilStatus",
                    "phone",
                    "cellphone",
                    "organizationId",
                    "address",
                    "franchiseId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Customer.Fields"
          },
          "include": {
            "title": "Customer.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Customer.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Customer>"
      },
      "Document.Filter": {
        "type": "object",
        "title": "Document.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "fileURL": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "extension": {
                    "type": "boolean"
                  },
                  "userDataId": {
                    "type": "boolean"
                  },
                  "customerId": {
                    "type": "boolean"
                  },
                  "leadId": {
                    "type": "boolean"
                  },
                  "alias": {
                    "type": "boolean"
                  },
                  "franchisePaymentId": {
                    "type": "boolean"
                  },
                  "royaltyPaymentId": {
                    "type": "boolean"
                  },
                  "billId": {
                    "type": "boolean"
                  },
                  "billRoyaltyPaymentId": {
                    "type": "boolean"
                  },
                  "creditRequestPymeId": {
                    "type": "boolean"
                  },
                  "mortgageCreditId": {
                    "type": "boolean"
                  },
                  "bankChargePymeId": {
                    "type": "boolean"
                  },
                  "bankChargeMortgageId": {
                    "type": "boolean"
                  },
                  "chargeCommissionPymeId": {
                    "type": "boolean"
                  },
                  "chargeCommissionMortgageId": {
                    "type": "boolean"
                  },
                  "creditRequestPymePaymentFileId": {
                    "type": "boolean"
                  },
                  "mortgageCreditPaymentFileId": {
                    "type": "boolean"
                  },
                  "chargeCommissionMortgagePaymentVoucherId": {
                    "type": "boolean"
                  },
                  "chargeCommissionPymePaymentVoucherId": {
                    "type": "boolean"
                  },
                  "authorizedEvidenceId": {
                    "type": "boolean"
                  },
                  "signedEvidenceId": {
                    "type": "boolean"
                  },
                  "financialInstitutionId": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "isPyme": {
                    "type": "boolean"
                  },
                  "isMortgage": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "fileURL",
                    "name",
                    "extension",
                    "userDataId",
                    "customerId",
                    "leadId",
                    "alias",
                    "franchisePaymentId",
                    "royaltyPaymentId",
                    "billId",
                    "billRoyaltyPaymentId",
                    "creditRequestPymeId",
                    "mortgageCreditId",
                    "bankChargePymeId",
                    "bankChargeMortgageId",
                    "chargeCommissionPymeId",
                    "chargeCommissionMortgageId",
                    "creditRequestPymePaymentFileId",
                    "mortgageCreditPaymentFileId",
                    "chargeCommissionMortgagePaymentVoucherId",
                    "chargeCommissionPymePaymentVoucherId",
                    "authorizedEvidenceId",
                    "signedEvidenceId",
                    "financialInstitutionId",
                    "franchiseId",
                    "isPyme",
                    "isMortgage"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Document.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Document>"
      },
      "FinancialInstitution.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": "FinancialInstitution.ScopeFilter"
      },
      "FinancialInstitution.IncludeFilter.Items": {
        "title": "FinancialInstitution.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "documents"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FinancialInstitution.ScopeFilter"
          }
        }
      },
      "FinancialInstitution.Filter": {
        "type": "object",
        "title": "FinancialInstitution.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "isPyme": {
                    "type": "boolean"
                  },
                  "isMortgage": {
                    "type": "boolean"
                  },
                  "isInfinance": {
                    "type": "boolean"
                  },
                  "paydaysPyme": {
                    "type": "boolean"
                  },
                  "paydaysMortgage": {
                    "type": "boolean"
                  },
                  "typeFinancialInstitution": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "isPyme",
                    "isMortgage",
                    "isInfinance",
                    "paydaysPyme",
                    "paydaysMortgage",
                    "typeFinancialInstitution"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "FinancialInstitution.Fields"
          },
          "include": {
            "title": "FinancialInstitution.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FinancialInstitution.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FinancialInstitution>"
      },
      "FinancialInstitution.Filter1": {
        "type": "object",
        "title": "FinancialInstitution.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": "FinancialInstitution.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "isPyme": {
                    "type": "boolean"
                  },
                  "isMortgage": {
                    "type": "boolean"
                  },
                  "isInfinance": {
                    "type": "boolean"
                  },
                  "paydaysPyme": {
                    "type": "boolean"
                  },
                  "paydaysMortgage": {
                    "type": "boolean"
                  },
                  "typeFinancialInstitution": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "isPyme",
                    "isMortgage",
                    "isInfinance",
                    "paydaysPyme",
                    "paydaysMortgage",
                    "typeFinancialInstitution"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "FinancialInstitution.Fields"
          },
          "include": {
            "title": "FinancialInstitution.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FinancialInstitution.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FinancialInstitution>"
      },
      "FranchisePayment.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": "FranchisePayment.ScopeFilter"
      },
      "FranchisePayment.IncludeFilter.Items": {
        "title": "FranchisePayment.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "documents",
              "status",
              "franchise",
              "organization",
              "bills"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FranchisePayment.ScopeFilter"
          }
        }
      },
      "FranchisePayment.Filter": {
        "type": "object",
        "title": "FranchisePayment.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "comment": {
                    "type": "boolean"
                  },
                  "invoicefolio": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "paymentDate",
                    "amount",
                    "statusId",
                    "franchiseId",
                    "organizationId",
                    "comment",
                    "invoicefolio"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "FranchisePayment.Fields"
          },
          "include": {
            "title": "FranchisePayment.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FranchisePayment.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FranchisePayment>"
      },
      "FranchisePayment.Filter1": {
        "type": "object",
        "title": "FranchisePayment.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": "FranchisePayment.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "comment": {
                    "type": "boolean"
                  },
                  "invoicefolio": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "paymentDate",
                    "amount",
                    "statusId",
                    "franchiseId",
                    "organizationId",
                    "comment",
                    "invoicefolio"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "FranchisePayment.Fields"
          },
          "include": {
            "title": "FranchisePayment.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FranchisePayment.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FranchisePayment>"
      },
      "Franchise.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": "Franchise.ScopeFilter"
      },
      "Franchise.IncludeFilter.Items": {
        "title": "Franchise.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "lead",
              "user",
              "organization",
              "documents",
              "franchisePayments",
              "royaltyPayments",
              "franchiseUser",
              "customers"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Franchise.ScopeFilter"
          }
        }
      },
      "Franchise.Filter": {
        "type": "object",
        "title": "Franchise.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": "Franchise.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "zone": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "phone",
                    "zone",
                    "description",
                    "address",
                    "userId",
                    "organizationId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Franchise.Fields"
          },
          "include": {
            "title": "Franchise.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Franchise.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Franchise>"
      },
      "Franchise.Filter1": {
        "type": "object",
        "title": "Franchise.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "zone": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "phone",
                    "zone",
                    "description",
                    "address",
                    "userId",
                    "organizationId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Franchise.Fields"
          },
          "include": {
            "title": "Franchise.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Franchise.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Franchise>"
      },
      "InsigniaImage.Filter": {
        "type": "object",
        "title": "InsigniaImage.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": "InsigniaImage.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "imageUrl": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "isCurrent": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "imageUrl",
                    "title",
                    "description",
                    "isCurrent"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "InsigniaImage.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<InsigniaImage>"
      },
      "Language.Filter": {
        "type": "object",
        "title": "Language.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"
                  },
                  "ISO_code": {
                    "type": "boolean"
                  },
                  "nativeName": {
                    "type": "boolean"
                  },
                  "active": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "ISO_code",
                    "nativeName",
                    "active"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Language.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Language>"
      },
      "Language.Filter1": {
        "type": "object",
        "title": "Language.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": "Language.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "ISO_code": {
                    "type": "boolean"
                  },
                  "nativeName": {
                    "type": "boolean"
                  },
                  "active": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "ISO_code",
                    "nativeName",
                    "active"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Language.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Language>"
      },
      "Lead.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": "Lead.ScopeFilter"
      },
      "Lead.IncludeFilter.Items": {
        "title": "Lead.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "organization",
              "franchise",
              "votes",
              "saleDocuments",
              "documents"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Lead.ScopeFilter"
          }
        }
      },
      "Lead.Filter": {
        "type": "object",
        "title": "Lead.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "Lead.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "lastName": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "birthdate": {
                    "type": "boolean"
                  },
                  "nationality": {
                    "type": "boolean"
                  },
                  "civilStatus": {
                    "type": "boolean"
                  },
                  "RFC": {
                    "type": "boolean"
                  },
                  "CURP": {
                    "type": "boolean"
                  },
                  "gender": {
                    "type": "boolean"
                  },
                  "occupation": {
                    "type": "boolean"
                  },
                  "childrensNumber": {
                    "type": "boolean"
                  },
                  "childrensAges": {
                    "type": "boolean"
                  },
                  "hasEconomicDependents": {
                    "type": "boolean"
                  },
                  "economicDependentsNumber": {
                    "type": "boolean"
                  },
                  "cellphone": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "profileLeads": {
                    "type": "boolean"
                  },
                  "termsSale": {
                    "type": "boolean"
                  },
                  "references": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "isExternal": {
                    "type": "boolean"
                  },
                  "isRejected": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "lastName",
                    "email",
                    "birthdate",
                    "nationality",
                    "civilStatus",
                    "RFC",
                    "CURP",
                    "gender",
                    "occupation",
                    "childrensNumber",
                    "childrensAges",
                    "hasEconomicDependents",
                    "economicDependentsNumber",
                    "cellphone",
                    "phone",
                    "address",
                    "profileLeads",
                    "termsSale",
                    "references",
                    "organizationId",
                    "franchiseId",
                    "status",
                    "isExternal",
                    "isRejected",
                    "reasonRejected"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Lead.Fields"
          },
          "include": {
            "title": "Lead.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Lead.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Lead>"
      },
      "Lead.Filter1": {
        "type": "object",
        "title": "Lead.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "lastName": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "birthdate": {
                    "type": "boolean"
                  },
                  "nationality": {
                    "type": "boolean"
                  },
                  "civilStatus": {
                    "type": "boolean"
                  },
                  "RFC": {
                    "type": "boolean"
                  },
                  "CURP": {
                    "type": "boolean"
                  },
                  "gender": {
                    "type": "boolean"
                  },
                  "occupation": {
                    "type": "boolean"
                  },
                  "childrensNumber": {
                    "type": "boolean"
                  },
                  "childrensAges": {
                    "type": "boolean"
                  },
                  "hasEconomicDependents": {
                    "type": "boolean"
                  },
                  "economicDependentsNumber": {
                    "type": "boolean"
                  },
                  "cellphone": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "profileLeads": {
                    "type": "boolean"
                  },
                  "termsSale": {
                    "type": "boolean"
                  },
                  "references": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "isExternal": {
                    "type": "boolean"
                  },
                  "isRejected": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "lastName",
                    "email",
                    "birthdate",
                    "nationality",
                    "civilStatus",
                    "RFC",
                    "CURP",
                    "gender",
                    "occupation",
                    "childrensNumber",
                    "childrensAges",
                    "hasEconomicDependents",
                    "economicDependentsNumber",
                    "cellphone",
                    "phone",
                    "address",
                    "profileLeads",
                    "termsSale",
                    "references",
                    "organizationId",
                    "franchiseId",
                    "status",
                    "isExternal",
                    "isRejected",
                    "reasonRejected"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Lead.Fields"
          },
          "include": {
            "title": "Lead.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Lead.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Lead>"
      },
      "LogDetails.Filter": {
        "type": "object",
        "title": "LogDetails.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"
                  },
                  "valueBeforeChange": {
                    "type": "boolean"
                  },
                  "valueAfterChange": {
                    "type": "boolean"
                  },
                  "modelLogId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "valueBeforeChange",
                    "valueAfterChange",
                    "modelLogId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LogDetails.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LogDetails>"
      },
      "LogDetails.Filter1": {
        "type": "object",
        "title": "LogDetails.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": "LogDetails.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "valueBeforeChange": {
                    "type": "boolean"
                  },
                  "valueAfterChange": {
                    "type": "boolean"
                  },
                  "modelLogId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "valueBeforeChange",
                    "valueAfterChange",
                    "modelLogId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "LogDetails.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<LogDetails>"
      },
      "Log.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": "Log.ScopeFilter"
      },
      "Log.IncludeFilter.Items": {
        "title": "Log.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "organization"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Log.ScopeFilter"
          }
        }
      },
      "Log.Filter": {
        "type": "object",
        "title": "Log.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"
                  },
                  "calledURL": {
                    "type": "boolean"
                  },
                  "userEmail": {
                    "type": "boolean"
                  },
                  "userName": {
                    "type": "boolean"
                  },
                  "request": {
                    "type": "boolean"
                  },
                  "success": {
                    "type": "boolean"
                  },
                  "error": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "calledURL",
                    "userEmail",
                    "userName",
                    "request",
                    "success",
                    "error",
                    "organizationId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Log.Fields"
          },
          "include": {
            "title": "Log.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Log.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Log>"
      },
      "Log.Filter1": {
        "type": "object",
        "title": "Log.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": "Log.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "calledURL": {
                    "type": "boolean"
                  },
                  "userEmail": {
                    "type": "boolean"
                  },
                  "userName": {
                    "type": "boolean"
                  },
                  "request": {
                    "type": "boolean"
                  },
                  "success": {
                    "type": "boolean"
                  },
                  "error": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "calledURL",
                    "userEmail",
                    "userName",
                    "request",
                    "success",
                    "error",
                    "organizationId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Log.Fields"
          },
          "include": {
            "title": "Log.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Log.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Log>"
      },
      "ModelLog.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": "ModelLog.ScopeFilter"
      },
      "ModelLog.IncludeFilter.Items": {
        "title": "ModelLog.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "logDetails"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/ModelLog.ScopeFilter"
          }
        }
      },
      "ModelLog.Filter": {
        "type": "object",
        "title": "ModelLog.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"
                  },
                  "user": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "modificationType": {
                    "type": "boolean"
                  },
                  "modelName": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "user",
                    "userId",
                    "organizationId",
                    "modificationType",
                    "modelName"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ModelLog.Fields"
          },
          "include": {
            "title": "ModelLog.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ModelLog.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ModelLog>"
      },
      "ModelLog.Filter1": {
        "type": "object",
        "title": "ModelLog.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": "ModelLog.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "user": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "modificationType": {
                    "type": "boolean"
                  },
                  "modelName": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "user",
                    "userId",
                    "organizationId",
                    "modificationType",
                    "modelName"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ModelLog.Fields"
          },
          "include": {
            "title": "ModelLog.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ModelLog.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ModelLog>"
      },
      "Module.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": "Module.ScopeFilter"
      },
      "Module.IncludeFilter.Items": {
        "title": "Module.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "roleModules"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Module.ScopeFilter"
          }
        }
      },
      "Module.Filter": {
        "type": "object",
        "title": "Module.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": "Module.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "categoryName": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "name",
                    "description",
                    "categoryName"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Module.Fields"
          },
          "include": {
            "title": "Module.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Module.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Module>"
      },
      "MortgageCredit.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": "MortgageCredit.ScopeFilter"
      },
      "MortgageCredit.IncludeFilter.Items": {
        "title": "MortgageCredit.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "coOwner",
              "financialInstitution",
              "responsibleExecutive",
              "organization",
              "franchise",
              "documents",
              "chargeCommissionMortgage",
              "creditReason",
              "mortgageCreditMonitoring",
              "paymentFiles",
              "bankChargeMortgages"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/MortgageCredit.ScopeFilter"
          }
        }
      },
      "MortgageCredit.Filter": {
        "type": "object",
        "title": "MortgageCredit.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": "MortgageCredit.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isCreditCancel": {
                    "type": "boolean"
                  },
                  "creditCancelReason": {
                    "type": "boolean"
                  },
                  "applicantName": {
                    "type": "boolean"
                  },
                  "birthdate": {
                    "type": "boolean"
                  },
                  "curp": {
                    "type": "boolean"
                  },
                  "rfc": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "cellPhone": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "nss": {
                    "type": "boolean"
                  },
                  "nationality": {
                    "type": "boolean"
                  },
                  "civilStatus": {
                    "type": "boolean"
                  },
                  "patrimonialRegime": {
                    "type": "boolean"
                  },
                  "economicDependents": {
                    "type": "boolean"
                  },
                  "isCoOwner": {
                    "type": "boolean"
                  },
                  "coOwnerId": {
                    "type": "boolean"
                  },
                  "financialInstitutionId": {
                    "type": "boolean"
                  },
                  "homeValue": {
                    "type": "boolean"
                  },
                  "requestedAmount": {
                    "type": "boolean"
                  },
                  "deadlines": {
                    "type": "boolean"
                  },
                  "aforo": {
                    "type": "boolean"
                  },
                  "laborData": {
                    "type": "boolean"
                  },
                  "responsibleExecutiveId": {
                    "type": "boolean"
                  },
                  "comment": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "isRejected": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  },
                  "isPending": {
                    "type": "boolean"
                  },
                  "reasonPending": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "origin": {
                    "type": "boolean"
                  },
                  "creditReasonId": {
                    "type": "boolean"
                  },
                  "mortgageCreditMonitoringId": {
                    "type": "boolean"
                  },
                  "controller": {
                    "type": "boolean"
                  },
                  "reasonControllerRejected": {
                    "type": "boolean"
                  },
                  "controllerDate": {
                    "type": "boolean"
                  },
                  "birthPlaceCountry": {
                    "type": "boolean"
                  },
                  "birthPlaceState": {
                    "type": "boolean"
                  },
                  "gender": {
                    "type": "boolean"
                  },
                  "education": {
                    "type": "boolean"
                  },
                  "paymentScheme": {
                    "type": "boolean"
                  },
                  "personalReferences": {
                    "type": "boolean"
                  },
                  "bankSelected": {
                    "type": "boolean"
                  },
                  "bankSpecificData": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "isCreditCancel",
                    "creditCancelReason",
                    "applicantName",
                    "birthdate",
                    "curp",
                    "rfc",
                    "phone",
                    "cellPhone",
                    "email",
                    "address",
                    "nss",
                    "nationality",
                    "civilStatus",
                    "patrimonialRegime",
                    "economicDependents",
                    "isCoOwner",
                    "coOwnerId",
                    "financialInstitutionId",
                    "homeValue",
                    "requestedAmount",
                    "deadlines",
                    "aforo",
                    "laborData",
                    "responsibleExecutiveId",
                    "comment",
                    "organizationId",
                    "franchiseId",
                    "isRejected",
                    "reasonRejected",
                    "isPending",
                    "reasonPending",
                    "status",
                    "origin",
                    "creditReasonId",
                    "mortgageCreditMonitoringId",
                    "controller",
                    "reasonControllerRejected",
                    "controllerDate",
                    "birthPlaceCountry",
                    "birthPlaceState",
                    "gender",
                    "education",
                    "paymentScheme",
                    "personalReferences",
                    "bankSelected",
                    "bankSpecificData"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "MortgageCredit.Fields"
          },
          "include": {
            "title": "MortgageCredit.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MortgageCredit.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MortgageCredit>"
      },
      "MortgageCredit.Filter1": {
        "type": "object",
        "title": "MortgageCredit.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "isCreditCancel": {
                    "type": "boolean"
                  },
                  "creditCancelReason": {
                    "type": "boolean"
                  },
                  "applicantName": {
                    "type": "boolean"
                  },
                  "birthdate": {
                    "type": "boolean"
                  },
                  "curp": {
                    "type": "boolean"
                  },
                  "rfc": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "cellPhone": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "nss": {
                    "type": "boolean"
                  },
                  "nationality": {
                    "type": "boolean"
                  },
                  "civilStatus": {
                    "type": "boolean"
                  },
                  "patrimonialRegime": {
                    "type": "boolean"
                  },
                  "economicDependents": {
                    "type": "boolean"
                  },
                  "isCoOwner": {
                    "type": "boolean"
                  },
                  "coOwnerId": {
                    "type": "boolean"
                  },
                  "financialInstitutionId": {
                    "type": "boolean"
                  },
                  "homeValue": {
                    "type": "boolean"
                  },
                  "requestedAmount": {
                    "type": "boolean"
                  },
                  "deadlines": {
                    "type": "boolean"
                  },
                  "aforo": {
                    "type": "boolean"
                  },
                  "laborData": {
                    "type": "boolean"
                  },
                  "responsibleExecutiveId": {
                    "type": "boolean"
                  },
                  "comment": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "isRejected": {
                    "type": "boolean"
                  },
                  "reasonRejected": {
                    "type": "boolean"
                  },
                  "isPending": {
                    "type": "boolean"
                  },
                  "reasonPending": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "origin": {
                    "type": "boolean"
                  },
                  "creditReasonId": {
                    "type": "boolean"
                  },
                  "mortgageCreditMonitoringId": {
                    "type": "boolean"
                  },
                  "controller": {
                    "type": "boolean"
                  },
                  "reasonControllerRejected": {
                    "type": "boolean"
                  },
                  "controllerDate": {
                    "type": "boolean"
                  },
                  "birthPlaceCountry": {
                    "type": "boolean"
                  },
                  "birthPlaceState": {
                    "type": "boolean"
                  },
                  "gender": {
                    "type": "boolean"
                  },
                  "education": {
                    "type": "boolean"
                  },
                  "paymentScheme": {
                    "type": "boolean"
                  },
                  "personalReferences": {
                    "type": "boolean"
                  },
                  "bankSelected": {
                    "type": "boolean"
                  },
                  "bankSpecificData": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "isCreditCancel",
                    "creditCancelReason",
                    "applicantName",
                    "birthdate",
                    "curp",
                    "rfc",
                    "phone",
                    "cellPhone",
                    "email",
                    "address",
                    "nss",
                    "nationality",
                    "civilStatus",
                    "patrimonialRegime",
                    "economicDependents",
                    "isCoOwner",
                    "coOwnerId",
                    "financialInstitutionId",
                    "homeValue",
                    "requestedAmount",
                    "deadlines",
                    "aforo",
                    "laborData",
                    "responsibleExecutiveId",
                    "comment",
                    "organizationId",
                    "franchiseId",
                    "isRejected",
                    "reasonRejected",
                    "isPending",
                    "reasonPending",
                    "status",
                    "origin",
                    "creditReasonId",
                    "mortgageCreditMonitoringId",
                    "controller",
                    "reasonControllerRejected",
                    "controllerDate",
                    "birthPlaceCountry",
                    "birthPlaceState",
                    "gender",
                    "education",
                    "paymentScheme",
                    "personalReferences",
                    "bankSelected",
                    "bankSpecificData"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "MortgageCredit.Fields"
          },
          "include": {
            "title": "MortgageCredit.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/MortgageCredit.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<MortgageCredit>"
      },
      "Organization.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": "Organization.ScopeFilter"
      },
      "Organization.IncludeFilter.Items": {
        "title": "Organization.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "users",
              "userRoles",
              "logs"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Organization.ScopeFilter"
          }
        }
      },
      "Organization.Filter": {
        "type": "object",
        "title": "Organization.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": "Organization.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "canUpdate": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "name",
                    "isActive",
                    "canUpdate",
                    "description"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Organization.Fields"
          },
          "include": {
            "title": "Organization.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Organization.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Organization>"
      },
      "PlacementGoal.Filter": {
        "type": "object",
        "title": "PlacementGoal.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": "PlacementGoal.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "year": {
                    "type": "boolean"
                  },
                  "quarter": {
                    "type": "boolean"
                  },
                  "goalAmount": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "year",
                    "quarter",
                    "goalAmount",
                    "description"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "PlacementGoal.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PlacementGoal>"
      },
      "RoleModule.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": "RoleModule.ScopeFilter"
      },
      "RoleModule.IncludeFilter.Items": {
        "title": "RoleModule.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "module",
              "userRole",
              "roleCustomModel"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/RoleModule.ScopeFilter"
          }
        }
      },
      "RoleModule.Filter": {
        "type": "object",
        "title": "RoleModule.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": "RoleModule.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "create": {
                    "type": "boolean"
                  },
                  "read": {
                    "type": "boolean"
                  },
                  "update": {
                    "type": "boolean"
                  },
                  "del": {
                    "type": "boolean"
                  },
                  "moduleId": {
                    "type": "boolean"
                  },
                  "userRoleId": {
                    "type": "boolean"
                  },
                  "roleCustomModelId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "create",
                    "read",
                    "update",
                    "del",
                    "moduleId",
                    "userRoleId",
                    "roleCustomModelId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RoleModule.Fields"
          },
          "include": {
            "title": "RoleModule.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RoleModule.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RoleModule>"
      },
      "RoyaltyPayment.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": "RoyaltyPayment.ScopeFilter"
      },
      "RoyaltyPayment.IncludeFilter.Items": {
        "title": "RoyaltyPayment.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "documents",
              "franchise",
              "status",
              "organization",
              "bills"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/RoyaltyPayment.ScopeFilter"
          }
        }
      },
      "RoyaltyPayment.Filter": {
        "type": "object",
        "title": "RoyaltyPayment.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "dueDate": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "amountBase": {
                    "type": "boolean"
                  },
                  "interests": {
                    "type": "boolean"
                  },
                  "dueDays": {
                    "type": "boolean"
                  },
                  "dailyPenaltyFee": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "bankReference": {
                    "type": "boolean"
                  },
                  "comment": {
                    "type": "boolean"
                  },
                  "invoicefolio": {
                    "type": "boolean"
                  },
                  "billingDate": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "paymentDate",
                    "dueDate",
                    "amount",
                    "amountBase",
                    "interests",
                    "dueDays",
                    "dailyPenaltyFee",
                    "franchiseId",
                    "statusId",
                    "organizationId",
                    "bankReference",
                    "comment",
                    "invoicefolio",
                    "billingDate"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RoyaltyPayment.Fields"
          },
          "include": {
            "title": "RoyaltyPayment.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RoyaltyPayment.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RoyaltyPayment>"
      },
      "RoyaltyPayment.Filter1": {
        "type": "object",
        "title": "RoyaltyPayment.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": "RoyaltyPayment.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "paymentDate": {
                    "type": "boolean"
                  },
                  "dueDate": {
                    "type": "boolean"
                  },
                  "amount": {
                    "type": "boolean"
                  },
                  "amountBase": {
                    "type": "boolean"
                  },
                  "interests": {
                    "type": "boolean"
                  },
                  "dueDays": {
                    "type": "boolean"
                  },
                  "dailyPenaltyFee": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "bankReference": {
                    "type": "boolean"
                  },
                  "comment": {
                    "type": "boolean"
                  },
                  "invoicefolio": {
                    "type": "boolean"
                  },
                  "billingDate": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "paymentDate",
                    "dueDate",
                    "amount",
                    "amountBase",
                    "interests",
                    "dueDays",
                    "dailyPenaltyFee",
                    "franchiseId",
                    "statusId",
                    "organizationId",
                    "bankReference",
                    "comment",
                    "invoicefolio",
                    "billingDate"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "RoyaltyPayment.Fields"
          },
          "include": {
            "title": "RoyaltyPayment.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/RoyaltyPayment.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<RoyaltyPayment>"
      },
      "Status.Filter": {
        "type": "object",
        "title": "Status.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": "Status.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "dependsOn": {
                    "type": "boolean"
                  },
                  "isInitialStatus": {
                    "type": "boolean"
                  },
                  "isFinalStatus": {
                    "type": "boolean"
                  },
                  "isCancellationStatus": {
                    "type": "boolean"
                  },
                  "isBase": {
                    "type": "boolean"
                  },
                  "process": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "isValidated": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "name",
                    "description",
                    "dependsOn",
                    "isInitialStatus",
                    "isFinalStatus",
                    "isCancellationStatus",
                    "isBase",
                    "process",
                    "isActive",
                    "organizationId",
                    "isValidated"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Status.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Status>"
      },
      "Task.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": "Task.ScopeFilter"
      },
      "Task.IncludeFilter.Items": {
        "title": "Task.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "training",
              "guestFranchisees",
              "otherGuests",
              "managers",
              "organization",
              "status"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Task.ScopeFilter"
          }
        }
      },
      "Task.Filter": {
        "type": "object",
        "title": "Task.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"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "startDate": {
                    "type": "boolean"
                  },
                  "endDate": {
                    "type": "boolean"
                  },
                  "trainingId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "name",
                    "description",
                    "startDate",
                    "endDate",
                    "trainingId",
                    "organizationId",
                    "statusId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Task.Fields"
          },
          "include": {
            "title": "Task.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Task.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Task>"
      },
      "Task.Filter1": {
        "type": "object",
        "title": "Task.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": "Task.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "startDate": {
                    "type": "boolean"
                  },
                  "endDate": {
                    "type": "boolean"
                  },
                  "trainingId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "name",
                    "description",
                    "startDate",
                    "endDate",
                    "trainingId",
                    "organizationId",
                    "statusId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Task.Fields"
          },
          "include": {
            "title": "Task.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Task.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Task>"
      },
      "Training.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": "Training.ScopeFilter"
      },
      "Training.IncludeFilter.Items": {
        "title": "Training.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "users",
              "tasks",
              "status",
              "organization"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Training.ScopeFilter"
          }
        }
      },
      "Training.Filter": {
        "type": "object",
        "title": "Training.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "name",
                    "description",
                    "statusId",
                    "organizationId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Training.Fields"
          },
          "include": {
            "title": "Training.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Training.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Training>"
      },
      "Training.Filter1": {
        "type": "object",
        "title": "Training.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": "Training.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "name",
                    "description",
                    "statusId",
                    "organizationId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Training.Fields"
          },
          "include": {
            "title": "Training.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Training.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Training>"
      },
      "TypeCredit.Filter": {
        "type": "object",
        "title": "TypeCredit.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "TypeCredit.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TypeCredit>"
      },
      "TypeCredit.Filter1": {
        "type": "object",
        "title": "TypeCredit.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": "TypeCredit.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "TypeCredit.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TypeCredit>"
      },
      "UserData.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": "UserData.ScopeFilter"
      },
      "UserData.IncludeFilter.Items": {
        "title": "UserData.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "user",
              "userRole",
              "documents"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/UserData.ScopeFilter"
          }
        }
      },
      "UserData.Filter": {
        "type": "object",
        "title": "UserData.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "userRoleId": {
                    "type": "boolean"
                  },
                  "cellphone": {
                    "type": "boolean"
                  },
                  "personalEmail": {
                    "type": "boolean"
                  },
                  "personalCellphone": {
                    "type": "boolean"
                  },
                  "birthdate": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "workStart": {
                    "type": "boolean"
                  },
                  "taxData": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "userId",
                    "userRoleId",
                    "cellphone",
                    "personalEmail",
                    "personalCellphone",
                    "birthdate",
                    "address",
                    "workStart",
                    "taxData"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "UserData.Fields"
          },
          "include": {
            "title": "UserData.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserData.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserData>"
      },
      "UserData.Filter1": {
        "type": "object",
        "title": "UserData.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": "UserData.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "userRoleId": {
                    "type": "boolean"
                  },
                  "cellphone": {
                    "type": "boolean"
                  },
                  "personalEmail": {
                    "type": "boolean"
                  },
                  "personalCellphone": {
                    "type": "boolean"
                  },
                  "birthdate": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "workStart": {
                    "type": "boolean"
                  },
                  "taxData": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "userId",
                    "userRoleId",
                    "cellphone",
                    "personalEmail",
                    "personalCellphone",
                    "birthdate",
                    "address",
                    "workStart",
                    "taxData"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "UserData.Fields"
          },
          "include": {
            "title": "UserData.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserData.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserData>"
      },
      "UserRole.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": "UserRole.ScopeFilter"
      },
      "UserRole.IncludeFilter.Items": {
        "title": "UserRole.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "user",
              "roleModule",
              "userData"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/UserRole.ScopeFilter"
          }
        }
      },
      "UserRole.Filter": {
        "type": "object",
        "title": "UserRole.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": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "accessLevel": {
                    "type": "boolean"
                  },
                  "configuration": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "roleModuleId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "shareFranchises": {
                    "type": "boolean"
                  },
                  "isFranchise": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "description",
                    "accessLevel",
                    "configuration",
                    "userId",
                    "roleModuleId",
                    "organizationId",
                    "shareFranchises",
                    "isFranchise"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "UserRole.Fields"
          },
          "include": {
            "title": "UserRole.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserRole.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserRole>"
      },
      "UserRole.Filter1": {
        "type": "object",
        "title": "UserRole.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": "UserRole.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "accessLevel": {
                    "type": "boolean"
                  },
                  "configuration": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "roleModuleId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "shareFranchises": {
                    "type": "boolean"
                  },
                  "isFranchise": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "name",
                    "description",
                    "accessLevel",
                    "configuration",
                    "userId",
                    "roleModuleId",
                    "organizationId",
                    "shareFranchises",
                    "isFranchise"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "UserRole.Fields"
          },
          "include": {
            "title": "UserRole.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserRole.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserRole>"
      },
      "User.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": "User.ScopeFilter"
      },
      "User.IncludeFilter.Items": {
        "title": "User.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "userData",
              "userCredentials",
              "votes",
              "franchises",
              "trainings",
              "guestFranchisees",
              "otherGuests",
              "managers",
              "franchiseUser"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/User.ScopeFilter"
          }
        }
      },
      "User.Filter": {
        "type": "object",
        "title": "User.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "User.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "resetPasswordToken": {
                    "type": "boolean"
                  },
                  "tokenExpiration": {
                    "type": "boolean"
                  },
                  "firstName": {
                    "type": "boolean"
                  },
                  "lastName": {
                    "type": "boolean"
                  },
                  "avatar": {
                    "type": "boolean"
                  },
                  "firstTime": {
                    "type": "boolean"
                  },
                  "isSuperAdmin": {
                    "type": "boolean"
                  },
                  "userDataId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "isAdmin": {
                    "type": "boolean"
                  },
                  "isFranchise": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "email",
                    "username",
                    "resetPasswordToken",
                    "tokenExpiration",
                    "firstName",
                    "lastName",
                    "avatar",
                    "firstTime",
                    "isSuperAdmin",
                    "userDataId",
                    "organizationId",
                    "isAdmin",
                    "isFranchise",
                    "franchiseId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "User.Fields"
          },
          "include": {
            "title": "User.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/User.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<User>"
      },
      "User.Filter1": {
        "type": "object",
        "title": "User.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "isDeleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "createdBy": {
                    "type": "boolean"
                  },
                  "updatedBy": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "activateDeactivateComment": {
                    "type": "boolean"
                  },
                  "isActive": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "resetPasswordToken": {
                    "type": "boolean"
                  },
                  "tokenExpiration": {
                    "type": "boolean"
                  },
                  "firstName": {
                    "type": "boolean"
                  },
                  "lastName": {
                    "type": "boolean"
                  },
                  "avatar": {
                    "type": "boolean"
                  },
                  "firstTime": {
                    "type": "boolean"
                  },
                  "isSuperAdmin": {
                    "type": "boolean"
                  },
                  "userDataId": {
                    "type": "boolean"
                  },
                  "organizationId": {
                    "type": "boolean"
                  },
                  "isAdmin": {
                    "type": "boolean"
                  },
                  "isFranchise": {
                    "type": "boolean"
                  },
                  "franchiseId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "isDeleted",
                    "id",
                    "createdAt",
                    "createdBy",
                    "updatedBy",
                    "updatedAt",
                    "activateDeactivateComment",
                    "isActive",
                    "email",
                    "username",
                    "resetPasswordToken",
                    "tokenExpiration",
                    "firstName",
                    "lastName",
                    "avatar",
                    "firstTime",
                    "isSuperAdmin",
                    "userDataId",
                    "organizationId",
                    "isAdmin",
                    "isFranchise",
                    "franchiseId"
                  ],
                  "example": "isDeleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "User.Fields"
          },
          "include": {
            "title": "User.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/User.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<User>"
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ]
}