{
  "openapi": "3.0.0",
  "info": {
    "title": "redemption-api",
    "version": "0.0.1",
    "description": "Api para la gestion de canje de premios de ILP",
    "contact": {
      "name": "AlphaGT",
      "email": "gdiaz@connextsa.com"
    }
  },
  "paths": {
    "/canjear-premio/{idPremio}/{idTendero}": {
      "post": {
        "x-controller-name": "CanjePremioController",
        "x-operation-name": "canjearPremio",
        "tags": [
          "CanjePremioController"
        ],
        "responses": {
          "200": {
            "description": "Premio canjeado exitosamente",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "parameters": [
          {
            "name": "idPremio",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "idTendero",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "CanjePremioController.canjearPremio"
      }
    },
    "/canjes/count": {
      "get": {
        "x-controller-name": "Canjes",
        "x-operation-name": "count",
        "tags": [
          "Canjes"
        ],
        "responses": {
          "200": {
            "description": "Canje model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Canje.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Canje>"
                }
              }
            }
          }
        ],
        "operationId": "Canjes.count"
      }
    },
    "/canjes/{id}/premio": {
      "get": {
        "x-controller-name": "CanjePremioController",
        "x-operation-name": "getPremio",
        "tags": [
          "CanjePremioController"
        ],
        "responses": {
          "200": {
            "description": "Premio belonging to Canje",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Premio"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CanjePremioController.getPremio"
      }
    },
    "/canjes/{id}": {
      "put": {
        "x-controller-name": "Canjes",
        "x-operation-name": "replaceById",
        "tags": [
          "Canjes"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Canje PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Canje"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Canjes.replaceById"
      },
      "patch": {
        "x-controller-name": "Canjes",
        "x-operation-name": "updateById",
        "tags": [
          "Canjes"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Canje PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CanjePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Canjes.updateById"
      },
      "get": {
        "x-controller-name": "Canjes",
        "x-operation-name": "findById",
        "tags": [
          "Canjes"
        ],
        "responses": {
          "200": {
            "description": "Canje model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CanjeWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Canje.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Canjes.findById"
      },
      "delete": {
        "x-controller-name": "Canjes",
        "x-operation-name": "deleteById",
        "tags": [
          "Canjes"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Canje DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "Canjes.deleteById"
      }
    },
    "/canjes": {
      "post": {
        "x-controller-name": "Canjes",
        "x-operation-name": "create",
        "tags": [
          "Canjes"
        ],
        "responses": {
          "200": {
            "description": "Canje model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Canje"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCanje"
              }
            }
          }
        },
        "operationId": "Canjes.create"
      },
      "patch": {
        "x-controller-name": "Canjes",
        "x-operation-name": "updateAll",
        "tags": [
          "Canjes"
        ],
        "responses": {
          "200": {
            "description": "Canje PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Canje.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Canje>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CanjePartial"
              }
            }
          }
        },
        "operationId": "Canjes.updateAll"
      },
      "get": {
        "x-controller-name": "Canjes",
        "x-operation-name": "find",
        "tags": [
          "Canjes"
        ],
        "responses": {
          "200": {
            "description": "Array of Canje model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CanjeWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Canje.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "Canjes.find"
      }
    },
    "/codigos/getAll": {
      "get": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "getAll",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CodigosController.getAll"
          }
        },
        "parameters": [
          {
            "name": "comercioID",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipoCanje",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estadoCodigo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Start date"
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "End date"
          }
        ],
        "operationId": "CodigosController.getAll"
      }
    },
    "/codigos/importar": {
      "post": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "importar",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Importación de códigos"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "dryRun",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  },
                  "premioId": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "comercioId": {
                    "type": "integer",
                    "minimum": 1
                  },
                  "fechaCompra": {
                    "type": "string",
                    "description": "YYYY-MM-DD o ISO datetime"
                  },
                  "referencia": {
                    "type": "string",
                    "description": "Factura/serie/otros"
                  },
                  "montoPremio": {
                    "type": "string",
                    "description": "Monto referencial (string)"
                  },
                  "statusDefault": {
                    "type": "integer",
                    "default": 1
                  }
                }
              }
            }
          },
          "description": "CSV con cabecera numeroCertificacion + parámetros de contexto",
          "required": true
        },
        "operationId": "CodigosController.importar"
      }
    },
    "/codigos/reporte/inventario": {
      "get": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "getInventario",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CodigosController.getInventario"
          }
        },
        "operationId": "CodigosController.getInventario"
      }
    },
    "/codigos/reporte/utilizacion": {
      "get": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "obtenerReporteUtilizacion",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "200": {
            "description": "Return value of CodigosController.obtenerReporteUtilizacion"
          }
        },
        "parameters": [
          {
            "name": "comercioID",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tipoCanje",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "estadoCodigo",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Start date"
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "End date"
          }
        ],
        "operationId": "CodigosController.obtenerReporteUtilizacion"
      }
    },
    "/codigos/{id}": {
      "patch": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "updateById",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Codigos PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CodigosPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CodigosController.updateById"
      },
      "get": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "findById",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "200": {
            "description": "Codigos model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CodigosWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Codigos.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CodigosController.findById"
      },
      "delete": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "deleteById",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Codigos DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CodigosController.deleteById"
      }
    },
    "/codigos": {
      "post": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "create",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "200": {
            "description": "Codigos model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Codigos"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCodigos"
              }
            }
          }
        },
        "operationId": "CodigosController.create"
      },
      "get": {
        "x-controller-name": "CodigosController",
        "x-operation-name": "find",
        "tags": [
          "CodigosController"
        ],
        "responses": {
          "200": {
            "description": "Array of Codigos model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CodigosWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Codigos.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CodigosController.find"
      }
    },
    "/comercio/signup": {
      "post": {
        "x-controller-name": "Staffs",
        "x-operation-name": "signupComercio",
        "tags": [
          "Staffs"
        ],
        "responses": {
          "200": {
            "description": "Crea cuentas de usuario master y admin cc",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "Staffs.signupComercio"
      }
    },
    "/comercio/staff": {
      "get": {
        "x-controller-name": "Staffs",
        "x-operation-name": "findByComercio",
        "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.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Staffs.findByComercio"
      }
    },
    "/comercios/consultar-certificados": {
      "get": {
        "x-controller-name": "Comercios",
        "x-operation-name": "consultarCertificadosCanjeados",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "200": {
            "description": "Return value of Comercios.consultarCertificadosCanjeados"
          }
        },
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "name": "end",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": false
          }
        ],
        "operationId": "Comercios.consultarCertificadosCanjeados"
      }
    },
    "/comercios/consultar-codigo": {
      "get": {
        "x-controller-name": "Comercios",
        "x-operation-name": "consultarCertificado",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "200": {
            "description": "Return value of Comercios.consultarCertificado"
          }
        },
        "parameters": [
          {
            "name": "certificado",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Código del certificado"
          }
        ],
        "operationId": "Comercios.consultarCertificado"
      }
    },
    "/comercios/count": {
      "get": {
        "x-controller-name": "Comercios",
        "x-operation-name": "count",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "200": {
            "description": "Comercio model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Comercio.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Comercio>"
                }
              }
            }
          }
        ],
        "operationId": "Comercios.count"
      }
    },
    "/comercios/{id}": {
      "put": {
        "x-controller-name": "Comercios",
        "x-operation-name": "replaceById",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Comercio PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Comercio"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Comercios.replaceById"
      },
      "patch": {
        "x-controller-name": "Comercios",
        "x-operation-name": "updateById",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Comercio PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercioPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Comercios.updateById"
      },
      "get": {
        "x-controller-name": "Comercios",
        "x-operation-name": "findById",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "200": {
            "description": "Comercio model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComercioWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Comercio.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Comercios.findById"
      },
      "delete": {
        "x-controller-name": "Comercios",
        "x-operation-name": "deleteById",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Comercio DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "Comercios.deleteById"
      }
    },
    "/comercios": {
      "post": {
        "x-controller-name": "Comercios",
        "x-operation-name": "create",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "200": {
            "description": "Comercio model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Comercio"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewComercio"
              }
            }
          }
        },
        "operationId": "Comercios.create"
      },
      "patch": {
        "x-controller-name": "Comercios",
        "x-operation-name": "updateAll",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "200": {
            "description": "Comercio PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Comercio.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Comercio>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercioPartial"
              }
            }
          }
        },
        "operationId": "Comercios.updateAll"
      },
      "get": {
        "x-controller-name": "Comercios",
        "x-operation-name": "find",
        "tags": [
          "Comercios"
        ],
        "responses": {
          "200": {
            "description": "Array of Comercio model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ComercioWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Comercio.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "Comercios.find"
      }
    },
    "/companies/count": {
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "count",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Company.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Company>"
                }
              }
            }
          }
        ],
        "operationId": "CompanyController.count"
      }
    },
    "/companies/{id}": {
      "put": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "replaceById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Company PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Company"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CompanyController.replaceById"
      },
      "patch": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "updateById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Company PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "CompanyController.updateById"
      },
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "findById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompanyWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company.Filter"
                }
              }
            }
          }
        ],
        "operationId": "CompanyController.findById"
      },
      "delete": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "deleteById",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Company DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "CompanyController.deleteById"
      }
    },
    "/companies": {
      "post": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "create",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCompany"
              }
            }
          }
        },
        "operationId": "CompanyController.create"
      },
      "patch": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "updateAll",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Company PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Company.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Company>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompanyPartial"
              }
            }
          }
        },
        "operationId": "CompanyController.updateAll"
      },
      "get": {
        "x-controller-name": "CompanyController",
        "x-operation-name": "find",
        "tags": [
          "CompanyController"
        ],
        "responses": {
          "200": {
            "description": "Array of Company model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CompanyWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Company.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "CompanyController.find"
      }
    },
    "/dashboard/canje-puntos-mensual": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "canjePuntosMensual",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Total de puntos canjeados durante un mes específico",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mes": {
                      "type": "number"
                    },
                    "total_puntos": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DashboardController.canjePuntosMensual"
      }
    },
    "/dashboard/canje-puntos-premio": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "canjePuntosPremio",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Total de puntos canjeados ordenados por premio",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mes": {
                      "type": "number"
                    },
                    "total_puntos": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DashboardController.canjePuntosPremio"
      }
    },
    "/dashboard/canje-top-premio": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "canjeTopPremio",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Top 10 de premios canjeados",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mes": {
                      "type": "number"
                    },
                    "total_puntos": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "mes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "operationId": "DashboardController.canjeTopPremio"
      }
    },
    "/dashboard/canjePremio": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "canjePremio",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Número de veces que se ha canjeado un premio en un año específico",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "premio": {
                      "type": "string"
                    },
                    "total_canjeos": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "year",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "premioId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "DashboardController.canjePremio"
      }
    },
    "/dashboard/codigos/detalle-comercio-premio": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "detalleComercioPremio",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Detalle comercio x premio",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "comercioId",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "desde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hasta",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "umbralRojo",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "umbralAmar",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "DashboardController.detalleComercioPremio"
      }
    },
    "/dashboard/codigos/resumen-comercio": {
      "get": {
        "x-controller-name": "DashboardController",
        "x-operation-name": "resumenComercio",
        "tags": [
          "DashboardController"
        ],
        "responses": {
          "200": {
            "description": "Resumen por comercio",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "desde",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "hasta",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "umbralRojo",
            "in": "query",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "umbralAmar",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "DashboardController.resumenComercio"
      }
    },
    "/estado-notificaciones/count": {
      "get": {
        "x-controller-name": "EstadoNotificacionController",
        "x-operation-name": "count",
        "tags": [
          "EstadoNotificacionController"
        ],
        "responses": {
          "200": {
            "description": "EstadoNotificacion model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EstadoNotificacion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EstadoNotificacion>"
                }
              }
            }
          }
        ],
        "operationId": "EstadoNotificacionController.count"
      }
    },
    "/estado-notificaciones/{id}": {
      "put": {
        "x-controller-name": "EstadoNotificacionController",
        "x-operation-name": "replaceById",
        "tags": [
          "EstadoNotificacionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EstadoNotificacion PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EstadoNotificacion"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EstadoNotificacionController.replaceById"
      },
      "patch": {
        "x-controller-name": "EstadoNotificacionController",
        "x-operation-name": "updateById",
        "tags": [
          "EstadoNotificacionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EstadoNotificacion PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EstadoNotificacionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "EstadoNotificacionController.updateById"
      },
      "get": {
        "x-controller-name": "EstadoNotificacionController",
        "x-operation-name": "findById",
        "tags": [
          "EstadoNotificacionController"
        ],
        "responses": {
          "200": {
            "description": "EstadoNotificacion model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstadoNotificacionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstadoNotificacion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "EstadoNotificacionController.findById"
      },
      "delete": {
        "x-controller-name": "EstadoNotificacionController",
        "x-operation-name": "deleteById",
        "tags": [
          "EstadoNotificacionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "EstadoNotificacion DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "EstadoNotificacionController.deleteById"
      }
    },
    "/estado-notificaciones": {
      "post": {
        "x-controller-name": "EstadoNotificacionController",
        "x-operation-name": "create",
        "tags": [
          "EstadoNotificacionController"
        ],
        "responses": {
          "200": {
            "description": "EstadoNotificacion model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstadoNotificacion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewEstadoNotificacion"
              }
            }
          }
        },
        "operationId": "EstadoNotificacionController.create"
      },
      "patch": {
        "x-controller-name": "EstadoNotificacionController",
        "x-operation-name": "updateAll",
        "tags": [
          "EstadoNotificacionController"
        ],
        "responses": {
          "200": {
            "description": "EstadoNotificacion PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "EstadoNotificacion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<EstadoNotificacion>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EstadoNotificacionPartial"
              }
            }
          }
        },
        "operationId": "EstadoNotificacionController.updateAll"
      },
      "get": {
        "x-controller-name": "EstadoNotificacionController",
        "x-operation-name": "find",
        "tags": [
          "EstadoNotificacionController"
        ],
        "responses": {
          "200": {
            "description": "Array of EstadoNotificacion model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EstadoNotificacionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstadoNotificacion.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "EstadoNotificacionController.find"
      }
    },
    "/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"
      }
    },
    "/notificaciones/byUser/{tenderoCod}": {
      "get": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "getDistinctNotificaciones",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "200": {
            "description": "Distinct Notificaciones",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "tenderoCod",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "NotificacionController.getDistinctNotificaciones"
      }
    },
    "/notificaciones/count": {
      "get": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "messagesByUser",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "200": {
            "description": "Notificacion model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notificacion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notificacion>"
                }
              }
            }
          }
        ],
        "operationId": "NotificacionController.messagesByUser"
      }
    },
    "/notificaciones/{id}": {
      "put": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "replaceById",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Notificacion PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Notificacion"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotificacionController.replaceById"
      },
      "patch": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "updateById",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Notificacion PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificacionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "NotificacionController.updateById"
      },
      "get": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "findById",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "200": {
            "description": "Notificacion model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificacionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notificacion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "NotificacionController.findById"
      },
      "delete": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "deleteById",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Notificacion DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "NotificacionController.deleteById"
      }
    },
    "/notificaciones": {
      "post": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "create",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "200": {
            "description": "Notificacion model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notificacion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewNotificacion"
              }
            }
          }
        },
        "operationId": "NotificacionController.create"
      },
      "patch": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "updateAll",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "200": {
            "description": "Notificacion PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Notificacion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Notificacion>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificacionPartial"
              }
            }
          }
        },
        "operationId": "NotificacionController.updateAll"
      },
      "get": {
        "x-controller-name": "NotificacionController",
        "x-operation-name": "find",
        "tags": [
          "NotificacionController"
        ],
        "responses": {
          "200": {
            "description": "Array of Notificacion model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NotificacionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Notificacion.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "NotificacionController.find"
      }
    },
    "/ping": {
      "get": {
        "x-controller-name": "Pings",
        "x-operation-name": "ping",
        "tags": [
          "Pings"
        ],
        "responses": {
          "200": {
            "description": "Ping Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PingResponse"
                }
              }
            }
          }
        },
        "operationId": "Pings.ping"
      }
    },
    "/premios/count": {
      "get": {
        "x-controller-name": "Premios",
        "x-operation-name": "count",
        "tags": [
          "Premios"
        ],
        "responses": {
          "200": {
            "description": "Premio model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Premio.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Premio>"
                }
              }
            }
          }
        ],
        "operationId": "Premios.count"
      }
    },
    "/premios/{id}": {
      "put": {
        "x-controller-name": "Premios",
        "x-operation-name": "replaceById",
        "tags": [
          "Premios"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Premio PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Premio"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Premios.replaceById"
      },
      "patch": {
        "x-controller-name": "Premios",
        "x-operation-name": "updateById",
        "tags": [
          "Premios"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Premio PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PremioPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Premios.updateById"
      },
      "get": {
        "x-controller-name": "Premios",
        "x-operation-name": "findById",
        "tags": [
          "Premios"
        ],
        "responses": {
          "200": {
            "description": "Premio model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PremioWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Premio.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Premios.findById"
      },
      "delete": {
        "x-controller-name": "Premios",
        "x-operation-name": "deleteById",
        "tags": [
          "Premios"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Premio DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "Premios.deleteById"
      }
    },
    "/premios": {
      "post": {
        "x-controller-name": "Premios",
        "x-operation-name": "create",
        "tags": [
          "Premios"
        ],
        "responses": {
          "200": {
            "description": "Premio model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Premio"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPremio"
              }
            }
          }
        },
        "operationId": "Premios.create"
      },
      "patch": {
        "x-controller-name": "Premios",
        "x-operation-name": "updateAll",
        "tags": [
          "Premios"
        ],
        "responses": {
          "200": {
            "description": "Premio PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Premio.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Premio>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PremioPartial"
              }
            }
          }
        },
        "operationId": "Premios.updateAll"
      },
      "get": {
        "x-controller-name": "Premios",
        "x-operation-name": "find",
        "tags": [
          "Premios"
        ],
        "responses": {
          "200": {
            "description": "Array of Premio model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PremioWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Premio.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "Premios.find"
      }
    },
    "/productos-erp/disponibles-para-puntos": {
      "get": {
        "x-controller-name": "ProductosERP",
        "x-operation-name": "getProductosDisponiblesParaPuntos",
        "tags": [
          "ProductosERP"
        ],
        "responses": {
          "200": {
            "description": "Lista de productos disponibles para asignar puntos",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductoErp"
                  }
                }
              }
            }
          }
        },
        "operationId": "ProductosERP.getProductosDisponiblesParaPuntos"
      }
    },
    "/productos-erp/{id}": {
      "patch": {
        "x-controller-name": "ProductosERP",
        "x-operation-name": "updateById",
        "tags": [
          "ProductosERP"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "ProductoErp PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductoErpPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "ProductosERP.updateById"
      }
    },
    "/productos-erp": {
      "post": {
        "x-controller-name": "ProductosERP",
        "x-operation-name": "create",
        "tags": [
          "ProductosERP"
        ],
        "responses": {
          "200": {
            "description": "ProductoErp model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductoErp"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewProductoErp"
              }
            }
          }
        },
        "operationId": "ProductosERP.create"
      },
      "get": {
        "x-controller-name": "ProductosERP",
        "x-operation-name": "find",
        "tags": [
          "ProductosERP"
        ],
        "responses": {
          "200": {
            "description": "Array of ProductoErp model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductoErpWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductoErp.Filter"
                }
              }
            }
          }
        ],
        "operationId": "ProductosERP.find"
      }
    },
    "/promociones/count": {
      "get": {
        "x-controller-name": "Promociones",
        "x-operation-name": "count",
        "tags": [
          "Promociones"
        ],
        "responses": {
          "200": {
            "description": "Promocion model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Promocion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Promocion>"
                }
              }
            }
          }
        ],
        "operationId": "Promociones.count"
      }
    },
    "/promociones/{id}": {
      "put": {
        "x-controller-name": "Promociones",
        "x-operation-name": "replaceById",
        "tags": [
          "Promociones"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Promocion PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Promocion"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Promociones.replaceById"
      },
      "patch": {
        "x-controller-name": "Promociones",
        "x-operation-name": "updateById",
        "tags": [
          "Promociones"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Promocion PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromocionPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Promociones.updateById"
      },
      "get": {
        "x-controller-name": "Promociones",
        "x-operation-name": "findById",
        "tags": [
          "Promociones"
        ],
        "responses": {
          "200": {
            "description": "Promocion model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromocionWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Promocion.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Promociones.findById"
      },
      "delete": {
        "x-controller-name": "Promociones",
        "x-operation-name": "deleteById",
        "tags": [
          "Promociones"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Promocion DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "Promociones.deleteById"
      }
    },
    "/promociones": {
      "post": {
        "x-controller-name": "Promociones",
        "x-operation-name": "create",
        "tags": [
          "Promociones"
        ],
        "responses": {
          "200": {
            "description": "Promocion model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Promocion"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPromocion"
              }
            }
          }
        },
        "operationId": "Promociones.create"
      },
      "patch": {
        "x-controller-name": "Promociones",
        "x-operation-name": "updateAll",
        "tags": [
          "Promociones"
        ],
        "responses": {
          "200": {
            "description": "Promocion PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Promocion.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Promocion>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromocionPartial"
              }
            }
          }
        },
        "operationId": "Promociones.updateAll"
      },
      "get": {
        "x-controller-name": "Promociones",
        "x-operation-name": "find",
        "tags": [
          "Promociones"
        ],
        "responses": {
          "200": {
            "description": "Array of Promocion model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PromocionWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Promocion.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "Promociones.find"
      }
    },
    "/puntos/count": {
      "get": {
        "x-controller-name": "Puntos",
        "x-operation-name": "count",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "200": {
            "description": "Punto model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Punto.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Punto>"
                }
              }
            }
          }
        ],
        "operationId": "Puntos.count"
      }
    },
    "/puntos/sum/{tenderoCodigo}": {
      "get": {
        "x-controller-name": "Puntos",
        "x-operation-name": "sumPuntos",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "200": {
            "description": "Sum of puntos for a given tenderoCodigo",
            "content": {
              "application/json": {
                "schema": {
                  "type": "number"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "tenderoCodigo",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "Puntos.sumPuntos"
      }
    },
    "/puntos/{id}": {
      "put": {
        "x-controller-name": "Puntos",
        "x-operation-name": "replaceById",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Punto PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Punto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Puntos.replaceById"
      },
      "patch": {
        "x-controller-name": "Puntos",
        "x-operation-name": "updateById",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Punto PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PuntoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Puntos.updateById"
      },
      "get": {
        "x-controller-name": "Puntos",
        "x-operation-name": "findById",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "200": {
            "description": "Punto model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PuntoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Punto.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Puntos.findById"
      },
      "delete": {
        "x-controller-name": "Puntos",
        "x-operation-name": "deleteById",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Punto DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "Puntos.deleteById"
      }
    },
    "/puntos": {
      "post": {
        "x-controller-name": "Puntos",
        "x-operation-name": "create",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "200": {
            "description": "Punto model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Punto"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPunto"
              }
            }
          }
        },
        "operationId": "Puntos.create"
      },
      "patch": {
        "x-controller-name": "Puntos",
        "x-operation-name": "updateAll",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "200": {
            "description": "Punto PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Punto.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Punto>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PuntoPartial"
              }
            }
          }
        },
        "operationId": "Puntos.updateAll"
      },
      "get": {
        "x-controller-name": "Puntos",
        "x-operation-name": "find",
        "tags": [
          "Puntos"
        ],
        "responses": {
          "200": {
            "description": "Array of Punto model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PuntoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Punto.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "Puntos.find"
      }
    },
    "/puntos-log/count": {
      "get": {
        "x-controller-name": "PuntosLog",
        "x-operation-name": "count",
        "tags": [
          "PuntosLog"
        ],
        "responses": {
          "200": {
            "description": "PuntoLog model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PuntosLog.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PuntoLog>"
                }
              }
            }
          }
        ],
        "operationId": "PuntosLog.count"
      }
    },
    "/puntos-log/{id}": {
      "put": {
        "x-controller-name": "PuntosLog",
        "x-operation-name": "replaceById",
        "tags": [
          "PuntosLog"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PuntoLog PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PuntoLog"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PuntosLog.replaceById"
      },
      "patch": {
        "x-controller-name": "PuntosLog",
        "x-operation-name": "updateById",
        "tags": [
          "PuntosLog"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PuntoLog PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PuntoLogPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "PuntosLog.updateById"
      },
      "get": {
        "x-controller-name": "PuntosLog",
        "x-operation-name": "findById",
        "tags": [
          "PuntosLog"
        ],
        "responses": {
          "200": {
            "description": "PuntoLog model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PuntoLogWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PuntosLog.Filter"
                }
              }
            }
          }
        ],
        "operationId": "PuntosLog.findById"
      },
      "delete": {
        "x-controller-name": "PuntosLog",
        "x-operation-name": "deleteById",
        "tags": [
          "PuntosLog"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "PuntoLog DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "PuntosLog.deleteById"
      }
    },
    "/puntos-log": {
      "post": {
        "x-controller-name": "PuntosLog",
        "x-operation-name": "create",
        "tags": [
          "PuntosLog"
        ],
        "responses": {
          "200": {
            "description": "PuntoLog model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PuntoLog"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewPuntoLog"
              }
            }
          }
        },
        "operationId": "PuntosLog.create"
      },
      "patch": {
        "x-controller-name": "PuntosLog",
        "x-operation-name": "updateAll",
        "tags": [
          "PuntosLog"
        ],
        "responses": {
          "200": {
            "description": "PuntoLog PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "PuntosLog.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<PuntoLog>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PuntoLogPartial"
              }
            }
          }
        },
        "operationId": "PuntosLog.updateAll"
      },
      "get": {
        "x-controller-name": "PuntosLog",
        "x-operation-name": "find",
        "tags": [
          "PuntosLog"
        ],
        "responses": {
          "200": {
            "description": "Array of PuntoLog model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PuntoLogWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PuntosLog.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "PuntosLog.find"
      }
    },
    "/signup": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "signUp",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "User",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewUser"
              }
            }
          }
        },
        "operationId": "UserController.signUp"
      }
    },
    "/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": "object"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "number"
            }
          }
        ],
        "operationId": "Staffs.staffExtended"
      }
    },
    "/staff/{id}/comercio": {
      "get": {
        "x-controller-name": "StaffComercioController",
        "x-operation-name": "getComercio",
        "tags": [
          "StaffComercioController"
        ],
        "responses": {
          "200": {
            "description": "Comercio belonging to Staff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Comercio"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "StaffComercioController.getComercio"
      }
    },
    "/staff/{id}/sucursal": {
      "get": {
        "x-controller-name": "StaffSucursalController",
        "x-operation-name": "getSucursal",
        "tags": [
          "StaffSucursalController"
        ],
        "responses": {
          "200": {
            "description": "Sucursal belonging to Staff",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Sucursal"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "StaffSucursalController.getSucursal"
      }
    },
    "/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.Filter1"
                }
              }
            }
          }
        ],
        "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.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Staffs.find"
      }
    },
    "/sucursales/count": {
      "get": {
        "x-controller-name": "SucursalController",
        "x-operation-name": "count",
        "tags": [
          "SucursalController"
        ],
        "responses": {
          "200": {
            "description": "Sucursal model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Sucursal.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Sucursal>"
                }
              }
            }
          }
        ],
        "operationId": "SucursalController.count"
      }
    },
    "/sucursales/{id}": {
      "put": {
        "x-controller-name": "SucursalController",
        "x-operation-name": "replaceById",
        "tags": [
          "SucursalController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Sucursal PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Sucursal"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SucursalController.replaceById"
      },
      "patch": {
        "x-controller-name": "SucursalController",
        "x-operation-name": "updateById",
        "tags": [
          "SucursalController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Sucursal PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SucursalPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "SucursalController.updateById"
      },
      "get": {
        "x-controller-name": "SucursalController",
        "x-operation-name": "findById",
        "tags": [
          "SucursalController"
        ],
        "responses": {
          "200": {
            "description": "Sucursal model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SucursalWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sucursal.Filter"
                }
              }
            }
          }
        ],
        "operationId": "SucursalController.findById"
      },
      "delete": {
        "x-controller-name": "SucursalController",
        "x-operation-name": "deleteById",
        "tags": [
          "SucursalController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Sucursal DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SucursalController.deleteById"
      }
    },
    "/sucursales": {
      "post": {
        "x-controller-name": "SucursalController",
        "x-operation-name": "create",
        "tags": [
          "SucursalController"
        ],
        "responses": {
          "200": {
            "description": "Sucursal model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sucursal"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewSucursal"
              }
            }
          }
        },
        "operationId": "SucursalController.create"
      },
      "patch": {
        "x-controller-name": "SucursalController",
        "x-operation-name": "updateAll",
        "tags": [
          "SucursalController"
        ],
        "responses": {
          "200": {
            "description": "Sucursal PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Sucursal.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Sucursal>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SucursalPartial"
              }
            }
          }
        },
        "operationId": "SucursalController.updateAll"
      },
      "get": {
        "x-controller-name": "SucursalController",
        "x-operation-name": "find",
        "tags": [
          "SucursalController"
        ],
        "responses": {
          "200": {
            "description": "Array of Sucursal model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SucursalWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Sucursal.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "SucursalController.find"
      }
    },
    "/sucursals/{id}/comercio": {
      "get": {
        "x-controller-name": "SucursalComercioController",
        "x-operation-name": "getComercio",
        "tags": [
          "SucursalComercioController"
        ],
        "responses": {
          "200": {
            "description": "Comercio belonging to Sucursal",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Comercio"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "SucursalComercioController.getComercio"
      }
    },
    "/tasa-puntos/count": {
      "get": {
        "x-controller-name": "TasaPuntos",
        "x-operation-name": "count",
        "tags": [
          "TasaPuntos"
        ],
        "responses": {
          "200": {
            "description": "TasaPunto model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TasaPunto.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TasaPunto>"
                }
              }
            }
          }
        ],
        "operationId": "TasaPuntos.count"
      }
    },
    "/tasa-puntos/{id}": {
      "put": {
        "x-controller-name": "TasaPuntos",
        "x-operation-name": "replaceById",
        "tags": [
          "TasaPuntos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TasaPunto PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TasaPunto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TasaPuntos.replaceById"
      },
      "patch": {
        "x-controller-name": "TasaPuntos",
        "x-operation-name": "updateById",
        "tags": [
          "TasaPuntos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TasaPunto PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TasaPuntoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TasaPuntos.updateById"
      },
      "get": {
        "x-controller-name": "TasaPuntos",
        "x-operation-name": "findById",
        "tags": [
          "TasaPuntos"
        ],
        "responses": {
          "200": {
            "description": "TasaPunto model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TasaPuntoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TasaPunto.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TasaPuntos.findById"
      },
      "delete": {
        "x-controller-name": "TasaPuntos",
        "x-operation-name": "deleteById",
        "tags": [
          "TasaPuntos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TasaPunto DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TasaPuntos.deleteById"
      }
    },
    "/tasa-puntos": {
      "post": {
        "x-controller-name": "TasaPuntos",
        "x-operation-name": "create",
        "tags": [
          "TasaPuntos"
        ],
        "responses": {
          "200": {
            "description": "TasaPunto model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TasaPunto"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTasaPunto"
              }
            }
          }
        },
        "operationId": "TasaPuntos.create"
      },
      "patch": {
        "x-controller-name": "TasaPuntos",
        "x-operation-name": "updateAll",
        "tags": [
          "TasaPuntos"
        ],
        "responses": {
          "200": {
            "description": "TasaPunto PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TasaPunto.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TasaPunto>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TasaPuntoPartial"
              }
            }
          }
        },
        "operationId": "TasaPuntos.updateAll"
      },
      "get": {
        "x-controller-name": "TasaPuntos",
        "x-operation-name": "find",
        "tags": [
          "TasaPuntos"
        ],
        "responses": {
          "200": {
            "description": "Array of TasaPunto model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TasaPuntoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TasaPunto.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TasaPuntos.find"
      }
    },
    "/tasa-puntos-productos/count": {
      "get": {
        "x-controller-name": "TasaPuntosProductos",
        "x-operation-name": "count",
        "tags": [
          "TasaPuntosProductos"
        ],
        "responses": {
          "200": {
            "description": "TasaPuntosProducto model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "tasaPuntosProducto.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TasaPuntosProducto>"
                }
              }
            }
          }
        ],
        "operationId": "TasaPuntosProductos.count"
      }
    },
    "/tasa-puntos-productos/{id}": {
      "put": {
        "x-controller-name": "TasaPuntosProductos",
        "x-operation-name": "replaceById",
        "tags": [
          "TasaPuntosProductos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TasaPuntosProducto PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TasaPuntosProducto"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TasaPuntosProductos.replaceById"
      },
      "patch": {
        "x-controller-name": "TasaPuntosProductos",
        "x-operation-name": "updateById",
        "tags": [
          "TasaPuntosProductos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TasaPuntosProducto PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TasaPuntosProductoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TasaPuntosProductos.updateById"
      },
      "get": {
        "x-controller-name": "TasaPuntosProductos",
        "x-operation-name": "findById",
        "tags": [
          "TasaPuntosProductos"
        ],
        "responses": {
          "200": {
            "description": "TasaPuntosProducto model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TasaPuntosProductoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tasaPuntosProducto.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TasaPuntosProductos.findById"
      },
      "delete": {
        "x-controller-name": "TasaPuntosProductos",
        "x-operation-name": "deleteById",
        "tags": [
          "TasaPuntosProductos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TasaPuntosProducto DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TasaPuntosProductos.deleteById"
      }
    },
    "/tasa-puntos-productos": {
      "post": {
        "x-controller-name": "TasaPuntosProductos",
        "x-operation-name": "create",
        "tags": [
          "TasaPuntosProductos"
        ],
        "responses": {
          "200": {
            "description": "TasaPuntosProducto model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TasaPuntosProducto"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTasaPuntosProducto"
              }
            }
          }
        },
        "operationId": "TasaPuntosProductos.create"
      },
      "patch": {
        "x-controller-name": "TasaPuntosProductos",
        "x-operation-name": "updateAll",
        "tags": [
          "TasaPuntosProductos"
        ],
        "responses": {
          "200": {
            "description": "TasaPuntosProducto PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "tasaPuntosProducto.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TasaPuntosProducto>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TasaPuntosProductoPartial"
              }
            }
          }
        },
        "operationId": "TasaPuntosProductos.updateAll"
      },
      "get": {
        "x-controller-name": "TasaPuntosProductos",
        "x-operation-name": "find",
        "tags": [
          "TasaPuntosProductos"
        ],
        "responses": {
          "200": {
            "description": "Array of TasaPuntosProducto model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TasaPuntosProductoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/tasaPuntosProducto.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TasaPuntosProductos.find"
      }
    },
    "/tenderos/count": {
      "get": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "count",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "200": {
            "description": "Tendero model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Tendero.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Tendero>"
                }
              }
            }
          }
        ],
        "operationId": "Tenderos.count"
      }
    },
    "/tenderos/saldo/{tenderoCodigo}": {
      "get": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "obtenerSaldoTendero",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "200": {
            "description": "Obtiene datos del tendero y su saldo de puntos",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "number"
                    },
                    "titulo": {
                      "type": "string"
                    },
                    "sociedad": {
                      "type": "string"
                    },
                    "plan": {
                      "type": "string"
                    },
                    "trimestre": {
                      "type": "string"
                    },
                    "origen": {
                      "type": "string"
                    },
                    "isPlanificado": {
                      "type": "boolean"
                    },
                    "horasPresupuesto": {
                      "type": "number"
                    },
                    "estadoCampo": {
                      "type": "string"
                    },
                    "estadoGerencia": {
                      "type": "string"
                    },
                    "correlativoInforme": {
                      "type": "string"
                    },
                    "fechaPresentado": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "supervisor": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "number"
                        },
                        "longname": {
                          "type": "string"
                        }
                      }
                    },
                    "numeroDeHallazgos": {
                      "type": "number"
                    },
                    "hallazgosVigentes": {
                      "type": "number"
                    },
                    "hallazgosVencidos": {
                      "type": "number"
                    },
                    "hallazgosCorregidos": {
                      "type": "number"
                    },
                    "hallazgosSinAsignar": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "tenderoCodigo",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "description": "Codigo del tendero que se desea recuperar datos y saldo.",
            "example": "5000000490",
            "required": true
          }
        ],
        "operationId": "Tenderos.obtenerSaldoTendero"
      }
    },
    "/tenderos/{id}/canjes": {
      "post": {
        "x-controller-name": "TenderoCanjeController",
        "x-operation-name": "create",
        "tags": [
          "TenderoCanjeController"
        ],
        "responses": {
          "200": {
            "description": "Tendero model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Canje"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewCanjeInTendero"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenderoCanjeController.create"
      },
      "patch": {
        "x-controller-name": "TenderoCanjeController",
        "x-operation-name": "patch",
        "tags": [
          "TenderoCanjeController"
        ],
        "responses": {
          "200": {
            "description": "Tendero.Canje PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Canje.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Canje>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CanjePartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenderoCanjeController.patch"
      },
      "get": {
        "x-controller-name": "TenderoCanjeController",
        "x-operation-name": "find",
        "tags": [
          "TenderoCanjeController"
        ],
        "responses": {
          "200": {
            "description": "Array of Tendero has many Canje",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Canje"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        ],
        "operationId": "TenderoCanjeController.find"
      },
      "delete": {
        "x-controller-name": "TenderoCanjeController",
        "x-operation-name": "delete",
        "tags": [
          "TenderoCanjeController"
        ],
        "responses": {
          "200": {
            "description": "Tendero.Canje DELETE success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Canje.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Canje>"
                }
              }
            }
          }
        ],
        "operationId": "TenderoCanjeController.delete"
      }
    },
    "/tenderos/{id}": {
      "put": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "replaceById",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Tendero PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Tendero"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Tenderos.replaceById"
      },
      "patch": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "updateById",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "200": {
            "description": "Tendero PATCH success",
            "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": {
                "$ref": "#/components/schemas/TenderoPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "Tenderos.updateById"
      },
      "get": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "findById",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "200": {
            "description": "Tendero model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderoWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tendero.Filter"
                }
              }
            }
          }
        ],
        "operationId": "Tenderos.findById"
      },
      "delete": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "deleteById",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "Tendero DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "Tenderos.deleteById"
      }
    },
    "/tenderos": {
      "post": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "create",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "200": {
            "description": "Tendero model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tendero"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTendero"
              }
            }
          }
        },
        "operationId": "Tenderos.create"
      },
      "patch": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "updateAll",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "200": {
            "description": "Tendero PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "Tendero.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<Tendero>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenderoPartial"
              }
            }
          }
        },
        "operationId": "Tenderos.updateAll"
      },
      "get": {
        "x-controller-name": "Tenderos",
        "x-operation-name": "find",
        "tags": [
          "Tenderos"
        ],
        "responses": {
          "200": {
            "description": "Array of Tendero model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenderoWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Tendero.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "Tenderos.find"
      }
    },
    "/tenderos-erp/count": {
      "get": {
        "x-controller-name": "TenderosERP",
        "x-operation-name": "count",
        "tags": [
          "TenderosERP"
        ],
        "responses": {
          "200": {
            "description": "TenderoErp model count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TenderoErp.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TenderoErp>"
                }
              }
            }
          }
        ],
        "operationId": "TenderosERP.count"
      }
    },
    "/tenderos-erp/{id}": {
      "put": {
        "x-controller-name": "TenderosERP",
        "x-operation-name": "replaceById",
        "tags": [
          "TenderosERP"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenderoErp PUT success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenderoErp"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenderosERP.replaceById"
      },
      "patch": {
        "x-controller-name": "TenderosERP",
        "x-operation-name": "updateById",
        "tags": [
          "TenderosERP"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenderoErp PATCH success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenderoErpPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "TenderosERP.updateById"
      },
      "get": {
        "x-controller-name": "TenderosERP",
        "x-operation-name": "findById",
        "tags": [
          "TenderosERP"
        ],
        "responses": {
          "200": {
            "description": "TenderoErp model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderoErpWithRelations"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          },
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderoErp.Filter"
                }
              }
            }
          }
        ],
        "operationId": "TenderosERP.findById"
      },
      "delete": {
        "x-controller-name": "TenderosERP",
        "x-operation-name": "deleteById",
        "tags": [
          "TenderosERP"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "TenderoErp DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "number"
            },
            "required": true
          }
        ],
        "operationId": "TenderosERP.deleteById"
      }
    },
    "/tenderos-erp": {
      "post": {
        "x-controller-name": "TenderosERP",
        "x-operation-name": "create",
        "tags": [
          "TenderosERP"
        ],
        "responses": {
          "200": {
            "description": "TenderoErp model instance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderoErp"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewTenderoErp"
              }
            }
          }
        },
        "operationId": "TenderosERP.create"
      },
      "patch": {
        "x-controller-name": "TenderosERP",
        "x-operation-name": "updateAll",
        "tags": [
          "TenderosERP"
        ],
        "responses": {
          "200": {
            "description": "TenderoErp PATCH success count",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loopback.Count"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "where",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "title": "TenderoErp.WhereFilter",
                  "additionalProperties": true,
                  "x-typescript-type": "@loopback/repository#Where<TenderoErp>"
                }
              }
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenderoErpPartial"
              }
            }
          }
        },
        "operationId": "TenderosERP.updateAll"
      },
      "get": {
        "x-controller-name": "TenderosERP",
        "x-operation-name": "find",
        "tags": [
          "TenderosERP"
        ],
        "responses": {
          "200": {
            "description": "Array of TenderoErp model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TenderoErpWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenderoErp.Filter1"
                }
              }
            }
          }
        ],
        "operationId": "TenderosERP.find"
      }
    },
    "/users/login/storefront": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "loginStoreFront",
        "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"
                  }
                }
              }
            }
          },
          "description": "The input of login function",
          "required": true
        },
        "operationId": "UserController.loginStoreFront"
      }
    },
    "/users/login/whoAmI": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "whoAmI",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Return current user",
            "content": {
              "application/json": {
                "schema": {
                  "type": "any"
                }
              }
            }
          }
        },
        "operationId": "UserController.whoAmI"
      }
    },
    "/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/store/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"
                  }
                }
              }
            }
          },
          "description": "The input of login function",
          "required": true
        },
        "operationId": "UserController.storeLogin"
      }
    },
    "/users/tendero/login": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "tenderoLogin",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Login exitoso para tendero",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "result": {
                      "type": "boolean"
                    },
                    "token": {
                      "type": "string"
                    },
                    "tendero": {
                      "$ref": "#/components/schemas/TenderoExcluding_pin_"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "pin",
                  "codigo"
                ],
                "properties": {
                  "pin": {
                    "type": "number"
                  },
                  "codigo": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "description": "The input of pin login function",
          "required": true
        },
        "operationId": "UserController.tenderoLogin"
      }
    },
    "/users/tendero/solicitar-pin": {
      "post": {
        "x-controller-name": "UserController",
        "x-operation-name": "solicitarPin",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Solicitud de PIN enviada",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "mensaje": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "codigo",
                  "email",
                  "nombre",
                  "telefono"
                ],
                "properties": {
                  "codigo": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string",
                    "format": "email"
                  },
                  "nombre": {
                    "type": "string"
                  },
                  "telefono": {
                    "type": "string"
                  }
                }
              }
            }
          }
        },
        "operationId": "UserController.solicitarPin"
      }
    },
    "/users/{id}": {
      "patch": {
        "x-controller-name": "UserController",
        "x-operation-name": "updateById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User PATCH "
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UserPartial"
              }
            }
          },
          "x-parameter-index": 1
        },
        "operationId": "UserController.updateById"
      },
      "delete": {
        "x-controller-name": "UserController",
        "x-operation-name": "deleteById",
        "tags": [
          "UserController"
        ],
        "responses": {
          "204": {
            "description": "No Content",
            "content": {
              "application/json": {
                "schema": {
                  "description": "User DELETE success"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "UserController.deleteById"
      }
    },
    "/users": {
      "get": {
        "x-controller-name": "UserController",
        "x-operation-name": "find",
        "tags": [
          "UserController"
        ],
        "responses": {
          "200": {
            "description": "Array of User model instances",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UserWithRelations"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User.Filter"
                }
              }
            }
          }
        ],
        "operationId": "UserController.find"
      }
    }
  },
  "servers": [
    {
      "url": "http://localhost:3015"
    }
  ],
  "components": {
    "schemas": {
      "TenderoExcluding_pin_": {
        "title": "TenderoExcluding_pin_",
        "type": "object",
        "description": "(tsType: Omit<Tendero, 'pin'>, schemaOptions: { exclude: [ 'pin' ] })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "dpi": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "isLogueado": {
            "type": "boolean"
          },
          "isVerificado": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "birthday": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Tendero, 'pin'>"
      },
      "ResetPasswordInit": {
        "title": "ResetPasswordInit",
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": false
      },
      "KeyAndPassword": {
        "title": "KeyAndPassword",
        "type": "object",
        "properties": {
          "verification_token": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "confirmPassword": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "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": false
      },
      "NewUser": {
        "title": "NewUser",
        "type": "object",
        "description": "(tsType: NewUserRequest, schemaOptions: { title: 'NewUser' })",
        "properties": {
          "id": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "additionalProperties": true,
        "x-typescript-type": "NewUserRequest"
      },
      "NewUserRequest": {
        "title": "NewUserRequest",
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        },
        "required": [
          "email",
          "password"
        ],
        "additionalProperties": true
      },
      "UserCredentialsWithRelations": {
        "title": "UserCredentialsWithRelations",
        "type": "object",
        "description": "(tsType: UserCredentialsWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "password": {
            "type": "string"
          },
          "userId": {
            "type": "string"
          }
        },
        "required": [
          "password",
          "userId"
        ],
        "additionalProperties": true,
        "x-typescript-type": "UserCredentialsWithRelations"
      },
      "UserWithRelations": {
        "title": "UserWithRelations",
        "type": "object",
        "description": "(tsType: UserWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "verificationToken": {
            "type": "string"
          },
          "userCredentials": {
            "$ref": "#/components/schemas/UserCredentialsWithRelations"
          }
        },
        "required": [
          "email"
        ],
        "additionalProperties": true,
        "x-typescript-type": "UserWithRelations"
      },
      "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>"
      },
      "Tendero": {
        "title": "Tendero",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "dpi": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "isLogueado": {
            "type": "boolean"
          },
          "isVerificado": {
            "type": "boolean"
          },
          "pin": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "birthday": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewTendero": {
        "title": "NewTendero",
        "type": "object",
        "description": "(tsType: Omit<Tendero, 'id'>, schemaOptions: { title: 'NewTendero', exclude: [ 'id' ] })",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "dpi": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "isLogueado": {
            "type": "boolean"
          },
          "isVerificado": {
            "type": "boolean"
          },
          "pin": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "birthday": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Tendero, 'id'>"
      },
      "SucursalWithRelations": {
        "title": "SucursalWithRelations",
        "type": "object",
        "description": "(tsType: SucursalWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "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"
          },
          "comercioId": {
            "type": "number"
          },
          "comercio": {
            "$ref": "#/components/schemas/ComercioWithRelations"
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false,
        "x-typescript-type": "SucursalWithRelations"
      },
      "ComercioWithRelations": {
        "title": "ComercioWithRelations",
        "type": "object",
        "description": "(tsType: ComercioWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "direccion": {
            "type": "string"
          },
          "imagen": {
            "type": "string"
          },
          "nombreContacto": {
            "type": "string"
          },
          "telefonoContacto": {
            "type": "string"
          },
          "emailContacto": {
            "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"
          },
          "afiliacion": {
            "type": "string"
          },
          "sucursales": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SucursalWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ComercioWithRelations"
      },
      "PremioWithRelations": {
        "title": "PremioWithRelations",
        "type": "object",
        "description": "(tsType: PremioWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "clasificacion": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string"
          },
          "imagen": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "restricciones": {
            "type": "string"
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "vigente": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "comercioID": {
            "type": "number"
          },
          "comercio": {
            "$ref": "#/components/schemas/ComercioWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "PremioWithRelations"
      },
      "CanjeWithRelations": {
        "title": "CanjeWithRelations",
        "type": "object",
        "description": "(tsType: CanjeWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "correlativo": {
            "type": "number"
          },
          "tenderoCodigo": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "numeroCertificacion": {
            "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"
          },
          "codigoTendero": {
            "type": "number"
          },
          "sucursalOperador": {
            "type": "string"
          },
          "staffOperador": {
            "type": "string"
          },
          "fechaOperacion": {
            "type": "string",
            "format": "date-time"
          },
          "serie": {
            "type": "string"
          },
          "numero": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          },
          "premio": {
            "$ref": "#/components/schemas/PremioWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CanjeWithRelations"
      },
      "TenderoWithRelations": {
        "title": "TenderoWithRelations",
        "type": "object",
        "description": "(tsType: TenderoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "dpi": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "isLogueado": {
            "type": "boolean"
          },
          "isVerificado": {
            "type": "boolean"
          },
          "pin": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "birthday": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "canjes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CanjeWithRelations"
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "TenderoWithRelations"
      },
      "TenderoPartial": {
        "title": "TenderoPartial",
        "type": "object",
        "description": "(tsType: Partial<Tendero>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "dpi": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "type": "string"
          },
          "isLogueado": {
            "type": "boolean"
          },
          "isVerificado": {
            "type": "boolean"
          },
          "pin": {
            "type": "number"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "birthday": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Tendero>"
      },
      "TenderoErp": {
        "title": "TenderoErp",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "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"
          }
        },
        "additionalProperties": false
      },
      "NewTenderoErp": {
        "title": "NewTenderoErp",
        "type": "object",
        "description": "(tsType: Omit<TenderoErp, 'id'>, schemaOptions: { title: 'NewTenderoErp', exclude: [ 'id' ] })",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<TenderoErp, 'id'>"
      },
      "TenderoErpWithRelations": {
        "title": "TenderoErpWithRelations",
        "type": "object",
        "description": "(tsType: TenderoErpWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "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"
          },
          "tendero": {
            "$ref": "#/components/schemas/TenderoWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "TenderoErpWithRelations"
      },
      "TenderoErpPartial": {
        "title": "TenderoErpPartial",
        "type": "object",
        "description": "(tsType: Partial<TenderoErp>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "apellido": {
            "type": "string"
          },
          "direccionTienda": {
            "type": "string"
          },
          "nombreTienda": {
            "type": "string"
          },
          "nit": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telefono": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<TenderoErp>"
      },
      "Canje": {
        "title": "Canje",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "correlativo": {
            "type": "number"
          },
          "tenderoCodigo": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "numeroCertificacion": {
            "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"
          },
          "codigoTendero": {
            "type": "number"
          },
          "sucursalOperador": {
            "type": "string"
          },
          "staffOperador": {
            "type": "string"
          },
          "fechaOperacion": {
            "type": "string",
            "format": "date-time"
          },
          "serie": {
            "type": "string"
          },
          "numero": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewCanjeInTendero": {
        "title": "NewCanjeInTendero",
        "type": "object",
        "description": "(tsType: @loopback/repository-json-schema#Optional<Omit<Canje, 'id'>, 'codigoTendero'>, schemaOptions: { title: 'NewCanjeInTendero', exclude: [ 'id' ], optional: [ 'codigoTendero' ] })",
        "properties": {
          "correlativo": {
            "type": "number"
          },
          "tenderoCodigo": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "numeroCertificacion": {
            "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"
          },
          "codigoTendero": {
            "type": "number"
          },
          "sucursalOperador": {
            "type": "string"
          },
          "staffOperador": {
            "type": "string"
          },
          "fechaOperacion": {
            "type": "string",
            "format": "date-time"
          },
          "serie": {
            "type": "string"
          },
          "numero": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository-json-schema#Optional<Omit<Canje, 'id'>, 'codigoTendero'>"
      },
      "CanjePartial": {
        "title": "CanjePartial",
        "type": "object",
        "description": "(tsType: Partial<Canje>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "correlativo": {
            "type": "number"
          },
          "tenderoCodigo": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "numeroCertificacion": {
            "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"
          },
          "codigoTendero": {
            "type": "number"
          },
          "sucursalOperador": {
            "type": "string"
          },
          "staffOperador": {
            "type": "string"
          },
          "fechaOperacion": {
            "type": "string",
            "format": "date-time"
          },
          "serie": {
            "type": "string"
          },
          "numero": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Canje>"
      },
      "TasaPunto": {
        "title": "TasaPunto",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "tasaPorMonto": {
            "type": "number"
          },
          "multiplicador": {
            "type": "number"
          },
          "inicio": {
            "type": "string",
            "format": "date-time"
          },
          "fin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "bonificadorActivo": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewTasaPunto": {
        "title": "NewTasaPunto",
        "type": "object",
        "description": "(tsType: Omit<TasaPunto, 'id'>, schemaOptions: { title: 'NewTasaPunto', exclude: [ 'id' ] })",
        "properties": {
          "tasaPorMonto": {
            "type": "number"
          },
          "multiplicador": {
            "type": "number"
          },
          "inicio": {
            "type": "string",
            "format": "date-time"
          },
          "fin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "bonificadorActivo": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<TasaPunto, 'id'>"
      },
      "TasaPuntoWithRelations": {
        "title": "TasaPuntoWithRelations",
        "type": "object",
        "description": "(tsType: TasaPuntoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "tasaPorMonto": {
            "type": "number"
          },
          "multiplicador": {
            "type": "number"
          },
          "inicio": {
            "type": "string",
            "format": "date-time"
          },
          "fin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "bonificadorActivo": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "TasaPuntoWithRelations"
      },
      "TasaPuntoPartial": {
        "title": "TasaPuntoPartial",
        "type": "object",
        "description": "(tsType: Partial<TasaPunto>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "tasaPorMonto": {
            "type": "number"
          },
          "multiplicador": {
            "type": "number"
          },
          "inicio": {
            "type": "string",
            "format": "date-time"
          },
          "fin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "bonificadorActivo": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<TasaPunto>"
      },
      "TasaPuntosProducto": {
        "title": "TasaPuntosProducto",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigoProducto": {
            "type": "string"
          },
          "tasaPorMonto": {
            "type": "number"
          },
          "inicio": {
            "type": "string",
            "format": "date-time"
          },
          "fin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "vigente": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewTasaPuntosProducto": {
        "title": "NewTasaPuntosProducto",
        "type": "object",
        "description": "(tsType: Omit<TasaPuntosProducto, 'id'>, schemaOptions: { title: 'NewTasaPuntosProducto', exclude: [ 'id' ] })",
        "properties": {
          "codigoProducto": {
            "type": "string"
          },
          "tasaPorMonto": {
            "type": "number"
          },
          "inicio": {
            "type": "string",
            "format": "date-time"
          },
          "fin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "vigente": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<TasaPuntosProducto, 'id'>"
      },
      "ProductoErpWithRelations": {
        "title": "ProductoErpWithRelations",
        "type": "object",
        "description": "(tsType: ProductoErpWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "linea": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "ProductoErpWithRelations"
      },
      "TasaPuntosProductoWithRelations": {
        "title": "TasaPuntosProductoWithRelations",
        "type": "object",
        "description": "(tsType: TasaPuntosProductoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigoProducto": {
            "type": "string"
          },
          "tasaPorMonto": {
            "type": "number"
          },
          "inicio": {
            "type": "string",
            "format": "date-time"
          },
          "fin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "vigente": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "productoErp": {
            "$ref": "#/components/schemas/ProductoErpWithRelations"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "TasaPuntosProductoWithRelations"
      },
      "TasaPuntosProductoPartial": {
        "title": "TasaPuntosProductoPartial",
        "type": "object",
        "description": "(tsType: Partial<TasaPuntosProducto>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigoProducto": {
            "type": "string"
          },
          "tasaPorMonto": {
            "type": "number"
          },
          "inicio": {
            "type": "string",
            "format": "date-time"
          },
          "fin": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "number"
          },
          "vigente": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<TasaPuntosProducto>"
      },
      "Sucursal": {
        "title": "Sucursal",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "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"
          },
          "comercioId": {
            "type": "number"
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false
      },
      "NewSucursal": {
        "title": "NewSucursal",
        "type": "object",
        "description": "(tsType: Omit<Sucursal, 'id'>, schemaOptions: { title: 'NewSucursal', exclude: [ 'id' ] })",
        "properties": {
          "nombre": {
            "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"
          },
          "comercioId": {
            "type": "number"
          }
        },
        "required": [
          "nombre"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Sucursal, 'id'>"
      },
      "SucursalPartial": {
        "title": "SucursalPartial",
        "type": "object",
        "description": "(tsType: Partial<Sucursal>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "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"
          },
          "comercioId": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Sucursal>"
      },
      "Comercio": {
        "title": "Comercio",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "direccion": {
            "type": "string"
          },
          "imagen": {
            "type": "string"
          },
          "nombreContacto": {
            "type": "string"
          },
          "telefonoContacto": {
            "type": "string"
          },
          "emailContacto": {
            "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"
          },
          "afiliacion": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Staff": {
        "title": "Staff",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "apptype": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "longname": {
            "type": "string"
          },
          "company_id": {
            "type": "number"
          },
          "shift_from": {
            "type": "string"
          },
          "shift_to": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "company": {
            "type": "string"
          },
          "direccion": {
            "type": "number"
          },
          "user_id": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "comercio_id": {
            "type": "number"
          },
          "sucursal_id": {
            "type": "number"
          }
        },
        "required": [
          "username",
          "longname",
          "user_id"
        ],
        "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"
          },
          "company_id": {
            "type": "number"
          },
          "shift_from": {
            "type": "string"
          },
          "shift_to": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "company": {
            "type": "string"
          },
          "direccion": {
            "type": "number"
          },
          "user_id": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "comercio_id": {
            "type": "number"
          },
          "sucursal_id": {
            "type": "number"
          }
        },
        "required": [
          "username",
          "longname",
          "user_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Staff, 'id'>"
      },
      "StaffWithRelations": {
        "title": "StaffWithRelations",
        "type": "object",
        "description": "(tsType: StaffWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "apptype": {
            "type": "string"
          },
          "username": {
            "type": "string"
          },
          "longname": {
            "type": "string"
          },
          "company_id": {
            "type": "number"
          },
          "shift_from": {
            "type": "string"
          },
          "shift_to": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "company": {
            "type": "string"
          },
          "direccion": {
            "type": "number"
          },
          "user_id": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "comercio_id": {
            "type": "number"
          },
          "sucursal_id": {
            "type": "number"
          },
          "comercio": {
            "$ref": "#/components/schemas/ComercioWithRelations"
          },
          "sucursal": {
            "$ref": "#/components/schemas/SucursalWithRelations"
          }
        },
        "required": [
          "username",
          "longname",
          "user_id"
        ],
        "additionalProperties": false,
        "x-typescript-type": "StaffWithRelations"
      },
      "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"
          },
          "company_id": {
            "type": "number"
          },
          "shift_from": {
            "type": "string"
          },
          "shift_to": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "company": {
            "type": "string"
          },
          "direccion": {
            "type": "number"
          },
          "user_id": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "realm": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "comercio_id": {
            "type": "number"
          },
          "sucursal_id": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Staff>"
      },
      "Punto": {
        "title": "Punto",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "tenderoCodigo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "origen": {
            "type": "string"
          },
          "factura": {
            "type": "string"
          },
          "monto": {
            "type": "number"
          },
          "origenID": {
            "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"
          }
        },
        "additionalProperties": false
      },
      "NewPunto": {
        "title": "NewPunto",
        "type": "object",
        "description": "(tsType: Omit<Punto, 'id'>, schemaOptions: { title: 'NewPunto', exclude: [ 'id' ] })",
        "properties": {
          "tenderoCodigo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "origen": {
            "type": "string"
          },
          "factura": {
            "type": "string"
          },
          "monto": {
            "type": "number"
          },
          "origenID": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Punto, 'id'>"
      },
      "PuntoWithRelations": {
        "title": "PuntoWithRelations",
        "type": "object",
        "description": "(tsType: PuntoWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "tenderoCodigo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "origen": {
            "type": "string"
          },
          "factura": {
            "type": "string"
          },
          "monto": {
            "type": "number"
          },
          "origenID": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "PuntoWithRelations"
      },
      "PuntoPartial": {
        "title": "PuntoPartial",
        "type": "object",
        "description": "(tsType: Partial<Punto>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "tenderoCodigo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "origen": {
            "type": "string"
          },
          "factura": {
            "type": "string"
          },
          "monto": {
            "type": "number"
          },
          "origenID": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Punto>"
      },
      "PuntoLog": {
        "title": "PuntoLog",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "totalPuntos": {
            "type": "number"
          },
          "totalVentas": {
            "type": "number"
          },
          "totalArticulos": {
            "type": "number"
          },
          "mensaje": {
            "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"
          }
        },
        "additionalProperties": false
      },
      "NewPuntoLog": {
        "title": "NewPuntoLog",
        "type": "object",
        "description": "(tsType: Omit<PuntoLog, 'id'>, schemaOptions: { title: 'NewPuntoLog', exclude: [ 'id' ] })",
        "properties": {
          "totalPuntos": {
            "type": "number"
          },
          "totalVentas": {
            "type": "number"
          },
          "totalArticulos": {
            "type": "number"
          },
          "mensaje": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<PuntoLog, 'id'>"
      },
      "PuntoLogWithRelations": {
        "title": "PuntoLogWithRelations",
        "type": "object",
        "description": "(tsType: PuntoLogWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "totalPuntos": {
            "type": "number"
          },
          "totalVentas": {
            "type": "number"
          },
          "totalArticulos": {
            "type": "number"
          },
          "mensaje": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "PuntoLogWithRelations"
      },
      "PuntoLogPartial": {
        "title": "PuntoLogPartial",
        "type": "object",
        "description": "(tsType: Partial<PuntoLog>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "totalPuntos": {
            "type": "number"
          },
          "totalVentas": {
            "type": "number"
          },
          "totalArticulos": {
            "type": "number"
          },
          "mensaje": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<PuntoLog>"
      },
      "Promocion": {
        "title": "Promocion",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "imagen": {
            "type": "string"
          },
          "terminos": {
            "type": "string"
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewPromocion": {
        "title": "NewPromocion",
        "type": "object",
        "description": "(tsType: Omit<Promocion, 'id'>, schemaOptions: { title: 'NewPromocion', exclude: [ 'id' ] })",
        "properties": {
          "nombre": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "imagen": {
            "type": "string"
          },
          "terminos": {
            "type": "string"
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Promocion, 'id'>"
      },
      "PromocionWithRelations": {
        "title": "PromocionWithRelations",
        "type": "object",
        "description": "(tsType: PromocionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "imagen": {
            "type": "string"
          },
          "terminos": {
            "type": "string"
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "PromocionWithRelations"
      },
      "PromocionPartial": {
        "title": "PromocionPartial",
        "type": "object",
        "description": "(tsType: Partial<Promocion>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "imagen": {
            "type": "string"
          },
          "terminos": {
            "type": "string"
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Promocion>"
      },
      "ProductoErp": {
        "title": "ProductoErp",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "linea": {
            "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"
          }
        },
        "additionalProperties": false
      },
      "NewProductoErp": {
        "title": "NewProductoErp",
        "type": "object",
        "description": "(tsType: Omit<ProductoErp, 'id'>, schemaOptions: { title: 'NewProductoErp', exclude: [ 'id' ] })",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "linea": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<ProductoErp, 'id'>"
      },
      "ProductoErpPartial": {
        "title": "ProductoErpPartial",
        "type": "object",
        "description": "(tsType: Partial<ProductoErp>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "codigo": {
            "type": "string"
          },
          "nombre": {
            "type": "string"
          },
          "linea": {
            "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"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<ProductoErp>"
      },
      "Premio": {
        "title": "Premio",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "clasificacion": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string"
          },
          "imagen": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "restricciones": {
            "type": "string"
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "vigente": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "comercioID": {
            "type": "number"
          }
        },
        "additionalProperties": false
      },
      "NewPremio": {
        "title": "NewPremio",
        "type": "object",
        "description": "(tsType: Omit<Premio, 'id'>, schemaOptions: { title: 'NewPremio', exclude: [ 'id' ] })",
        "properties": {
          "title": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "clasificacion": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string"
          },
          "imagen": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "restricciones": {
            "type": "string"
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "vigente": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "comercioID": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Premio, 'id'>"
      },
      "PremioPartial": {
        "title": "PremioPartial",
        "type": "object",
        "description": "(tsType: Partial<Premio>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "title": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "clasificacion": {
            "type": "string"
          },
          "start": {
            "type": "string",
            "format": "date-time"
          },
          "end": {
            "type": "string",
            "format": "date-time"
          },
          "type": {
            "type": "string"
          },
          "imagen": {
            "type": "string"
          },
          "descripcion": {
            "type": "string"
          },
          "restricciones": {
            "type": "string"
          },
          "isPublished": {
            "type": "boolean"
          },
          "status": {
            "type": "number"
          },
          "vigente": {
            "type": "boolean"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          },
          "comercioID": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Premio>"
      },
      "Notificacion": {
        "title": "Notificacion",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "titulo": {
            "type": "string"
          },
          "cuerpo": {
            "type": "string"
          },
          "remitente": {
            "type": "string"
          },
          "fecha_hora": {
            "type": "string",
            "format": "date-time"
          },
          "usuario_creo": {
            "type": "string"
          }
        },
        "required": [
          "titulo",
          "cuerpo",
          "remitente",
          "fecha_hora",
          "usuario_creo"
        ],
        "additionalProperties": false
      },
      "NewNotificacion": {
        "title": "NewNotificacion",
        "type": "object",
        "description": "(tsType: Omit<Notificacion, 'id'>, schemaOptions: { title: 'NewNotificacion', exclude: [ 'id' ] })",
        "properties": {
          "titulo": {
            "type": "string"
          },
          "cuerpo": {
            "type": "string"
          },
          "remitente": {
            "type": "string"
          },
          "fecha_hora": {
            "type": "string",
            "format": "date-time"
          },
          "usuario_creo": {
            "type": "string"
          }
        },
        "required": [
          "titulo",
          "cuerpo",
          "remitente",
          "fecha_hora",
          "usuario_creo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Notificacion, 'id'>"
      },
      "NotificacionWithRelations": {
        "title": "NotificacionWithRelations",
        "type": "object",
        "description": "(tsType: NotificacionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "titulo": {
            "type": "string"
          },
          "cuerpo": {
            "type": "string"
          },
          "remitente": {
            "type": "string"
          },
          "fecha_hora": {
            "type": "string",
            "format": "date-time"
          },
          "usuario_creo": {
            "type": "string"
          }
        },
        "required": [
          "titulo",
          "cuerpo",
          "remitente",
          "fecha_hora",
          "usuario_creo"
        ],
        "additionalProperties": false,
        "x-typescript-type": "NotificacionWithRelations"
      },
      "NotificacionPartial": {
        "title": "NotificacionPartial",
        "type": "object",
        "description": "(tsType: Partial<Notificacion>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "titulo": {
            "type": "string"
          },
          "cuerpo": {
            "type": "string"
          },
          "remitente": {
            "type": "string"
          },
          "fecha_hora": {
            "type": "string",
            "format": "date-time"
          },
          "usuario_creo": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Notificacion>"
      },
      "EstadoNotificacion": {
        "title": "EstadoNotificacion",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "tendero": {
            "type": "string"
          },
          "id_mensaje": {
            "type": "number"
          },
          "hora_fecha": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "tendero",
          "hora_fecha"
        ],
        "additionalProperties": false
      },
      "NewEstadoNotificacion": {
        "title": "NewEstadoNotificacion",
        "type": "object",
        "description": "(tsType: Omit<EstadoNotificacion, 'id'>, schemaOptions: { title: 'NewEstadoNotificacion', exclude: [ 'id' ] })",
        "properties": {
          "tendero": {
            "type": "string"
          },
          "id_mensaje": {
            "type": "number"
          },
          "hora_fecha": {
            "type": "string",
            "format": "date-time"
          }
        },
        "required": [
          "tendero",
          "hora_fecha"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<EstadoNotificacion, 'id'>"
      },
      "EstadoNotificacionWithRelations": {
        "title": "EstadoNotificacionWithRelations",
        "type": "object",
        "description": "(tsType: EstadoNotificacionWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "tendero": {
            "type": "string"
          },
          "id_mensaje": {
            "type": "number"
          },
          "hora_fecha": {
            "type": "string",
            "format": "date-time"
          },
          "notificacion": {
            "$ref": "#/components/schemas/NotificacionWithRelations"
          }
        },
        "required": [
          "tendero",
          "hora_fecha"
        ],
        "additionalProperties": false,
        "x-typescript-type": "EstadoNotificacionWithRelations"
      },
      "EstadoNotificacionPartial": {
        "title": "EstadoNotificacionPartial",
        "type": "object",
        "description": "(tsType: Partial<EstadoNotificacion>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "tendero": {
            "type": "string"
          },
          "id_mensaje": {
            "type": "number"
          },
          "hora_fecha": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<EstadoNotificacion>"
      },
      "Company": {
        "title": "Company",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "tax_number": {
            "type": "string"
          },
          "resolution_number": {
            "type": "string"
          },
          "resolution_date": {
            "type": "string"
          },
          "digital_certified": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "logo": {
            "type": "string"
          },
          "public_logo": {
            "type": "string"
          },
          "logo_white": {
            "type": "string"
          },
          "copy_write": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "address",
          "tax_number"
        ],
        "additionalProperties": false
      },
      "NewCompany": {
        "title": "NewCompany",
        "type": "object",
        "description": "(tsType: Omit<Company, 'id'>, schemaOptions: { title: 'NewCompany', exclude: [ 'id' ] })",
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "tax_number": {
            "type": "string"
          },
          "resolution_number": {
            "type": "string"
          },
          "resolution_date": {
            "type": "string"
          },
          "digital_certified": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "logo": {
            "type": "string"
          },
          "public_logo": {
            "type": "string"
          },
          "logo_white": {
            "type": "string"
          },
          "copy_write": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "address",
          "tax_number"
        ],
        "additionalProperties": false,
        "x-typescript-type": "Omit<Company, 'id'>"
      },
      "CompanyWithRelations": {
        "title": "CompanyWithRelations",
        "type": "object",
        "description": "(tsType: CompanyWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "tax_number": {
            "type": "string"
          },
          "resolution_number": {
            "type": "string"
          },
          "resolution_date": {
            "type": "string"
          },
          "digital_certified": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "logo": {
            "type": "string"
          },
          "public_logo": {
            "type": "string"
          },
          "logo_white": {
            "type": "string"
          },
          "copy_write": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "address",
          "tax_number"
        ],
        "additionalProperties": false,
        "x-typescript-type": "CompanyWithRelations"
      },
      "CompanyPartial": {
        "title": "CompanyPartial",
        "type": "object",
        "description": "(tsType: Partial<Company>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "address": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          },
          "tax_number": {
            "type": "string"
          },
          "resolution_number": {
            "type": "string"
          },
          "resolution_date": {
            "type": "string"
          },
          "digital_certified": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "status": {
            "type": "number"
          },
          "logo": {
            "type": "string"
          },
          "public_logo": {
            "type": "string"
          },
          "logo_white": {
            "type": "string"
          },
          "copy_write": {
            "type": "string"
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "updated": {
            "type": "string",
            "format": "date-time"
          },
          "created_by": {
            "type": "string"
          },
          "updated_by": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Company>"
      },
      "NewComercio": {
        "title": "NewComercio",
        "type": "object",
        "description": "(tsType: Omit<Comercio, 'id'>, schemaOptions: { title: 'NewComercio', exclude: [ 'id' ] })",
        "properties": {
          "nombre": {
            "type": "string"
          },
          "direccion": {
            "type": "string"
          },
          "imagen": {
            "type": "string"
          },
          "nombreContacto": {
            "type": "string"
          },
          "telefonoContacto": {
            "type": "string"
          },
          "emailContacto": {
            "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"
          },
          "afiliacion": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Comercio, 'id'>"
      },
      "ComercioPartial": {
        "title": "ComercioPartial",
        "type": "object",
        "description": "(tsType: Partial<Comercio>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "nombre": {
            "type": "string"
          },
          "direccion": {
            "type": "string"
          },
          "imagen": {
            "type": "string"
          },
          "nombreContacto": {
            "type": "string"
          },
          "telefonoContacto": {
            "type": "string"
          },
          "emailContacto": {
            "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"
          },
          "afiliacion": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Comercio>"
      },
      "Codigos": {
        "title": "Codigos",
        "type": "object",
        "properties": {
          "id": {
            "type": "number"
          },
          "numeroCertificacion": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "referencia": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "fechaCompra": {
            "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"
          },
          "montoPremio": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "NewCodigos": {
        "title": "NewCodigos",
        "type": "object",
        "description": "(tsType: Omit<Codigos, 'id'>, schemaOptions: { title: 'NewCodigos', exclude: [ 'id' ] })",
        "properties": {
          "numeroCertificacion": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "referencia": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "fechaCompra": {
            "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"
          },
          "montoPremio": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Codigos, 'id'>"
      },
      "CodigosWithRelations": {
        "title": "CodigosWithRelations",
        "type": "object",
        "description": "(tsType: CodigosWithRelations, schemaOptions: { includeRelations: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "numeroCertificacion": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "referencia": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "fechaCompra": {
            "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"
          },
          "montoPremio": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "CodigosWithRelations"
      },
      "CodigosPartial": {
        "title": "CodigosPartial",
        "type": "object",
        "description": "(tsType: Partial<Codigos>, schemaOptions: { partial: true })",
        "properties": {
          "id": {
            "type": "number"
          },
          "numeroCertificacion": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "referencia": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "fechaCompra": {
            "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"
          },
          "montoPremio": {
            "type": "string"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Partial<Codigos>"
      },
      "NewCanje": {
        "title": "NewCanje",
        "type": "object",
        "description": "(tsType: Omit<Canje, 'id'>, schemaOptions: { title: 'NewCanje', exclude: [ 'id' ] })",
        "properties": {
          "correlativo": {
            "type": "number"
          },
          "tenderoCodigo": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "puntos": {
            "type": "number"
          },
          "comercioID": {
            "type": "number"
          },
          "numeroCertificacion": {
            "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"
          },
          "codigoTendero": {
            "type": "number"
          },
          "sucursalOperador": {
            "type": "string"
          },
          "staffOperador": {
            "type": "string"
          },
          "fechaOperacion": {
            "type": "string",
            "format": "date-time"
          },
          "serie": {
            "type": "string"
          },
          "numero": {
            "type": "string"
          },
          "premioID": {
            "type": "number"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "Omit<Canje, 'id'>"
      },
      "loopback.Count": {
        "type": "object",
        "title": "loopback.Count",
        "x-typescript-type": "@loopback/repository#Count",
        "properties": {
          "count": {
            "type": "number"
          }
        }
      },
      "Canje.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": "Canje.ScopeFilter"
      },
      "Canje.IncludeFilter.Items": {
        "title": "Canje.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "premio"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Canje.ScopeFilter"
          }
        }
      },
      "Canje.Filter": {
        "type": "object",
        "title": "Canje.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"
                  },
                  "correlativo": {
                    "type": "boolean"
                  },
                  "tenderoCodigo": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  },
                  "puntos": {
                    "type": "boolean"
                  },
                  "comercioID": {
                    "type": "boolean"
                  },
                  "numeroCertificacion": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "codigoTendero": {
                    "type": "boolean"
                  },
                  "sucursalOperador": {
                    "type": "boolean"
                  },
                  "staffOperador": {
                    "type": "boolean"
                  },
                  "fechaOperacion": {
                    "type": "boolean"
                  },
                  "serie": {
                    "type": "boolean"
                  },
                  "numero": {
                    "type": "boolean"
                  },
                  "premioID": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "correlativo",
                    "tenderoCodigo",
                    "tipo",
                    "puntos",
                    "comercioID",
                    "numeroCertificacion",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "codigoTendero",
                    "sucursalOperador",
                    "staffOperador",
                    "fechaOperacion",
                    "serie",
                    "numero",
                    "premioID"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Canje.Fields"
          },
          "include": {
            "title": "Canje.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Canje.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Canje>"
      },
      "Canje.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": "Canje.ScopeFilter"
      },
      "Canje.IncludeFilter.Items1": {
        "title": "Canje.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "premio"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Canje.ScopeFilter1"
          }
        }
      },
      "Canje.Filter1": {
        "type": "object",
        "title": "Canje.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": "Canje.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "correlativo": {
                    "type": "boolean"
                  },
                  "tenderoCodigo": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  },
                  "puntos": {
                    "type": "boolean"
                  },
                  "comercioID": {
                    "type": "boolean"
                  },
                  "numeroCertificacion": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "codigoTendero": {
                    "type": "boolean"
                  },
                  "sucursalOperador": {
                    "type": "boolean"
                  },
                  "staffOperador": {
                    "type": "boolean"
                  },
                  "fechaOperacion": {
                    "type": "boolean"
                  },
                  "serie": {
                    "type": "boolean"
                  },
                  "numero": {
                    "type": "boolean"
                  },
                  "premioID": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "correlativo",
                    "tenderoCodigo",
                    "tipo",
                    "puntos",
                    "comercioID",
                    "numeroCertificacion",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "codigoTendero",
                    "sucursalOperador",
                    "staffOperador",
                    "fechaOperacion",
                    "serie",
                    "numero",
                    "premioID"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Canje.Fields"
          },
          "include": {
            "title": "Canje.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Canje.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Canje>"
      },
      "Codigos.Filter": {
        "type": "object",
        "title": "Codigos.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"
                  },
                  "numeroCertificacion": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  },
                  "referencia": {
                    "type": "boolean"
                  },
                  "premioID": {
                    "type": "boolean"
                  },
                  "comercioID": {
                    "type": "boolean"
                  },
                  "fechaCompra": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "montoPremio": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "numeroCertificacion",
                    "tipo",
                    "referencia",
                    "premioID",
                    "comercioID",
                    "fechaCompra",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "montoPremio"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Codigos.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Codigos>"
      },
      "Codigos.Filter1": {
        "type": "object",
        "title": "Codigos.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": "Codigos.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "numeroCertificacion": {
                    "type": "boolean"
                  },
                  "tipo": {
                    "type": "boolean"
                  },
                  "referencia": {
                    "type": "boolean"
                  },
                  "premioID": {
                    "type": "boolean"
                  },
                  "comercioID": {
                    "type": "boolean"
                  },
                  "fechaCompra": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "montoPremio": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "numeroCertificacion",
                    "tipo",
                    "referencia",
                    "premioID",
                    "comercioID",
                    "fechaCompra",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "montoPremio"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Codigos.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Codigos>"
      },
      "Staff.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": "Staff.ScopeFilter"
      },
      "Staff.IncludeFilter.Items": {
        "title": "Staff.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "comercio",
              "sucursal"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Staff.ScopeFilter"
          }
        }
      },
      "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"
                }
              }
            ]
          },
          "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"
                  },
                  "company_id": {
                    "type": "boolean"
                  },
                  "shift_from": {
                    "type": "boolean"
                  },
                  "shift_to": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "direccion": {
                    "type": "boolean"
                  },
                  "user_id": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "realm": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "comercio_id": {
                    "type": "boolean"
                  },
                  "sucursal_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "apptype",
                    "username",
                    "longname",
                    "company_id",
                    "shift_from",
                    "shift_to",
                    "status",
                    "company",
                    "direccion",
                    "user_id",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "realm",
                    "email",
                    "comercio_id",
                    "sucursal_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Staff.Fields"
          },
          "include": {
            "title": "Staff.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Staff.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Staff>"
      },
      "Comercio.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": "Comercio.ScopeFilter"
      },
      "Comercio.IncludeFilter.Items": {
        "title": "Comercio.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "sucursales"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Comercio.ScopeFilter"
          }
        }
      },
      "Comercio.Filter": {
        "type": "object",
        "title": "Comercio.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"
                  },
                  "direccion": {
                    "type": "boolean"
                  },
                  "imagen": {
                    "type": "boolean"
                  },
                  "nombreContacto": {
                    "type": "boolean"
                  },
                  "telefonoContacto": {
                    "type": "boolean"
                  },
                  "emailContacto": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "afiliacion": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "direccion",
                    "imagen",
                    "nombreContacto",
                    "telefonoContacto",
                    "emailContacto",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "afiliacion"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Comercio.Fields"
          },
          "include": {
            "title": "Comercio.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Comercio.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Comercio>"
      },
      "Comercio.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": "Comercio.ScopeFilter"
      },
      "Comercio.IncludeFilter.Items1": {
        "title": "Comercio.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "sucursales"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Comercio.ScopeFilter1"
          }
        }
      },
      "Comercio.Filter1": {
        "type": "object",
        "title": "Comercio.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": "Comercio.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "direccion": {
                    "type": "boolean"
                  },
                  "imagen": {
                    "type": "boolean"
                  },
                  "nombreContacto": {
                    "type": "boolean"
                  },
                  "telefonoContacto": {
                    "type": "boolean"
                  },
                  "emailContacto": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "afiliacion": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "direccion",
                    "imagen",
                    "nombreContacto",
                    "telefonoContacto",
                    "emailContacto",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "afiliacion"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Comercio.Fields"
          },
          "include": {
            "title": "Comercio.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Comercio.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Comercio>"
      },
      "Company.Filter": {
        "type": "object",
        "title": "Company.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"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "tax_number": {
                    "type": "boolean"
                  },
                  "resolution_number": {
                    "type": "boolean"
                  },
                  "resolution_date": {
                    "type": "boolean"
                  },
                  "digital_certified": {
                    "type": "boolean"
                  },
                  "subject": {
                    "type": "boolean"
                  },
                  "key": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "logo": {
                    "type": "boolean"
                  },
                  "public_logo": {
                    "type": "boolean"
                  },
                  "logo_white": {
                    "type": "boolean"
                  },
                  "copy_write": {
                    "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",
                    "code",
                    "name",
                    "address",
                    "phone",
                    "tax_number",
                    "resolution_number",
                    "resolution_date",
                    "digital_certified",
                    "subject",
                    "key",
                    "status",
                    "logo",
                    "public_logo",
                    "logo_white",
                    "copy_write",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Company.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Company>"
      },
      "Company.Filter1": {
        "type": "object",
        "title": "Company.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": "Company.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "code": {
                    "type": "boolean"
                  },
                  "name": {
                    "type": "boolean"
                  },
                  "address": {
                    "type": "boolean"
                  },
                  "phone": {
                    "type": "boolean"
                  },
                  "tax_number": {
                    "type": "boolean"
                  },
                  "resolution_number": {
                    "type": "boolean"
                  },
                  "resolution_date": {
                    "type": "boolean"
                  },
                  "digital_certified": {
                    "type": "boolean"
                  },
                  "subject": {
                    "type": "boolean"
                  },
                  "key": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "logo": {
                    "type": "boolean"
                  },
                  "public_logo": {
                    "type": "boolean"
                  },
                  "logo_white": {
                    "type": "boolean"
                  },
                  "copy_write": {
                    "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",
                    "code",
                    "name",
                    "address",
                    "phone",
                    "tax_number",
                    "resolution_number",
                    "resolution_date",
                    "digital_certified",
                    "subject",
                    "key",
                    "status",
                    "logo",
                    "public_logo",
                    "logo_white",
                    "copy_write",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Company.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Company>"
      },
      "EstadoNotificacion.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": "EstadoNotificacion.ScopeFilter"
      },
      "EstadoNotificacion.IncludeFilter.Items": {
        "title": "EstadoNotificacion.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "notificacion"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/EstadoNotificacion.ScopeFilter"
          }
        }
      },
      "EstadoNotificacion.Filter": {
        "type": "object",
        "title": "EstadoNotificacion.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"
                  },
                  "tendero": {
                    "type": "boolean"
                  },
                  "id_mensaje": {
                    "type": "boolean"
                  },
                  "hora_fecha": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tendero",
                    "id_mensaje",
                    "hora_fecha"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EstadoNotificacion.Fields"
          },
          "include": {
            "title": "EstadoNotificacion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/EstadoNotificacion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EstadoNotificacion>"
      },
      "EstadoNotificacion.Filter1": {
        "type": "object",
        "title": "EstadoNotificacion.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": "EstadoNotificacion.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tendero": {
                    "type": "boolean"
                  },
                  "id_mensaje": {
                    "type": "boolean"
                  },
                  "hora_fecha": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "tendero",
                    "id_mensaje",
                    "hora_fecha"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "EstadoNotificacion.Fields"
          },
          "include": {
            "title": "EstadoNotificacion.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/EstadoNotificacion.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<EstadoNotificacion>"
      },
      "Notificacion.Filter": {
        "type": "object",
        "title": "Notificacion.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"
                  },
                  "titulo": {
                    "type": "boolean"
                  },
                  "cuerpo": {
                    "type": "boolean"
                  },
                  "remitente": {
                    "type": "boolean"
                  },
                  "fecha_hora": {
                    "type": "boolean"
                  },
                  "usuario_creo": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "titulo",
                    "cuerpo",
                    "remitente",
                    "fecha_hora",
                    "usuario_creo"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Notificacion.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Notificacion>"
      },
      "Notificacion.Filter1": {
        "type": "object",
        "title": "Notificacion.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": "Notificacion.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "titulo": {
                    "type": "boolean"
                  },
                  "cuerpo": {
                    "type": "boolean"
                  },
                  "remitente": {
                    "type": "boolean"
                  },
                  "fecha_hora": {
                    "type": "boolean"
                  },
                  "usuario_creo": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "titulo",
                    "cuerpo",
                    "remitente",
                    "fecha_hora",
                    "usuario_creo"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Notificacion.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Notificacion>"
      },
      "PingResponse": {
        "type": "object",
        "title": "PingResponse",
        "properties": {
          "greeting": {
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "headers": {
            "type": "object",
            "properties": {
              "Content-Type": {
                "type": "string"
              }
            },
            "additionalProperties": true
          }
        }
      },
      "Premio.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": "Premio.ScopeFilter"
      },
      "Premio.IncludeFilter.Items": {
        "title": "Premio.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "comercio"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Premio.ScopeFilter"
          }
        }
      },
      "Premio.Filter": {
        "type": "object",
        "title": "Premio.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"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "puntos": {
                    "type": "boolean"
                  },
                  "clasificacion": {
                    "type": "boolean"
                  },
                  "start": {
                    "type": "boolean"
                  },
                  "end": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  },
                  "imagen": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "restricciones": {
                    "type": "boolean"
                  },
                  "isPublished": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "vigente": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "comercioID": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "title",
                    "puntos",
                    "clasificacion",
                    "start",
                    "end",
                    "type",
                    "imagen",
                    "descripcion",
                    "restricciones",
                    "isPublished",
                    "status",
                    "vigente",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "comercioID"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Premio.Fields"
          },
          "include": {
            "title": "Premio.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Premio.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Premio>"
      },
      "Premio.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": "Premio.ScopeFilter"
      },
      "Premio.IncludeFilter.Items1": {
        "title": "Premio.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "comercio"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Premio.ScopeFilter1"
          }
        }
      },
      "Premio.Filter1": {
        "type": "object",
        "title": "Premio.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": "Premio.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "title": {
                    "type": "boolean"
                  },
                  "puntos": {
                    "type": "boolean"
                  },
                  "clasificacion": {
                    "type": "boolean"
                  },
                  "start": {
                    "type": "boolean"
                  },
                  "end": {
                    "type": "boolean"
                  },
                  "type": {
                    "type": "boolean"
                  },
                  "imagen": {
                    "type": "boolean"
                  },
                  "descripcion": {
                    "type": "boolean"
                  },
                  "restricciones": {
                    "type": "boolean"
                  },
                  "isPublished": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "vigente": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "comercioID": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "title",
                    "puntos",
                    "clasificacion",
                    "start",
                    "end",
                    "type",
                    "imagen",
                    "descripcion",
                    "restricciones",
                    "isPublished",
                    "status",
                    "vigente",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "comercioID"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Premio.Fields"
          },
          "include": {
            "title": "Premio.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Premio.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Premio>"
      },
      "ProductoErp.Filter": {
        "type": "object",
        "title": "ProductoErp.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": "ProductoErp.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "codigo": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "linea": {
                    "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",
                    "linea",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "ProductoErp.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<ProductoErp>"
      },
      "Promocion.Filter": {
        "type": "object",
        "title": "Promocion.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"
                  },
                  "start": {
                    "type": "boolean"
                  },
                  "end": {
                    "type": "boolean"
                  },
                  "imagen": {
                    "type": "boolean"
                  },
                  "terminos": {
                    "type": "boolean"
                  },
                  "isPublished": {
                    "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",
                    "nombre",
                    "start",
                    "end",
                    "imagen",
                    "terminos",
                    "isPublished",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Promocion.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Promocion>"
      },
      "Promocion.Filter1": {
        "type": "object",
        "title": "Promocion.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": "Promocion.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "start": {
                    "type": "boolean"
                  },
                  "end": {
                    "type": "boolean"
                  },
                  "imagen": {
                    "type": "boolean"
                  },
                  "terminos": {
                    "type": "boolean"
                  },
                  "isPublished": {
                    "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",
                    "nombre",
                    "start",
                    "end",
                    "imagen",
                    "terminos",
                    "isPublished",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Promocion.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Promocion>"
      },
      "Punto.Filter": {
        "type": "object",
        "title": "Punto.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"
                  },
                  "tenderoCodigo": {
                    "type": "boolean"
                  },
                  "puntos": {
                    "type": "boolean"
                  },
                  "origen": {
                    "type": "boolean"
                  },
                  "factura": {
                    "type": "boolean"
                  },
                  "monto": {
                    "type": "boolean"
                  },
                  "origenID": {
                    "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",
                    "tenderoCodigo",
                    "puntos",
                    "origen",
                    "factura",
                    "monto",
                    "origenID",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Punto.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Punto>"
      },
      "Punto.Filter1": {
        "type": "object",
        "title": "Punto.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": "Punto.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tenderoCodigo": {
                    "type": "boolean"
                  },
                  "puntos": {
                    "type": "boolean"
                  },
                  "origen": {
                    "type": "boolean"
                  },
                  "factura": {
                    "type": "boolean"
                  },
                  "monto": {
                    "type": "boolean"
                  },
                  "origenID": {
                    "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",
                    "tenderoCodigo",
                    "puntos",
                    "origen",
                    "factura",
                    "monto",
                    "origenID",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Punto.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Punto>"
      },
      "PuntosLog.Filter": {
        "type": "object",
        "title": "PuntosLog.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"
                  },
                  "totalPuntos": {
                    "type": "boolean"
                  },
                  "totalVentas": {
                    "type": "boolean"
                  },
                  "totalArticulos": {
                    "type": "boolean"
                  },
                  "mensaje": {
                    "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",
                    "totalPuntos",
                    "totalVentas",
                    "totalArticulos",
                    "mensaje",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PuntosLog.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PuntoLog>"
      },
      "PuntosLog.Filter1": {
        "type": "object",
        "title": "PuntosLog.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": "PuntosLog.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "totalPuntos": {
                    "type": "boolean"
                  },
                  "totalVentas": {
                    "type": "boolean"
                  },
                  "totalArticulos": {
                    "type": "boolean"
                  },
                  "mensaje": {
                    "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",
                    "totalPuntos",
                    "totalVentas",
                    "totalArticulos",
                    "mensaje",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "PuntosLog.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<PuntoLog>"
      },
      "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"
                }
              }
            ]
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "apptype": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "longname": {
                    "type": "boolean"
                  },
                  "company_id": {
                    "type": "boolean"
                  },
                  "shift_from": {
                    "type": "boolean"
                  },
                  "shift_to": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "company": {
                    "type": "boolean"
                  },
                  "direccion": {
                    "type": "boolean"
                  },
                  "user_id": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "realm": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "comercio_id": {
                    "type": "boolean"
                  },
                  "sucursal_id": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "apptype",
                    "username",
                    "longname",
                    "company_id",
                    "shift_from",
                    "shift_to",
                    "status",
                    "company",
                    "direccion",
                    "user_id",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "realm",
                    "email",
                    "comercio_id",
                    "sucursal_id"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Staff.Fields"
          },
          "include": {
            "title": "Staff.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Staff.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Staff>"
      },
      "Sucursal.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": "Sucursal.ScopeFilter"
      },
      "Sucursal.IncludeFilter.Items": {
        "title": "Sucursal.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "comercio"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Sucursal.ScopeFilter"
          }
        }
      },
      "Sucursal.Filter": {
        "type": "object",
        "title": "Sucursal.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"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "comercioId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "comercioId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Sucursal.Fields"
          },
          "include": {
            "title": "Sucursal.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Sucursal.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Sucursal>"
      },
      "Sucursal.Filter1": {
        "type": "object",
        "title": "Sucursal.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": "Sucursal.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  },
                  "comercioId": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "nombre",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by",
                    "comercioId"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Sucursal.Fields"
          },
          "include": {
            "title": "Sucursal.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Sucursal.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Sucursal>"
      },
      "TasaPunto.Filter": {
        "type": "object",
        "title": "TasaPunto.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"
                  },
                  "tasaPorMonto": {
                    "type": "boolean"
                  },
                  "multiplicador": {
                    "type": "boolean"
                  },
                  "inicio": {
                    "type": "boolean"
                  },
                  "fin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "bonificadorActivo": {
                    "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",
                    "tasaPorMonto",
                    "multiplicador",
                    "inicio",
                    "fin",
                    "status",
                    "bonificadorActivo",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TasaPunto.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TasaPunto>"
      },
      "TasaPunto.Filter1": {
        "type": "object",
        "title": "TasaPunto.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": "TasaPunto.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "tasaPorMonto": {
                    "type": "boolean"
                  },
                  "multiplicador": {
                    "type": "boolean"
                  },
                  "inicio": {
                    "type": "boolean"
                  },
                  "fin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "bonificadorActivo": {
                    "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",
                    "tasaPorMonto",
                    "multiplicador",
                    "inicio",
                    "fin",
                    "status",
                    "bonificadorActivo",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TasaPunto.Fields"
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TasaPunto>"
      },
      "tasaPuntosProducto.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": "tasaPuntosProducto.ScopeFilter"
      },
      "tasaPuntosProducto.IncludeFilter.Items": {
        "title": "tasaPuntosProducto.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "productoErp"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/tasaPuntosProducto.ScopeFilter"
          }
        }
      },
      "tasaPuntosProducto.Filter": {
        "type": "object",
        "title": "tasaPuntosProducto.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"
                  },
                  "codigoProducto": {
                    "type": "boolean"
                  },
                  "tasaPorMonto": {
                    "type": "boolean"
                  },
                  "inicio": {
                    "type": "boolean"
                  },
                  "fin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "vigente": {
                    "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",
                    "codigoProducto",
                    "tasaPorMonto",
                    "inicio",
                    "fin",
                    "status",
                    "vigente",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "tasaPuntosProducto.Fields"
          },
          "include": {
            "title": "tasaPuntosProducto.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/tasaPuntosProducto.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TasaPuntosProducto>"
      },
      "tasaPuntosProducto.Filter1": {
        "type": "object",
        "title": "tasaPuntosProducto.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": "tasaPuntosProducto.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "codigoProducto": {
                    "type": "boolean"
                  },
                  "tasaPorMonto": {
                    "type": "boolean"
                  },
                  "inicio": {
                    "type": "boolean"
                  },
                  "fin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "vigente": {
                    "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",
                    "codigoProducto",
                    "tasaPorMonto",
                    "inicio",
                    "fin",
                    "status",
                    "vigente",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "tasaPuntosProducto.Fields"
          },
          "include": {
            "title": "tasaPuntosProducto.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/tasaPuntosProducto.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TasaPuntosProducto>"
      },
      "Tendero.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": "Tendero.ScopeFilter"
      },
      "Tendero.IncludeFilter.Items": {
        "title": "Tendero.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "canjes"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Tendero.ScopeFilter"
          }
        }
      },
      "Tendero.Filter": {
        "type": "object",
        "title": "Tendero.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"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "apellido": {
                    "type": "boolean"
                  },
                  "dpi": {
                    "type": "boolean"
                  },
                  "direccionTienda": {
                    "type": "boolean"
                  },
                  "nombreTienda": {
                    "type": "boolean"
                  },
                  "nit": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "telefono": {
                    "type": "boolean"
                  },
                  "isLogueado": {
                    "type": "boolean"
                  },
                  "isVerificado": {
                    "type": "boolean"
                  },
                  "pin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "birthday": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "codigo",
                    "nombre",
                    "apellido",
                    "dpi",
                    "direccionTienda",
                    "nombreTienda",
                    "nit",
                    "email",
                    "telefono",
                    "isLogueado",
                    "isVerificado",
                    "pin",
                    "status",
                    "created",
                    "birthday",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "Tendero.Fields"
          },
          "include": {
            "title": "Tendero.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Tendero.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Tendero>"
      },
      "Tendero.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": "Tendero.ScopeFilter"
      },
      "Tendero.IncludeFilter.Items1": {
        "title": "Tendero.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "canjes"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/Tendero.ScopeFilter1"
          }
        }
      },
      "Tendero.Filter1": {
        "type": "object",
        "title": "Tendero.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": "Tendero.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "codigo": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "apellido": {
                    "type": "boolean"
                  },
                  "dpi": {
                    "type": "boolean"
                  },
                  "direccionTienda": {
                    "type": "boolean"
                  },
                  "nombreTienda": {
                    "type": "boolean"
                  },
                  "nit": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "telefono": {
                    "type": "boolean"
                  },
                  "isLogueado": {
                    "type": "boolean"
                  },
                  "isVerificado": {
                    "type": "boolean"
                  },
                  "pin": {
                    "type": "boolean"
                  },
                  "status": {
                    "type": "boolean"
                  },
                  "created": {
                    "type": "boolean"
                  },
                  "birthday": {
                    "type": "boolean"
                  },
                  "updated": {
                    "type": "boolean"
                  },
                  "created_by": {
                    "type": "boolean"
                  },
                  "updated_by": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "id",
                    "codigo",
                    "nombre",
                    "apellido",
                    "dpi",
                    "direccionTienda",
                    "nombreTienda",
                    "nit",
                    "email",
                    "telefono",
                    "isLogueado",
                    "isVerificado",
                    "pin",
                    "status",
                    "created",
                    "birthday",
                    "updated",
                    "created_by",
                    "updated_by"
                  ]
                },
                "uniqueItems": true
              }
            ],
            "title": "Tendero.Fields"
          },
          "include": {
            "title": "Tendero.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Tendero.IncludeFilter.Items1"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<Tendero>"
      },
      "TenderoErp.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": "TenderoErp.ScopeFilter"
      },
      "TenderoErp.IncludeFilter.Items": {
        "title": "TenderoErp.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "tendero"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/TenderoErp.ScopeFilter"
          }
        }
      },
      "TenderoErp.Filter": {
        "type": "object",
        "title": "TenderoErp.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"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "apellido": {
                    "type": "boolean"
                  },
                  "direccionTienda": {
                    "type": "boolean"
                  },
                  "nombreTienda": {
                    "type": "boolean"
                  },
                  "nit": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "telefono": {
                    "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",
                    "apellido",
                    "direccionTienda",
                    "nombreTienda",
                    "nit",
                    "email",
                    "telefono",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenderoErp.Fields"
          },
          "include": {
            "title": "TenderoErp.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenderoErp.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenderoErp>"
      },
      "TenderoErp.Filter1": {
        "type": "object",
        "title": "TenderoErp.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": "TenderoErp.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "codigo": {
                    "type": "boolean"
                  },
                  "nombre": {
                    "type": "boolean"
                  },
                  "apellido": {
                    "type": "boolean"
                  },
                  "direccionTienda": {
                    "type": "boolean"
                  },
                  "nombreTienda": {
                    "type": "boolean"
                  },
                  "nit": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "telefono": {
                    "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",
                    "apellido",
                    "direccionTienda",
                    "nombreTienda",
                    "nit",
                    "email",
                    "telefono",
                    "status",
                    "created",
                    "updated",
                    "created_by",
                    "updated_by"
                  ],
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "TenderoErp.Fields"
          },
          "include": {
            "title": "TenderoErp.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/TenderoErp.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<TenderoErp>"
      },
      "User.ScopeFilter": {
        "type": "object",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {},
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "uniqueItems": true
              }
            ]
          },
          "include": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {},
              "additionalProperties": true
            }
          }
        },
        "additionalProperties": false,
        "title": "User.ScopeFilter"
      },
      "User.IncludeFilter.Items": {
        "title": "User.IncludeFilter.Items",
        "type": "object",
        "properties": {
          "relation": {
            "type": "string",
            "enum": [
              "userCredentials"
            ]
          },
          "scope": {
            "$ref": "#/components/schemas/User.ScopeFilter"
          }
        }
      },
      "User.Filter": {
        "type": "object",
        "title": "User.Filter",
        "properties": {
          "offset": {
            "type": "integer",
            "minimum": 0
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "example": 100
          },
          "skip": {
            "type": "integer",
            "minimum": 0
          },
          "order": {
            "oneOf": [
              {
                "type": "string"
              },
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            ]
          },
          "where": {
            "title": "User.WhereFilter",
            "type": "object",
            "additionalProperties": true
          },
          "fields": {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "boolean"
                  },
                  "realm": {
                    "type": "boolean"
                  },
                  "username": {
                    "type": "boolean"
                  },
                  "email": {
                    "type": "boolean"
                  },
                  "emailVerified": {
                    "type": "boolean"
                  },
                  "verificationToken": {
                    "type": "boolean"
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "example": "id"
                },
                "uniqueItems": true
              }
            ],
            "title": "User.Fields"
          },
          "include": {
            "title": "User.IncludeFilter",
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/User.IncludeFilter.Items"
                },
                {
                  "type": "string"
                }
              ]
            }
          }
        },
        "additionalProperties": false,
        "x-typescript-type": "@loopback/repository#Filter<User>"
      }
    },
    "securitySchemes": {
      "jwt": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "jwt": []
    }
  ]
}