{
  "openapi": "3.0.0",
  "info": {
    "title": "api-document",
    "version": "0.0.1",
    "contact": {
      "email": "contact@alisios.com",
      "name": "Alisios"
    },
    "license": {
      "name": "Todos los derechos reservados"
    },
    "description": "OpenAPI specification for Alisios",
    "termsOfService": "termsOfUse"
  },
  "paths": {
    "/admin/documents/{id}/pdf": {
      "get": {
        "x-controller-name": "InvoiceAdminController",
        "x-operation-name": "getInvoicePdf",
        "tags": [
          "InvoiceAdminController"
        ],
        "description": "Get invoice PDF by invoiceNumber. Searches Document by invoiceNumber, then uses fileId to get File",
        "summary": "Get invoice PDF for admin",
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "InvoiceAdminController.getInvoicePdf"
      }
    },
    "/admin/documents/{id}/pdf-url": {
      "get": {
        "x-controller-name": "InvoiceAdminController",
        "x-operation-name": "getInvoicePdfUrl",
        "tags": [
          "InvoiceAdminController"
        ],
        "description": "Get invoice PDF URL by invoiceNumber or document id",
        "summary": "Get invoice PDF URL for admin",
        "responses": {
          "200": {
            "description": "PDF URL",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "InvoiceAdminController.getInvoicePdfUrl"
      }
    },
    "/document/userManagementId/{userManagementId}": {
      "get": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "findByDocumentId",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "200": {
            "description": "File model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentAFWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "userManagementId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DocumentController.findByDocumentId"
      }
    },
    "/document-statuses/count": {
      "get": {
        "x-controller-name": "DocumentStatusController",
        "x-operation-name": "count",
        "tags": [
          "DocumentStatusController"
        ],
        "responses": {
          "200": {
            "description": "DocumentStatus model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DocumentStatus.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DocumentStatus>"
                }
              }
            }
          }
        ],
        "operationId": "DocumentStatusController.count"
      }
    },
    "/document-statuses/{id}/document": {
      "post": {
        "x-controller-name": "DocumentStatusDocumentController",
        "x-operation-name": "create",
        "tags": [
          "DocumentStatusDocumentController"
        ],
        "responses": {
          "200": {
            "description": "DocumentStatus model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocumentInDocumentStatus"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentStatusDocumentController.create"
      },
      "patch": {
        "x-controller-name": "DocumentStatusDocumentController",
        "x-operation-name": "patch",
        "tags": [
          "DocumentStatusDocumentController"
        ],
        "responses": {
          "200": {
            "description": "DocumentStatus.Document 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": "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": "DocumentStatusDocumentController.patch"
      },
      "get": {
        "x-controller-name": "DocumentStatusDocumentController",
        "x-operation-name": "get",
        "tags": [
          "DocumentStatusDocumentController"
        ],
        "responses": {
          "200": {
            "description": "DocumentStatus has one Document",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "DocumentStatusDocumentController.get"
      },
      "delete": {
        "x-controller-name": "DocumentStatusDocumentController",
        "x-operation-name": "delete",
        "tags": [
          "DocumentStatusDocumentController"
        ],
        "responses": {
          "200": {
            "description": "DocumentStatus.Document 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": "Document.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Document>"
                }
              }
            }
          }
        ],
        "operationId": "DocumentStatusDocumentController.delete"
      }
    },
    "/document-statuses/{id}": {
      "put": {
        "x-controller-name": "DocumentStatusController",
        "x-operation-name": "replaceById",
        "tags": [
          "DocumentStatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DocumentStatus PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentStatus"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentStatusController.replaceById"
      },
      "patch": {
        "x-controller-name": "DocumentStatusController",
        "x-operation-name": "updateById",
        "tags": [
          "DocumentStatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DocumentStatus PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentStatusPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentStatusController.updateById"
      },
      "get": {
        "x-controller-name": "DocumentStatusController",
        "x-operation-name": "findById",
        "tags": [
          "DocumentStatusController"
        ],
        "responses": {
          "200": {
            "description": "DocumentStatus model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentStatusWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentStatus.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DocumentStatusController.findById"
      },
      "delete": {
        "x-controller-name": "DocumentStatusController",
        "x-operation-name": "deleteById",
        "tags": [
          "DocumentStatusController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DocumentStatus DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DocumentStatusController.deleteById"
      }
    },
    "/document-statuses": {
      "post": {
        "x-controller-name": "DocumentStatusController",
        "x-operation-name": "create",
        "tags": [
          "DocumentStatusController"
        ],
        "responses": {
          "200": {
            "description": "DocumentStatus model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentStatus"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocumentStatus"
              }
            }
          }
        },
        "operationId": "DocumentStatusController.create"
      },
      "patch": {
        "x-controller-name": "DocumentStatusController",
        "x-operation-name": "updateAll",
        "tags": [
          "DocumentStatusController"
        ],
        "responses": {
          "200": {
            "description": "DocumentStatus PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DocumentStatus.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DocumentStatus>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentStatusPartial"
              }
            }
          }
        },
        "operationId": "DocumentStatusController.updateAll"
      },
      "get": {
        "x-controller-name": "DocumentStatusController",
        "x-operation-name": "find",
        "tags": [
          "DocumentStatusController"
        ],
        "responses": {
          "200": {
            "description": "Array of DocumentStatus model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentStatusWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentStatus.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "DocumentStatusController.find"
      }
    },
    "/document-types/count": {
      "get": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "count",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DocumentType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DocumentType>"
                }
              }
            }
          }
        ],
        "operationId": "DocumentTypeController.count"
      }
    },
    "/document-types/{id}/document": {
      "post": {
        "x-controller-name": "DocumentTypeDocumentController",
        "x-operation-name": "create",
        "tags": [
          "DocumentTypeDocumentController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocumentInDocumentType"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentTypeDocumentController.create"
      },
      "patch": {
        "x-controller-name": "DocumentTypeDocumentController",
        "x-operation-name": "patch",
        "tags": [
          "DocumentTypeDocumentController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType.Document 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": "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": "DocumentTypeDocumentController.patch"
      },
      "get": {
        "x-controller-name": "DocumentTypeDocumentController",
        "x-operation-name": "get",
        "tags": [
          "DocumentTypeDocumentController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType has one Document",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "DocumentTypeDocumentController.get"
      },
      "delete": {
        "x-controller-name": "DocumentTypeDocumentController",
        "x-operation-name": "delete",
        "tags": [
          "DocumentTypeDocumentController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType.Document 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": "Document.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Document>"
                }
              }
            }
          }
        ],
        "operationId": "DocumentTypeDocumentController.delete"
      }
    },
    "/document-types/{id}": {
      "put": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "replaceById",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DocumentType PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentType"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentTypeController.replaceById"
      },
      "patch": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "updateById",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DocumentType PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentTypeController.updateById"
      },
      "get": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "findById",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentTypeWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentType.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DocumentTypeController.findById"
      },
      "delete": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "deleteById",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DocumentType DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DocumentTypeController.deleteById"
      }
    },
    "/document-types": {
      "post": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "create",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentType"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocumentType"
              }
            }
          }
        },
        "operationId": "DocumentTypeController.create"
      },
      "patch": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "updateAll",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "DocumentType PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "DocumentType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DocumentType>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentTypePartial"
              }
            }
          }
        },
        "operationId": "DocumentTypeController.updateAll"
      },
      "get": {
        "x-controller-name": "DocumentTypeController",
        "x-operation-name": "find",
        "tags": [
          "DocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "Array of DocumentType model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentTypeWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentType.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "DocumentTypeController.find"
      }
    },
    "/documents/count": {
      "get": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "count",
        "tags": [
          "DocumentController"
        ],
        "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": "DocumentController.count"
      }
    },
    "/documents/delete/{fileIdDocument}": {
      "delete": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "deleteFileIdDocument",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Document DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fileIdDocument",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DocumentController.deleteFileIdDocument"
      }
    },
    "/documents/user/{fileIdDocument}": {
      "get": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "fileIdDocument",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fileIdDocument",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DocumentController.fileIdDocument"
      }
    },
    "/documents/{id}/document-type": {
      "post": {
        "x-controller-name": "DocumentDocumentTypeController",
        "x-operation-name": "create",
        "tags": [
          "DocumentDocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentType"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocumentTypeInDocument"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentDocumentTypeController.create"
      },
      "patch": {
        "x-controller-name": "DocumentDocumentTypeController",
        "x-operation-name": "patch",
        "tags": [
          "DocumentDocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "Document.DocumentType 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": "DocumentType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DocumentType>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentTypePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentDocumentTypeController.patch"
      },
      "get": {
        "x-controller-name": "DocumentDocumentTypeController",
        "x-operation-name": "get",
        "tags": [
          "DocumentDocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "Document has one DocumentType",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentType"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "DocumentDocumentTypeController.get"
      },
      "delete": {
        "x-controller-name": "DocumentDocumentTypeController",
        "x-operation-name": "delete",
        "tags": [
          "DocumentDocumentTypeController"
        ],
        "responses": {
          "200": {
            "description": "Document.DocumentType 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": "DocumentType.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<DocumentType>"
                }
              }
            }
          }
        ],
        "operationId": "DocumentDocumentTypeController.delete"
      }
    },
    "/documents/{id}/files": {
      "post": {
        "x-controller-name": "DocumentFileController",
        "x-operation-name": "create",
        "tags": [
          "DocumentFileController"
        ],
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFileInDocument"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentFileController.create"
      },
      "patch": {
        "x-controller-name": "DocumentFileController",
        "x-operation-name": "patch",
        "tags": [
          "DocumentFileController"
        ],
        "responses": {
          "200": {
            "description": "Document.File 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": "File.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<File>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FilePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentFileController.patch"
      },
      "get": {
        "x-controller-name": "DocumentFileController",
        "x-operation-name": "find",
        "tags": [
          "DocumentFileController"
        ],
        "responses": {
          "200": {
            "description": "Array of Document has many File",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/File"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "DocumentFileController.find"
      },
      "delete": {
        "x-controller-name": "DocumentFileController",
        "x-operation-name": "delete",
        "tags": [
          "DocumentFileController"
        ],
        "responses": {
          "200": {
            "description": "Document.File 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": "File.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<File>"
                }
              }
            }
          }
        ],
        "operationId": "DocumentFileController.delete"
      }
    },
    "/documents/{id}": {
      "put": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "replaceById",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Document PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Document"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentController.replaceById"
      },
      "patch": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "updateById",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Document PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DocumentController.updateById"
      },
      "get": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "findById",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DocumentController.findById"
      },
      "delete": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "deleteById",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Document DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "DocumentController.deleteById"
      }
    },
    "/documents": {
      "post": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "create",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocument"
              }
            }
          }
        },
        "operationId": "DocumentController.create"
      },
      "patch": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "updateAll",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "200": {
            "description": "Document PATCH success 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>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentPartial"
              }
            }
          }
        },
        "operationId": "DocumentController.updateAll"
      },
      "get": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "find",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "200": {
            "description": "Array of Document model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DocumentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "DocumentController.find"
      }
    },
    "/documentsFA": {
      "post": {
        "x-controller-name": "DocumentController",
        "x-operation-name": "createFA",
        "tags": [
          "DocumentController"
        ],
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentAF"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocument"
              }
            }
          }
        },
        "operationId": "DocumentController.createFA"
      }
    },
    "/files/byDocumentId/{documenId}": {
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "findByDocumentId",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "File model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "documenId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FileController.findByDocumentId"
      }
    },
    "/files/byDocumentIdArray": {
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "findByDocumentAll",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "File model instance",
            "content": {
              "application/json": {
                "schema": []
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FileController.findByDocumentAll"
      }
    },
    "/files/count": {
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "count",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "File model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "File.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<File>"
                }
              }
            }
          }
        ],
        "operationId": "FileController.count"
      }
    },
    "/files/download/{filename}": {
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "downloadFile",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filename",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FileController.downloadFile"
      }
    },
    "/files/list-files-directory": {
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "listFiles",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "description": "A list of files"
          }
        },
        "operationId": "FileController.listFiles"
      }
    },
    "/files/upload/{documentId}": {
      "post": {
        "x-controller-name": "FileController",
        "x-operation-name": "fileUpload",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Files and fields"
          }
        },
        "parameters": [
          {
            "name": "documentId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "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": "FileController.fileUpload"
      }
    },
    "/files/zip": {
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "zip",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "FileController.zip"
      }
    },
    "/files/{id}/download": {
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "downloadFileById",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FileController.downloadFileById"
      }
    },
    "/files/{id}": {
      "put": {
        "x-controller-name": "FileController",
        "x-operation-name": "replaceById",
        "tags": [
          "FileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "File PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/File"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FileController.replaceById"
      },
      "patch": {
        "x-controller-name": "FileController",
        "x-operation-name": "updateById",
        "tags": [
          "FileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "File PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FilePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FileController.updateById"
      },
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "findById",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "File model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FileController.findById"
      },
      "delete": {
        "x-controller-name": "FileController",
        "x-operation-name": "deleteById",
        "tags": [
          "FileController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "File DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FileController.deleteById"
      }
    },
    "/files": {
      "post": {
        "x-controller-name": "FileController",
        "x-operation-name": "create",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "File model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewFile"
              }
            }
          }
        },
        "operationId": "FileController.create"
      },
      "patch": {
        "x-controller-name": "FileController",
        "x-operation-name": "updateAll",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "File PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "File.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<File>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FilePartial"
              }
            }
          }
        },
        "operationId": "FileController.updateAll"
      },
      "get": {
        "x-controller-name": "FileController",
        "x-operation-name": "find",
        "tags": [
          "FileController"
        ],
        "responses": {
          "200": {
            "description": "Array of File model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FileWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/File.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FileController.find"
      }
    },
    "/gen-token-link": {
      "post": {
        "x-controller-name": "MinioLinkController",
        "x-operation-name": "generateTokenLink",
        "tags": [
          "MinioLinkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MinioLinkController.generateTokenLink"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "MinioLinkController.generateTokenLink"
      }
    },
    "/minio-link-download": {
      "get": {
        "x-controller-name": "MinioLinkController",
        "x-operation-name": "downloadFromMinioLink",
        "tags": [
          "MinioLinkController"
        ],
        "responses": {
          "200": {
            "description": "Return value of MinioLinkController.downloadFromMinioLink"
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "MinioLinkController.downloadFromMinioLink"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "PingController",
        "x-operation-name": "ping",
        "tags": [
          "PingController"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "PingController.ping"
      }
    },
    "/reports/bufferDocxTopdf": {
      "post": {
        "x-controller-name": "ReportController",
        "x-operation-name": "bufferDocxTopdf",
        "tags": [
          "ReportController"
        ],
        "summary": "Convert upload file type docx to pdf",
        "description": "Convert docx to pdf from file model",
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "pdf/docx": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "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": "ReportController.bufferDocxTopdf"
      }
    },
    "/reports/create/{documentId}": {
      "post": {
        "x-controller-name": "ReportController",
        "x-operation-name": "createReport",
        "tags": [
          "ReportController"
        ],
        "description": "Create a report more details in: [libreoffice-conver](https://www.npmjs.com/package/libreoffice-convert) and [docx-templates](https://www.npmjs.com/package/docx-templates)",
        "summary": "Create a document from template and data provided, return a pdf file",
        "externalDocs": {
          "description": "libreoffice-conver",
          "url": "https://www.npmjs.com/package/libreoffice-convert"
        },
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "pdf/docx": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "documentId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "template",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Data to be used in the template",
                "type": "object",
                "example": {
                  "nombre": "Fulano",
                  "dni_cabecera": "12345678",
                  "embarcacion": "Embarcacion",
                  "matricula": "Matricula",
                  "fecha_matricula": "Fecha de matricula",
                  "puerto": "Puerto",
                  "instructor": "Instructor",
                  "numero": "Numero",
                  "interesado": "Interesado",
                  "estado": "borrador",
                  "name": "raqqq",
                  "observation": "bvcvbvc",
                  "tipo": "1",
                  "tipoCourse": "6310cd65886106b8682fc0c6",
                  "userId": "userId"
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ReportController.createReport"
      }
    },
    "/reports/create-informe-mensual/{documentId}": {
      "post": {
        "x-controller-name": "ReportController",
        "x-operation-name": "createInformeMensual",
        "tags": [
          "ReportController"
        ],
        "description": "Create informe mensual from template and data provided",
        "summary": "Create a monthly report document from InformeMensual data",
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "documentId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "template",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "InformeMensual data to be used in the template",
                "type": "object",
                "example": {
                  "mesYAnio": "ABRIL 2026",
                  "horasTotales": 2.94,
                  "horasConsumidas": 0,
                  "horasDisponibles": 2.94,
                  "nombreGrupo": "GRUPO BARCENILLA",
                  "websites": [
                    {
                      "name": "BARCENILLA",
                      "url": "martinezbarcenilla.es",
                      "hourSpend": 0,
                      "planHosting": "Plan enterprise hosting",
                      "ramUsada": 4377,
                      "ramTotal": 512,
                      "ramPorcentaje": 85.49,
                      "cpuUsoPorcentaje": 0.01,
                      "ssdCapacidad": 20,
                      "diaInforme": "22/04/2026",
                      "horasDisponibles": 0.98,
                      "horasTotales": 0.98,
                      "bolsaHoras": [
                        {
                          "fecha": "22/04/2026",
                          "tarea": "Actualización de plugins",
                          "horas": 1.5
                        }
                      ]
                    }
                  ]
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ReportController.createInformeMensual"
      }
    },
    "/reports/create-save-geturl/{documentId}": {
      "post": {
        "x-controller-name": "ReportController",
        "x-operation-name": "createReportWithSaveFileAndGetUrl",
        "tags": [
          "ReportController"
        ],
        "description": "Create a report more details in: [libreoffice-conver](https://www.npmjs.com/package/libreoffice-convert) and [docx-templates](https://www.npmjs.com/package/docx-templates)",
        "summary": "Create a document from template and data provided, return a pdf file",
        "externalDocs": {
          "description": "libreoffice-conver",
          "url": "https://www.npmjs.com/package/libreoffice-convert"
        },
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "pdf/docx": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "documentId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "template",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Data to be used in the template",
                "type": "object",
                "example": {
                  "nombre": "Fulano",
                  "nif": "12345678W",
                  "telf": "12345678",
                  "embarcacion": "Embarcacion",
                  "matricula": "Matricula",
                  "fecha_matricula": "Fecha de matricula",
                  "puerto": "Puerto",
                  "instructor": "Instructor",
                  "numero": "Numero",
                  "interesado": "Interesado",
                  "estado": "borrador",
                  "name": "raqqq",
                  "observation": "bvcvbvc",
                  "tipo": "1",
                  "tipoCourse": "6310cd65886106b8682fc0c6",
                  "userId": "userId"
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ReportController.createReportWithSaveFileAndGetUrl"
      }
    },
    "/reports/createFactura/{documentId}": {
      "post": {
        "x-controller-name": "ReportController",
        "x-operation-name": "createFactura",
        "tags": [
          "ReportController"
        ],
        "description": "Create a report more details in: [libreoffice-conver](https://www.npmjs.com/package/libreoffice-convert) and [docx-templates](https://www.npmjs.com/package/docx-templates)",
        "summary": "Create a document from template and data provided, return a pdf file",
        "externalDocs": {
          "description": "libreoffice-conver",
          "url": "https://www.npmjs.com/package/libreoffice-convert"
        },
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "pdf/docx": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "documentId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "template",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Data to be used in the template",
                "type": "object",
                "example": {
                  "nombre": "Fulano",
                  "nif": "12345678",
                  "telf": "Embarcacion",
                  "email": "Matricula",
                  "fecha": "Fecha de matricula",
                  "conceptoPago": "Puerto",
                  "precioUnidad": "Instructor",
                  "precioIva": "Numero",
                  "precioTotal": "Interesado",
                  "userId": "userId"
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ReportController.createFactura"
      }
    },
    "/reports/createSolNavegacion/{documentId}": {
      "post": {
        "x-controller-name": "ReportController",
        "x-operation-name": "createSolNavegacion",
        "tags": [
          "ReportController"
        ],
        "description": "Create a report more details in: [libreoffice-conver](https://www.npmjs.com/package/libreoffice-convert) and [docx-templates](https://www.npmjs.com/package/docx-templates)",
        "summary": "Create a document from template and data provided, return a pdf file",
        "externalDocs": {
          "description": "libreoffice-conver",
          "url": "https://www.npmjs.com/package/libreoffice-convert"
        },
        "responses": {
          "200": {
            "description": "Document model instance",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "documentId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "template",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "description": "Data to be used in the template",
                "type": "object",
                "example": {
                  "teacher": {
                    "instructorP": "instructorP",
                    "DNIinstructorP": "DNIinstructorP",
                    "titulacionInsP": "titulacionInsP",
                    "telefonoP": "telefonoP",
                    "instructorS": "instructorS",
                    "DNIinstructorS": "DNIinstructorS",
                    "titulacionInsS": "titulacionInsS",
                    "telefonoS": "telefonoS"
                  },
                  "titulacion": "titulacion",
                  "createdAt": "createdAt",
                  "AF": "IdAF",
                  "tipo": [
                    {
                      "code": "01",
                      "description": "La Licencia de Navegación",
                      "id": "62700732ad1b1324e94ed058",
                      "imageUrl": "https://escuelanauticaalisios.com/wp-content/uploads/2021/03/motora_3_red.jpg",
                      "isLicense": true,
                      "name": "Licencia de navegación (Titulín)"
                    }
                  ],
                  "boat": {
                    "name": "barco.nombre",
                    "plate": "barco.barcoMatricula",
                    "pantalan": "barco.barcoPantalan",
                    "amarre": "barco.barcoAmarre",
                    "potencia": "barco.barcoPotencia",
                    "eslora": "barco.barcoEslora",
                    "nauticalInstalation": "barco.barcoInstalacioinNautica"
                  },
                  "dataPractice": {
                    "fecha": "practica.practicaFecha",
                    "practicaTipo": "practica.practicaTipo",
                    "puertoSalida": "practica.practicaPuertoSalida",
                    "horaSalida": "practica.practicaHoraSalida",
                    "puertoEntrada": "practica.practicaPuertoLLegada",
                    "horaEntrada": "practica.practicaHoraLLegada",
                    "horasPrevistas": "practica.practicaHoras"
                  },
                  "seat": [
                    {
                      "dni": "alumnosDni",
                      "nombre": "alumnosNombre"
                    }
                  ],
                  "practiceSessionId": "practiceSessionId"
                }
              }
            }
          },
          "x-parameter-index": 2
        },
        "operationId": "ReportController.createSolNavegacion"
      }
    },
    "/reports/fileDocxTopdf": {
      "post": {
        "x-controller-name": "ReportController",
        "x-operation-name": "fileDocxTopdf",
        "tags": [
          "ReportController"
        ],
        "summary": "Convert docx to pdf from file model",
        "description": "Convert docx to pdf from file model",
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "pdf/docx": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/file docx to convert"
              },
              "example": {
                "fileName": "LICENCIA NUEVO FORMATO-DIEGO_ceeb11b2454e50891819e89b0ae303ab.docx",
                "mimeType": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                "size": 53447,
                "urlOrigin": "d:/workspace/trustme/escuelanautica/api-document/.sandbox/LICENCIA NUEVO FORMATO-DIEGO_ceeb11b2454e50891819e89b0ae303ab.docx",
                "md5": "ceeb11b2454e50891819e89b0ae303ab",
                "documentId": "627693781eaf5184a8303ece"
              }
            }
          }
        },
        "operationId": "ReportController.fileDocxTopdf"
      }
    },
    "/user-managaments/count": {
      "get": {
        "x-controller-name": "UserManagamentController",
        "x-operation-name": "count",
        "tags": [
          "UserManagamentController"
        ],
        "responses": {
          "200": {
            "description": "UserManagament model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserManagament.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserManagament>"
                }
              }
            }
          }
        ],
        "operationId": "UserManagamentController.count"
      }
    },
    "/user-managaments/{id}/document": {
      "post": {
        "x-controller-name": "UserManagamentDocumentController",
        "x-operation-name": "create",
        "tags": [
          "UserManagamentDocumentController"
        ],
        "responses": {
          "200": {
            "description": "UserManagament model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewDocumentInUserManagament"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserManagamentDocumentController.create"
      },
      "patch": {
        "x-controller-name": "UserManagamentDocumentController",
        "x-operation-name": "patch",
        "tags": [
          "UserManagamentDocumentController"
        ],
        "responses": {
          "200": {
            "description": "UserManagament.Document 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": "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": "UserManagamentDocumentController.patch"
      },
      "get": {
        "x-controller-name": "UserManagamentDocumentController",
        "x-operation-name": "get",
        "tags": [
          "UserManagamentDocumentController"
        ],
        "responses": {
          "200": {
            "description": "UserManagament has one Document",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "UserManagamentDocumentController.get"
      },
      "delete": {
        "x-controller-name": "UserManagamentDocumentController",
        "x-operation-name": "delete",
        "tags": [
          "UserManagamentDocumentController"
        ],
        "responses": {
          "200": {
            "description": "UserManagament.Document 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": "Document.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Document>"
                }
              }
            }
          }
        ],
        "operationId": "UserManagamentDocumentController.delete"
      }
    },
    "/user-managaments/{id}": {
      "put": {
        "x-controller-name": "UserManagamentController",
        "x-operation-name": "replaceById",
        "tags": [
          "UserManagamentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserManagament PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserManagament"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserManagamentController.replaceById"
      },
      "patch": {
        "x-controller-name": "UserManagamentController",
        "x-operation-name": "updateById",
        "tags": [
          "UserManagamentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserManagament PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserManagamentPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserManagamentController.updateById"
      },
      "get": {
        "x-controller-name": "UserManagamentController",
        "x-operation-name": "findById",
        "tags": [
          "UserManagamentController"
        ],
        "responses": {
          "200": {
            "description": "UserManagament model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserManagamentWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserManagament.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserManagamentController.findById"
      },
      "delete": {
        "x-controller-name": "UserManagamentController",
        "x-operation-name": "deleteById",
        "tags": [
          "UserManagamentController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "UserManagament DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "UserManagamentController.deleteById"
      }
    },
    "/user-managaments": {
      "post": {
        "x-controller-name": "UserManagamentController",
        "x-operation-name": "create",
        "tags": [
          "UserManagamentController"
        ],
        "responses": {
          "200": {
            "description": "UserManagament model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserManagament"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUserManagament"
              }
            }
          }
        },
        "operationId": "UserManagamentController.create"
      },
      "patch": {
        "x-controller-name": "UserManagamentController",
        "x-operation-name": "updateAll",
        "tags": [
          "UserManagamentController"
        ],
        "responses": {
          "200": {
            "description": "UserManagament PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "UserManagament.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<UserManagament>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserManagamentPartial"
              }
            }
          }
        },
        "operationId": "UserManagamentController.updateAll"
      },
      "get": {
        "x-controller-name": "UserManagamentController",
        "x-operation-name": "find",
        "tags": [
          "UserManagamentController"
        ],
        "responses": {
          "200": {
            "description": "Array of UserManagament model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserManagamentWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserManagament.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "UserManagamentController.find"
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "authorization"
      }
    },
    "schemas": {
      "UserManagament": {
        "title": "UserManagament",
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time"
          },
          "deletedBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updateAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewUserManagament": {
        "title": "NewUserManagament",
        "type": "object",
        "description": "(tsType: Omit<UserManagament, 'id'>, schemaOptions: { title: 'NewUserManagament', exclude: [ 'id' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time"
          },
          "deletedBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updateAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<UserManagament, 'id'>"
      },
      "FileWithRelations": {
        "title": "FileWithRelations",
        "type": "object",
        "description": "(tsType: FileWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "fileName": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "urlOrigin": {
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "attachmentProcessedInfo": {
            "type": "object"
          },
          "documentId": {
            "type": "string"
          }
        },
        "required": [
          "fileName",
          "documentId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "FileWithRelations"
      },
      "DocumentWithRelations": {
        "title": "DocumentWithRelations",
        "type": "object",
        "description": "(tsType: DocumentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "observation": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          },
          "attachmentId": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "DocumentWithRelations"
      },
      "UserManagamentWithRelations": {
        "title": "UserManagamentWithRelations",
        "type": "object",
        "description": "(tsType: UserManagamentWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time"
          },
          "deletedBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updateAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "document": {
            "$ref": "#/components/schemas/DocumentWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "UserManagamentWithRelations"
      },
      "UserManagamentPartial": {
        "title": "UserManagamentPartial",
        "type": "object",
        "description": "(tsType: Partial<UserManagament>, schemaOptions: { partial: true })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time"
          },
          "deletedBy": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updateAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<UserManagament>"
      },
      "Document": {
        "title": "Document",
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "observation": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewDocumentInUserManagament": {
        "title": "NewDocumentInUserManagament",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Document, 'id'>, 'userManagamentId'>, schemaOptions: { title: 'NewDocumentInUserManagament', exclude: [ 'id' ], optional: [ 'userManagamentId' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "observation": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Document, 'id'>, 'userManagamentId'>"
      },
      "DocumentPartial": {
        "title": "DocumentPartial",
        "type": "object",
        "description": "(tsType: Partial<Document>, schemaOptions: { partial: true })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "observation": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Document>"
      },
      "file docx to convert": {
        "title": "file docx to convert",
        "type": "object",
        "description": "(tsType: Omit<File, 'id'>, schemaOptions: { title: 'file docx to convert', exclude: [ 'id' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "fileName": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "urlOrigin": {
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "attachmentProcessedInfo": {
            "type": "object"
          },
          "documentId": {
            "type": "string"
          }
        },
        "required": [
          "fileName",
          "documentId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<File, 'id'>"
      },
      "File": {
        "title": "File",
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "fileName": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "urlOrigin": {
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "attachmentProcessedInfo": {
            "type": "object"
          },
          "documentId": {
            "type": "string"
          }
        },
        "required": [
          "fileName",
          "documentId"
        ],
        "additionalProperties": false
      },
      "NewFile": {
        "title": "NewFile",
        "type": "object",
        "description": "(tsType: Omit<File, 'id'>, schemaOptions: { title: 'NewFile', exclude: [ 'id' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "fileName": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "urlOrigin": {
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "attachmentProcessedInfo": {
            "type": "object"
          },
          "documentId": {
            "type": "string"
          }
        },
        "required": [
          "fileName",
          "documentId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<File, 'id'>"
      },
      "FilePartial": {
        "title": "FilePartial",
        "type": "object",
        "description": "(tsType: Partial<File>, schemaOptions: { partial: true })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "fileName": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "urlOrigin": {
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "attachmentProcessedInfo": {
            "type": "object"
          },
          "documentId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<File>"
      },
      "NewDocument": {
        "title": "NewDocument",
        "type": "object",
        "description": "(tsType: Omit<Document, 'id'>, schemaOptions: { title: 'NewDocument', exclude: [ 'id' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "observation": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Document, 'id'>"
      },
      "DocumentAF": {
        "title": "DocumentAF",
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DocumentAFWithRelations": {
        "title": "DocumentAFWithRelations",
        "type": "object",
        "description": "(tsType: DocumentAFWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "attachmentId": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FileWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "DocumentAFWithRelations"
      },
      "DocumentType": {
        "title": "DocumentType",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "bucket": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewDocumentType": {
        "title": "NewDocumentType",
        "type": "object",
        "description": "(tsType: Omit<DocumentType, 'id'>, schemaOptions: { title: 'NewDocumentType', exclude: [ 'id' ] })",
        "properties": {
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "bucket": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<DocumentType, 'id'>"
      },
      "DocumentTypeWithRelations": {
        "title": "DocumentTypeWithRelations",
        "type": "object",
        "description": "(tsType: DocumentTypeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "bucket": {
            "type": "string"
          },
          "document": {
            "$ref": "#/components/schemas/DocumentWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "DocumentTypeWithRelations"
      },
      "DocumentTypePartial": {
        "title": "DocumentTypePartial",
        "type": "object",
        "description": "(tsType: Partial<DocumentType>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "bucket": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<DocumentType>"
      },
      "NewDocumentInDocumentType": {
        "title": "NewDocumentInDocumentType",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Document, 'id'>, 'documentTypeId'>, schemaOptions: { title: 'NewDocumentInDocumentType', exclude: [ 'id' ], optional: [ 'documentTypeId' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "observation": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Document, 'id'>, 'documentTypeId'>"
      },
      "DocumentStatus": {
        "title": "DocumentStatus",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "NewDocumentStatus": {
        "title": "NewDocumentStatus",
        "type": "object",
        "description": "(tsType: Omit<DocumentStatus, 'id'>, schemaOptions: { title: 'NewDocumentStatus', exclude: [ 'id' ] })",
        "properties": {
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<DocumentStatus, 'id'>"
      },
      "DocumentStatusWithRelations": {
        "title": "DocumentStatusWithRelations",
        "type": "object",
        "description": "(tsType: DocumentStatusWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "document": {
            "$ref": "#/components/schemas/DocumentWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "DocumentStatusWithRelations"
      },
      "DocumentStatusPartial": {
        "title": "DocumentStatusPartial",
        "type": "object",
        "description": "(tsType: Partial<DocumentStatus>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<DocumentStatus>"
      },
      "NewDocumentInDocumentStatus": {
        "title": "NewDocumentInDocumentStatus",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Document, 'id'>, 'documentStatusId'>, schemaOptions: { title: 'NewDocumentInDocumentStatus', exclude: [ 'id' ], optional: [ 'documentStatusId' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "name": {
            "type": "string"
          },
          "observation": {
            "type": "string"
          },
          "resolutionDate": {
            "type": "string",
            "format": "date-time"
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time"
          },
          "statusId": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "documentStatusId": {
            "type": "string"
          },
          "userManagementId": {
            "type": "string"
          },
          "fileIdDocument": {
            "type": "string"
          },
          "documentTypeId": {
            "type": "string"
          },
          "userManagamentId": {
            "type": "string"
          },
          "fileName": {
            "type": "string"
          },
          "fileId": {
            "type": "string"
          },
          "invoiceNumber": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Document, 'id'>, 'documentStatusId'>"
      },
      "NewFileInDocument": {
        "title": "NewFileInDocument",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<File, 'id'>, 'documentId'>, schemaOptions: { title: 'NewFileInDocument', exclude: [ 'id' ], optional: [ 'documentId' ] })",
        "properties": {
          "deleted": {
            "type": "boolean"
          },
          "deletedOn": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "deletedBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "fileName": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "size": {
            "type": "number"
          },
          "urlOrigin": {
            "type": "string"
          },
          "md5": {
            "type": "string"
          },
          "attachmentProcessedInfo": {
            "type": "object"
          },
          "documentId": {
            "type": "string"
          }
        },
        "required": [
          "fileName"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<File, 'id'>, 'documentId'>"
      },
      "NewDocumentTypeInDocument": {
        "title": "NewDocumentTypeInDocument",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<DocumentType, 'id'>, 'id'>, schemaOptions: { title: 'NewDocumentTypeInDocument', exclude: [ 'id' ], optional: [ 'id' ] })",
        "properties": {
          "description": {
            "type": "string"
          },
          "shortDescription": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "clientEntityCode": {
            "type": "string"
          },
          "deleted": {
            "type": "boolean"
          },
          "bucket": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<DocumentType, 'id'>, 'id'>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "DocumentStatus.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": "DocumentStatus.ScopeFilter"
      },
      "DocumentStatus.IncludeFilter.Items": {
        "title": "DocumentStatus.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "document"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/DocumentStatus.ScopeFilter"
          }
        }
      },
      "DocumentStatus.Filter": {
        "type": "object",
        "title": "DocumentStatus.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"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "shortDescription": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "clientEntityCode": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "description",
                    "shortDescription",
                    "code",
                    "clientEntityCode",
                    "deleted"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DocumentStatus.Fields"
          },
          "include": {
            "title": "DocumentStatus.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DocumentStatus.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DocumentStatus>"
      },
      "DocumentStatus.Filter1": {
        "type": "object",
        "title": "DocumentStatus.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": "DocumentStatus.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "shortDescription": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "clientEntityCode": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "description",
                    "shortDescription",
                    "code",
                    "clientEntityCode",
                    "deleted"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DocumentStatus.Fields"
          },
          "include": {
            "title": "DocumentStatus.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DocumentStatus.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DocumentStatus>"
      },
      "DocumentType.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": "DocumentType.ScopeFilter"
      },
      "DocumentType.IncludeFilter.Items": {
        "title": "DocumentType.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "document"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/DocumentType.ScopeFilter"
          }
        }
      },
      "DocumentType.Filter": {
        "type": "object",
        "title": "DocumentType.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "shortDescription": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "clientEntityCode": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "bucket": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "description",
                    "shortDescription",
                    "code",
                    "clientEntityCode",
                    "deleted",
                    "bucket"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DocumentType.Fields"
          },
          "include": {
            "title": "DocumentType.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DocumentType.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DocumentType>"
      },
      "DocumentType.Filter1": {
        "type": "object",
        "title": "DocumentType.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "DocumentType.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "description": {
                    "type": "boolean"
                  },
                  "shortDescription": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "clientEntityCode": {
                    "type": "boolean"
                  },
                  "deleted": {
                    "type": "boolean"
                  },
                  "bucket": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "description",
                    "shortDescription",
                    "code",
                    "clientEntityCode",
                    "deleted",
                    "bucket"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DocumentType.Fields"
          },
          "include": {
            "title": "DocumentType.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DocumentType.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DocumentType>"
      },
      "Document.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": "Document.ScopeFilter"
      },
      "Document.IncludeFilter.Items": {
        "title": "Document.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "attachmentId"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Document.ScopeFilter"
          }
        }
      },
      "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": {
                  "deleted": {
                    "type": "boolean"
                  },
                  "deletedOn": {
                    "type": "boolean"
                  },
                  "deletedBy": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "observation": {
                    "type": "boolean"
                  },
                  "resolutionDate": {
                    "type": "boolean"
                  },
                  "notificationDate": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "active": {
                    "type": "boolean"
                  },
                  "documentStatusId": {
                    "type": "boolean"
                  },
                  "userManagementId": {
                    "type": "boolean"
                  },
                  "fileIdDocument": {
                    "type": "boolean"
                  },
                  "documentTypeId": {
                    "type": "boolean"
                  },
                  "userManagamentId": {
                    "type": "boolean"
                  },
                  "fileName": {
                    "type": "boolean"
                  },
                  "fileId": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "deleted",
                    "deletedOn",
                    "deletedBy",
                    "id",
                    "createdAt",
                    "updatedAt",
                    "deletedAt",
                    "name",
                    "observation",
                    "resolutionDate",
                    "notificationDate",
                    "statusId",
                    "active",
                    "documentStatusId",
                    "userManagementId",
                    "fileIdDocument",
                    "documentTypeId",
                    "userManagamentId",
                    "fileName",
                    "fileId",
                    "invoiceNumber"
                  ],
                  "example": "deleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Document.Fields"
          },
          "include": {
            "title": "Document.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Document.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Document>"
      },
      "Document.Filter1": {
        "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"
                }
              }
            ]
          },
          "where": {
            "title": "Document.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "deleted": {
                    "type": "boolean"
                  },
                  "deletedOn": {
                    "type": "boolean"
                  },
                  "deletedBy": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "observation": {
                    "type": "boolean"
                  },
                  "resolutionDate": {
                    "type": "boolean"
                  },
                  "notificationDate": {
                    "type": "boolean"
                  },
                  "statusId": {
                    "type": "boolean"
                  },
                  "active": {
                    "type": "boolean"
                  },
                  "documentStatusId": {
                    "type": "boolean"
                  },
                  "userManagementId": {
                    "type": "boolean"
                  },
                  "fileIdDocument": {
                    "type": "boolean"
                  },
                  "documentTypeId": {
                    "type": "boolean"
                  },
                  "userManagamentId": {
                    "type": "boolean"
                  },
                  "fileName": {
                    "type": "boolean"
                  },
                  "fileId": {
                    "type": "boolean"
                  },
                  "invoiceNumber": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "deleted",
                    "deletedOn",
                    "deletedBy",
                    "id",
                    "createdAt",
                    "updatedAt",
                    "deletedAt",
                    "name",
                    "observation",
                    "resolutionDate",
                    "notificationDate",
                    "statusId",
                    "active",
                    "documentStatusId",
                    "userManagementId",
                    "fileIdDocument",
                    "documentTypeId",
                    "userManagamentId",
                    "fileName",
                    "fileId",
                    "invoiceNumber"
                  ],
                  "example": "deleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "Document.Fields"
          },
          "include": {
            "title": "Document.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Document.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Document>"
      },
      "File.Filter": {
        "type": "object",
        "title": "File.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": {
                  "deleted": {
                    "type": "boolean"
                  },
                  "deletedOn": {
                    "type": "boolean"
                  },
                  "deletedBy": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "fileName": {
                    "type": "boolean"
                  },
                  "mimeType": {
                    "type": "boolean"
                  },
                  "size": {
                    "type": "boolean"
                  },
                  "urlOrigin": {
                    "type": "boolean"
                  },
                  "md5": {
                    "type": "boolean"
                  },
                  "attachmentProcessedInfo": {
                    "type": "boolean"
                  },
                  "documentId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "deleted",
                    "deletedOn",
                    "deletedBy",
                    "id",
                    "createdAt",
                    "updatedAt",
                    "fileName",
                    "mimeType",
                    "size",
                    "urlOrigin",
                    "md5",
                    "attachmentProcessedInfo",
                    "documentId"
                  ],
                  "example": "deleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "File.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<File>"
      },
      "File.Filter1": {
        "type": "object",
        "title": "File.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": "File.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "deleted": {
                    "type": "boolean"
                  },
                  "deletedOn": {
                    "type": "boolean"
                  },
                  "deletedBy": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updatedAt": {
                    "type": "boolean"
                  },
                  "fileName": {
                    "type": "boolean"
                  },
                  "mimeType": {
                    "type": "boolean"
                  },
                  "size": {
                    "type": "boolean"
                  },
                  "urlOrigin": {
                    "type": "boolean"
                  },
                  "md5": {
                    "type": "boolean"
                  },
                  "attachmentProcessedInfo": {
                    "type": "boolean"
                  },
                  "documentId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "deleted",
                    "deletedOn",
                    "deletedBy",
                    "id",
                    "createdAt",
                    "updatedAt",
                    "fileName",
                    "mimeType",
                    "size",
                    "urlOrigin",
                    "md5",
                    "attachmentProcessedInfo",
                    "documentId"
                  ],
                  "example": "deleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "File.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<File>"
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "UserManagament.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": "UserManagament.ScopeFilter"
      },
      "UserManagament.IncludeFilter.Items": {
        "title": "UserManagament.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "document"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/UserManagament.ScopeFilter"
          }
        }
      },
      "UserManagament.Filter": {
        "type": "object",
        "title": "UserManagament.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": {
                  "deleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "deletedOn": {
                    "type": "boolean"
                  },
                  "deletedBy": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updateAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "password": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "deleted",
                    "id",
                    "deletedOn",
                    "deletedBy",
                    "createdAt",
                    "updateAt",
                    "deletedAt",
                    "username",
                    "email",
                    "password"
                  ],
                  "example": "deleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "UserManagament.Fields"
          },
          "include": {
            "title": "UserManagament.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserManagament.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserManagament>"
      },
      "UserManagament.Filter1": {
        "type": "object",
        "title": "UserManagament.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": "UserManagament.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "deleted": {
                    "type": "boolean"
                  },
                  "id": {
                    "type": "boolean"
                  },
                  "deletedOn": {
                    "type": "boolean"
                  },
                  "deletedBy": {
                    "type": "boolean"
                  },
                  "createdAt": {
                    "type": "boolean"
                  },
                  "updateAt": {
                    "type": "boolean"
                  },
                  "deletedAt": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "password": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "deleted",
                    "id",
                    "deletedOn",
                    "deletedBy",
                    "createdAt",
                    "updateAt",
                    "deletedAt",
                    "username",
                    "email",
                    "password"
                  ],
                  "example": "deleted"
                },
                "uniqueItems": true
              }
            ],
            "title": "UserManagament.Fields"
          },
          "include": {
            "title": "UserManagament.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/UserManagament.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<UserManagament>"
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "servers": [
    {
      "url": "https://infra.suma.dev"
    }
  ]
}