{
  "openapi": "3.0.0",
  "info": {
    "title": "operaciones-cl",
    "version": "1.1.18",
    "description": "Api para la gestion de checklist comerciales via Next Form Builder",
    "contact": {
      "name": "AlphaGT",
      "email": "gdiaz@connextsa.com"
    }
  },
  "paths": {
    "/apk/app": {
      "get": {
        "x-controller-name": "ApkVersionController",
        "x-operation-name": "current",
        "tags": [
          "ApkVersionController"
        ],
        "responses": {
          "200": {
            "description": "Informacion vigente del APK"
          }
        },
        "operationId": "ApkVersionController.current"
      }
    },
    "/apk/download": {
      "get": {
        "x-controller-name": "ApkVersionController",
        "x-operation-name": "download",
        "tags": [
          "ApkVersionController"
        ],
        "responses": {
          "200": {
            "description": "Descarga del APK vigente"
          }
        },
        "operationId": "ApkVersionController.download"
      }
    },
    "/apk/upload": {
      "post": {
        "x-controller-name": "ApkVersionController",
        "x-operation-name": "upload",
        "tags": [
          "ApkVersionController"
        ],
        "responses": {
          "200": {
            "description": "APK publicado"
          }
        },
        "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": "ApkVersionController.upload"
      }
    },
    "/app-sync/dominios": {
      "get": {
        "x-controller-name": "DominioController",
        "x-operation-name": "appSync",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Dominios con campos visibles y entidades para sync"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DominioController.appSync"
      }
    },
    "/boveda-documentos/{id}/descarga": {
      "get": {
        "x-controller-name": "BovedaDocumentoController",
        "x-operation-name": "download",
        "tags": [
          "BovedaDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BovedaDocumentoController.download"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BovedaDocumentoController.download"
      }
    },
    "/boveda-documentos/{id}/enlace": {
      "get": {
        "x-controller-name": "BovedaDocumentoController",
        "x-operation-name": "link",
        "tags": [
          "BovedaDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BovedaDocumentoController.link"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "BovedaDocumentoController.link"
      }
    },
    "/boveda-documentos/{id}": {
      "delete": {
        "x-controller-name": "BovedaDocumentoController",
        "x-operation-name": "deleteById",
        "tags": [
          "BovedaDocumentoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Documento archivado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "confirmarBorrado"
                ],
                "properties": {
                  "confirmarBorrado": {
                    "type": "boolean"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "BovedaDocumentoController.deleteById"
      }
    },
    "/boveda-documentos": {
      "post": {
        "x-controller-name": "BovedaDocumentoController",
        "x-operation-name": "upload",
        "tags": [
          "BovedaDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BovedaDocumentoController.upload"
          }
        },
        "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": "BovedaDocumentoController.upload"
      },
      "get": {
        "x-controller-name": "BovedaDocumentoController",
        "x-operation-name": "find",
        "tags": [
          "BovedaDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of BovedaDocumentoController.find"
          }
        },
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "BovedaDocumentoController.find"
      }
    },
    "/build-version": {
      "get": {
        "x-controller-name": "VersionController",
        "x-operation-name": "getBuildVersion",
        "tags": [
          "VersionController"
        ],
        "responses": {
          "200": {
            "description": "Version combinada para mostrar en el portal",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "portal",
                    "api",
                    "label"
                  ],
                  "properties": {
                    "portal": {
                      "type": "object"
                    },
                    "api": {
                      "type": "object"
                    },
                    "label": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "VersionController.getBuildVersion"
      }
    },
    "/catalogos/portal": {
      "get": {
        "x-controller-name": "Catalogos",
        "x-operation-name": "getCatalogosPortal",
        "tags": [
          "Catalogos"
        ],
        "responses": {
          "200": {
            "description": "Return value of Catalogos.getCatalogosPortal"
          }
        },
        "parameters": [
          {
            "name": "claves",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "Catalogos.getCatalogosPortal"
      }
    },
    "/catalogos/{id}": {
      "patch": {
        "x-controller-name": "Catalogos",
        "x-operation-name": "updateById",
        "tags": [
          "Catalogos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Catalogo PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CatalogoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Catalogos.updateById"
      },
      "delete": {
        "x-controller-name": "Catalogos",
        "x-operation-name": "deleteDetalle",
        "tags": [
          "Catalogos"
        ],
        "responses": {
          "200": {
            "description": "Catálogo item deleted logically",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Catalogo"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "Catalogos.deleteDetalle"
      }
    },
    "/catalogos": {
      "post": {
        "x-controller-name": "Catalogos",
        "x-operation-name": "create",
        "tags": [
          "Catalogos"
        ],
        "responses": {
          "200": {
            "description": "Catalogo model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Catalogo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCatalogo"
              }
            }
          }
        },
        "operationId": "Catalogos.create"
      },
      "get": {
        "x-controller-name": "Catalogos",
        "x-operation-name": "find",
        "tags": [
          "Catalogos"
        ],
        "responses": {
          "200": {
            "description": "Array of Catalogo model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CatalogoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Catalogo.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Catalogos.find"
      }
    },
    "/catalogos-by-company": {
      "get": {
        "x-controller-name": "Catalogos",
        "x-operation-name": "findByCompany",
        "tags": [
          "Catalogos"
        ],
        "responses": {
          "200": {
            "description": "Array of Catalogo model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CatalogoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Catalogo.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Catalogos.findByCompany"
      }
    },
    "/companies": {
      "post": {
        "x-controller-name": "Companies",
        "x-operation-name": "createLegacy",
        "tags": [
          "Companies"
        ],
        "responses": {
          "200": {
            "description": "Organización model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organizacion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewOrganizacion"
              }
            }
          }
        },
        "operationId": "Companies.createLegacy"
      },
      "get": {
        "x-controller-name": "Companies",
        "x-operation-name": "findLegacy",
        "tags": [
          "Companies"
        ],
        "responses": {
          "200": {
            "description": "Array of Organización model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrganizacionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organizacion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Companies.findLegacy"
      }
    },
    "/descargas/formularios/{token}": {
      "get": {
        "x-controller-name": "FormularioDownloadController",
        "x-operation-name": "download",
        "tags": [
          "FormularioDownloadController"
        ],
        "responses": {
          "200": {
            "description": "Documento autorizado por enlace temporal",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FormularioDownloadController.download"
      }
    },
    "/dominio-campo-valores/{id}": {
      "put": {
        "x-controller-name": "DominioCampoValorController",
        "x-operation-name": "replaceById",
        "tags": [
          "DominioCampoValorController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DominioCampoValor reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DominioCampoValor"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DominioCampoValorController.replaceById"
      },
      "patch": {
        "x-controller-name": "DominioCampoValorController",
        "x-operation-name": "updateById",
        "tags": [
          "DominioCampoValorController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DominioCampoValor actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DominioCampoValorPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DominioCampoValorController.updateById"
      },
      "get": {
        "x-controller-name": "DominioCampoValorController",
        "x-operation-name": "findById",
        "tags": [
          "DominioCampoValorController"
        ],
        "responses": {
          "200": {
            "description": "DominioCampoValor por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioCampoValorWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioCampoValor.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DominioCampoValorController.findById"
      },
      "delete": {
        "x-controller-name": "DominioCampoValorController",
        "x-operation-name": "deleteById",
        "tags": [
          "DominioCampoValorController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DominioCampoValor eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DominioCampoValorController.deleteById"
      }
    },
    "/dominio-campo-valores": {
      "post": {
        "x-controller-name": "DominioCampoValorController",
        "x-operation-name": "create",
        "tags": [
          "DominioCampoValorController"
        ],
        "responses": {
          "200": {
            "description": "DominioCampoValor creado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioCampoValor"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevoDominioCampoValor"
              }
            }
          }
        },
        "operationId": "DominioCampoValorController.create"
      },
      "get": {
        "x-controller-name": "DominioCampoValorController",
        "x-operation-name": "find",
        "tags": [
          "DominioCampoValorController"
        ],
        "responses": {
          "200": {
            "description": "Lista de DominioCampoValores",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DominioCampoValorWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioCampoValor.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "DominioCampoValorController.find"
      }
    },
    "/dominio-campos/{id}/valores": {
      "get": {
        "x-controller-name": "DominioCampoController",
        "x-operation-name": "findValores",
        "tags": [
          "DominioCampoController"
        ],
        "responses": {
          "200": {
            "description": "Valores del campo tipo list",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DominioCampoValor"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DominioCampoController.findValores"
      }
    },
    "/dominio-campos/{id}": {
      "put": {
        "x-controller-name": "DominioCampoController",
        "x-operation-name": "replaceById",
        "tags": [
          "DominioCampoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DominioCampo reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DominioCampo"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DominioCampoController.replaceById"
      },
      "patch": {
        "x-controller-name": "DominioCampoController",
        "x-operation-name": "updateById",
        "tags": [
          "DominioCampoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DominioCampo actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DominioCampoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DominioCampoController.updateById"
      },
      "get": {
        "x-controller-name": "DominioCampoController",
        "x-operation-name": "findById",
        "tags": [
          "DominioCampoController"
        ],
        "responses": {
          "200": {
            "description": "DominioCampo por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioCampoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioCampo.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DominioCampoController.findById"
      },
      "delete": {
        "x-controller-name": "DominioCampoController",
        "x-operation-name": "deleteById",
        "tags": [
          "DominioCampoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "DominioCampo eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DominioCampoController.deleteById"
      }
    },
    "/dominio-campos": {
      "post": {
        "x-controller-name": "DominioCampoController",
        "x-operation-name": "create",
        "tags": [
          "DominioCampoController"
        ],
        "responses": {
          "200": {
            "description": "DominioCampo creado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioCampo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevoDominioCampo"
              }
            }
          }
        },
        "operationId": "DominioCampoController.create"
      },
      "get": {
        "x-controller-name": "DominioCampoController",
        "x-operation-name": "find",
        "tags": [
          "DominioCampoController"
        ],
        "responses": {
          "200": {
            "description": "Lista de DominioCampos",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DominioCampoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioCampo.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "DominioCampoController.find"
      }
    },
    "/dominios/{id}/campos": {
      "get": {
        "x-controller-name": "DominioController",
        "x-operation-name": "findCampos",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "200": {
            "description": "Campos del Dominio",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DominioCampo"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DominioController.findCampos"
      }
    },
    "/dominios/{id}/entidades": {
      "get": {
        "x-controller-name": "DominioController",
        "x-operation-name": "findEntidades",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "200": {
            "description": "Entidades del Dominio",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Entidad"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DominioController.findEntidades"
      }
    },
    "/dominios/{id}": {
      "put": {
        "x-controller-name": "DominioController",
        "x-operation-name": "replaceById",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Dominio reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Dominio"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DominioController.replaceById"
      },
      "patch": {
        "x-controller-name": "DominioController",
        "x-operation-name": "updateById",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Dominio actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nombre": {
                    "type": "string"
                  },
                  "descripcion": {
                    "type": "string"
                  },
                  "icono": {
                    "type": "string"
                  },
                  "estado": {
                    "type": "string"
                  },
                  "status": {
                    "type": "number"
                  },
                  "company": {
                    "type": "number"
                  },
                  "sociedadIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "DominioController.updateById"
      },
      "get": {
        "x-controller-name": "DominioController",
        "x-operation-name": "findById",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "200": {
            "description": "Dominio por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DominioWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Dominio.Filter"
                }
              }
            }
          }
        ],
        "operationId": "DominioController.findById"
      },
      "delete": {
        "x-controller-name": "DominioController",
        "x-operation-name": "deleteById",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Dominio eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "DominioController.deleteById"
      }
    },
    "/dominios": {
      "post": {
        "x-controller-name": "DominioController",
        "x-operation-name": "create",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "200": {
            "description": "Dominio creado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Dominio"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nombre": {
                    "type": "string"
                  },
                  "descripcion": {
                    "type": "string"
                  },
                  "icono": {
                    "type": "string"
                  },
                  "estado": {
                    "type": "string"
                  },
                  "status": {
                    "type": "number"
                  },
                  "company": {
                    "type": "number"
                  },
                  "sociedadIds": {
                    "type": "array",
                    "items": {
                      "type": "number"
                    }
                  }
                },
                "required": [
                  "nombre"
                ]
              }
            }
          }
        },
        "operationId": "DominioController.create"
      },
      "get": {
        "x-controller-name": "DominioController",
        "x-operation-name": "find",
        "tags": [
          "DominioController"
        ],
        "responses": {
          "200": {
            "description": "Lista de Dominios con conteos de campos y locales",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/DominioWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Dominio.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "DominioController.find"
      }
    },
    "/entidad-agentes/{id}": {
      "put": {
        "x-controller-name": "EntidadAgenteController",
        "x-operation-name": "replaceById",
        "tags": [
          "EntidadAgenteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EntidadAgente reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntidadAgente"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EntidadAgenteController.replaceById"
      },
      "patch": {
        "x-controller-name": "EntidadAgenteController",
        "x-operation-name": "updateById",
        "tags": [
          "EntidadAgenteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EntidadAgente actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntidadAgentePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EntidadAgenteController.updateById"
      },
      "get": {
        "x-controller-name": "EntidadAgenteController",
        "x-operation-name": "findById",
        "tags": [
          "EntidadAgenteController"
        ],
        "responses": {
          "200": {
            "description": "EntidadAgente por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadAgenteWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadAgente.Filter"
                }
              }
            }
          }
        ],
        "operationId": "EntidadAgenteController.findById"
      },
      "delete": {
        "x-controller-name": "EntidadAgenteController",
        "x-operation-name": "deleteById",
        "tags": [
          "EntidadAgenteController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EntidadAgente eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EntidadAgenteController.deleteById"
      }
    },
    "/entidad-agentes": {
      "post": {
        "x-controller-name": "EntidadAgenteController",
        "x-operation-name": "create",
        "tags": [
          "EntidadAgenteController"
        ],
        "responses": {
          "200": {
            "description": "EntidadAgente creado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadAgente"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevoEntidadAgente"
              }
            }
          }
        },
        "operationId": "EntidadAgenteController.create"
      },
      "get": {
        "x-controller-name": "EntidadAgenteController",
        "x-operation-name": "find",
        "tags": [
          "EntidadAgenteController"
        ],
        "responses": {
          "200": {
            "description": "Lista de EntidadAgentes",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EntidadAgenteWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadAgente.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "EntidadAgenteController.find"
      }
    },
    "/entidad-campo-valores/{id}": {
      "put": {
        "x-controller-name": "EntidadCampoValorController",
        "x-operation-name": "replaceById",
        "tags": [
          "EntidadCampoValorController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EntidadCampoValor reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntidadCampoValor"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EntidadCampoValorController.replaceById"
      },
      "patch": {
        "x-controller-name": "EntidadCampoValorController",
        "x-operation-name": "updateById",
        "tags": [
          "EntidadCampoValorController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EntidadCampoValor actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntidadCampoValorPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EntidadCampoValorController.updateById"
      },
      "get": {
        "x-controller-name": "EntidadCampoValorController",
        "x-operation-name": "findById",
        "tags": [
          "EntidadCampoValorController"
        ],
        "responses": {
          "200": {
            "description": "EntidadCampoValor por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadCampoValorWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadCampoValor.Filter"
                }
              }
            }
          }
        ],
        "operationId": "EntidadCampoValorController.findById"
      },
      "delete": {
        "x-controller-name": "EntidadCampoValorController",
        "x-operation-name": "deleteById",
        "tags": [
          "EntidadCampoValorController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EntidadCampoValor eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EntidadCampoValorController.deleteById"
      }
    },
    "/entidad-campo-valores": {
      "post": {
        "x-controller-name": "EntidadCampoValorController",
        "x-operation-name": "create",
        "tags": [
          "EntidadCampoValorController"
        ],
        "responses": {
          "200": {
            "description": "EntidadCampoValor creado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadCampoValor"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevoEntidadCampoValor"
              }
            }
          }
        },
        "operationId": "EntidadCampoValorController.create"
      },
      "get": {
        "x-controller-name": "EntidadCampoValorController",
        "x-operation-name": "find",
        "tags": [
          "EntidadCampoValorController"
        ],
        "responses": {
          "200": {
            "description": "Lista de EntidadCampoValores",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EntidadCampoValorWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadCampoValor.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "EntidadCampoValorController.find"
      }
    },
    "/entidades/{id}/agentes/{agenteId}": {
      "delete": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "desasignarAgente",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Agente desasignado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "agenteId",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EntidadController.desasignarAgente"
      }
    },
    "/entidades/{id}/agentes": {
      "post": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "asignarAgente",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "200": {
            "description": "Agente asignado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadAgente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "staffId"
                ],
                "properties": {
                  "staffId": {
                    "type": "number"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EntidadController.asignarAgente"
      },
      "get": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "findAgentes",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "200": {
            "description": "Agentes asignados a la Entidad",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EntidadAgente"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "EntidadController.findAgentes"
      }
    },
    "/entidades/{id}/campo-valores": {
      "get": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "findCampoValores",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "200": {
            "description": "Valores de campos de la Entidad",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EntidadCampoValor"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "EntidadController.findCampoValores"
      }
    },
    "/entidades/{entidadId}/respuestas-previas": {
      "get": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "respuestasPrevias",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "Return value of TransaccionController.respuestasPrevias"
          }
        },
        "parameters": [
          {
            "name": "entidadId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "etapaDestino",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "TransaccionController.respuestasPrevias"
      }
    },
    "/entidades/{id}/transacciones": {
      "get": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "findTransacciones",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "200": {
            "description": "Historial de transacciones de la Entidad",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Transaccion"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "EntidadController.findTransacciones"
      }
    },
    "/entidades/{id}": {
      "put": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "replaceById",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entidad reemplazada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Entidad"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EntidadController.replaceById"
      },
      "patch": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "updateById",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entidad actualizada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dominioId": {
                    "type": "number"
                  },
                  "sociedadId": {
                    "type": "number"
                  },
                  "codigo": {
                    "type": "string"
                  },
                  "nombre": {
                    "type": "string"
                  },
                  "estado": {
                    "type": "string"
                  },
                  "status": {
                    "type": "number"
                  },
                  "creadoDesdeApp": {
                    "type": "boolean"
                  },
                  "valores": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "dominioCampoId"
                      ],
                      "properties": {
                        "dominioCampoId": {
                          "type": "number"
                        },
                        "valor": {}
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EntidadController.updateById"
      },
      "get": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "findById",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "200": {
            "description": "Entidad por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EntidadWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entidad.Filter"
                }
              }
            }
          }
        ],
        "operationId": "EntidadController.findById"
      },
      "delete": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "deleteById",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entidad eliminada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "EntidadController.deleteById"
      }
    },
    "/entidades": {
      "post": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "create",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "200": {
            "description": "Entidad creada exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entidad"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "dominioId": {
                    "type": "number"
                  },
                  "sociedadId": {
                    "type": "number"
                  },
                  "codigo": {
                    "type": "string"
                  },
                  "nombre": {
                    "type": "string"
                  },
                  "estado": {
                    "type": "string"
                  },
                  "status": {
                    "type": "number"
                  },
                  "creadoDesdeApp": {
                    "type": "boolean"
                  },
                  "valores": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "dominioCampoId"
                      ],
                      "properties": {
                        "dominioCampoId": {
                          "type": "number"
                        },
                        "valor": {}
                      }
                    }
                  }
                },
                "required": [
                  "dominioId",
                  "sociedadId",
                  "valores"
                ]
              }
            }
          }
        },
        "operationId": "EntidadController.create"
      },
      "get": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "find",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "200": {
            "description": "Lista de Entidades",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EntidadWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Entidad.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "EntidadController.find"
      }
    },
    "/entidades-paginadas": {
      "get": {
        "x-controller-name": "EntidadController",
        "x-operation-name": "findPaginated",
        "tags": [
          "EntidadController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entidades paginadas con totales"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "dominioId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "sociedadId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "term",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "dominioCampoId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "valorLista",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "EntidadController.findPaginated"
      }
    },
    "/files/{filename}": {
      "get": {
        "x-controller-name": "FileDownloads",
        "x-operation-name": "downloadFile",
        "tags": [
          "FileDownloads"
        ],
        "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": "FileDownloads.downloadFile"
      }
    },
    "/files": {
      "post": {
        "x-controller-name": "FileUploads",
        "x-operation-name": "fileUpload",
        "tags": [
          "FileUploads"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "description": "Files and fields"
          }
        },
        "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": "FileUploads.fileUpload"
      },
      "get": {
        "x-controller-name": "FileDownloads",
        "x-operation-name": "listFiles",
        "tags": [
          "FileDownloads"
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            },
            "description": "A list of files"
          }
        },
        "operationId": "FileDownloads.listFiles"
      }
    },
    "/formulario-campos/reordenar": {
      "patch": {
        "x-controller-name": "FormularioCampoController",
        "x-operation-name": "reordenar",
        "tags": [
          "FormularioCampoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Campos reordenados exitosamente"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number"
                    },
                    "orden": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "FormularioCampoController.reordenar"
      }
    },
    "/formulario-campos/{id}": {
      "put": {
        "x-controller-name": "FormularioCampoController",
        "x-operation-name": "replaceById",
        "tags": [
          "FormularioCampoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioCampo reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioCampo"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioCampoController.replaceById"
      },
      "patch": {
        "x-controller-name": "FormularioCampoController",
        "x-operation-name": "updateById",
        "tags": [
          "FormularioCampoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioCampo actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "etiqueta": {
                    "type": "string"
                  },
                  "descripcion": {
                    "type": "string"
                  },
                  "tipo": {
                    "type": "string",
                    "enum": [
                      "text",
                      "number",
                      "date",
                      "list",
                      "prefilled",
                      "foto",
                      "documento",
                      "firma",
                      "label",
                      "disclaimer",
                      "tabla",
                      "boolean",
                      "si_no_na",
                      "si_no_na_opciones",
                      "si_no_na_observaciones",
                      "si_no_observaciones",
                      "aplica_no_aplica"
                    ]
                  },
                  "requerido": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "number"
                  },
                  "formularioSeccionId": {
                    "type": "number",
                    "nullable": true
                  },
                  "formularioSubseccionId": {
                    "type": "number",
                    "nullable": true
                  },
                  "formularioVersionId": {
                    "type": "number",
                    "nullable": true
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioCampoController.updateById"
      },
      "get": {
        "x-controller-name": "FormularioCampoController",
        "x-operation-name": "findById",
        "tags": [
          "FormularioCampoController"
        ],
        "responses": {
          "200": {
            "description": "FormularioCampo por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioCampoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioCampo.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FormularioCampoController.findById"
      },
      "delete": {
        "x-controller-name": "FormularioCampoController",
        "x-operation-name": "deleteById",
        "tags": [
          "FormularioCampoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioCampo eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioCampoController.deleteById"
      }
    },
    "/formulario-campos": {
      "post": {
        "x-controller-name": "FormularioCampoController",
        "x-operation-name": "create",
        "tags": [
          "FormularioCampoController"
        ],
        "responses": {
          "200": {
            "description": "FormularioCampo creado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioCampo"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "etiqueta",
                  "tipo"
                ],
                "properties": {
                  "etiqueta": {
                    "type": "string"
                  },
                  "descripcion": {
                    "type": "string"
                  },
                  "tipo": {
                    "type": "string",
                    "enum": [
                      "text",
                      "number",
                      "date",
                      "list",
                      "prefilled",
                      "foto",
                      "documento",
                      "firma",
                      "label",
                      "disclaimer",
                      "tabla",
                      "boolean",
                      "si_no_na",
                      "si_no_na_opciones",
                      "si_no_na_observaciones",
                      "si_no_observaciones",
                      "aplica_no_aplica"
                    ]
                  },
                  "requerido": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "number"
                  },
                  "formularioSeccionId": {
                    "type": "number",
                    "nullable": true
                  },
                  "formularioSubseccionId": {
                    "type": "number",
                    "nullable": true
                  },
                  "formularioVersionId": {
                    "type": "number",
                    "nullable": true
                  }
                }
              }
            }
          }
        },
        "operationId": "FormularioCampoController.create"
      },
      "get": {
        "x-controller-name": "FormularioCampoController",
        "x-operation-name": "find",
        "tags": [
          "FormularioCampoController"
        ],
        "responses": {
          "200": {
            "description": "Lista de FormularioCampos",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormularioCampoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioCampo.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FormularioCampoController.find"
      }
    },
    "/formulario-secciones/reordenar": {
      "patch": {
        "x-controller-name": "FormularioSeccionController",
        "x-operation-name": "reordenar",
        "tags": [
          "FormularioSeccionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Secciones reordenadas exitosamente"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number"
                    },
                    "orden": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "FormularioSeccionController.reordenar"
      }
    },
    "/formulario-secciones/{id}/campos": {
      "get": {
        "x-controller-name": "FormularioSeccionController",
        "x-operation-name": "findCampos",
        "tags": [
          "FormularioSeccionController"
        ],
        "responses": {
          "200": {
            "description": "Campos de la sección (directos y de subsecciones)",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormularioCampo"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioSeccionController.findCampos"
      }
    },
    "/formulario-secciones/{id}": {
      "put": {
        "x-controller-name": "FormularioSeccionController",
        "x-operation-name": "replaceById",
        "tags": [
          "FormularioSeccionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioSeccion reemplazada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioSeccion"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioSeccionController.replaceById"
      },
      "patch": {
        "x-controller-name": "FormularioSeccionController",
        "x-operation-name": "updateById",
        "tags": [
          "FormularioSeccionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioSeccion actualizada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioSeccionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioSeccionController.updateById"
      },
      "get": {
        "x-controller-name": "FormularioSeccionController",
        "x-operation-name": "findById",
        "tags": [
          "FormularioSeccionController"
        ],
        "responses": {
          "200": {
            "description": "FormularioSeccion por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioSeccionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioSeccion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FormularioSeccionController.findById"
      },
      "delete": {
        "x-controller-name": "FormularioSeccionController",
        "x-operation-name": "deleteById",
        "tags": [
          "FormularioSeccionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioSeccion eliminada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioSeccionController.deleteById"
      }
    },
    "/formulario-secciones": {
      "post": {
        "x-controller-name": "FormularioSeccionController",
        "x-operation-name": "create",
        "tags": [
          "FormularioSeccionController"
        ],
        "responses": {
          "200": {
            "description": "FormularioSeccion creada exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioSeccion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevaFormularioSeccion"
              }
            }
          }
        },
        "operationId": "FormularioSeccionController.create"
      },
      "get": {
        "x-controller-name": "FormularioSeccionController",
        "x-operation-name": "find",
        "tags": [
          "FormularioSeccionController"
        ],
        "responses": {
          "200": {
            "description": "Lista de FormularioSecciones",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormularioSeccionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioSeccion.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FormularioSeccionController.find"
      }
    },
    "/formulario-subsecciones/reordenar": {
      "patch": {
        "x-controller-name": "FormularioSubseccionController",
        "x-operation-name": "reordenar",
        "tags": [
          "FormularioSubseccionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Subsecciones reordenadas exitosamente"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number"
                    },
                    "orden": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "FormularioSubseccionController.reordenar"
      }
    },
    "/formulario-subsecciones/{id}": {
      "put": {
        "x-controller-name": "FormularioSubseccionController",
        "x-operation-name": "replaceById",
        "tags": [
          "FormularioSubseccionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioSubseccion reemplazada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioSubseccion"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioSubseccionController.replaceById"
      },
      "patch": {
        "x-controller-name": "FormularioSubseccionController",
        "x-operation-name": "updateById",
        "tags": [
          "FormularioSubseccionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioSubseccion actualizada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioSubseccionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioSubseccionController.updateById"
      },
      "get": {
        "x-controller-name": "FormularioSubseccionController",
        "x-operation-name": "findById",
        "tags": [
          "FormularioSubseccionController"
        ],
        "responses": {
          "200": {
            "description": "FormularioSubseccion por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioSubseccionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioSubseccion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FormularioSubseccionController.findById"
      },
      "delete": {
        "x-controller-name": "FormularioSubseccionController",
        "x-operation-name": "deleteById",
        "tags": [
          "FormularioSubseccionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioSubseccion eliminada exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioSubseccionController.deleteById"
      }
    },
    "/formulario-subsecciones": {
      "post": {
        "x-controller-name": "FormularioSubseccionController",
        "x-operation-name": "create",
        "tags": [
          "FormularioSubseccionController"
        ],
        "responses": {
          "200": {
            "description": "FormularioSubseccion creada exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioSubseccion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "nombre",
                  "formularioSeccionId"
                ],
                "properties": {
                  "nombre": {
                    "type": "string"
                  },
                  "orden": {
                    "type": "number"
                  },
                  "formularioSeccionId": {
                    "type": "number"
                  }
                }
              }
            }
          }
        },
        "operationId": "FormularioSubseccionController.create"
      },
      "get": {
        "x-controller-name": "FormularioSubseccionController",
        "x-operation-name": "find",
        "tags": [
          "FormularioSubseccionController"
        ],
        "responses": {
          "200": {
            "description": "Lista de FormularioSubsecciones",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormularioSubseccionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioSubseccion.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FormularioSubseccionController.find"
      }
    },
    "/formulario-tipos": {
      "get": {
        "x-controller-name": "FormularioTipoController",
        "x-operation-name": "getTipos",
        "tags": [
          "FormularioTipoController"
        ],
        "responses": {
          "200": {
            "description": "Contratos fijos de captura y reporte para los tipos de campo",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "includeLegacy",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "FormularioTipoController.getTipos"
      }
    },
    "/formulario-versiones/activo": {
      "get": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "obtenerActivo",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Spec del formulario activo para dominioId y etapa dados"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "dominioId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "etapa",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "FormularioVersionController.obtenerActivo"
      }
    },
    "/formulario-versiones/sync": {
      "get": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "obtenerPlantillasSync",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Todas las plantillas activas para el sync inicial de la app"
                }
              }
            }
          }
        },
        "operationId": "FormularioVersionController.obtenerPlantillasSync"
      }
    },
    "/formulario-versiones/{id}/activar": {
      "post": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "activar",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "FormularioVersion activado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioVersion"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioVersionController.activar"
      }
    },
    "/formulario-versiones/{id}/documentos/{tipo}/descarga": {
      "get": {
        "x-controller-name": "FormularioDocumentoController",
        "x-operation-name": "download",
        "tags": [
          "FormularioDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioDocumentoController.download"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "tipo",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FormularioDocumentoController.download"
      }
    },
    "/formulario-versiones/{id}/documentos/{tipo}/enlace": {
      "get": {
        "x-controller-name": "FormularioDocumentoController",
        "x-operation-name": "downloadLink",
        "tags": [
          "FormularioDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioDocumentoController.downloadLink"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "tipo",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FormularioDocumentoController.downloadLink"
      }
    },
    "/formulario-versiones/{id}/documentos/{tipo}/vincular": {
      "post": {
        "x-controller-name": "FormularioDocumentoController",
        "x-operation-name": "link",
        "tags": [
          "FormularioDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioDocumentoController.link"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "tipo",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "bovedaDocumentoId"
                ],
                "additionalProperties": false,
                "properties": {
                  "bovedaDocumentoId": {
                    "type": "integer",
                    "minimum": 1
                  }
                }
              }
            }
          },
          "required": true,
          "x-parameter-index": 2
        },
        "operationId": "FormularioDocumentoController.link"
      }
    },
    "/formulario-versiones/{id}/documentos/{tipo}": {
      "post": {
        "x-controller-name": "FormularioDocumentoController",
        "x-operation-name": "upload",
        "tags": [
          "FormularioDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioDocumentoController.upload"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "tipo",
            "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,
          "x-parameter-index": 2
        },
        "operationId": "FormularioDocumentoController.upload"
      },
      "delete": {
        "x-controller-name": "FormularioDocumentoController",
        "x-operation-name": "remove",
        "tags": [
          "FormularioDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioDocumentoController.remove"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "tipo",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "FormularioDocumentoController.remove"
      }
    },
    "/formulario-versiones/{id}/documentos": {
      "get": {
        "x-controller-name": "FormularioDocumentoController",
        "x-operation-name": "find",
        "tags": [
          "FormularioDocumentoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioDocumentoController.find"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioDocumentoController.find"
      }
    },
    "/formulario-versiones/{id}/duplicar": {
      "post": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "duplicar",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "Copia del formulario en estado borrador",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioVersion"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioVersionController.duplicar"
      }
    },
    "/formulario-versiones/{id}/secciones": {
      "get": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "findSecciones",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "Estructura completa del formulario con secciones, subsecciones y campos",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormularioSeccionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioVersionController.findSecciones"
      }
    },
    "/formulario-versiones/{id}/spec": {
      "get": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "obtenerSpec",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Especificación JSON completa del formulario para la app móvil"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "preview",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "FormularioVersionController.obtenerSpec"
      }
    },
    "/formulario-versiones/{id}": {
      "put": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "replaceById",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioVersion reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioVersion"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioVersionController.replaceById"
      },
      "patch": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "updateById",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioVersion actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioVersionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioVersionController.updateById"
      },
      "get": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "findById",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "FormularioVersion por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioVersionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioVersion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "FormularioVersionController.findById"
      },
      "delete": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "deleteById",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "FormularioVersion eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "FormularioVersionController.deleteById"
      }
    },
    "/formulario-versiones": {
      "post": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "create",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "FormularioVersion creada exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioVersion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevaFormularioVersion"
              }
            }
          }
        },
        "operationId": "FormularioVersionController.create"
      },
      "get": {
        "x-controller-name": "FormularioVersionController",
        "x-operation-name": "find",
        "tags": [
          "FormularioVersionController"
        ],
        "responses": {
          "200": {
            "description": "Lista de FormularioVersiones",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FormularioVersionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FormularioVersion.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "FormularioVersionController.find"
      }
    },
    "/formularios-ciclos/vivos": {
      "get": {
        "x-controller-name": "FormularioCicloController",
        "x-operation-name": "vivos",
        "tags": [
          "FormularioCicloController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioCicloController.vivos"
          }
        },
        "operationId": "FormularioCicloController.vivos"
      }
    },
    "/formularios-ciclos/{id}/revisiones": {
      "post": {
        "x-controller-name": "FormularioCicloController",
        "x-operation-name": "revisar",
        "tags": [
          "FormularioCicloController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioCicloController.revisar"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "id",
                  "revisionBase",
                  "campos",
                  "participantes"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "revisionBase": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "campos": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "campoId",
                        "respuesta"
                      ]
                    }
                  },
                  "participantes": {
                    "type": "object",
                    "required": [
                      "firmaAgente",
                      "inquilino"
                    ],
                    "properties": {
                      "firmaAgente": {
                        "type": "string"
                      },
                      "inquilino": {
                        "type": "object",
                        "required": [
                          "nombre",
                          "firma"
                        ],
                        "properties": {
                          "nombre": {
                            "type": "string"
                          },
                          "puesto": {
                            "type": "string"
                          },
                          "email": {
                            "type": "string"
                          },
                          "firma": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "FormularioCicloController.revisar"
      }
    },
    "/formularios-ciclos/{id}": {
      "get": {
        "x-controller-name": "FormularioCicloController",
        "x-operation-name": "findById",
        "tags": [
          "FormularioCicloController"
        ],
        "responses": {
          "200": {
            "description": "Return value of FormularioCicloController.findById"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "todosCompromisos",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "operationId": "FormularioCicloController.findById"
      }
    },
    "/logos/{filename}": {
      "get": {
        "x-controller-name": "LogoController",
        "x-operation-name": "download",
        "tags": [
          "LogoController"
        ],
        "responses": {
          "200": {
            "description": "Imagen del logo",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filename",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "LogoController.download"
      }
    },
    "/logos": {
      "post": {
        "x-controller-name": "LogoController",
        "x-operation-name": "upload",
        "tags": [
          "LogoController"
        ],
        "responses": {
          "200": {
            "description": "Logo cargado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "path": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "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": "LogoController.upload"
      }
    },
    "/organizaciones/{id}": {
      "patch": {
        "x-controller-name": "Companies",
        "x-operation-name": "updateById",
        "tags": [
          "Companies"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Organización actualizada"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrganizacionPartialExcluding_id-created-created_by-updated-updated_by-sociedades_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Companies.updateById"
      }
    },
    "/organizaciones": {
      "post": {
        "x-controller-name": "Companies",
        "x-operation-name": "create",
        "tags": [
          "Companies"
        ],
        "responses": {
          "200": {
            "description": "Organización model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organizacion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewOrganizacion"
              }
            }
          }
        },
        "operationId": "Companies.create"
      },
      "get": {
        "x-controller-name": "Companies",
        "x-operation-name": "find",
        "tags": [
          "Companies"
        ],
        "responses": {
          "200": {
            "description": "Array of Organización model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrganizacionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organizacion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Companies.find"
      }
    },
    "/perfil/foto": {
      "post": {
        "x-controller-name": "ProfilePhotoController",
        "x-operation-name": "upload",
        "tags": [
          "ProfilePhotoController"
        ],
        "responses": {
          "200": {
            "description": "Fotografía de perfil actualizada"
          }
        },
        "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": "ProfilePhotoController.upload"
      },
      "get": {
        "x-controller-name": "ProfilePhotoController",
        "x-operation-name": "getPhoto",
        "tags": [
          "ProfilePhotoController"
        ],
        "responses": {
          "200": {
            "description": "URL de fotografía de perfil"
          }
        },
        "operationId": "ProfilePhotoController.getPhoto"
      },
      "delete": {
        "x-controller-name": "ProfilePhotoController",
        "x-operation-name": "remove",
        "tags": [
          "ProfilePhotoController"
        ],
        "responses": {
          "204": {
            "description": "Fotografía eliminada"
          }
        },
        "operationId": "ProfilePhotoController.remove"
      }
    },
    "/proyectos/{id}/archivar": {
      "patch": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "archivar",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Proyecto archivado"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "confirmarArchivo"
                ],
                "properties": {
                  "confirmarArchivo": {
                    "type": "boolean"
                  },
                  "motivo": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProyectoController.archivar"
      }
    },
    "/proyectos/{id}/entidades/reordenar": {
      "patch": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "reordenarEntidades",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entidades del proyecto reordenadas"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "items"
                ],
                "properties": {
                  "items": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "required": [
                        "id",
                        "orden"
                      ],
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "orden": {
                          "type": "number",
                          "minimum": 1
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProyectoController.reordenarEntidades"
      }
    },
    "/proyectos/{id}/entidades/{entidadId}/retirar": {
      "patch": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "retirarEntidad",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Entidad retirada del proyecto"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "entidadId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "ProyectoController.retirarEntidad"
      }
    },
    "/proyectos/{id}/entidades": {
      "post": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "asociarEntidades",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProyectoController.asociarEntidades"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProyectoController.asociarEntidades"
      }
    },
    "/proyectos/{id}/indicadores/{indicador}": {
      "get": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "detalleIndicador",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProyectoController.detalleIndicador"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "indicador",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "segmento",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "ProyectoController.detalleIndicador"
      }
    },
    "/proyectos/{id}/resumen": {
      "get": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "resumen",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProyectoController.resumen"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProyectoController.resumen"
      }
    },
    "/proyectos/{id}": {
      "patch": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "updateById",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Proyecto PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProyectoPartialExcluding_id-created-created_by_"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProyectoController.updateById"
      },
      "get": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "findById",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ProyectoController.findById"
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "ProyectoController.findById"
      }
    },
    "/proyectos": {
      "post": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "create",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Proyecto"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProyectoExcluding_id_"
              }
            }
          }
        },
        "operationId": "ProyectoController.create"
      },
      "get": {
        "x-controller-name": "ProyectoController",
        "x-operation-name": "find",
        "tags": [
          "ProyectoController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProyectoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Proyecto.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProyectoController.find"
      }
    },
    "/reenviar-bienvenida": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "resendWelcomeEmail",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of UserController.resendWelcomeEmail"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserPartial"
              }
            }
          }
        },
        "operationId": "UserController.resendWelcomeEmail"
      }
    },
    "/signup": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "signup",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Crea cuentas de usuario SAP",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "UserController.signup"
      }
    },
    "/sociedades/{id}": {
      "patch": {
        "x-controller-name": "Sociedades",
        "x-operation-name": "updateById",
        "tags": [
          "Sociedades"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Sociedad PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SociedadPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Sociedades.updateById"
      },
      "get": {
        "x-controller-name": "Sociedades",
        "x-operation-name": "findById",
        "tags": [
          "Sociedades"
        ],
        "responses": {
          "200": {
            "description": "Sociedad model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SociedadWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sociedad.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Sociedades.findById"
      },
      "delete": {
        "x-controller-name": "Sociedades",
        "x-operation-name": "deleteById",
        "tags": [
          "Sociedades"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Sociedad DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "Sociedades.deleteById"
      }
    },
    "/sociedades": {
      "post": {
        "x-controller-name": "Sociedades",
        "x-operation-name": "create",
        "tags": [
          "Sociedades"
        ],
        "responses": {
          "200": {
            "description": "Sociedad model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sociedad"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSociedad"
              }
            }
          }
        },
        "operationId": "Sociedades.create"
      },
      "get": {
        "x-controller-name": "Sociedades",
        "x-operation-name": "find",
        "tags": [
          "Sociedades"
        ],
        "responses": {
          "200": {
            "description": "Array of Sociedad model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SociedadWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sociedad.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "Sociedades.find"
      }
    },
    "/staff/archivados": {
      "get": {
        "x-controller-name": "Staffs",
        "x-operation-name": "staffArchivados",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "Obtiene staff archivado con banderas de user y usercredentials",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "realm",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "Staffs.staffArchivados"
      }
    },
    "/staff/extended": {
      "get": {
        "x-controller-name": "Staffs",
        "x-operation-name": "staffExtended",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "Obtiene los datos de staff incluido información de usuario",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "Staffs.staffExtended"
      }
    },
    "/staff/login/master": {
      "post": {
        "x-controller-name": "Staffs",
        "x-operation-name": "masterlogin",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "Login para usuarios de kiosko",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  },
                  "password": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "Credenciales de acceso (opcionales)",
          "required": false
        },
        "operationId": "Staffs.masterlogin"
      }
    },
    "/staff/me/pin": {
      "patch": {
        "x-controller-name": "Staffs",
        "x-operation-name": "updateOwnAgentPin",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "PIN propio del agente actualizado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "pin"
                ],
                "properties": {
                  "pin": {
                    "type": "string",
                    "pattern": "^\\d{6}$"
                  }
                }
              }
            }
          },
          "required": true
        },
        "operationId": "Staffs.updateOwnAgentPin"
      }
    },
    "/staff/{id}/perfil": {
      "patch": {
        "x-controller-name": "Staffs",
        "x-operation-name": "updateProfileById",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Staff profile PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "realm"
                ],
                "properties": {
                  "realm": {
                    "type": "string"
                  },
                  "userId": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Staffs.updateProfileById"
      }
    },
    "/staff/{id}/pin": {
      "patch": {
        "x-controller-name": "Staffs",
        "x-operation-name": "resetAgentPin",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "PIN de agente actualizado",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "pin"
                ],
                "properties": {
                  "userId": {
                    "type": "string"
                  },
                  "pin": {
                    "type": "string",
                    "pattern": "^\\d{6}$"
                  },
                  "realm": {
                    "type": "string",
                    "enum": [
                      "agente"
                    ]
                  }
                }
              }
            }
          },
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "Staffs.resetAgentPin"
      }
    },
    "/staff/{id}": {
      "patch": {
        "x-controller-name": "Staffs",
        "x-operation-name": "updateById",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Staff PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Staffs.updateById"
      },
      "get": {
        "x-controller-name": "Staffs",
        "x-operation-name": "findById",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "Staff model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StaffWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Staff.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Staffs.findById"
      }
    },
    "/staff": {
      "post": {
        "x-controller-name": "Staffs",
        "x-operation-name": "create",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "Staff model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Staff"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewStaff"
              }
            }
          }
        },
        "operationId": "Staffs.create"
      },
      "patch": {
        "x-controller-name": "Staffs",
        "x-operation-name": "updateAll",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "Staff PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Staff.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Staff>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StaffPartial"
              }
            }
          }
        },
        "operationId": "Staffs.updateAll"
      },
      "get": {
        "x-controller-name": "Staffs",
        "x-operation-name": "find",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "Array of Staff model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StaffWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Staff.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "Staffs.find"
      }
    },
    "/sync-jobs/logs": {
      "get": {
        "x-controller-name": "SyncJobController",
        "x-operation-name": "listLogs",
        "tags": [
          "SyncJobController"
        ],
        "responses": {
          "200": {
            "description": "Historial de sincronizaciones",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "jobKey",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "SyncJobController.listLogs"
      }
    },
    "/sync-jobs/{jobKey}/run": {
      "post": {
        "x-controller-name": "SyncJobController",
        "x-operation-name": "runJob",
        "tags": [
          "SyncJobController"
        ],
        "responses": {
          "200": {
            "description": "Ejecuta una sincronizacion manual y espera su finalizacion",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "jobKey",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tipoRespuesta": {
                    "type": "string",
                    "enum": [
                      "N",
                      "U"
                    ]
                  },
                  "materialesTipoRespuesta": {
                    "type": "string",
                    "enum": [
                      "N",
                      "U"
                    ]
                  },
                  "dateStart": {
                    "type": "string"
                  },
                  "dateEnd": {
                    "type": "string"
                  },
                  "connection": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": false,
          "x-parameter-index": 1
        },
        "operationId": "SyncJobController.runJob"
      }
    },
    "/sync-jobs": {
      "get": {
        "x-controller-name": "SyncJobController",
        "x-operation-name": "listJobs",
        "tags": [
          "SyncJobController"
        ],
        "responses": {
          "200": {
            "description": "Lista de sincronizaciones manuales disponibles",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "operationId": "SyncJobController.listJobs"
      }
    },
    "/transaccion-adjuntos/{id}": {
      "put": {
        "x-controller-name": "TransaccionAdjuntoController",
        "x-operation-name": "replaceById",
        "tags": [
          "TransaccionAdjuntoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TransaccionAdjunto reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransaccionAdjunto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TransaccionAdjuntoController.replaceById"
      },
      "patch": {
        "x-controller-name": "TransaccionAdjuntoController",
        "x-operation-name": "updateById",
        "tags": [
          "TransaccionAdjuntoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TransaccionAdjunto actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransaccionAdjuntoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TransaccionAdjuntoController.updateById"
      },
      "get": {
        "x-controller-name": "TransaccionAdjuntoController",
        "x-operation-name": "findById",
        "tags": [
          "TransaccionAdjuntoController"
        ],
        "responses": {
          "200": {
            "description": "TransaccionAdjunto por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionAdjuntoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionAdjunto.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TransaccionAdjuntoController.findById"
      },
      "delete": {
        "x-controller-name": "TransaccionAdjuntoController",
        "x-operation-name": "deleteById",
        "tags": [
          "TransaccionAdjuntoController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TransaccionAdjunto eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TransaccionAdjuntoController.deleteById"
      }
    },
    "/transaccion-adjuntos": {
      "post": {
        "x-controller-name": "TransaccionAdjuntoController",
        "x-operation-name": "create",
        "tags": [
          "TransaccionAdjuntoController"
        ],
        "responses": {
          "200": {
            "description": "TransaccionAdjunto creado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionAdjunto"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevoTransaccionAdjunto"
              }
            }
          }
        },
        "operationId": "TransaccionAdjuntoController.create"
      },
      "get": {
        "x-controller-name": "TransaccionAdjuntoController",
        "x-operation-name": "find",
        "tags": [
          "TransaccionAdjuntoController"
        ],
        "responses": {
          "200": {
            "description": "Lista de TransaccionAdjuntos",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TransaccionAdjuntoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionAdjunto.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TransaccionAdjuntoController.find"
      }
    },
    "/transaccion-emails/count": {
      "get": {
        "x-controller-name": "TransaccionEmailController",
        "x-operation-name": "count",
        "tags": [
          "TransaccionEmailController"
        ],
        "responses": {
          "200": {
            "description": "Cantidad de TransaccionEmails",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TransaccionEmail.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TransaccionEmail>"
                }
              }
            }
          }
        ],
        "operationId": "TransaccionEmailController.count"
      }
    },
    "/transaccion-emails/{id}": {
      "put": {
        "x-controller-name": "TransaccionEmailController",
        "x-operation-name": "replaceById",
        "tags": [
          "TransaccionEmailController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TransaccionEmail reemplazado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransaccionEmail"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TransaccionEmailController.replaceById"
      },
      "patch": {
        "x-controller-name": "TransaccionEmailController",
        "x-operation-name": "updateById",
        "tags": [
          "TransaccionEmailController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TransaccionEmail actualizado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransaccionEmailPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TransaccionEmailController.updateById"
      },
      "get": {
        "x-controller-name": "TransaccionEmailController",
        "x-operation-name": "findById",
        "tags": [
          "TransaccionEmailController"
        ],
        "responses": {
          "200": {
            "description": "TransaccionEmail por id",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionEmailWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionEmail.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TransaccionEmailController.findById"
      },
      "delete": {
        "x-controller-name": "TransaccionEmailController",
        "x-operation-name": "deleteById",
        "tags": [
          "TransaccionEmailController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TransaccionEmail eliminado exitosamente"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TransaccionEmailController.deleteById"
      }
    },
    "/transaccion-emails": {
      "post": {
        "x-controller-name": "TransaccionEmailController",
        "x-operation-name": "create",
        "tags": [
          "TransaccionEmailController"
        ],
        "responses": {
          "200": {
            "description": "TransaccionEmail creado exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionEmail"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NuevoTransaccionEmail"
              }
            }
          }
        },
        "operationId": "TransaccionEmailController.create"
      },
      "get": {
        "x-controller-name": "TransaccionEmailController",
        "x-operation-name": "find",
        "tags": [
          "TransaccionEmailController"
        ],
        "responses": {
          "200": {
            "description": "Lista de TransaccionEmails",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TransaccionEmailWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionEmail.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TransaccionEmailController.find"
      }
    },
    "/transacciones/compromisos/resumen": {
      "get": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "commitmentsSummary",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Resumen mensual de compromisos registrados"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "anio",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "TransaccionController.commitmentsSummary"
      }
    },
    "/transacciones/compromisos": {
      "get": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "commitments",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Compromisos registrados en respuestas de formularios"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fechaDesde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fechaHasta",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "TransaccionController.commitments"
      }
    },
    "/transacciones/{id}/adjuntos": {
      "get": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "findAdjuntos",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "Adjuntos de la transacción",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TransaccionAdjunto"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "TransaccionController.findAdjuntos"
      }
    },
    "/transacciones/{id}/enviar-email": {
      "post": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "sendPdfByEmail",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PDF enviado por correo"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "destinatarios",
                  "asunto",
                  "mensaje"
                ],
                "properties": {
                  "destinatarios": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "cc": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "asunto": {
                    "type": "string"
                  },
                  "mensaje": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "required": true,
          "x-parameter-index": 1
        },
        "operationId": "TransaccionController.sendPdfByEmail"
      }
    },
    "/transacciones/{id}/pdf": {
      "get": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "downloadPdf",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "PDF oficial de la transacción",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "TransaccionController.downloadPdf"
      }
    },
    "/transacciones/{id}": {
      "get": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "findById",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "Transaccion por id con adjuntos y emails",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransaccionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "TransaccionController.findById"
      }
    },
    "/transacciones": {
      "post": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "create",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "Transaccion creada exitosamente",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Transaccion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "entidadId",
                  "etapa",
                  "respuestas"
                ],
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "entidadId": {
                    "type": "string"
                  },
                  "etapa": {
                    "type": "number",
                    "enum": [
                      1,
                      2,
                      3
                    ]
                  },
                  "formularioVersionId": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "respuestas": {
                    "type": "object"
                  },
                  "participantes": {
                    "type": "object"
                  },
                  "dispositivo": {
                    "type": "string"
                  },
                  "clientCreatedAt": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "TransaccionController.create"
      },
      "get": {
        "x-controller-name": "TransaccionController",
        "x-operation-name": "find",
        "tags": [
          "TransaccionController"
        ],
        "responses": {
          "200": {
            "description": "Listado de transacciones con respuestas deserializadas",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "number"
                    },
                    "List": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "fechaDesde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "fechaHasta",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "etapa",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "estadoEntidadResultante",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ejecutadoPor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entidadId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "local",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sociedadCompany",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "agruparSeguimiento",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "dominioId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "formularioVersionId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "TransaccionController.find"
      }
    },
    "/users/app/login": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "storeLoginWithPin",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Token para perfil agente",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "username",
                  "pin"
                ],
                "properties": {
                  "username": {
                    "type": "string",
                    "minLength": 1
                  },
                  "pin": {
                    "type": "string",
                    "pattern": "^\\d{6}$"
                  },
                  "realm": {
                    "type": "string",
                    "enum": [
                      "agente"
                    ]
                  }
                }
              }
            }
          },
          "description": "PIN de acceso para perfiles agente",
          "required": true
        },
        "operationId": "UserController.storeLoginWithPin"
      }
    },
    "/users/login/whoAmI": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "whoAmI2",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Return current user",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "authUser": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.whoAmI2"
      }
    },
    "/users/portal/login": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "storeLogin",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Token",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "token": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "email",
                  "password"
                ],
                "properties": {
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "password": {
                    "type": "string",
                    "minLength": 5
                  }
                }
              }
            }
          },
          "description": "The input of login function",
          "required": true
        },
        "operationId": "UserController.storeLogin"
      }
    },
    "/users/reset-password/confirm": {
      "put": {
        "x-controller-name": "UserController",
        "x-operation-name": "resetPasswordConfirm",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of UserController.resetPasswordConfirm"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyAndPassword"
              }
            }
          }
        },
        "operationId": "UserController.resetPasswordConfirm"
      }
    },
    "/users/reset-password/force": {
      "put": {
        "x-controller-name": "UserController",
        "x-operation-name": "resetPasswordForce",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of UserController.resetPasswordForce"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KeyAndPassword"
              }
            }
          }
        },
        "operationId": "UserController.resetPasswordForce"
      }
    },
    "/users/reset-password/request": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "resetPasswordRequest",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of UserController.resetPasswordRequest"
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordInit"
              }
            }
          }
        },
        "operationId": "UserController.resetPasswordRequest"
      }
    },
    "/users/test-email-prd": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "testSmtpProd",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Test SMTP producción con feedback completo"
                }
              }
            }
          }
        },
        "operationId": "UserController.testSmtpProd"
      }
    },
    "/version": {
      "get": {
        "x-controller-name": "VersionController",
        "x-operation-name": "getVersion",
        "tags": [
          "VersionController"
        ],
        "responses": {
          "200": {
            "description": "Version actualmente publicada del API",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "name",
                    "version",
                    "environment"
                  ],
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    },
                    "environment": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "operationId": "VersionController.getVersion"
      }
    }
  },
  "servers": [
    {
      "url": "http://localhost:3020"
    }
  ],
  "components": {
    "schemas": {
      "User": {
        "title": "User",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": true
      },
      "UserPartial": {
        "title": "UserPartial",
        "type": "object",
        "description": "(tsType: Partial<User>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          }
        },
        "additionalProperties": true,
        "x-typescript-type": "Partial<User>"
      },
      "KeyAndPassword": {
        "title": "KeyAndPassword",
        "type": "object",
        "properties": {
          "verification_token": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "confirmPassword": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "ResetPasswordInit": {
        "title": "ResetPasswordInit",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "Transaccion": {
        "title": "Transaccion",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "etapa": {
            "type": "number",
            "enum": [
              1,
              2,
              3
            ]
          },
          "ejecutadoPor": {
            "type": "string"
          },
          "respuestas": {
            "type": "string"
          },
          "estadoEntidadResultante": {
            "type": "string",
            "enum": [
              "disponible",
              "entregado",
              "devuelto",
              "comprometido"
            ]
          },
          "fechaEjecucion": {
            "type": "string",
            "format": "date-time"
          },
          "dispositivo": {
            "type": "string"
          },
          "formularioCicloId": {
            "type": "string"
          },
          "revision": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "formularioVersionId": {
            "type": "number"
          }
        },
        "required": [
          "etapa",
          "ejecutadoPor",
          "estadoEntidadResultante"
        ],
        "additionalProperties": false
      },
      "DominioWithRelations": {
        "title": "DominioWithRelations",
        "type": "object",
        "description": "(tsType: DominioWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "icono": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "campos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DominioCampoWithRelations"
            }
          },
          "entidades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntidadWithRelations"
            }
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false,
        "x-typescript-type": "DominioWithRelations"
      },
      "FormularioCampoWithRelations": {
        "title": "FormularioCampoWithRelations",
        "type": "object",
        "description": "(tsType: FormularioCampoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "etiqueta": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "text",
              "number",
              "date",
              "list",
              "prefilled",
              "foto",
              "documento",
              "firma",
              "label",
              "disclaimer",
              "tabla",
              "boolean",
              "si_no_na",
              "si_no_na_opciones",
              "si_no_na_observaciones",
              "si_no_observaciones",
              "aplica_no_aplica"
            ]
          },
          "requerido": {
            "type": "boolean"
          },
          "orden": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "formularioSeccionId": {
            "type": "object"
          },
          "formularioSubseccionId": {
            "type": "object"
          },
          "formularioVersionId": {
            "type": "object"
          },
          "formularioSeccion": {
            "$ref": "#/components/schemas/FormularioSeccionWithRelations"
          },
          "formularioSubseccion": {
            "$ref": "#/components/schemas/FormularioSubseccionWithRelations"
          },
          "formularioVersion": {
            "$ref": "#/components/schemas/FormularioVersionWithRelations"
          }
        },
        "required": [
          "etiqueta",
          "tipo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "FormularioCampoWithRelations"
      },
      "FormularioSubseccionWithRelations": {
        "title": "FormularioSubseccionWithRelations",
        "type": "object",
        "description": "(tsType: FormularioSubseccionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "formularioSeccionId": {
            "type": "number"
          },
          "formularioSeccion": {
            "$ref": "#/components/schemas/FormularioSeccionWithRelations"
          },
          "campos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormularioCampoWithRelations"
            }
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false,
        "x-typescript-type": "FormularioSubseccionWithRelations"
      },
      "FormularioSeccionWithRelations": {
        "title": "FormularioSeccionWithRelations",
        "type": "object",
        "description": "(tsType: FormularioSeccionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "formularioVersionId": {
            "type": "number"
          },
          "formularioVersion": {
            "$ref": "#/components/schemas/FormularioVersionWithRelations"
          },
          "subsecciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormularioSubseccionWithRelations"
            }
          },
          "campos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormularioCampoWithRelations"
            }
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false,
        "x-typescript-type": "FormularioSeccionWithRelations"
      },
      "DominioCampoValorWithRelations": {
        "title": "DominioCampoValorWithRelations",
        "type": "object",
        "description": "(tsType: DominioCampoValorWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "valor": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioCampoId": {
            "type": "number"
          },
          "dominioCampo": {
            "$ref": "#/components/schemas/DominioCampoWithRelations"
          }
        },
        "required": [
          "valor"
        ],
        "additionalProperties": false,
        "x-typescript-type": "DominioCampoValorWithRelations"
      },
      "DominioCampoWithRelations": {
        "title": "DominioCampoWithRelations",
        "type": "object",
        "description": "(tsType: DominioCampoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "etiqueta": {
            "type": "string"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "text",
              "number",
              "email",
              "date",
              "boolean",
              "list",
              "location"
            ]
          },
          "icono": {
            "type": "string"
          },
          "requerido": {
            "type": "boolean"
          },
          "esSistema": {
            "type": "boolean"
          },
          "mostrarEnApp": {
            "type": "boolean"
          },
          "esIdentificador": {
            "type": "boolean"
          },
          "mostrarEnReporte": {
            "type": "boolean"
          },
          "ordenReporte": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          },
          "dominio": {
            "$ref": "#/components/schemas/DominioWithRelations"
          },
          "valores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DominioCampoValorWithRelations"
            }
          }
        },
        "required": [
          "nombre",
          "etiqueta",
          "tipo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "DominioCampoWithRelations"
      },
      "EntidadCampoValorWithRelations": {
        "title": "EntidadCampoValorWithRelations",
        "type": "object",
        "description": "(tsType: EntidadCampoValorWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "valor": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "dominioCampoId": {
            "type": "number"
          },
          "entidad": {
            "$ref": "#/components/schemas/EntidadWithRelations"
          },
          "dominioCampo": {
            "$ref": "#/components/schemas/DominioCampoWithRelations"
          }
        },
        "required": [
          "valor"
        ],
        "additionalProperties": false,
        "x-typescript-type": "EntidadCampoValorWithRelations"
      },
      "StaffWithRelations": {
        "title": "StaffWithRelations",
        "type": "object",
        "description": "(tsType: StaffWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "apptype": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "longname": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "departamento": {
            "type": "string"
          },
          "termsAccepted": {
            "type": "boolean"
          },
          "emailVerificado": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "pin": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          }
        },
        "required": [
          "username",
          "longname",
          "userId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "StaffWithRelations"
      },
      "EntidadAgenteWithRelations": {
        "title": "EntidadAgenteWithRelations",
        "type": "object",
        "description": "(tsType: EntidadAgenteWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "fechaAsignacion": {
            "type": "string",
            "format": "date-time"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "staffId": {
            "type": "number"
          },
          "entidad": {
            "$ref": "#/components/schemas/EntidadWithRelations"
          },
          "staff": {
            "$ref": "#/components/schemas/StaffWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "EntidadAgenteWithRelations"
      },
      "EntidadWithRelations": {
        "title": "EntidadWithRelations",
        "type": "object",
        "description": "(tsType: EntidadWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "codigo": {
            "type": "string"
          },
          "clave": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "estado": {
            "type": "string",
            "enum": [
              "disponible",
              "entregado",
              "devuelto"
            ],
            "nullable": true
          },
          "status": {
            "type": "number"
          },
          "creadoDesdeApp": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "sociedadId": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          },
          "dominio": {
            "$ref": "#/components/schemas/DominioWithRelations"
          },
          "campoValores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntidadCampoValorWithRelations"
            }
          },
          "agentes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntidadAgenteWithRelations"
            }
          },
          "transacciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransaccionWithRelations"
            }
          }
        },
        "required": [
          "sociedadId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "EntidadWithRelations"
      },
      "FormularioVersionWithRelations": {
        "title": "FormularioVersionWithRelations",
        "type": "object",
        "description": "(tsType: FormularioVersionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "version": {
            "type": "number"
          },
          "etapa": {
            "type": "number",
            "enum": [
              1,
              2,
              3
            ]
          },
          "estado": {
            "type": "string",
            "enum": [
              "borrador",
              "activo",
              "archivado"
            ]
          },
          "notificadoEmails": {
            "type": "string"
          },
          "emailSubject": {
            "type": "string"
          },
          "emailBody": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          },
          "dominio": {
            "$ref": "#/components/schemas/DominioWithRelations"
          },
          "secciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FormularioSeccionWithRelations"
            }
          },
          "transacciones": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransaccionWithRelations"
            }
          }
        },
        "required": [
          "nombre",
          "etapa",
          "estado"
        ],
        "additionalProperties": false,
        "x-typescript-type": "FormularioVersionWithRelations"
      },
      "TransaccionAdjuntoWithRelations": {
        "title": "TransaccionAdjuntoWithRelations",
        "type": "object",
        "description": "(tsType: TransaccionAdjuntoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "formularioCampoId": {
            "type": "number"
          },
          "nombreArchivo": {
            "type": "string"
          },
          "rutaAlmacenamiento": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "tamanoBytes": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "transaccionId": {
            "type": "string"
          },
          "transaccion": {
            "$ref": "#/components/schemas/TransaccionWithRelations"
          }
        },
        "required": [
          "formularioCampoId",
          "nombreArchivo",
          "rutaAlmacenamiento",
          "mimeType",
          "tamanoBytes"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TransaccionAdjuntoWithRelations"
      },
      "TransaccionEmailWithRelations": {
        "title": "TransaccionEmailWithRelations",
        "type": "object",
        "description": "(tsType: TransaccionEmailWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "destinatario": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "estado": {
            "type": "string",
            "enum": [
              "enviado",
              "abierto",
              "respondido",
              "error"
            ]
          },
          "fechaEnvio": {
            "type": "string",
            "format": "date-time"
          },
          "fechaApertura": {
            "type": "string",
            "format": "date-time"
          },
          "errorDetalle": {
            "type": "string"
          },
          "smtpMessageId": {
            "type": "string"
          },
          "smtpResponse": {
            "type": "string"
          },
          "smtpAccepted": {
            "type": "string"
          },
          "smtpRejected": {
            "type": "string"
          },
          "smtpEstado": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "transaccionId": {
            "type": "string"
          },
          "transaccion": {
            "$ref": "#/components/schemas/TransaccionWithRelations"
          }
        },
        "required": [
          "destinatario",
          "subject",
          "estado"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TransaccionEmailWithRelations"
      },
      "TransaccionWithRelations": {
        "title": "TransaccionWithRelations",
        "type": "object",
        "description": "(tsType: TransaccionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "etapa": {
            "type": "number",
            "enum": [
              1,
              2,
              3
            ]
          },
          "ejecutadoPor": {
            "type": "string"
          },
          "respuestas": {
            "type": "string"
          },
          "estadoEntidadResultante": {
            "type": "string",
            "enum": [
              "disponible",
              "entregado",
              "devuelto",
              "comprometido"
            ]
          },
          "fechaEjecucion": {
            "type": "string",
            "format": "date-time"
          },
          "dispositivo": {
            "type": "string"
          },
          "formularioCicloId": {
            "type": "string"
          },
          "revision": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "formularioVersionId": {
            "type": "number"
          },
          "entidad": {
            "$ref": "#/components/schemas/EntidadWithRelations"
          },
          "formularioVersion": {
            "$ref": "#/components/schemas/FormularioVersionWithRelations"
          },
          "adjuntos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransaccionAdjuntoWithRelations"
            }
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransaccionEmailWithRelations"
            }
          }
        },
        "required": [
          "etapa",
          "ejecutadoPor",
          "estadoEntidadResultante"
        ],
        "additionalProperties": false,
        "x-typescript-type": "TransaccionWithRelations"
      },
      "TransaccionAdjunto": {
        "title": "TransaccionAdjunto",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "formularioCampoId": {
            "type": "number"
          },
          "nombreArchivo": {
            "type": "string"
          },
          "rutaAlmacenamiento": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "tamanoBytes": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "transaccionId": {
            "type": "string"
          }
        },
        "required": [
          "formularioCampoId",
          "nombreArchivo",
          "rutaAlmacenamiento",
          "mimeType",
          "tamanoBytes"
        ],
        "additionalProperties": false
      },
      "TransaccionEmail": {
        "title": "TransaccionEmail",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "destinatario": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "estado": {
            "type": "string",
            "enum": [
              "enviado",
              "abierto",
              "respondido",
              "error"
            ]
          },
          "fechaEnvio": {
            "type": "string",
            "format": "date-time"
          },
          "fechaApertura": {
            "type": "string",
            "format": "date-time"
          },
          "errorDetalle": {
            "type": "string"
          },
          "smtpMessageId": {
            "type": "string"
          },
          "smtpResponse": {
            "type": "string"
          },
          "smtpAccepted": {
            "type": "string"
          },
          "smtpRejected": {
            "type": "string"
          },
          "smtpEstado": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "transaccionId": {
            "type": "string"
          }
        },
        "required": [
          "destinatario",
          "subject",
          "estado"
        ],
        "additionalProperties": false
      },
      "NuevoTransaccionEmail": {
        "title": "NuevoTransaccionEmail",
        "type": "object",
        "description": "(tsType: Omit<TransaccionEmail, 'id'>, schemaOptions: { title: 'NuevoTransaccionEmail', exclude: [ 'id' ] })",
        "properties": {
          "destinatario": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "estado": {
            "type": "string",
            "enum": [
              "enviado",
              "abierto",
              "respondido",
              "error"
            ]
          },
          "fechaEnvio": {
            "type": "string",
            "format": "date-time"
          },
          "fechaApertura": {
            "type": "string",
            "format": "date-time"
          },
          "errorDetalle": {
            "type": "string"
          },
          "smtpMessageId": {
            "type": "string"
          },
          "smtpResponse": {
            "type": "string"
          },
          "smtpAccepted": {
            "type": "string"
          },
          "smtpRejected": {
            "type": "string"
          },
          "smtpEstado": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "transaccionId": {
            "type": "string"
          }
        },
        "required": [
          "destinatario",
          "subject",
          "estado"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TransaccionEmail, 'id'>"
      },
      "TransaccionEmailPartial": {
        "title": "TransaccionEmailPartial",
        "type": "object",
        "description": "(tsType: Partial<TransaccionEmail>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "destinatario": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "estado": {
            "type": "string",
            "enum": [
              "enviado",
              "abierto",
              "respondido",
              "error"
            ]
          },
          "fechaEnvio": {
            "type": "string",
            "format": "date-time"
          },
          "fechaApertura": {
            "type": "string",
            "format": "date-time"
          },
          "errorDetalle": {
            "type": "string"
          },
          "smtpMessageId": {
            "type": "string"
          },
          "smtpResponse": {
            "type": "string"
          },
          "smtpAccepted": {
            "type": "string"
          },
          "smtpRejected": {
            "type": "string"
          },
          "smtpEstado": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "transaccionId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<TransaccionEmail>"
      },
      "NuevoTransaccionAdjunto": {
        "title": "NuevoTransaccionAdjunto",
        "type": "object",
        "description": "(tsType: Omit<TransaccionAdjunto, 'id'>, schemaOptions: { title: 'NuevoTransaccionAdjunto', exclude: [ 'id' ] })",
        "properties": {
          "formularioCampoId": {
            "type": "number"
          },
          "nombreArchivo": {
            "type": "string"
          },
          "rutaAlmacenamiento": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "tamanoBytes": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "transaccionId": {
            "type": "string"
          }
        },
        "required": [
          "formularioCampoId",
          "nombreArchivo",
          "rutaAlmacenamiento",
          "mimeType",
          "tamanoBytes"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<TransaccionAdjunto, 'id'>"
      },
      "TransaccionAdjuntoPartial": {
        "title": "TransaccionAdjuntoPartial",
        "type": "object",
        "description": "(tsType: Partial<TransaccionAdjunto>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "formularioCampoId": {
            "type": "number"
          },
          "nombreArchivo": {
            "type": "string"
          },
          "rutaAlmacenamiento": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "tamanoBytes": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "transaccionId": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<TransaccionAdjunto>"
      },
      "Staff": {
        "title": "Staff",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "apptype": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "longname": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "departamento": {
            "type": "string"
          },
          "termsAccepted": {
            "type": "boolean"
          },
          "emailVerificado": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "pin": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          }
        },
        "required": [
          "username",
          "longname",
          "userId"
        ],
        "additionalProperties": false
      },
      "NewStaff": {
        "title": "NewStaff",
        "type": "object",
        "description": "(tsType: Omit<Staff, 'id'>, schemaOptions: { title: 'NewStaff', exclude: [ 'id' ] })",
        "properties": {
          "apptype": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "longname": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "departamento": {
            "type": "string"
          },
          "termsAccepted": {
            "type": "boolean"
          },
          "emailVerificado": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "pin": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          }
        },
        "required": [
          "username",
          "longname",
          "userId"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Staff, 'id'>"
      },
      "StaffPartial": {
        "title": "StaffPartial",
        "type": "object",
        "description": "(tsType: Partial<Staff>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "apptype": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "longname": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "departamento": {
            "type": "string"
          },
          "termsAccepted": {
            "type": "boolean"
          },
          "emailVerificado": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "pin": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Staff>"
      },
      "Sociedad": {
        "title": "Sociedad",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "nit": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "logo_white": {
            "type": "string"
          },
          "copy_write": {
            "type": "string"
          },
          "direccionFiscal": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "organizacionId": {
            "type": "number"
          }
        },
        "required": [
          "nombre",
          "company"
        ],
        "additionalProperties": false
      },
      "NewSociedad": {
        "title": "NewSociedad",
        "type": "object",
        "description": "(tsType: Omit<Sociedad, 'id'>, schemaOptions: { title: 'NewSociedad', exclude: [ 'id' ] })",
        "properties": {
          "nombre": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "nit": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "logo_white": {
            "type": "string"
          },
          "copy_write": {
            "type": "string"
          },
          "direccionFiscal": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "organizacionId": {
            "type": "number"
          }
        },
        "required": [
          "nombre",
          "company"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Sociedad, 'id'>"
      },
      "OrganizacionWithRelations": {
        "title": "OrganizacionWithRelations",
        "type": "object",
        "description": "(tsType: OrganizacionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "direccion": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "logo_mini": {
            "type": "string"
          },
          "copyright": {
            "type": "string"
          },
          "banner": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "sociedades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SociedadWithRelations"
            }
          }
        },
        "required": [
          "codigo",
          "nombre",
          "direccion"
        ],
        "additionalProperties": false,
        "x-typescript-type": "OrganizacionWithRelations"
      },
      "SociedadWithRelations": {
        "title": "SociedadWithRelations",
        "type": "object",
        "description": "(tsType: SociedadWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "nit": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "logo_white": {
            "type": "string"
          },
          "copy_write": {
            "type": "string"
          },
          "direccionFiscal": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "organizacionId": {
            "type": "number"
          },
          "organizacion": {
            "$ref": "#/components/schemas/OrganizacionWithRelations"
          }
        },
        "required": [
          "nombre",
          "company"
        ],
        "additionalProperties": false,
        "x-typescript-type": "SociedadWithRelations"
      },
      "SociedadPartial": {
        "title": "SociedadPartial",
        "type": "object",
        "description": "(tsType: Partial<Sociedad>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "nit": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "logo_white": {
            "type": "string"
          },
          "copy_write": {
            "type": "string"
          },
          "direccionFiscal": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "organizacionId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Sociedad>"
      },
      "Proyecto": {
        "title": "Proyecto",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "fechaInicio": {
            "type": "string",
            "format": "date-time"
          },
          "fechaFin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "sociedadId": {
            "type": "number"
          }
        },
        "required": [
          "nombre",
          "fechaInicio",
          "fechaFin"
        ],
        "additionalProperties": false
      },
      "ProyectoExcluding_id_": {
        "title": "ProyectoExcluding_id_",
        "type": "object",
        "description": "(tsType: Omit<Proyecto, 'id'>, schemaOptions: { exclude: [ 'id' ] })",
        "properties": {
          "nombre": {
            "type": "string"
          },
          "fechaInicio": {
            "type": "string",
            "format": "date-time"
          },
          "fechaFin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "sociedadId": {
            "type": "number"
          }
        },
        "required": [
          "nombre",
          "fechaInicio",
          "fechaFin"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Proyecto, 'id'>"
      },
      "ProyectoEntidadWithRelations": {
        "title": "ProyectoEntidadWithRelations",
        "type": "object",
        "description": "(tsType: ProyectoEntidadWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "fechaIncorporacion": {
            "type": "string",
            "format": "date-time"
          },
          "fechaRetiro": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "proyectoId": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "proyecto": {
            "$ref": "#/components/schemas/ProyectoWithRelations"
          },
          "entidad": {
            "$ref": "#/components/schemas/EntidadWithRelations"
          }
        },
        "required": [
          "fechaIncorporacion"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProyectoEntidadWithRelations"
      },
      "ProyectoWithRelations": {
        "title": "ProyectoWithRelations",
        "type": "object",
        "description": "(tsType: ProyectoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "fechaInicio": {
            "type": "string",
            "format": "date-time"
          },
          "fechaFin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "sociedadId": {
            "type": "number"
          },
          "sociedad": {
            "$ref": "#/components/schemas/SociedadWithRelations"
          },
          "entidades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProyectoEntidadWithRelations"
            }
          }
        },
        "required": [
          "nombre",
          "fechaInicio",
          "fechaFin"
        ],
        "additionalProperties": false,
        "x-typescript-type": "ProyectoWithRelations"
      },
      "ProyectoPartialExcluding_id-created-created_by_": {
        "title": "ProyectoPartialExcluding_id-created-created_by_",
        "type": "object",
        "description": "(tsType: Omit<Partial<Proyecto>, 'id' | 'created' | 'created_by'>, schemaOptions: { partial: true, exclude: [ 'id', 'created', 'created_by' ] })",
        "properties": {
          "nombre": {
            "type": "string"
          },
          "fechaInicio": {
            "type": "string",
            "format": "date-time"
          },
          "fechaFin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "updated_by": {
            "type": "string"
          },
          "sociedadId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<Proyecto>, 'id' | 'created' | 'created_by'>"
      },
      "FormularioVersion": {
        "title": "FormularioVersion",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "version": {
            "type": "number"
          },
          "etapa": {
            "type": "number",
            "enum": [
              1,
              2,
              3
            ]
          },
          "estado": {
            "type": "string",
            "enum": [
              "borrador",
              "activo",
              "archivado"
            ]
          },
          "notificadoEmails": {
            "type": "string"
          },
          "emailSubject": {
            "type": "string"
          },
          "emailBody": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          }
        },
        "required": [
          "nombre",
          "etapa",
          "estado"
        ],
        "additionalProperties": false
      },
      "NuevaFormularioVersion": {
        "title": "NuevaFormularioVersion",
        "type": "object",
        "description": "(tsType: Omit<FormularioVersion, 'id'>, schemaOptions: { title: 'NuevaFormularioVersion', exclude: [ 'id' ] })",
        "properties": {
          "nombre": {
            "type": "string"
          },
          "version": {
            "type": "number"
          },
          "etapa": {
            "type": "number",
            "enum": [
              1,
              2,
              3
            ]
          },
          "estado": {
            "type": "string",
            "enum": [
              "borrador",
              "activo",
              "archivado"
            ]
          },
          "notificadoEmails": {
            "type": "string"
          },
          "emailSubject": {
            "type": "string"
          },
          "emailBody": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          }
        },
        "required": [
          "nombre",
          "etapa",
          "estado"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<FormularioVersion, 'id'>"
      },
      "FormularioVersionPartial": {
        "title": "FormularioVersionPartial",
        "type": "object",
        "description": "(tsType: Partial<FormularioVersion>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "version": {
            "type": "number"
          },
          "etapa": {
            "type": "number",
            "enum": [
              1,
              2,
              3
            ]
          },
          "estado": {
            "type": "string",
            "enum": [
              "borrador",
              "activo",
              "archivado"
            ]
          },
          "notificadoEmails": {
            "type": "string"
          },
          "emailSubject": {
            "type": "string"
          },
          "emailBody": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<FormularioVersion>"
      },
      "FormularioSubseccion": {
        "title": "FormularioSubseccion",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "formularioSeccionId": {
            "type": "number"
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false
      },
      "FormularioSubseccionPartial": {
        "title": "FormularioSubseccionPartial",
        "type": "object",
        "description": "(tsType: Partial<FormularioSubseccion>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "formularioSeccionId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<FormularioSubseccion>"
      },
      "FormularioSeccion": {
        "title": "FormularioSeccion",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "formularioVersionId": {
            "type": "number"
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false
      },
      "NuevaFormularioSeccion": {
        "title": "NuevaFormularioSeccion",
        "type": "object",
        "description": "(tsType: Omit<FormularioSeccion, 'id'>, schemaOptions: { title: 'NuevaFormularioSeccion', exclude: [ 'id' ] })",
        "properties": {
          "nombre": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "formularioVersionId": {
            "type": "number"
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<FormularioSeccion, 'id'>"
      },
      "FormularioSeccionPartial": {
        "title": "FormularioSeccionPartial",
        "type": "object",
        "description": "(tsType: Partial<FormularioSeccion>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "company": {
            "type": "number"
          },
          "formularioVersionId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<FormularioSeccion>"
      },
      "FormularioCampo": {
        "title": "FormularioCampo",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "etiqueta": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "text",
              "number",
              "date",
              "list",
              "prefilled",
              "foto",
              "documento",
              "firma",
              "label",
              "disclaimer",
              "tabla",
              "boolean",
              "si_no_na",
              "si_no_na_opciones",
              "si_no_na_observaciones",
              "si_no_observaciones",
              "aplica_no_aplica"
            ]
          },
          "requerido": {
            "type": "boolean"
          },
          "orden": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "formularioSeccionId": {
            "type": "object"
          },
          "formularioSubseccionId": {
            "type": "object"
          },
          "formularioVersionId": {
            "type": "object"
          }
        },
        "required": [
          "etiqueta",
          "tipo"
        ],
        "additionalProperties": false
      },
      "Entidad": {
        "title": "Entidad",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "codigo": {
            "type": "string"
          },
          "clave": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "estado": {
            "type": "string",
            "enum": [
              "disponible",
              "entregado",
              "devuelto"
            ],
            "nullable": true
          },
          "status": {
            "type": "number"
          },
          "creadoDesdeApp": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "sociedadId": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          }
        },
        "required": [
          "sociedadId"
        ],
        "additionalProperties": false
      },
      "EntidadCampoValor": {
        "title": "EntidadCampoValor",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "valor": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "dominioCampoId": {
            "type": "number"
          }
        },
        "required": [
          "valor"
        ],
        "additionalProperties": false
      },
      "EntidadAgente": {
        "title": "EntidadAgente",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "fechaAsignacion": {
            "type": "string",
            "format": "date-time"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "staffId": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NuevoEntidadCampoValor": {
        "title": "NuevoEntidadCampoValor",
        "type": "object",
        "description": "(tsType: Omit<EntidadCampoValor, 'id'>, schemaOptions: { title: 'NuevoEntidadCampoValor', exclude: [ 'id' ] })",
        "properties": {
          "valor": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "dominioCampoId": {
            "type": "number"
          }
        },
        "required": [
          "valor"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<EntidadCampoValor, 'id'>"
      },
      "EntidadCampoValorPartial": {
        "title": "EntidadCampoValorPartial",
        "type": "object",
        "description": "(tsType: Partial<EntidadCampoValor>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "valor": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "dominioCampoId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EntidadCampoValor>"
      },
      "NuevoEntidadAgente": {
        "title": "NuevoEntidadAgente",
        "type": "object",
        "description": "(tsType: Omit<EntidadAgente, 'id'>, schemaOptions: { title: 'NuevoEntidadAgente', exclude: [ 'id' ] })",
        "properties": {
          "fechaAsignacion": {
            "type": "string",
            "format": "date-time"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "staffId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<EntidadAgente, 'id'>"
      },
      "EntidadAgentePartial": {
        "title": "EntidadAgentePartial",
        "type": "object",
        "description": "(tsType: Partial<EntidadAgente>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "fechaAsignacion": {
            "type": "string",
            "format": "date-time"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "entidadId": {
            "type": "string"
          },
          "staffId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EntidadAgente>"
      },
      "Dominio": {
        "title": "Dominio",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "icono": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false
      },
      "DominioCampo": {
        "title": "DominioCampo",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "etiqueta": {
            "type": "string"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "text",
              "number",
              "email",
              "date",
              "boolean",
              "list",
              "location"
            ]
          },
          "icono": {
            "type": "string"
          },
          "requerido": {
            "type": "boolean"
          },
          "esSistema": {
            "type": "boolean"
          },
          "mostrarEnApp": {
            "type": "boolean"
          },
          "esIdentificador": {
            "type": "boolean"
          },
          "mostrarEnReporte": {
            "type": "boolean"
          },
          "ordenReporte": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          }
        },
        "required": [
          "nombre",
          "etiqueta",
          "tipo"
        ],
        "additionalProperties": false
      },
      "NuevoDominioCampo": {
        "title": "NuevoDominioCampo",
        "type": "object",
        "description": "(tsType: Omit<DominioCampo, 'id'>, schemaOptions: { title: 'NuevoDominioCampo', exclude: [ 'id' ] })",
        "properties": {
          "nombre": {
            "type": "string"
          },
          "etiqueta": {
            "type": "string"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "text",
              "number",
              "email",
              "date",
              "boolean",
              "list",
              "location"
            ]
          },
          "icono": {
            "type": "string"
          },
          "requerido": {
            "type": "boolean"
          },
          "esSistema": {
            "type": "boolean"
          },
          "mostrarEnApp": {
            "type": "boolean"
          },
          "esIdentificador": {
            "type": "boolean"
          },
          "mostrarEnReporte": {
            "type": "boolean"
          },
          "ordenReporte": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          }
        },
        "required": [
          "nombre",
          "etiqueta",
          "tipo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<DominioCampo, 'id'>"
      },
      "DominioCampoPartial": {
        "title": "DominioCampoPartial",
        "type": "object",
        "description": "(tsType: Partial<DominioCampo>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "etiqueta": {
            "type": "string"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "text",
              "number",
              "email",
              "date",
              "boolean",
              "list",
              "location"
            ]
          },
          "icono": {
            "type": "string"
          },
          "requerido": {
            "type": "boolean"
          },
          "esSistema": {
            "type": "boolean"
          },
          "mostrarEnApp": {
            "type": "boolean"
          },
          "esIdentificador": {
            "type": "boolean"
          },
          "mostrarEnReporte": {
            "type": "boolean"
          },
          "ordenReporte": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<DominioCampo>"
      },
      "DominioCampoValor": {
        "title": "DominioCampoValor",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "valor": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioCampoId": {
            "type": "number"
          }
        },
        "required": [
          "valor"
        ],
        "additionalProperties": false
      },
      "NuevoDominioCampoValor": {
        "title": "NuevoDominioCampoValor",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<DominioCampoValor, 'id'>, 'descripcion'>, schemaOptions: { title: 'NuevoDominioCampoValor', exclude: [ 'id' ], optional: [ 'descripcion' ] })",
        "properties": {
          "valor": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioCampoId": {
            "type": "number"
          }
        },
        "required": [
          "valor"
        ],
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<DominioCampoValor, 'id'>, 'descripcion'>"
      },
      "DominioCampoValorPartial": {
        "title": "DominioCampoValorPartial",
        "type": "object",
        "description": "(tsType: Partial<DominioCampoValor>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "valor": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "orden": {
            "type": "number"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "dominioCampoId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<DominioCampoValor>"
      },
      "Organizacion": {
        "title": "Organizacion",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "direccion": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "logo_mini": {
            "type": "string"
          },
          "copyright": {
            "type": "string"
          },
          "banner": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "required": [
          "codigo",
          "nombre",
          "direccion"
        ],
        "additionalProperties": false
      },
      "NewOrganizacion": {
        "title": "NewOrganizacion",
        "type": "object",
        "description": "(tsType: Omit<Organizacion, 'id'>, schemaOptions: { title: 'NewOrganizacion', exclude: [ 'id' ] })",
        "properties": {
          "codigo": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "direccion": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "logo_mini": {
            "type": "string"
          },
          "copyright": {
            "type": "string"
          },
          "banner": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "required": [
          "codigo",
          "nombre",
          "direccion"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Organizacion, 'id'>"
      },
      "OrganizacionPartialExcluding_id-created-created_by-updated-updated_by-sociedades_": {
        "title": "OrganizacionPartialExcluding_id-created-created_by-updated-updated_by-sociedades_",
        "type": "object",
        "description": "(tsType: Omit<Partial<Organizacion>, 'id' | 'created' | 'created_by' | 'updated' | 'updated_by' | 'sociedades'>, schemaOptions: { partial: true, exclude: [ 'id', 'created', 'created_by', 'updated', 'updated_by', 'sociedades' ] })",
        "properties": {
          "codigo": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "direccion": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "logo": {
            "type": "string"
          },
          "logo_mini": {
            "type": "string"
          },
          "copyright": {
            "type": "string"
          },
          "banner": {
            "type": "string"
          },
          "status": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Partial<Organizacion>, 'id' | 'created' | 'created_by' | 'updated' | 'updated_by' | 'sociedades'>"
      },
      "Catalogo": {
        "title": "Catalogo",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "contexto": {
            "type": "string"
          },
          "valor": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "editable": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "scalar",
              "list"
            ]
          }
        },
        "required": [
          "contexto",
          "valor"
        ],
        "additionalProperties": false
      },
      "NewCatalogo": {
        "title": "NewCatalogo",
        "type": "object",
        "description": "(tsType: Omit<Catalogo, 'id'>, schemaOptions: { title: 'NewCatalogo', exclude: [ 'id' ] })",
        "properties": {
          "contexto": {
            "type": "string"
          },
          "valor": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "editable": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "scalar",
              "list"
            ]
          }
        },
        "required": [
          "contexto",
          "valor"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Catalogo, 'id'>"
      },
      "CatalogoWithRelations": {
        "title": "CatalogoWithRelations",
        "type": "object",
        "description": "(tsType: CatalogoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "contexto": {
            "type": "string"
          },
          "valor": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "editable": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "scalar",
              "list"
            ]
          }
        },
        "required": [
          "contexto",
          "valor"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CatalogoWithRelations"
      },
      "CatalogoPartial": {
        "title": "CatalogoPartial",
        "type": "object",
        "description": "(tsType: Partial<Catalogo>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "contexto": {
            "type": "string"
          },
          "valor": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "editable": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "company": {
            "type": "number"
          },
          "orden": {
            "type": "number"
          },
          "tipo": {
            "type": "string",
            "enum": [
              "scalar",
              "list"
            ]
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Catalogo>"
      },
      "Catalogo.Filter": {
        "type": "object",
        "title": "Catalogo.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": "Catalogo.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "contexto": {
                    "type": "boolean"
                  },
                  "valor": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "editable": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "contexto",
                    "valor",
                    "descripcion",
                    "editable",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "orden",
                    "tipo"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Catalogo.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Catalogo>"
      },
      "Organizacion.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": "Organizacion.ScopeFilter"
      },
      "Organizacion.IncludeFilter.Items": {
        "title": "Organizacion.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "sociedades"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Organizacion.ScopeFilter"
          }
        }
      },
      "Organizacion.Filter": {
        "type": "object",
        "title": "Organizacion.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": "Organizacion.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "codigo": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "direccion": {
                    "type": "boolean"
                  },
                  "telefono": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "logo": {
                    "type": "boolean"
                  },
                  "logo_mini": {
                    "type": "boolean"
                  },
                  "copyright": {
                    "type": "boolean"
                  },
                  "banner": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "codigo",
                    "nombre",
                    "direccion",
                    "telefono",
                    "estado",
                    "logo",
                    "logo_mini",
                    "copyright",
                    "banner",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Organizacion.Fields"
          },
          "include": {
            "title": "Organizacion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Organizacion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Organizacion>"
      },
      "DominioCampoValor.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": "DominioCampoValor.ScopeFilter"
      },
      "DominioCampoValor.IncludeFilter.Items": {
        "title": "DominioCampoValor.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "dominioCampo"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/DominioCampoValor.ScopeFilter"
          }
        }
      },
      "DominioCampoValor.Filter": {
        "type": "object",
        "title": "DominioCampoValor.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"
                  },
                  "valor": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "dominioCampoId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "valor",
                    "descripcion",
                    "orden",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "dominioCampoId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DominioCampoValor.Fields"
          },
          "include": {
            "title": "DominioCampoValor.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DominioCampoValor.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DominioCampoValor>"
      },
      "DominioCampoValor.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "DominioCampoValor.ScopeFilter"
      },
      "DominioCampoValor.IncludeFilter.Items1": {
        "title": "DominioCampoValor.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "dominioCampo"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/DominioCampoValor.ScopeFilter1"
          }
        }
      },
      "DominioCampoValor.Filter1": {
        "type": "object",
        "title": "DominioCampoValor.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": "DominioCampoValor.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "valor": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "dominioCampoId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "valor",
                    "descripcion",
                    "orden",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "dominioCampoId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "DominioCampoValor.Fields"
          },
          "include": {
            "title": "DominioCampoValor.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DominioCampoValor.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DominioCampoValor>"
      },
      "DominioCampo.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": "DominioCampo.ScopeFilter"
      },
      "DominioCampo.IncludeFilter.Items": {
        "title": "DominioCampo.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "dominio",
              "valores"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/DominioCampo.ScopeFilter"
          }
        }
      },
      "DominioCampo.Filter": {
        "type": "object",
        "title": "DominioCampo.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"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "etiqueta": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  },
                  "icono": {
                    "type": "boolean"
                  },
                  "requerido": {
                    "type": "boolean"
                  },
                  "esSistema": {
                    "type": "boolean"
                  },
                  "mostrarEnApp": {
                    "type": "boolean"
                  },
                  "esIdentificador": {
                    "type": "boolean"
                  },
                  "mostrarEnReporte": {
                    "type": "boolean"
                  },
                  "ordenReporte": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "dominioId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "etiqueta",
                    "tipo",
                    "icono",
                    "requerido",
                    "esSistema",
                    "mostrarEnApp",
                    "esIdentificador",
                    "mostrarEnReporte",
                    "ordenReporte",
                    "orden",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "dominioId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DominioCampo.Fields"
          },
          "include": {
            "title": "DominioCampo.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DominioCampo.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DominioCampo>"
      },
      "DominioCampo.Filter1": {
        "type": "object",
        "title": "DominioCampo.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": "DominioCampo.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "etiqueta": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  },
                  "icono": {
                    "type": "boolean"
                  },
                  "requerido": {
                    "type": "boolean"
                  },
                  "esSistema": {
                    "type": "boolean"
                  },
                  "mostrarEnApp": {
                    "type": "boolean"
                  },
                  "esIdentificador": {
                    "type": "boolean"
                  },
                  "mostrarEnReporte": {
                    "type": "boolean"
                  },
                  "ordenReporte": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "dominioId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "etiqueta",
                    "tipo",
                    "icono",
                    "requerido",
                    "esSistema",
                    "mostrarEnApp",
                    "esIdentificador",
                    "mostrarEnReporte",
                    "ordenReporte",
                    "orden",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "dominioId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "DominioCampo.Fields"
          },
          "include": {
            "title": "DominioCampo.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/DominioCampo.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<DominioCampo>"
      },
      "Dominio.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": "Dominio.ScopeFilter"
      },
      "Dominio.IncludeFilter.Items": {
        "title": "Dominio.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "campos",
              "entidades"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Dominio.ScopeFilter"
          }
        }
      },
      "Dominio.Filter": {
        "type": "object",
        "title": "Dominio.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"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "icono": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "descripcion",
                    "icono",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Dominio.Fields"
          },
          "include": {
            "title": "Dominio.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Dominio.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Dominio>"
      },
      "Dominio.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Dominio.ScopeFilter"
      },
      "Dominio.IncludeFilter.Items1": {
        "title": "Dominio.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "campos",
              "entidades"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Dominio.ScopeFilter1"
          }
        }
      },
      "Dominio.Filter1": {
        "type": "object",
        "title": "Dominio.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": "Dominio.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "icono": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "descripcion",
                    "icono",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Dominio.Fields"
          },
          "include": {
            "title": "Dominio.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Dominio.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Dominio>"
      },
      "EntidadAgente.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": "EntidadAgente.ScopeFilter"
      },
      "EntidadAgente.IncludeFilter.Items": {
        "title": "EntidadAgente.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "entidad",
              "staff"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/EntidadAgente.ScopeFilter"
          }
        }
      },
      "EntidadAgente.Filter": {
        "type": "object",
        "title": "EntidadAgente.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"
                  },
                  "fechaAsignacion": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "entidadId": {
                    "type": "boolean"
                  },
                  "staffId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "fechaAsignacion",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "company",
                    "entidadId",
                    "staffId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EntidadAgente.Fields"
          },
          "include": {
            "title": "EntidadAgente.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/EntidadAgente.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EntidadAgente>"
      },
      "EntidadAgente.Filter1": {
        "type": "object",
        "title": "EntidadAgente.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": "EntidadAgente.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "fechaAsignacion": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "entidadId": {
                    "type": "boolean"
                  },
                  "staffId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "fechaAsignacion",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "company",
                    "entidadId",
                    "staffId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EntidadAgente.Fields"
          },
          "include": {
            "title": "EntidadAgente.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/EntidadAgente.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EntidadAgente>"
      },
      "EntidadCampoValor.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": "EntidadCampoValor.ScopeFilter"
      },
      "EntidadCampoValor.IncludeFilter.Items": {
        "title": "EntidadCampoValor.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "entidad",
              "dominioCampo"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/EntidadCampoValor.ScopeFilter"
          }
        }
      },
      "EntidadCampoValor.Filter": {
        "type": "object",
        "title": "EntidadCampoValor.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"
                  },
                  "valor": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "entidadId": {
                    "type": "boolean"
                  },
                  "dominioCampoId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "valor",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "entidadId",
                    "dominioCampoId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EntidadCampoValor.Fields"
          },
          "include": {
            "title": "EntidadCampoValor.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/EntidadCampoValor.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EntidadCampoValor>"
      },
      "EntidadCampoValor.Filter1": {
        "type": "object",
        "title": "EntidadCampoValor.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": "EntidadCampoValor.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "valor": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "entidadId": {
                    "type": "boolean"
                  },
                  "dominioCampoId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "valor",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "entidadId",
                    "dominioCampoId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EntidadCampoValor.Fields"
          },
          "include": {
            "title": "EntidadCampoValor.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/EntidadCampoValor.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EntidadCampoValor>"
      },
      "Entidad.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": "Entidad.ScopeFilter"
      },
      "Entidad.IncludeFilter.Items": {
        "title": "Entidad.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "dominio",
              "campoValores",
              "agentes",
              "transacciones"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Entidad.ScopeFilter"
          }
        }
      },
      "Entidad.Filter": {
        "type": "object",
        "title": "Entidad.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"
                  },
                  "codigo": {
                    "type": "boolean"
                  },
                  "clave": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "creadoDesdeApp": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "sociedadId": {
                    "type": "boolean"
                  },
                  "dominioId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "codigo",
                    "clave",
                    "nombre",
                    "estado",
                    "status",
                    "creadoDesdeApp",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "sociedadId",
                    "dominioId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Entidad.Fields"
          },
          "include": {
            "title": "Entidad.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Entidad.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Entidad>"
      },
      "Entidad.Filter1": {
        "type": "object",
        "title": "Entidad.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": "Entidad.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "codigo": {
                    "type": "boolean"
                  },
                  "clave": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "creadoDesdeApp": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "sociedadId": {
                    "type": "boolean"
                  },
                  "dominioId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "codigo",
                    "clave",
                    "nombre",
                    "estado",
                    "status",
                    "creadoDesdeApp",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "sociedadId",
                    "dominioId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Entidad.Fields"
          },
          "include": {
            "title": "Entidad.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Entidad.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Entidad>"
      },
      "FormularioCampo.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": "FormularioCampo.ScopeFilter"
      },
      "FormularioCampo.IncludeFilter.Items": {
        "title": "FormularioCampo.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "formularioSeccion",
              "formularioSubseccion",
              "formularioVersion"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FormularioCampo.ScopeFilter"
          }
        }
      },
      "FormularioCampo.Filter": {
        "type": "object",
        "title": "FormularioCampo.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"
                  },
                  "etiqueta": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  },
                  "requerido": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "formularioSeccionId": {
                    "type": "boolean"
                  },
                  "formularioSubseccionId": {
                    "type": "boolean"
                  },
                  "formularioVersionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "etiqueta",
                    "descripcion",
                    "tipo",
                    "requerido",
                    "orden",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "formularioSeccionId",
                    "formularioSubseccionId",
                    "formularioVersionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "FormularioCampo.Fields"
          },
          "include": {
            "title": "FormularioCampo.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FormularioCampo.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FormularioCampo>"
      },
      "FormularioCampo.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "FormularioCampo.ScopeFilter"
      },
      "FormularioCampo.IncludeFilter.Items1": {
        "title": "FormularioCampo.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "formularioSeccion",
              "formularioSubseccion",
              "formularioVersion"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FormularioCampo.ScopeFilter1"
          }
        }
      },
      "FormularioCampo.Filter1": {
        "type": "object",
        "title": "FormularioCampo.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": "FormularioCampo.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "etiqueta": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  },
                  "requerido": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "formularioSeccionId": {
                    "type": "boolean"
                  },
                  "formularioSubseccionId": {
                    "type": "boolean"
                  },
                  "formularioVersionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "etiqueta",
                    "descripcion",
                    "tipo",
                    "requerido",
                    "orden",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "formularioSeccionId",
                    "formularioSubseccionId",
                    "formularioVersionId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "FormularioCampo.Fields"
          },
          "include": {
            "title": "FormularioCampo.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FormularioCampo.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FormularioCampo>"
      },
      "FormularioSeccion.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": "FormularioSeccion.ScopeFilter"
      },
      "FormularioSeccion.IncludeFilter.Items": {
        "title": "FormularioSeccion.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "formularioVersion",
              "subsecciones",
              "campos"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FormularioSeccion.ScopeFilter"
          }
        }
      },
      "FormularioSeccion.Filter": {
        "type": "object",
        "title": "FormularioSeccion.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"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "formularioVersionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "orden",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "company",
                    "formularioVersionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "FormularioSeccion.Fields"
          },
          "include": {
            "title": "FormularioSeccion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FormularioSeccion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FormularioSeccion>"
      },
      "FormularioSeccion.Filter1": {
        "type": "object",
        "title": "FormularioSeccion.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": "FormularioSeccion.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "formularioVersionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "orden",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "company",
                    "formularioVersionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "FormularioSeccion.Fields"
          },
          "include": {
            "title": "FormularioSeccion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FormularioSeccion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FormularioSeccion>"
      },
      "FormularioSubseccion.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": "FormularioSubseccion.ScopeFilter"
      },
      "FormularioSubseccion.IncludeFilter.Items": {
        "title": "FormularioSubseccion.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "formularioSeccion",
              "campos"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FormularioSubseccion.ScopeFilter"
          }
        }
      },
      "FormularioSubseccion.Filter": {
        "type": "object",
        "title": "FormularioSubseccion.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"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "formularioSeccionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "orden",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "company",
                    "formularioSeccionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "FormularioSubseccion.Fields"
          },
          "include": {
            "title": "FormularioSubseccion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FormularioSubseccion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FormularioSubseccion>"
      },
      "FormularioSubseccion.Filter1": {
        "type": "object",
        "title": "FormularioSubseccion.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": "FormularioSubseccion.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "orden": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "formularioSeccionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "orden",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "company",
                    "formularioSeccionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "FormularioSubseccion.Fields"
          },
          "include": {
            "title": "FormularioSubseccion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FormularioSubseccion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FormularioSubseccion>"
      },
      "FormularioVersion.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "FormularioVersion.ScopeFilter"
      },
      "FormularioVersion.IncludeFilter.Items": {
        "title": "FormularioVersion.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "dominio",
              "secciones",
              "transacciones"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/FormularioVersion.ScopeFilter"
          }
        }
      },
      "FormularioVersion.Filter": {
        "type": "object",
        "title": "FormularioVersion.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"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "version": {
                    "type": "boolean"
                  },
                  "etapa": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "notificadoEmails": {
                    "type": "boolean"
                  },
                  "emailSubject": {
                    "type": "boolean"
                  },
                  "emailBody": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "dominioId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "version",
                    "etapa",
                    "estado",
                    "notificadoEmails",
                    "emailSubject",
                    "emailBody",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "dominioId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "FormularioVersion.Fields"
          },
          "include": {
            "title": "FormularioVersion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FormularioVersion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FormularioVersion>"
      },
      "FormularioVersion.Filter1": {
        "type": "object",
        "title": "FormularioVersion.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": "FormularioVersion.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "version": {
                    "type": "boolean"
                  },
                  "etapa": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "notificadoEmails": {
                    "type": "boolean"
                  },
                  "emailSubject": {
                    "type": "boolean"
                  },
                  "emailBody": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "dominioId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "version",
                    "etapa",
                    "estado",
                    "notificadoEmails",
                    "emailSubject",
                    "emailBody",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company",
                    "dominioId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "FormularioVersion.Fields"
          },
          "include": {
            "title": "FormularioVersion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/FormularioVersion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<FormularioVersion>"
      },
      "Proyecto.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": "Proyecto.ScopeFilter"
      },
      "Proyecto.IncludeFilter.Items": {
        "title": "Proyecto.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "sociedad",
              "entidades"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Proyecto.ScopeFilter"
          }
        }
      },
      "Proyecto.Filter": {
        "type": "object",
        "title": "Proyecto.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": "Proyecto.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "fechaInicio": {
                    "type": "boolean"
                  },
                  "fechaFin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "sociedadId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "fechaInicio",
                    "fechaFin",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "sociedadId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Proyecto.Fields"
          },
          "include": {
            "title": "Proyecto.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Proyecto.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Proyecto>"
      },
      "Sociedad.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": "Sociedad.ScopeFilter"
      },
      "Sociedad.IncludeFilter.Items": {
        "title": "Sociedad.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "organizacion"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Sociedad.ScopeFilter"
          }
        }
      },
      "Sociedad.Filter": {
        "type": "object",
        "title": "Sociedad.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"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "nit": {
                    "type": "boolean"
                  },
                  "logo": {
                    "type": "boolean"
                  },
                  "logo_white": {
                    "type": "boolean"
                  },
                  "copy_write": {
                    "type": "boolean"
                  },
                  "direccionFiscal": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "organizacionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "company",
                    "nit",
                    "logo",
                    "logo_white",
                    "copy_write",
                    "direccionFiscal",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "organizacionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Sociedad.Fields"
          },
          "include": {
            "title": "Sociedad.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Sociedad.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Sociedad>"
      },
      "Sociedad.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "Sociedad.ScopeFilter"
      },
      "Sociedad.IncludeFilter.Items1": {
        "title": "Sociedad.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "organizacion"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Sociedad.ScopeFilter1"
          }
        }
      },
      "Sociedad.Filter1": {
        "type": "object",
        "title": "Sociedad.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": "Sociedad.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "nit": {
                    "type": "boolean"
                  },
                  "logo": {
                    "type": "boolean"
                  },
                  "logo_white": {
                    "type": "boolean"
                  },
                  "copy_write": {
                    "type": "boolean"
                  },
                  "direccionFiscal": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "organizacionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "company",
                    "nit",
                    "logo",
                    "logo_white",
                    "copy_write",
                    "direccionFiscal",
                    "estado",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "organizacionId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Sociedad.Fields"
          },
          "include": {
            "title": "Sociedad.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Sociedad.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Sociedad>"
      },
      "Staff.Filter": {
        "type": "object",
        "title": "Staff.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"
                  },
                  "apptype": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "longname": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "telefono": {
                    "type": "boolean"
                  },
                  "departamento": {
                    "type": "boolean"
                  },
                  "termsAccepted": {
                    "type": "boolean"
                  },
                  "emailVerificado": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "realm": {
                    "type": "boolean"
                  },
                  "pin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "apptype",
                    "username",
                    "longname",
                    "userId",
                    "email",
                    "telefono",
                    "departamento",
                    "termsAccepted",
                    "emailVerificado",
                    "estado",
                    "realm",
                    "pin",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Staff.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Staff>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "Staff.Filter1": {
        "type": "object",
        "title": "Staff.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": "Staff.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "apptype": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "longname": {
                    "type": "boolean"
                  },
                  "userId": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "telefono": {
                    "type": "boolean"
                  },
                  "departamento": {
                    "type": "boolean"
                  },
                  "termsAccepted": {
                    "type": "boolean"
                  },
                  "emailVerificado": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "realm": {
                    "type": "boolean"
                  },
                  "pin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "apptype",
                    "username",
                    "longname",
                    "userId",
                    "email",
                    "telefono",
                    "departamento",
                    "termsAccepted",
                    "emailVerificado",
                    "estado",
                    "realm",
                    "pin",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "company"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Staff.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Staff>"
      },
      "TransaccionAdjunto.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": "TransaccionAdjunto.ScopeFilter"
      },
      "TransaccionAdjunto.IncludeFilter.Items": {
        "title": "TransaccionAdjunto.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "transaccion"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TransaccionAdjunto.ScopeFilter"
          }
        }
      },
      "TransaccionAdjunto.Filter": {
        "type": "object",
        "title": "TransaccionAdjunto.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"
                  },
                  "formularioCampoId": {
                    "type": "boolean"
                  },
                  "nombreArchivo": {
                    "type": "boolean"
                  },
                  "rutaAlmacenamiento": {
                    "type": "boolean"
                  },
                  "mimeType": {
                    "type": "boolean"
                  },
                  "tamanoBytes": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "transaccionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "formularioCampoId",
                    "nombreArchivo",
                    "rutaAlmacenamiento",
                    "mimeType",
                    "tamanoBytes",
                    "created",
                    "created_by",
                    "company",
                    "transaccionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TransaccionAdjunto.Fields"
          },
          "include": {
            "title": "TransaccionAdjunto.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TransaccionAdjunto.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TransaccionAdjunto>"
      },
      "TransaccionAdjunto.Filter1": {
        "type": "object",
        "title": "TransaccionAdjunto.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": "TransaccionAdjunto.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "formularioCampoId": {
                    "type": "boolean"
                  },
                  "nombreArchivo": {
                    "type": "boolean"
                  },
                  "rutaAlmacenamiento": {
                    "type": "boolean"
                  },
                  "mimeType": {
                    "type": "boolean"
                  },
                  "tamanoBytes": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "transaccionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "formularioCampoId",
                    "nombreArchivo",
                    "rutaAlmacenamiento",
                    "mimeType",
                    "tamanoBytes",
                    "created",
                    "created_by",
                    "company",
                    "transaccionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TransaccionAdjunto.Fields"
          },
          "include": {
            "title": "TransaccionAdjunto.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TransaccionAdjunto.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TransaccionAdjunto>"
      },
      "TransaccionEmail.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": "TransaccionEmail.ScopeFilter"
      },
      "TransaccionEmail.IncludeFilter.Items": {
        "title": "TransaccionEmail.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "transaccion"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TransaccionEmail.ScopeFilter"
          }
        }
      },
      "TransaccionEmail.Filter": {
        "type": "object",
        "title": "TransaccionEmail.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"
                  },
                  "destinatario": {
                    "type": "boolean"
                  },
                  "subject": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "fechaEnvio": {
                    "type": "boolean"
                  },
                  "fechaApertura": {
                    "type": "boolean"
                  },
                  "errorDetalle": {
                    "type": "boolean"
                  },
                  "smtpMessageId": {
                    "type": "boolean"
                  },
                  "smtpResponse": {
                    "type": "boolean"
                  },
                  "smtpAccepted": {
                    "type": "boolean"
                  },
                  "smtpRejected": {
                    "type": "boolean"
                  },
                  "smtpEstado": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "transaccionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "destinatario",
                    "subject",
                    "estado",
                    "fechaEnvio",
                    "fechaApertura",
                    "errorDetalle",
                    "smtpMessageId",
                    "smtpResponse",
                    "smtpAccepted",
                    "smtpRejected",
                    "smtpEstado",
                    "created",
                    "company",
                    "transaccionId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TransaccionEmail.Fields"
          },
          "include": {
            "title": "TransaccionEmail.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TransaccionEmail.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TransaccionEmail>"
      },
      "TransaccionEmail.ScopeFilter1": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "TransaccionEmail.ScopeFilter"
      },
      "TransaccionEmail.IncludeFilter.Items1": {
        "title": "TransaccionEmail.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "transaccion"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TransaccionEmail.ScopeFilter1"
          }
        }
      },
      "TransaccionEmail.Filter1": {
        "type": "object",
        "title": "TransaccionEmail.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": "TransaccionEmail.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "destinatario": {
                    "type": "boolean"
                  },
                  "subject": {
                    "type": "boolean"
                  },
                  "estado": {
                    "type": "boolean"
                  },
                  "fechaEnvio": {
                    "type": "boolean"
                  },
                  "fechaApertura": {
                    "type": "boolean"
                  },
                  "errorDetalle": {
                    "type": "boolean"
                  },
                  "smtpMessageId": {
                    "type": "boolean"
                  },
                  "smtpResponse": {
                    "type": "boolean"
                  },
                  "smtpAccepted": {
                    "type": "boolean"
                  },
                  "smtpRejected": {
                    "type": "boolean"
                  },
                  "smtpEstado": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "transaccionId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "destinatario",
                    "subject",
                    "estado",
                    "fechaEnvio",
                    "fechaApertura",
                    "errorDetalle",
                    "smtpMessageId",
                    "smtpResponse",
                    "smtpAccepted",
                    "smtpRejected",
                    "smtpEstado",
                    "created",
                    "company",
                    "transaccionId"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "TransaccionEmail.Fields"
          },
          "include": {
            "title": "TransaccionEmail.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TransaccionEmail.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TransaccionEmail>"
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ]
}