{
  "openapi": "3.0.1",
  "info": {
    "title": "Extranet API",
    "description": "API encargada de dar la funcionalidad necesaria a la Extranet",
    "version": "v1"
  },
  "paths": {
    "/Client/Validate": {
      "get": {
        "tags": [
          "Client"
        ],
        "summary": "Endpoint para una verificación rápida de que un cliente existe",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client": {
      "get": {
        "tags": [
          "Client"
        ],
        "summary": "Función para obtener información básica del cliente",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Auth": {
      "post": {
        "tags": [
          "Client"
        ],
        "summary": "Función para generar un token JWT",
        "requestBody": {
          "description": "Información relevante al login",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Logout": {
      "post": {
        "tags": [
          "Client"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Redirect/Generate": {
      "get": {
        "tags": [
          "Client"
        ],
        "summary": "Endpoint que nos permite generar token de redirección para el cliente actual",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Redirect/Consume": {
      "get": {
        "tags": [
          "Client"
        ],
        "summary": "Endpoint que nos permite consumir un token de redirección, para recuperar el token jwt",
        "parameters": [
          {
            "name": "redirectToken",
            "in": "query",
            "description": "token de redirección",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Address/Shipping": {
      "get": {
        "tags": [
          "ClientAddress"
        ],
        "summary": "Función para obtener las direcciones de envio",
        "parameters": [
          {
            "name": "Page",
            "in": "query",
            "description": "Número de página a recuperar. Por defecto 0",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "Tamaño de página a recuperar. Por defecto 15",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Address/Validate": {
      "post": {
        "tags": [
          "ClientAddress"
        ],
        "summary": "Función para validar las direcciones de la api de clientes",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddressDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddressDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddressDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddressDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Address/GetCountries": {
      "get": {
        "tags": [
          "ClientAddress"
        ],
        "summary": "Función para obtener los paises.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Address/GetProvinces": {
      "get": {
        "tags": [
          "ClientAddress"
        ],
        "summary": "Función para obtener las provincias de un país.",
        "parameters": [
          {
            "name": "countrycode",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Address/Billing": {
      "get": {
        "tags": [
          "ClientAddress"
        ],
        "summary": "Función para obtener las direcciones de facturación",
        "parameters": [
          {
            "name": "Page",
            "in": "query",
            "description": "Número de página a recuperar. Por defecto 0",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "Tamaño de página a recuperar. Por defecto 15",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Address": {
      "get": {
        "tags": [
          "ClientAddress"
        ],
        "summary": "Función para obtener todas las direcciones",
        "parameters": [
          {
            "name": "Page",
            "in": "query",
            "description": "Número de página a recuperar. Por defecto 0",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "Tamaño de página a recuperar. Por defecto 15",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Tipo de dirección a recuperar. Vacio para obtener todas las direcciones, S si quieres las dirección de envio y B si quieres las de facturación",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "put": {
        "tags": [
          "ClientAddress"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AddressDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddressDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddressDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddressDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "ClientAddress"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddressDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddressDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddressDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAddressDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "ClientAddress"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "addrToken",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/clearB2CAddressInDB": {
      "post": {
        "tags": [
          "ClientAddress"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/New": {
      "post": {
        "tags": [
          "ClientMarketing"
        ],
        "summary": "Endpoint que permite registrar un nuevo usuario",
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que se realiza la petición",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "requestBody": {
          "description": "Petición del cliente",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/New/OK": {
      "post": {
        "tags": [
          "ClientMarketing"
        ],
        "summary": "Endpoint que permite registrar un nuevo usuario en OkTextil",
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "RazonSocial": {
                    "type": "string"
                  },
                  "RecargoEquivalencia": {
                    "type": "string"
                  },
                  "Gerencia": {
                    "type": "string"
                  },
                  "ContactoPhone1": {
                    "type": "string"
                  },
                  "ContactoEmail1": {
                    "type": "string"
                  },
                  "ResponsableCompras": {
                    "type": "string"
                  },
                  "ContactoPhone2": {
                    "type": "string"
                  },
                  "ContactoEmail2": {
                    "type": "string"
                  },
                  "ResponsableAdmin": {
                    "type": "string"
                  },
                  "ContactoPhone3": {
                    "type": "string"
                  },
                  "ContactoEmail3": {
                    "type": "string"
                  },
                  "PersonaContacto": {
                    "type": "string"
                  },
                  "ContactoPhone4": {
                    "type": "string"
                  },
                  "ContactoEmail4": {
                    "type": "string"
                  },
                  "HorarioContacto": {
                    "type": "string"
                  },
                  "PersonaContactoEnvio": {
                    "type": "string"
                  },
                  "EnvioPhone": {
                    "type": "string"
                  },
                  "File": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Nombre_comercial": {
                    "type": "string"
                  },
                  "ActividadSeleccionada": {
                    "type": "string"
                  },
                  "NIF": {
                    "type": "string"
                  },
                  "Phone1": {
                    "type": "string"
                  },
                  "Web": {
                    "type": "string"
                  },
                  "Email": {
                    "type": "string"
                  },
                  "FacturacionCalle": {
                    "type": "string"
                  },
                  "FacturacionCiudad": {
                    "type": "string"
                  },
                  "FacturacionCP": {
                    "type": "string"
                  },
                  "FacturacionProvincia": {
                    "type": "string"
                  },
                  "FacturacionPaisSeleccionado": {
                    "type": "string"
                  },
                  "EnvioCalle": {
                    "type": "string"
                  },
                  "EnvioCiudad": {
                    "type": "string"
                  },
                  "EnvioCP": {
                    "type": "string"
                  },
                  "EnvioProvincia": {
                    "type": "string"
                  },
                  "EnvioPaisSeleccionado": {
                    "type": "string"
                  },
                  "Conocido": {
                    "type": "string"
                  },
                  "Comentarios": {
                    "type": "string"
                  },
                  "PoliticaPrivacidad": {
                    "type": "string"
                  },
                  "Shop": {
                    "type": "string"
                  },
                  "Company": {
                    "type": "string"
                  },
                  "Nombre": {
                    "type": "string"
                  },
                  "Error": {
                    "type": "string"
                  },
                  "Subject": {
                    "type": "string"
                  },
                  "NumPedido": {
                    "type": "string"
                  },
                  "PostalCode": {
                    "type": "string"
                  }
                }
              },
              "encoding": {
                "RazonSocial": {
                  "style": "form"
                },
                "RecargoEquivalencia": {
                  "style": "form"
                },
                "Gerencia": {
                  "style": "form"
                },
                "ContactoPhone1": {
                  "style": "form"
                },
                "ContactoEmail1": {
                  "style": "form"
                },
                "ResponsableCompras": {
                  "style": "form"
                },
                "ContactoPhone2": {
                  "style": "form"
                },
                "ContactoEmail2": {
                  "style": "form"
                },
                "ResponsableAdmin": {
                  "style": "form"
                },
                "ContactoPhone3": {
                  "style": "form"
                },
                "ContactoEmail3": {
                  "style": "form"
                },
                "PersonaContacto": {
                  "style": "form"
                },
                "ContactoPhone4": {
                  "style": "form"
                },
                "ContactoEmail4": {
                  "style": "form"
                },
                "HorarioContacto": {
                  "style": "form"
                },
                "PersonaContactoEnvio": {
                  "style": "form"
                },
                "EnvioPhone": {
                  "style": "form"
                },
                "File": {
                  "style": "form"
                },
                "Nombre_comercial": {
                  "style": "form"
                },
                "ActividadSeleccionada": {
                  "style": "form"
                },
                "NIF": {
                  "style": "form"
                },
                "Phone1": {
                  "style": "form"
                },
                "Web": {
                  "style": "form"
                },
                "Email": {
                  "style": "form"
                },
                "FacturacionCalle": {
                  "style": "form"
                },
                "FacturacionCiudad": {
                  "style": "form"
                },
                "FacturacionCP": {
                  "style": "form"
                },
                "FacturacionProvincia": {
                  "style": "form"
                },
                "FacturacionPaisSeleccionado": {
                  "style": "form"
                },
                "EnvioCalle": {
                  "style": "form"
                },
                "EnvioCiudad": {
                  "style": "form"
                },
                "EnvioCP": {
                  "style": "form"
                },
                "EnvioProvincia": {
                  "style": "form"
                },
                "EnvioPaisSeleccionado": {
                  "style": "form"
                },
                "Conocido": {
                  "style": "form"
                },
                "Comentarios": {
                  "style": "form"
                },
                "PoliticaPrivacidad": {
                  "style": "form"
                },
                "Shop": {
                  "style": "form"
                },
                "Company": {
                  "style": "form"
                },
                "Nombre": {
                  "style": "form"
                },
                "Error": {
                  "style": "form"
                },
                "Subject": {
                  "style": "form"
                },
                "NumPedido": {
                  "style": "form"
                },
                "PostalCode": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/ExportContact": {
      "post": {
        "tags": [
          "ClientMarketing"
        ],
        "summary": "Endpoint que permite contactar con Gorfactory",
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Nombre": {
                    "type": "string"
                  },
                  "Phone": {
                    "type": "string"
                  },
                  "Email": {
                    "type": "string"
                  },
                  "Country": {
                    "type": "string"
                  },
                  "Comments": {
                    "type": "string"
                  },
                  "Subject": {
                    "type": "string"
                  },
                  "NumPedido": {
                    "type": "string"
                  },
                  "PostalCode": {
                    "type": "string"
                  },
                  "Company": {
                    "type": "string"
                  },
                  "Error": {
                    "type": "string"
                  },
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  },
                  "files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    }
                  }
                }
              },
              "encoding": {
                "Nombre": {
                  "style": "form"
                },
                "Phone": {
                  "style": "form"
                },
                "Email": {
                  "style": "form"
                },
                "Country": {
                  "style": "form"
                },
                "Comments": {
                  "style": "form"
                },
                "Subject": {
                  "style": "form"
                },
                "NumPedido": {
                  "style": "form"
                },
                "PostalCode": {
                  "style": "form"
                },
                "Company": {
                  "style": "form"
                },
                "Error": {
                  "style": "form"
                },
                "Files": {
                  "style": "form"
                },
                "files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Password": {
      "put": {
        "tags": [
          "ClientPassword"
        ],
        "summary": "Función encargada de actualizar la contraseña de un cliente",
        "parameters": [
          {
            "name": "password",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/ResetPassword": {
      "post": {
        "tags": [
          "ClientPassword"
        ],
        "summary": "Función que permite solicitar un reseteo de contraseña",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/ResetPasswordOk": {
      "post": {
        "tags": [
          "ClientPassword"
        ],
        "summary": "Función que permite solicitar un reseteo de contraseña para OkTextil",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/ResetPassword/OtpToken": {
      "post": {
        "tags": [
          "ClientPassword"
        ],
        "summary": "Consume el token OTP para generar un key habitual con el que terminar el reseteo de contraseña",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientResetPassword"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/CheckUserResetPassword": {
      "post": {
        "tags": [
          "ClientPassword"
        ],
        "summary": "Función para comprobar si el usuario tiene clave de reset de contraseña o código OTP",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "user",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/ResetPassword/NewPassword": {
      "post": {
        "tags": [
          "ClientPassword"
        ],
        "summary": "Función que permite cambiar una contraseña desde el mensaje de reset",
        "parameters": [
          {
            "name": "ubicacion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "master"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientNewPasswordDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientNewPasswordDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientNewPasswordDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientNewPasswordDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/ResetPassword/SetPassword": {
      "post": {
        "tags": [
          "ClientPassword"
        ],
        "summary": "Función que permite inicializar una contraseña o reset forzado",
        "parameters": [
          {
            "name": "ubicacion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "master"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSetPasswordDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSetPasswordDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSetPasswordDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ClientSetPasswordDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/ChangePassword": {
      "post": {
        "tags": [
          "ClientPassword"
        ],
        "summary": "Función que permite cambiar una contraseña con un cliente autenticado",
        "parameters": [
          {
            "name": "ubicacion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "master"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/OldNewPassword"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OldNewPassword"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/OldNewPassword"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/OldNewPassword"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/Photo": {
      "get": {
        "tags": [
          "ClientPhoto"
        ],
        "summary": "Recupera la URL pública del logo/foto de empresa del cliente autenticado.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "ClientPhoto"
        ],
        "summary": "Sube el logo/foto de empresa del cliente autenticado a Azure Blob Storage.\r\nFormatos admitidos: .jpg, .jpeg, .png, .webp, .bmp (no .gif). Tamaño máximo 256x256px.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Photo": {
                    "type": "string",
                    "description": "Fichero de imagen a subir. Formatos admitidos: .jpg, .jpeg, .png, .webp, .bmp (no .gif).\r\nTamaño máximo de imagen: 256x256 px.",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "Photo": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "ClientPhoto"
        ],
        "summary": "Elimina la URL del logo/foto de empresa del cliente autenticado (no borra el blob subyacente).",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Client/User/Photo": {
      "get": {
        "tags": [
          "ClientPhoto"
        ],
        "summary": "Recupera la URL pública de la foto de perfil del usuario autenticado.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "ClientPhoto"
        ],
        "summary": "Sube la foto de perfil del usuario autenticado a Azure Blob Storage.\r\nFormatos admitidos: .jpg, .jpeg, .png, .webp, .bmp (no .gif). Tamaño máximo 256x256px.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Photo": {
                    "type": "string",
                    "description": "Fichero de imagen a subir. Formatos admitidos: .jpg, .jpeg, .png, .webp, .bmp (no .gif).\r\nTamaño máximo de imagen: 256x256 px.",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "Photo": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "ClientPhoto"
        ],
        "summary": "Elimina la URL de la foto de perfil del usuario autenticado (no borra el blob subyacente).",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Collection/{id}": {
      "get": {
        "tags": [
          "Collection"
        ],
        "summary": "Funci�n que nos permite obtener una colecci�n",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador de la colecci�n",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que queremos obtener la colecci�n con el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Collection": {
      "get": {
        "tags": [
          "Collection"
        ],
        "summary": "Funci�n que permite obtener todas las colecciones",
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que queremos recuperar las colecciones. Con el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Contact": {
      "post": {
        "tags": [
          "Comercial"
        ],
        "summary": "Función que sirve para contactar a un comercial",
        "requestBody": {
          "description": "Cuerpo de la petición, debe tener al menos el campo mensaje",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Contact/Director": {
      "post": {
        "tags": [
          "Comercial"
        ],
        "summary": "Endpoint para contactar con el director comercial",
        "requestBody": {
          "description": "Cuerpo de la petición, debe tener al menos el campo mensaje",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Contact/Suggestion": {
      "post": {
        "tags": [
          "Comercial"
        ],
        "summary": "Permite enviar una sugerencia mediante un formulario",
        "requestBody": {
          "description": "Cuerpo de la petición, debe tener al menos el campo mensaje",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Contact/Catalog": {
      "post": {
        "tags": [
          "Comercial"
        ],
        "summary": "Permite enviar una solicitud de catálogo a su comercial",
        "requestBody": {
          "description": "Cuerpo de la petición, debe tener al menos el campo mensaje y el campo línea (línea entre todas las direcciones que tiene el usuario)",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Contact/Visit": {
      "post": {
        "tags": [
          "Comercial"
        ],
        "summary": "Nos permite solicitar una visita a una de las instalaciones",
        "requestBody": {
          "description": "Cuerpo de la petición, debe tener al menos el campo mensaje, y el campo tipo. Este segundo tendrá el valor 1 si se quiere solicitar\r\n            una visita del comercial, o 2 si se quiere visitar las instalaciones de Gorfactory",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialMessage"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Auth": {
      "post": {
        "tags": [
          "Comercial"
        ],
        "summary": "Función para autorizar el acceso a un comercial, y recuperar el listado de sus usuarios",
        "requestBody": {
          "description": "Información relacionada con el login",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "get": {
        "tags": [
          "Comercial"
        ],
        "summary": "Función para autorizar el acceso a un comercial, y recuperar el listado de sus usuarios",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Logout": {
      "post": {
        "tags": [
          "Comercial"
        ],
        "summary": "Cierra la sesión del comercial: su token deja de ser válido aunque no haya caducado.\r\nLa sesión del cliente al que estuviera accediendo se cierra aparte con POST /Client/Logout",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/UserList": {
      "get": {
        "tags": [
          "Comercial"
        ],
        "summary": "Función que permite recuperar el listado de clientes de un comercial, o recuperar todos los clientes",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "Parámetro de busqueda",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "showAllClient",
            "in": "query",
            "description": "Parámetro que modifica si se buscan todos o solo uno",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Client/{clientId}": {
      "get": {
        "tags": [
          "Comercial"
        ],
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Comercial/Client/{clientId}/Token": {
      "post": {
        "tags": [
          "Comercial"
        ],
        "summary": "Genera un JWT de cliente para que el comercial acceda en su nombre (B2B, etc.).\r\nEl token es el mismo que el del login del cliente, pero caduca a las 8 horas y lleva el claim\r\n'comercial', que bloquea las acciones marcadas con [NotAllowedForComercial]",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "Cliente al que se quiere acceder. Tiene que ser de la company del comercial",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Usuario del cliente con el que se quiere acceder",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialClientTokenRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialClientTokenRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialClientTokenRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComercialClientTokenRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Endpoint que permite obtener un listado paginado de distintos tipos de documentos.",
        "description": "Para ello se accede al GOR_WEBSERVICES_EXT y obtiene los documentos deseados. Posteriormente estos se procesan para obtener paginación y ordenación de los mismos",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\", \"offers\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "description": "(Default: \"\") Estado del documento",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "description": "(Default: asc) Ordenación por fecha que se quiere realizar. Valores válidos Asc o Desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DateFrom",
            "in": "query",
            "description": "(Default: 01-01-0001) Fecha de inicio desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "DateTo",
            "in": "query",
            "description": "(Default: 31-12-9999) Fecha fin desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "(Default: 15) Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "(Default: 0) Número de página que queremos recuperar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DocNum",
            "in": "query",
            "description": "Número de documento en concreto por el que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "NumAtCard",
            "in": "query",
            "description": "Referencia en concreto por la que queremos filtrar",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/{documentType}/Stats": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Endpoint que permite obtener las estadísticas de distintos tipos de documentos para un cliente",
        "description": "Para ello se accede al GOR_WEBSERVICES_EXT y obtiene todos los documentos. Posteriormente estos se procesan para obtener las estadísticas deseadas",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\", \"offers\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/{documentType}/{docNum}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Obtiene información relativa a un documento en concreto.",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Tipo del documento a pedir",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "path",
            "description": "Numero identificador del documento",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/DownloadFiltered/pdf/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Endpoint que permite descargar un rango de distintos tipos de documentos.",
        "description": "Para ello se accede al GOR_WEBSERVICES_EXT y obtiene los documentos deseados. Posteriormente estos se procesan para obtener paginación y ordenación de los mismos",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Alternativa al parámetro typeDoc",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "description": "(Default: \"\") Estado del documento",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "description": "(Default: asc) Ordenación por fecha que se quiere realizar. Valores válidos Asc o Desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DateFrom",
            "in": "query",
            "description": "(Default: 01-01-0001) Fecha de inicio desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "DateTo",
            "in": "query",
            "description": "(Default: 31-12-9999) Fecha fin desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "(Default: 15) Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "(Default: 0) Número de página que queremos recuperar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DocNum",
            "in": "query",
            "description": "Número de documento en concreto por el que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "NumAtCard",
            "in": "query",
            "description": "Referencia en concreto por la que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/DownloadFiltered/xml/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Endpoint que permite descargar un rango de distintos tipos de documentos.",
        "description": "Para ello se accede al GOR_WEBSERVICES_EXT y obtiene los documentos deseados. Posteriormente estos se procesan para obtener paginación y ordenación de los mismos",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Alternativa al parámetro typeDoc",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "description": "(Default: \"\") Estado del documento",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "description": "(Default: asc) Ordenación por fecha que se quiere realizar. Valores válidos Asc o Desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DateFrom",
            "in": "query",
            "description": "(Default: 01-01-0001) Fecha de inicio desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "DateTo",
            "in": "query",
            "description": "(Default: 31-12-9999) Fecha fin desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "(Default: 15) Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "(Default: 0) Número de página que queremos recuperar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DocNum",
            "in": "query",
            "description": "Número de documento en concreto por el que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "NumAtCard",
            "in": "query",
            "description": "Referencia en concreto por la que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isFacturaE",
            "in": "query",
            "description": "Descargar en formato FacturaE. Por defecto false (no implementado aún)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/DownloadFiltered/txt/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Endpoint que permite descargar un rango de distintos tipos de documentos.",
        "description": "Para ello se accede al GOR_WEBSERVICES_EXT y obtiene los documentos deseados. Posteriormente estos se procesan para obtener paginación y ordenación de los mismos",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Alternativa al parámetro typeDoc",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "description": "(Default: \"\") Estado del documento",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "description": "(Default: asc) Ordenación por fecha que se quiere realizar. Valores válidos Asc o Desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DateFrom",
            "in": "query",
            "description": "(Default: 01-01-0001) Fecha de inicio desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "DateTo",
            "in": "query",
            "description": "(Default: 31-12-9999) Fecha fin desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "(Default: 15) Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "(Default: 0) Número de página que queremos recuperar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DocNum",
            "in": "query",
            "description": "Número de documento en concreto por el que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "NumAtCard",
            "in": "query",
            "description": "Referencia en concreto por la que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/DownloadFiltered/excel/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Endpoint que permite descargar un rango de distintos tipos de documentos en un excel que contiene información relevante de dichos docs.",
        "description": "Para ello se accede al GOR_WEBSERVICES_EXT y obtiene los documentos deseados. Posteriormente estos se procesan para obtener paginación y ordenación de los mismos",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Alternativa al parámetro typeDoc",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "description": "(Default: \"\") Estado del documento",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "description": "(Default: asc) Ordenación por fecha que se quiere realizar. Valores válidos Asc o Desc",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DateFrom",
            "in": "query",
            "description": "(Default: 01-01-0001) Fecha de inicio desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "DateTo",
            "in": "query",
            "description": "(Default: 31-12-9999) Fecha fin desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "(Default: 15) Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "(Default: 0) Número de página que queremos recuperar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DocNum",
            "in": "query",
            "description": "Número de documento en concreto por el que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "NumAtCard",
            "in": "query",
            "description": "Referencia en concreto por la que queremos filtrar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/DownloadMultiple/pdf/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Descarga una lista de documentos en formato pdf",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Tipo de documento",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNums",
            "in": "query",
            "description": "Numeros de los documentos separados por ','",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/DownloadMultiple/txt/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Descarga una lista de documentos en formato txt",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNums",
            "in": "query",
            "description": "Numeros de los documentos separados por ','",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/DownloadMultiple/xml/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Descarga una lista de documentos en formato xml",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNums",
            "in": "query",
            "description": "Numeros de los documentos separados por ','",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isFacturaE",
            "in": "query",
            "description": "Descargar en formato FacturaE. Por defecto false (no implementado aún)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/Download/pdf/{documentType}/{docNum}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Función para crear la impresión en pdf del documento pedido",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "path",
            "description": "Número de documento que queremos recuperar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/Download/txt/{documentType}/{docNum}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Función para crear la impresión en txt del documento pedido",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "path",
            "description": "Número de documento que queremos recuperar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/Download/xml/{documentType}/{docNum}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Función para crear la impresión en xml del documento pedido",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "path",
            "description": "Número de documento que queremos recuperar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isFacturaE",
            "in": "query",
            "description": "Descargar en formato FacturaE. Por defecto false (no implementado aún)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/Download/documents/{documentType}/{docNum}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Función para crear la impresión en Documentos del documento pedido",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "path",
            "description": "Número de documento que queremos recuperar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "typeResponse",
            "in": "query",
            "description": "Formato de la respuesta (TXT,CSV,XML)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/DownloadMultiple/documents/{documentType}": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "Descarga/imprime una serie de documentos conprimidos en un zip.",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Tipo de documento que nos esta pidiendo",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNums",
            "in": "query",
            "description": "Lista de documentos a descargar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "typeResponse",
            "in": "query",
            "description": "Formato para la descarga (XML,TXT,CSV)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/Stock/{store}/{brand}": {
      "post": {
        "tags": [
          "Document"
        ],
        "summary": "Función para recuperar el stock de una tienda",
        "parameters": [
          {
            "name": "store",
            "in": "path",
            "description": "Alamcen",
            "required": true,
            "schema": {
              "type": "string",
              "default": "01"
            }
          },
          {
            "name": "brand",
            "in": "path",
            "description": "Marca de la que se quiere sacar información",
            "required": true,
            "schema": {
              "type": "string",
              "default": "roly"
            }
          }
        ],
        "requestBody": {
          "description": "Información de login del usaurio",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Document/Stock/{brand}": {
      "get": {
        "tags": [
          "Document"
        ],
        "parameters": [
          {
            "name": "user",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pass",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "store",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "01"
            }
          },
          {
            "name": "brand",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "default": "roly"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/{documentType}": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Endpoint que permite obtener un listado paginado de distintos tipos de documentos. Para ello se accede al GOR_WEBSERVICES_EXT y obtiene los documentos deseados.\r\nPosteriormente estos se procesan para obtener paginación y ordenación de los mismos",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Alternativa al parámetro typeDoc",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "description": "\"\" - No se filtra, otra cosa estado",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "typeDoc",
            "in": "query",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\", \"offers\"",
            "schema": {
              "type": "string",
              "default": "order"
            }
          },
          {
            "name": "order",
            "in": "query",
            "description": "(Default: asc) Ordenación por fecha que se quiere realizar. Valores válidos Asc o Desc",
            "schema": {
              "type": "string",
              "default": "asc"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "(Default: 01-01-0001) Fecha de inicio desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "(Default: 31-12-9999) Fecha fin desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "(Default: 15) Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "(Default: 0) Número de página que queremos recuperar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "description": "Documento en concreto por el que queremos filtrar",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "numAtCard",
            "in": "query",
            "description": "Número concreto por el que queremos filtrar",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Endpoint que permite obtener un listado paginado de distintos tipos de documentos. Para ello se accede al GOR_WEBSERVICES_EXT y obtiene los documentos deseados.\r\nPosteriormente estos se procesan para obtener paginación y ordenación de los mismos",
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "description": "\"\" - No se filtra, otra cosa estado",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "typeDoc",
            "in": "query",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\", \"offers\"",
            "schema": {
              "type": "string",
              "default": "order"
            }
          },
          {
            "name": "order",
            "in": "query",
            "description": "(Default: asc) Ordenación por fecha que se quiere realizar. Valores válidos Asc o Desc",
            "schema": {
              "type": "string",
              "default": "asc"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "description": "(Default: 01-01-0001) Fecha de inicio desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "description": "(Default: 31-12-9999) Fecha fin desde la que buscar",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "(Default: 15) Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "(Default: 0) Número de página que queremos recuperar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "description": "Documento en concreto por el que queremos filtrar",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "numAtCard",
            "in": "query",
            "description": "Número concreto por el que queremos filtrar",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/{documentType}/{docNum}": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/DownloadFiltered": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "typeDoc",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "order"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "asc"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "numAtCard",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "taric",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/DownloadFiltered/{documentType}": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "typeDoc",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "order"
            }
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "asc"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "numAtCard",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "taric",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/Print": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Función para crear la impresión en pdf del documento pedido",
        "parameters": [
          {
            "name": "typeDoc",
            "in": "query",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "description": "Número de documento que queremos recuperar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/Print/{documentType}": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Función para crear la impresión en pdf del documento pedido",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Alternativa al parámetro typeDoc",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "typeDoc",
            "in": "query",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "description": "Número de documento que queremos recuperar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/PrintTXT": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Función para crear la impresión en txt del documento pedido",
        "parameters": [
          {
            "name": "typeDoc",
            "in": "query",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "description": "Número de documento que queremos recuperar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/PrintTXT/{documentType}": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Función para crear la impresión en txt del documento pedido",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Alternativa al parámetro typeDoc",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "typeDoc",
            "in": "query",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "description": "Número de documento que queremos recuperar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "description": "Toggle taric",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/PrintXML": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Función para crear la impresión en xml del documento pedido",
        "parameters": [
          {
            "name": "typeDoc",
            "in": "query",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "description": "Número de documento que queremos recuperar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isFacturaE",
            "in": "query",
            "description": "Descargar en formato FacturaE. Por defecto false (no implementado aún)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/PrintXML/{documentType}": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Función para crear la impresión en xml del documento pedido",
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "description": "Alternativa al parámetro typeDoc",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "typeDoc",
            "in": "query",
            "description": "(Default: order) Tipo de documento que queremos buscar. Debe existir en la lista de ser uno de los siguientes valores: \"tracking\", \"extract\", \"payment\", \"expiration\", \"invoice\", \"order\", \"deliverynote\", \"347report\"",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNum",
            "in": "query",
            "description": "Número de documento que queremos recuperar",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "isFacturaE",
            "in": "query",
            "description": "Descargar en formato FacturaE. Por defecto false (no implementado aún)",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el formato es-ES",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/PrintMultiple": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "parameters": [
          {
            "name": "typeDoc",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNums",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/PrintMultiple/{documentType}": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "parameters": [
          {
            "name": "documentType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "typeDoc",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "docNums",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "taric",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "N"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/Stock/{store}/{brand}": {
      "post": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Función para recuperar el stock de una tienda",
        "parameters": [
          {
            "name": "store",
            "in": "path",
            "description": "Alamcen",
            "required": true,
            "schema": {
              "type": "string",
              "default": "01"
            }
          },
          {
            "name": "brand",
            "in": "path",
            "description": "Marca de la que se quiere sacar información",
            "required": true,
            "schema": {
              "type": "string",
              "default": "roly"
            }
          }
        ],
        "requestBody": {
          "description": "Información de login del usaurio",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/Stock/{brand}": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "parameters": [
          {
            "name": "user",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pass",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "store",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "01"
            }
          },
          {
            "name": "brand",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "default": "roly"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/DocumentOld/Print/Proforma": {
      "get": {
        "tags": [
          "DocumentOld"
        ],
        "summary": "Endpoint",
        "parameters": [
          {
            "name": "docNum",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/FavModels": {
      "get": {
        "tags": [
          "FavModels"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/FavModels/{modelCode}": {
      "post": {
        "tags": [
          "FavModels"
        ],
        "parameters": [
          {
            "name": "modelCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "FavModels"
        ],
        "parameters": [
          {
            "name": "modelCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/FavProducts": {
      "get": {
        "tags": [
          "FavProducts"
        ],
        "summary": "Función para obtener todos los Favproduct de un cliente",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "FavProducts"
        ],
        "summary": "Endpoint para crear un favproduct",
        "requestBody": {
          "description": "Cuerpo de la petición. Debete tener los campos nPedido, date, name, y debe contener al menos una lineaPedido",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/FavProductsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FavProductsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FavProductsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FavProductsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/FavProducts/{id}": {
      "get": {
        "tags": [
          "FavProducts"
        ],
        "summary": "Endpoint para obtener un favproduct en especifico, mediante el uso del id",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador del Favproduct",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "put": {
        "tags": [
          "FavProducts"
        ],
        "summary": "Endpoint que nos permite actualizar un favproduct",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificación del favproduct que queremos actualizar",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Cuerpo de la petición. Debete tener los campos nPedido, date, name, y debe contener al menos una lineaPedido",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/FavProductsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FavProductsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FavProductsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FavProductsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "FavProducts"
        ],
        "summary": "Endpoint para eliminar un favproduct",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador del Favproduct que queremos eliminar",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/FavProducts/{id}/Product": {
      "post": {
        "tags": [
          "FavProducts"
        ],
        "summary": "Endpoint para añadir una línea a un favproduct",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador del favproduct que queremos añadir",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Producto, con los campos quantity, store y product que especifican la línea que queremos añadir",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/FavLineDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FavLineDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FavLineDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FavLineDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/FavProducts/{id}/Product/{productCode}/Store/{store}": {
      "delete": {
        "tags": [
          "FavProducts"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "productCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "store",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Health/Check": {
      "get": {
        "tags": [
          "Health"
        ],
        "summary": "Endpoint para comprobar que el servidor está activo",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Health": {
      "get": {
        "tags": [
          "Health"
        ],
        "summary": "Endpoint para comprobar que el servidor está activo, se puede conectar a la BD, y se puede conectar a los webservices",
        "parameters": [
          {
            "name": "showTimer",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Health/Validate": {
      "get": {
        "tags": [
          "Health"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Health/metrics/threads": {
      "get": {
        "tags": [
          "Health"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/muestrario": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener el listado de muestrarios",
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que queremos recuperar los muestarios. En el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/muestrario/{code}": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener un muestrario en concreto",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "Código del muestrario",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que queremos recuperar los muestarios. En el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/muestrario/Hash": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Endpoint auxiliar para comprobar el hash del fichero que contiene los muestrarios",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Rate": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener las tarifas",
        "parameters": [
          {
            "name": "Rate",
            "in": "query",
            "description": "Tarifa que se desea obtener",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Format",
            "in": "query",
            "description": "Formato de la tarifa",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "OKTXT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Catalog": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener los catálogos no públicos.",
        "parameters": [
          {
            "name": "catalogId",
            "in": "query",
            "description": "newsletterId de Catálogo que se desea obtener",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Newsletter": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener los newsletter",
        "parameters": [
          {
            "name": "Page",
            "in": "query",
            "description": "Página que queremos obtener. Por defecto es la 0",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "Tamaño de página. Por defecto es 15",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          },
          {
            "name": "Lang",
            "in": "query",
            "description": "Idioma en el que queremos recuperar el newsletter en el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "Shop",
            "in": "query",
            "description": "Tienda de la que se quiere obtener. Si no se especifica será de ambas",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para que se envie un newsleter desde la página web a su correo electrónico",
        "requestBody": {
          "description": "Cuerpo de la petición. Debe contener un objeto body y un objeto subject",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/NewsletterDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NewsletterDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/NewsletterDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/NewsletterDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Newsletter/{newsletterId}": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Endpoint para obtener un newsletter por su id",
        "parameters": [
          {
            "name": "newsletterId",
            "in": "path",
            "description": "Identificador del newsletter",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Lang",
            "in": "query",
            "description": "Idioma en el que queremos recuperar el newsletter en el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "Shop",
            "in": "query",
            "description": "Tienda de la que se quiere obtener. Si no se especifica será de ambas",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Newsletter/{id}": {
      "post": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para mandar un newsletter sin modificar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador del newsletter",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que queremos enivar el newsletter en el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda de la que se quiere obtener. Si no se especifica será de ambas",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Newsletter/{id}/pdf": {
      "post": {
        "tags": [
          "Marketing"
        ],
        "summary": "Endpoint para descargar un newsletter en pdf",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador del newsletter",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Lang",
            "in": "query",
            "description": "Idioma en el que queremos recuperar el newsletter en el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "Shop",
            "in": "query",
            "description": "Tienda de la que se quiere obtener. Si no se especifica será de ambas",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Newsletter/pdf": {
      "post": {
        "tags": [
          "Marketing"
        ],
        "summary": "Endpoint para descargar un newsletter personalizado en pdf",
        "requestBody": {
          "description": "Contenido html personalizado del newsletter",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "string"
              }
            },
            "application/json": {
              "schema": {
                "type": "string"
              }
            },
            "text/json": {
              "schema": {
                "type": "string"
              }
            },
            "application/*+json": {
              "schema": {
                "type": "string"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/WebAlert": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener el listado de alertas web",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "description": "Company de la que se quieren recuperar las alertas",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "languages",
            "in": "query",
            "description": "Idiomas separados por comas de más a menos prioritario (opcional)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/WebPopup": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener el listado de popups activos",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "description": "Company de la que se quieren recuperar los popups",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "languages",
            "in": "query",
            "description": "Idiomas separados por comas de más a menos prioritario (opcional)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/WebNews": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener una página del listado de noticias publicadas en una tienda",
        "parameters": [
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda en la que tienen que estar publicadas las noticias",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Company de la que se quieren recuperar las noticias",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "languages",
            "in": "query",
            "description": "Idiomas separados por comas de más a menos prioritario (opcional)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Página a obtener, desde 1",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Noticias por página, como máximo 100",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 12
            }
          },
          {
            "name": "category",
            "in": "query",
            "description": "Ids de las categorías del blog por las que filtrar, separados por comas o repitiendo el parámetro (opcional)",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "tag",
            "in": "query",
            "description": "Ids de las etiquetas del blog por las que filtrar, separados por comas o repitiendo el parámetro (opcional)",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/WebNews/{id}": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener una noticia publicada en una tienda con su detalle",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Id de la noticia",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda en la que tiene que estar publicada la noticia",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Company de la noticia",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "languages",
            "in": "query",
            "description": "Idiomas separados por comas de más a menos prioritario (opcional)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/WebNews/slug/{slug}": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener por su slug una noticia publicada en una tienda con su detalle",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "description": "Slug de la noticia",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda en la que tiene que estar publicada la noticia",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Company de la noticia",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "languages",
            "in": "query",
            "description": "Idiomas separados por comas de más a menos prioritario (opcional)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/WebNews/categories": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener las categorías del blog de una company",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "description": "Company de la que se quieren recuperar las categorías",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "languages",
            "in": "query",
            "description": "Idiomas separados por comas de más a menos prioritario (opcional)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/WebNews/tags": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Función para obtener las etiquetas del blog de una company",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "description": "Company de la que se quieren recuperar las etiquetas",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "languages",
            "in": "query",
            "description": "Idiomas separados por comas de más a menos prioritario (opcional)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Encuestas": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Devuelve las encuestas de satisfacción activas (dentro de su ventana de disponibilidad)",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Encuestas/{code}": {
      "get": {
        "tags": [
          "Marketing"
        ],
        "summary": "Devuelve una encuesta activa",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "Código de la encuesta, en MAYÚSCULAS y con '_' como separador (ej: SATISFACTION_SURVEY_2026)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Marketing/Encuesta/{code}": {
      "post": {
        "tags": [
          "Marketing"
        ],
        "summary": "Envía la respuesta del cliente a una encuesta",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "Código de la encuesta, en MAYÚSCULAS y con '_' como separador (ej: SATISFACTION_SURVEY_2026)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Valoración (0-5) y comentario opcional",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/SurveyAnswerDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SurveyAnswerDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SurveyAnswerDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SurveyAnswerDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/pdf/{model}": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Funci�n para generar una ficha tecnica",
        "parameters": [
          {
            "name": "model",
            "in": "path",
            "description": "Identificador del modelo que queremos generar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que queremos que se genere en el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "inches",
            "in": "query",
            "description": "",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/dc/{model}": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Funci�n para generar una declaraci�n de conformidad",
        "parameters": [
          {
            "name": "model",
            "in": "path",
            "description": "Identificador del modelo que queremos generar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que queremos que se genere en el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Par�metro que indica si estamos en OKTXT o en GOR",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/{model}": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Funci�n para obtener informaci�n de un modelo",
        "parameters": [
          {
            "name": "model",
            "in": "path",
            "description": "Identificaci�n del modelo",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Idioma en el que queremos obtener la informaci�n en el formato en-GB",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/{modelCode}/Rangeprices": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Endpoint que devuelve los rangos de precios de los productos de un modelo en concreto.",
        "parameters": [
          {
            "name": "modelCode",
            "in": "path",
            "description": "Identificaci�n del modelo (codigo SAP)",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/{modelCode}/Pricelist": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Endpoint que devuelve precios fijos de los productos de un modelo en concreto.",
        "parameters": [
          {
            "name": "modelCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/{model}/Prices": {
      "get": {
        "tags": [
          "Models"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          },
          {
            "name": "pvp",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/{model}/Colors": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Funci�n para obtener los colores de un modelo en concreto",
        "parameters": [
          {
            "name": "model",
            "in": "path",
            "description": "Identificaci�n del modelo",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/Hash": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Funci�n para comprobar si ha habido alg�n cambio en alg�n modelo y se debe recuperar la informaci�n del mismo",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/{model}/Talla": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Funci�n que sirve para calcular cual es la talla m�s cercana a una anchura y altura determinada",
        "parameters": [
          {
            "name": "model",
            "in": "path",
            "description": "Modelo del que se quiere hacer el calculo",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "width",
            "in": "query",
            "description": "Anchura de la m�trica primaria en cm",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Altura de la estatura en cm",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "secondaryWidth",
            "in": "query",
            "description": "Anchura de la m�trica secundaria en cm",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Company al que refiere",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/SizeGuide/{company}": {
      "get": {
        "tags": [
          "Models"
        ],
        "summary": "Recupera las medidas de los modelos para crear el size guide",
        "parameters": [
          {
            "name": "company",
            "in": "path",
            "description": "Company al que refiere",
            "required": true,
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/Outlet": {
      "get": {
        "tags": [
          "Models"
        ],
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "filterCollection",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Models/Outlet/Download": {
      "get": {
        "tags": [
          "Models"
        ],
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          },
          {
            "name": "filterCollection",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order": {
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función para añadir un producto al carrito",
        "requestBody": {
          "description": "Objeto que representa el código de producto, la cantidad, el almacén y la serie",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "put": {
        "tags": [
          "Order"
        ],
        "summary": "Función para actualizar un línea de un producto. Se permite cambio de store y de cantidad",
        "parameters": [
          {
            "name": "line",
            "in": "query",
            "description": "Línea que se desea modificar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Objeto que representa el código de producto, la cantidad, el almacen y la serie",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Función que calculo el coste del envio e impuesto, y devulve el carrito",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se realiza la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Order"
        ],
        "summary": "Función para eliminar una línea en especifico",
        "parameters": [
          {
            "name": "line",
            "in": "query",
            "description": "Línea que se quiere eliminar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se realiza la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Multiple": {
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función para multiples productos a un carrito",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que realizar el añadido",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "description": "Objeto que representa el código de producto, la cantidad, el almacen. Warning: serie no se utiliza",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityDTO"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityDTO"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityDTO"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityDTO"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Order"
        ],
        "summary": "Función para eliminar multiples productos a un carrito",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que realizar el añadido",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "description": "Listado de lineas que queremos eliminar",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/MultipleAndUpdate": {
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función para multiples productos a un carrito. Y actualiza todos los valores del carrito, llamando a los webservices",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que realizar el añadido",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "description": "Objeto que representa el código de producto, la cantidad, el almacen. Warning: serie no se utiliza",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityDTO"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityDTO"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityDTO"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityDTO"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Lines/Selected": {
      "put": {
        "tags": [
          "Order"
        ],
        "summary": "Función para actualizar el estado Selected de múltiples líneas del carrito",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se realiza la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "description": "Lista de líneas con su nuevo estado Selected",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderLineSelectedDTO"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderLineSelectedDTO"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderLineSelectedDTO"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderLineSelectedDTO"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Muestrario/{id}": {
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función para añadir un muestrario al carrito",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador del muestrario",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se realiza la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/All": {
      "delete": {
        "tags": [
          "Order"
        ],
        "summary": "Función para eliminar todas las líneas de un carrito",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se realiza le petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Address": {
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función que permite confirmar el método de pago y una dirección",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se realiza la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "description": "Cuerpo de la petición que contiene:\r\n                        - StorePickUp: False/True (Defecto False) - Recogida en almacen\r\n                        - DeliveryLineNum: LineNum de la dirección de entrega\r\n                        - InvoiceLineNum: LineNum de la dirección de facturación\r\n                        - Payment: 0 - Tarjeta, 1 - Paypal, 2 - Combinación metodo de pago + condición de pago (Defecto 0)\r\n                        - Reference: Campo referencias\r\n                        - Comments: Comentarios\r\n                        - Agency: False/True (Defecto False) - Cliente envía agencia",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AddressAndPaymentDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddressAndPaymentDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddressAndPaymentDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddressAndPaymentDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Finish": {
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función para finalizar el pedido actual",
        "parameters": [
          {
            "name": "notCheck",
            "in": "query",
            "description": "Variable que nos permite evitar la comprobación del precio sea menor de 50. Por defecto a false, que por tanto hace la comprobación",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se quiere realizar la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ComputedUrlBase"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputedUrlBase"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputedUrlBase"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ComputedUrlBase"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/TPV/Response/Ok": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Función para confirmar el funcionamiento del TPV",
        "parameters": [
          {
            "name": "Ds_SignatureVersion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_MerchantParameters",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_Signature",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se quiere realizar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función para confirmar el funcionamiento del TPV",
        "parameters": [
          {
            "name": "Ds_SignatureVersion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_MerchantParameters",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_Signature",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se quiere realizar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/TPV/Response": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Función para confirmar el funcionamiento del TPV",
        "parameters": [
          {
            "name": "Ds_SignatureVersion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_MerchantParameters",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_Signature",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se quiere realizar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función para confirmar el funcionamiento del TPV",
        "parameters": [
          {
            "name": "Ds_SignatureVersion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_MerchantParameters",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_Signature",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se quiere realizar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/TPV/Response/Company/{company}": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Función para confirmar el funcionamiento del TPV",
        "parameters": [
          {
            "name": "company",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Ds_SignatureVersion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_MerchantParameters",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_Signature",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se quiere realizar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Función para confirmar el funcionamiento del TPV",
        "parameters": [
          {
            "name": "company",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Ds_SignatureVersion",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_MerchantParameters",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "Ds_Signature",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se quiere realizar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Paypal/Response": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "provider",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PaypalResponse"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaypalResponse"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaypalResponse"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaypalResponse"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Paypal/ResponseV2": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "provider",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PaypalResponseV2"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PaypalResponseV2"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PaypalResponseV2"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PaypalResponseV2"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Print": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Función para imprimir un borrador del pedido actual",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie que se quiere imprimir",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda. ROL/STA",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/CSV": {
      "post": {
        "tags": [
          "Order"
        ],
        "summary": "Endpoint que permite añadir mediante un fichero csv",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie en la que se quiere realizar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "description": "Fichero csv",
                    "format": "binary"
                  }
                }
              },
              "encoding": {
                "file": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/Reprocesos/{reprocesoId}": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Recupera el JSON para poder integrar el pedido",
        "parameters": [
          {
            "name": "reprocesoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/StorePickup": {
      "put": {
        "tags": [
          "Order"
        ],
        "summary": "Endpoint para actualizar el método de recogida en tienda, cuando hay más de 1 store",
        "parameters": [
          {
            "name": "allStores",
            "in": "query",
            "description": "Si se quiere todo en el mismo store o no",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie para la que se quiere realizar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/{id}": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Función para obtener un carrito por id o obtener el último carrito confirmado",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador del carrito",
            "required": true,
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se realiza la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/LastOrder": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Función para obtener un carrito por id o obtener el último carrito confirmado",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se realiza la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/CheckCart": {
      "get": {
        "tags": [
          "Order"
        ],
        "summary": "Función para comprobar si existe algún error en el carrito actual del cliente",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que se le realiza la petición",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "allowsAirShipping",
            "in": "query",
            "description": "Indica si el pedido admite envio aereo",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "isSecondPurchaseStep",
            "in": "query",
            "description": "Indica si vamos al paso 2 del carrito",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Order/WS": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/WSOrderDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WSOrderDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/WSOrderDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/WSOrderDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/OrderDrafts": {
      "get": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Recupera los borradores de un cliente paginados",
        "parameters": [
          {
            "name": "source",
            "in": "query",
            "description": "fuente de borradores a obtener",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Número de página a recuperar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "completed",
            "in": "query",
            "description": "Si obtener borradores completados o no",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Función para crear un borrador",
        "requestBody": {
          "description": "Información básica del borrador a crear",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderDraftDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderDraftDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderDraftDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrderDraftDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/OrderDrafts/completed": {
      "get": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Recupera los borradores de un cliente paginados",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Número de página a recuperar",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Tamaño de página",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/OrderDrafts/{id}": {
      "get": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Recupera un único borrador de un cliente",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificar de un borrador en concreto",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "put": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Función para edita el nombre de un borrador",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Iidentificador del borrador a modificar",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Nombre a modificar, el resto de campos son ignorados",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/EditNameOrderDraftDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EditNameOrderDraftDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/EditNameOrderDraftDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/EditNameOrderDraftDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/OrderDrafts/{idBorrador}": {
      "delete": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Función para eliminar un borrador",
        "parameters": [
          {
            "name": "idBorrador",
            "in": "path",
            "description": "Identificador del borrador",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/OrderDrafts/{idBorrador}/Products": {
      "delete": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Función para eliminar uno o varias líneas",
        "parameters": [
          {
            "name": "idBorrador",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Value: []",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "format": "int32"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Función para añadir multiples productos a un borrador",
        "parameters": [
          {
            "name": "idBorrador",
            "in": "path",
            "description": "Identificador del borrador",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Value: [listProducts]",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderDraftLinesDTO"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderDraftLinesDTO"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderDraftLinesDTO"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderDraftLinesDTO"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "put": {
        "tags": [
          "OrderDrafts"
        ],
        "summary": "Función para modificar las lineas de un borrador",
        "parameters": [
          {
            "name": "idBorrador",
            "in": "path",
            "description": "Identificador del borrador a modificar",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "Value: [lista de modificaciones]",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderDraftLinesDTO"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderDraftLinesDTO"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderDraftLinesDTO"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OrderDraftLinesDTO"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/OrderDrafts/{idBorrador}/Finish": {
      "post": {
        "tags": [
          "OrderDrafts"
        ],
        "parameters": [
          {
            "name": "idBorrador",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Stock": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que permite obtener el stock que tiene un cliente en los diferentes almacenes",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/IncomingStock": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que permite obtener el stock que tiene un cliente en los diferentes almacenes",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/StockEntrada": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que permite obtener el stock de entrada que tiene un cliente en los diferentes almacenes",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/StockPvP": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que permite obtener el stock PvP",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Stock/Hash": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que permite obtener el hash del fichero de stock para comprobar si se ha modificado previamente o no",
        "parameters": [
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/IncomingStock/Hash": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que permite obtener el hash del fichero de stock para comprobar si se ha modificado previamente o no",
        "parameters": [
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/TermsOfSaleOk": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Función para obtener las condiciones de venta de OK",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "OKTXT"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Pricelist": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que podemos obtener el precio de los productos haciendo uso del listado de precios",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Pricelist/IdentityServer/{clientid}/{company}": {
      "get": {
        "tags": [
          "Product"
        ],
        "parameters": [
          {
            "name": "clientid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/PricelistPvP": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que podemos obtener el precio PvP de los productos",
        "parameters": [
          {
            "name": "currency",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "€"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "clientid",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/PricelistConfidential": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que podemos obtener el precio confidencial de los productos",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Pricelist/Hash": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que podemos comprobar si se ha modificado los precios desde la última llamada",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Rangeprices": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que podemos obtener todos los precios de rangos de un cliente.",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Rangeprices/IdentityServer/{clientid}/{company}": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que podemos obtener todos los precios de rangos de un cliente, autorizando contra identity server.",
        "parameters": [
          {
            "name": "clientid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/RangePricesPvP": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que podemos obtener el precio PvP de los productos haciendo uso del campo priceliststamina, en caso de que se utilice",
        "parameters": [
          {
            "name": "currency",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "€"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "clientid",
            "in": "query",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/RangePricesConfidential": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que podemos obtener el precio connfidencial de los productos haciendo uso del campo priceliststamina, en caso de que se utilice",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Rangeprices/Hash": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que permite comprobar si se han visto modificados los rangos de precios",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/{productCode}/Rangeprices": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que devuelve los rangos de precios de un producto en concreto.",
        "parameters": [
          {
            "name": "productCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/{productCode}/Pricelist": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint que devuelve los precios fijos de un producto en concreto.",
        "parameters": [
          {
            "name": "productCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Alert": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint cuyo objetivo es recuperar todas las alertas que se encuentran sin completar",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que queremos añadir una alerta para un producto. Los campos se pueden pasar por el cuerpo o por url",
        "parameters": [
          {
            "name": "message",
            "in": "query",
            "description": "Parámetro de url que especifica el mensaje (sustituye al cuerpo)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Cuerpo de la petición, que incluye codigoProducto y almacen",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AlertProductDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AlertProductDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AlertProductDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AlertProductDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que queremos eliminar una alerta.",
        "parameters": [
          {
            "name": "message",
            "in": "query",
            "description": "Parámetro de url que especifica el mensaje (sustituye al cuerpo)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Cuerpo de la petición, que incluye codigoProducto y almacen",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AlertProductDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AlertProductDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AlertProductDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AlertProductDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Alert/{product}/{store}": {
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que queremos añadir una alerta para un producto. Los campos se pueden pasar por el cuerpo o por url",
        "parameters": [
          {
            "name": "product",
            "in": "path",
            "description": "Parámetro de url, en el que se especifica el codigo de producto (sustituye al cuerpo)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "store",
            "in": "path",
            "description": "Parámetro de url que indica el almacen (sustituye al cuerpo)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message",
            "in": "query",
            "description": "Parámetro de url que especifica el mensaje (sustituye al cuerpo)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que queremos eliminar una alerta.",
        "parameters": [
          {
            "name": "product",
            "in": "path",
            "description": "Parámetro de url, en el que se especifica el codigo de producto (sustituye al cuerpo)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "store",
            "in": "path",
            "description": "Parámetro de url que indica el almacen (sustituye al cuerpo)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message",
            "in": "query",
            "description": "Parámetro de url que especifica el mensaje (sustituye al cuerpo)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Alert/{product}/store/{store}": {
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que queremos añadir una alerta para un producto. Los campos se pueden pasar por el cuerpo o por url",
        "parameters": [
          {
            "name": "product",
            "in": "path",
            "description": "Parámetro de url, en el que se especifica el codigo de producto (sustituye al cuerpo)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "store",
            "in": "path",
            "description": "Parámetro de url que indica el almacen (sustituye al cuerpo)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message",
            "in": "query",
            "description": "Parámetro de url que especifica el mensaje (sustituye al cuerpo)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint mediante el que queremos eliminar una alerta.",
        "parameters": [
          {
            "name": "product",
            "in": "path",
            "description": "Parámetro de url, en el que se especifica el codigo de producto (sustituye al cuerpo)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "store",
            "in": "path",
            "description": "Parámetro de url que indica el almacen (sustituye al cuerpo)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "message",
            "in": "query",
            "description": "Parámetro de url que especifica el mensaje (sustituye al cuerpo)",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/StoreInfo": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint para obtener la información de los distintos stores",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Stock/XLS": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint para obtener el fichero de stock del almacen 01 o el almacen 02 en formato csv",
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "description": "Compañia. Por defecto Gorfactory",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda. Por defecto Roly",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          },
          {
            "name": "store",
            "in": "query",
            "description": "Almacen. Por defecto 01",
            "schema": {
              "type": "string",
              "default": "2010"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/PackBox/{modelo}": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Función para obtener los pack/box de un modelo",
        "parameters": [
          {
            "name": "modelo",
            "in": "path",
            "description": "Modelo",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/CurrencyRate": {
      "get": {
        "tags": [
          "Product"
        ],
        "parameters": [
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Maestro": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint para obtener el maestro de articulos sin precios",
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "description": "Idioma. Obligatorio",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda. ROL o STA",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "outlet",
            "in": "query",
            "description": "Include outlet. true o false",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Compaía. Por defecto Gor",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Maestro/Prices": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint para obtener el maestro de articulos sin precios",
        "parameters": [
          {
            "name": "language",
            "in": "query",
            "description": "Idioma. Obligatorio",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userlogin",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "password",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda. ROL o STA",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "outlet",
            "in": "query",
            "description": "Include outlet. true o false",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "pvp",
            "in": "query",
            "description": "Get pvp prices. true o false",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Compaía. Por defecto Gor",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Maestro/Outlet": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Endpoint para obtener el maestro de outlet con el idioma que tiene el cliente configurado",
        "parameters": [
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda. ROL o STA",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Compaía. Por defecto Gor",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Idioma de archivo.",
            "schema": {
              "type": "string",
              "default": "en-GB"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Product/Getpdp": {
      "get": {
        "tags": [
          "Product"
        ],
        "parameters": [
          {
            "name": "ean",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Print": {
      "get": {
        "tags": [
          "RazorView"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "RazorView"
        ],
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "YouReprocesosInfoForm": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Email": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Name": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Address": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Cp": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.State": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Country": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.City": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Phone": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Comments": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Reference": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Identificador": {
                    "type": "string"
                  },
                  "DesignData": {
                    "type": "string"
                  },
                  "Order.Productos": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DesignResumeProductoDTO"
                    }
                  },
                  "Order.Reprocesos": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DesignResumeTecnicaDTO"
                    }
                  },
                  "OrderForm": {
                    "type": "string"
                  },
                  "Modification.Empresa": {
                    "type": "string"
                  },
                  "Modification.Observaciones": {
                    "type": "string"
                  },
                  "Modification.Calle": {
                    "type": "string"
                  },
                  "Modification.Ciudad": {
                    "type": "string"
                  },
                  "Modification.ColorSeleccionado": {
                    "type": "string"
                  },
                  "Modification.CorreoContacto": {
                    "type": "string"
                  },
                  "Modification.CosteExtra": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.CP": {
                    "type": "string"
                  },
                  "Modification.Logo": {
                    "type": "string"
                  },
                  "Modification.CustomLogo": {
                    "type": "string"
                  },
                  "Modification.Pais": {
                    "type": "string"
                  },
                  "Modification.Poblacion": {
                    "type": "string"
                  },
                  "Modification.PorcentajeProductos": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PercentTaxes": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PorcentajeReprocesos": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.ShippingPrice": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PrimaryHex": {
                    "type": "string"
                  },
                  "Modification.SecondaryHex": {
                    "type": "string"
                  },
                  "Modification.Telefono": {
                    "type": "string"
                  },
                  "Modification.HasContactData": {
                    "type": "boolean"
                  },
                  "ModificationForm": {
                    "type": "string"
                  },
                  "NewDesignData.ListDesign": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ReprocesosDesignZoneDTO"
                    }
                  },
                  "NewDesignData.Preview": {
                    "type": "string"
                  },
                  "NewDesignData.ZonaPreview": {
                    "type": "string"
                  },
                  "NewDesignData.AlternativePreview": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AlternativePreviewDTO"
                    }
                  },
                  "NewDesignData.ColorPreview": {
                    "type": "string"
                  },
                  "NewDesignData.Mode": {
                    "type": "string"
                  },
                  "NewDesignData.Json3d": {
                    "type": "string"
                  },
                  "NewDesignData.PreviewRule": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "NewDesignDataForm": {
                    "type": "string"
                  },
                  "BocetosRepetidos": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/BocetosRepeticionDTO"
                    }
                  },
                  "Bocetos": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/StringStringValuesKeyValuePair"
                    }
                  },
                  "IsValidNewDesignData": {
                    "type": "boolean"
                  }
                }
              },
              "encoding": {
                "YouReprocesosInfoForm": {
                  "style": "form"
                },
                "YouReprocesosInfo.Email": {
                  "style": "form"
                },
                "YouReprocesosInfo.Name": {
                  "style": "form"
                },
                "YouReprocesosInfo.Address": {
                  "style": "form"
                },
                "YouReprocesosInfo.Cp": {
                  "style": "form"
                },
                "YouReprocesosInfo.State": {
                  "style": "form"
                },
                "YouReprocesosInfo.Country": {
                  "style": "form"
                },
                "YouReprocesosInfo.City": {
                  "style": "form"
                },
                "YouReprocesosInfo.Phone": {
                  "style": "form"
                },
                "YouReprocesosInfo.Comments": {
                  "style": "form"
                },
                "YouReprocesosInfo.Reference": {
                  "style": "form"
                },
                "YouReprocesosInfo.Identificador": {
                  "style": "form"
                },
                "DesignData": {
                  "style": "form"
                },
                "Order.Productos": {
                  "style": "form"
                },
                "Order.Reprocesos": {
                  "style": "form"
                },
                "OrderForm": {
                  "style": "form"
                },
                "Modification.Empresa": {
                  "style": "form"
                },
                "Modification.Observaciones": {
                  "style": "form"
                },
                "Modification.Calle": {
                  "style": "form"
                },
                "Modification.Ciudad": {
                  "style": "form"
                },
                "Modification.ColorSeleccionado": {
                  "style": "form"
                },
                "Modification.CorreoContacto": {
                  "style": "form"
                },
                "Modification.CosteExtra": {
                  "style": "form"
                },
                "Modification.CP": {
                  "style": "form"
                },
                "Modification.Logo": {
                  "style": "form"
                },
                "Modification.CustomLogo": {
                  "style": "form"
                },
                "Modification.Pais": {
                  "style": "form"
                },
                "Modification.Poblacion": {
                  "style": "form"
                },
                "Modification.PorcentajeProductos": {
                  "style": "form"
                },
                "Modification.PercentTaxes": {
                  "style": "form"
                },
                "Modification.PorcentajeReprocesos": {
                  "style": "form"
                },
                "Modification.ShippingPrice": {
                  "style": "form"
                },
                "Modification.PrimaryHex": {
                  "style": "form"
                },
                "Modification.SecondaryHex": {
                  "style": "form"
                },
                "Modification.Telefono": {
                  "style": "form"
                },
                "Modification.HasContactData": {
                  "style": "form"
                },
                "ModificationForm": {
                  "style": "form"
                },
                "NewDesignData.ListDesign": {
                  "style": "form"
                },
                "NewDesignData.Preview": {
                  "style": "form"
                },
                "NewDesignData.ZonaPreview": {
                  "style": "form"
                },
                "NewDesignData.AlternativePreview": {
                  "style": "form"
                },
                "NewDesignData.ColorPreview": {
                  "style": "form"
                },
                "NewDesignData.Mode": {
                  "style": "form"
                },
                "NewDesignData.Json3d": {
                  "style": "form"
                },
                "NewDesignData.PreviewRule": {
                  "style": "form"
                },
                "NewDesignDataForm": {
                  "style": "form"
                },
                "BocetosRepetidos": {
                  "style": "form"
                },
                "Bocetos": {
                  "style": "form"
                },
                "IsValidNewDesignData": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Print/Boceto": {
      "get": {
        "tags": [
          "RazorView"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Print/Multiples": {
      "post": {
        "tags": [
          "RazorView"
        ],
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Type": {
                    "type": "string"
                  },
                  "Modification.Empresa": {
                    "type": "string"
                  },
                  "Modification.Observaciones": {
                    "type": "string"
                  },
                  "Modification.Calle": {
                    "type": "string"
                  },
                  "Modification.Ciudad": {
                    "type": "string"
                  },
                  "Modification.ColorSeleccionado": {
                    "type": "string"
                  },
                  "Modification.CorreoContacto": {
                    "type": "string"
                  },
                  "Modification.CosteExtra": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.CP": {
                    "type": "string"
                  },
                  "Modification.Logo": {
                    "type": "string"
                  },
                  "Modification.CustomLogo": {
                    "type": "string"
                  },
                  "Modification.Pais": {
                    "type": "string"
                  },
                  "Modification.Poblacion": {
                    "type": "string"
                  },
                  "Modification.PorcentajeProductos": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PercentTaxes": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PorcentajeReprocesos": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.ShippingPrice": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PrimaryHex": {
                    "type": "string"
                  },
                  "Modification.SecondaryHex": {
                    "type": "string"
                  },
                  "Modification.Telefono": {
                    "type": "string"
                  },
                  "Modification.HasContactData": {
                    "type": "boolean"
                  },
                  "ModificationForm": {
                    "type": "string"
                  },
                  "ReprocesosToPrint": {
                    "type": "string"
                  },
                  "ReprocesosToPrintList": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "encoding": {
                "Type": {
                  "style": "form"
                },
                "Modification.Empresa": {
                  "style": "form"
                },
                "Modification.Observaciones": {
                  "style": "form"
                },
                "Modification.Calle": {
                  "style": "form"
                },
                "Modification.Ciudad": {
                  "style": "form"
                },
                "Modification.ColorSeleccionado": {
                  "style": "form"
                },
                "Modification.CorreoContacto": {
                  "style": "form"
                },
                "Modification.CosteExtra": {
                  "style": "form"
                },
                "Modification.CP": {
                  "style": "form"
                },
                "Modification.Logo": {
                  "style": "form"
                },
                "Modification.CustomLogo": {
                  "style": "form"
                },
                "Modification.Pais": {
                  "style": "form"
                },
                "Modification.Poblacion": {
                  "style": "form"
                },
                "Modification.PorcentajeProductos": {
                  "style": "form"
                },
                "Modification.PercentTaxes": {
                  "style": "form"
                },
                "Modification.PorcentajeReprocesos": {
                  "style": "form"
                },
                "Modification.ShippingPrice": {
                  "style": "form"
                },
                "Modification.PrimaryHex": {
                  "style": "form"
                },
                "Modification.SecondaryHex": {
                  "style": "form"
                },
                "Modification.Telefono": {
                  "style": "form"
                },
                "Modification.HasContactData": {
                  "style": "form"
                },
                "ModificationForm": {
                  "style": "form"
                },
                "ReprocesosToPrint": {
                  "style": "form"
                },
                "ReprocesosToPrintList": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Print/Boceto/Multiples": {
      "post": {
        "tags": [
          "RazorView"
        ],
        "parameters": [
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Type": {
                    "type": "string"
                  },
                  "Modification.Empresa": {
                    "type": "string"
                  },
                  "Modification.Observaciones": {
                    "type": "string"
                  },
                  "Modification.Calle": {
                    "type": "string"
                  },
                  "Modification.Ciudad": {
                    "type": "string"
                  },
                  "Modification.ColorSeleccionado": {
                    "type": "string"
                  },
                  "Modification.CorreoContacto": {
                    "type": "string"
                  },
                  "Modification.CosteExtra": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.CP": {
                    "type": "string"
                  },
                  "Modification.Logo": {
                    "type": "string"
                  },
                  "Modification.CustomLogo": {
                    "type": "string"
                  },
                  "Modification.Pais": {
                    "type": "string"
                  },
                  "Modification.Poblacion": {
                    "type": "string"
                  },
                  "Modification.PorcentajeProductos": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PercentTaxes": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PorcentajeReprocesos": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.ShippingPrice": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PrimaryHex": {
                    "type": "string"
                  },
                  "Modification.SecondaryHex": {
                    "type": "string"
                  },
                  "Modification.Telefono": {
                    "type": "string"
                  },
                  "Modification.HasContactData": {
                    "type": "boolean"
                  },
                  "ModificationForm": {
                    "type": "string"
                  },
                  "ReprocesosToPrint": {
                    "type": "string"
                  },
                  "ReprocesosToPrintList": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                }
              },
              "encoding": {
                "Type": {
                  "style": "form"
                },
                "Modification.Empresa": {
                  "style": "form"
                },
                "Modification.Observaciones": {
                  "style": "form"
                },
                "Modification.Calle": {
                  "style": "form"
                },
                "Modification.Ciudad": {
                  "style": "form"
                },
                "Modification.ColorSeleccionado": {
                  "style": "form"
                },
                "Modification.CorreoContacto": {
                  "style": "form"
                },
                "Modification.CosteExtra": {
                  "style": "form"
                },
                "Modification.CP": {
                  "style": "form"
                },
                "Modification.Logo": {
                  "style": "form"
                },
                "Modification.CustomLogo": {
                  "style": "form"
                },
                "Modification.Pais": {
                  "style": "form"
                },
                "Modification.Poblacion": {
                  "style": "form"
                },
                "Modification.PorcentajeProductos": {
                  "style": "form"
                },
                "Modification.PercentTaxes": {
                  "style": "form"
                },
                "Modification.PorcentajeReprocesos": {
                  "style": "form"
                },
                "Modification.ShippingPrice": {
                  "style": "form"
                },
                "Modification.PrimaryHex": {
                  "style": "form"
                },
                "Modification.SecondaryHex": {
                  "style": "form"
                },
                "Modification.Telefono": {
                  "style": "form"
                },
                "Modification.HasContactData": {
                  "style": "form"
                },
                "ModificationForm": {
                  "style": "form"
                },
                "ReprocesosToPrint": {
                  "style": "form"
                },
                "ReprocesosToPrintList": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Print/Comercial": {
      "get": {
        "tags": [
          "RazorView"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Print/Html": {
      "get": {
        "tags": [
          "RazorView"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "lang",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/TPV/APP": {
      "get": {
        "tags": [
          "RazorView"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Cart": {
      "get": {
        "tags": [
          "Reprocesos"
        ],
        "summary": "Endpoint para recuperar el carrito de reprocesos del cliente",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "Reprocesos"
        ],
        "summary": "Endpoint para añadir un reproceso al carrito de la calculadora del cliente",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "YouReprocesosInfoForm": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Email": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Name": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Address": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Cp": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.State": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Country": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.City": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Phone": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Comments": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Reference": {
                    "type": "string"
                  },
                  "YouReprocesosInfo.Identificador": {
                    "type": "string"
                  },
                  "DesignData": {
                    "type": "string"
                  },
                  "Order.Productos": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DesignResumeProductoDTO"
                    }
                  },
                  "Order.Reprocesos": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/DesignResumeTecnicaDTO"
                    }
                  },
                  "OrderForm": {
                    "type": "string"
                  },
                  "Modification.Empresa": {
                    "type": "string"
                  },
                  "Modification.Observaciones": {
                    "type": "string"
                  },
                  "Modification.Calle": {
                    "type": "string"
                  },
                  "Modification.Ciudad": {
                    "type": "string"
                  },
                  "Modification.ColorSeleccionado": {
                    "type": "string"
                  },
                  "Modification.CorreoContacto": {
                    "type": "string"
                  },
                  "Modification.CosteExtra": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.CP": {
                    "type": "string"
                  },
                  "Modification.Logo": {
                    "type": "string"
                  },
                  "Modification.CustomLogo": {
                    "type": "string"
                  },
                  "Modification.Pais": {
                    "type": "string"
                  },
                  "Modification.Poblacion": {
                    "type": "string"
                  },
                  "Modification.PorcentajeProductos": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PercentTaxes": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PorcentajeReprocesos": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.ShippingPrice": {
                    "type": "number",
                    "format": "double"
                  },
                  "Modification.PrimaryHex": {
                    "type": "string"
                  },
                  "Modification.SecondaryHex": {
                    "type": "string"
                  },
                  "Modification.Telefono": {
                    "type": "string"
                  },
                  "Modification.HasContactData": {
                    "type": "boolean"
                  },
                  "ModificationForm": {
                    "type": "string"
                  },
                  "NewDesignData.ListDesign": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/ReprocesosDesignZoneDTO"
                    }
                  },
                  "NewDesignData.Preview": {
                    "type": "string"
                  },
                  "NewDesignData.ZonaPreview": {
                    "type": "string"
                  },
                  "NewDesignData.AlternativePreview": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/AlternativePreviewDTO"
                    }
                  },
                  "NewDesignData.ColorPreview": {
                    "type": "string"
                  },
                  "NewDesignData.Mode": {
                    "type": "string"
                  },
                  "NewDesignData.Json3d": {
                    "type": "string"
                  },
                  "NewDesignData.PreviewRule": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "NewDesignDataForm": {
                    "type": "string"
                  },
                  "BocetosRepetidos": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/BocetosRepeticionDTO"
                    }
                  },
                  "Bocetos": {
                    "type": "array",
                    "items": {
                      "$ref": "#/components/schemas/StringStringValuesKeyValuePair"
                    }
                  },
                  "IsValidNewDesignData": {
                    "type": "boolean"
                  }
                }
              },
              "encoding": {
                "YouReprocesosInfoForm": {
                  "style": "form"
                },
                "YouReprocesosInfo.Email": {
                  "style": "form"
                },
                "YouReprocesosInfo.Name": {
                  "style": "form"
                },
                "YouReprocesosInfo.Address": {
                  "style": "form"
                },
                "YouReprocesosInfo.Cp": {
                  "style": "form"
                },
                "YouReprocesosInfo.State": {
                  "style": "form"
                },
                "YouReprocesosInfo.Country": {
                  "style": "form"
                },
                "YouReprocesosInfo.City": {
                  "style": "form"
                },
                "YouReprocesosInfo.Phone": {
                  "style": "form"
                },
                "YouReprocesosInfo.Comments": {
                  "style": "form"
                },
                "YouReprocesosInfo.Reference": {
                  "style": "form"
                },
                "YouReprocesosInfo.Identificador": {
                  "style": "form"
                },
                "DesignData": {
                  "style": "form"
                },
                "Order.Productos": {
                  "style": "form"
                },
                "Order.Reprocesos": {
                  "style": "form"
                },
                "OrderForm": {
                  "style": "form"
                },
                "Modification.Empresa": {
                  "style": "form"
                },
                "Modification.Observaciones": {
                  "style": "form"
                },
                "Modification.Calle": {
                  "style": "form"
                },
                "Modification.Ciudad": {
                  "style": "form"
                },
                "Modification.ColorSeleccionado": {
                  "style": "form"
                },
                "Modification.CorreoContacto": {
                  "style": "form"
                },
                "Modification.CosteExtra": {
                  "style": "form"
                },
                "Modification.CP": {
                  "style": "form"
                },
                "Modification.Logo": {
                  "style": "form"
                },
                "Modification.CustomLogo": {
                  "style": "form"
                },
                "Modification.Pais": {
                  "style": "form"
                },
                "Modification.Poblacion": {
                  "style": "form"
                },
                "Modification.PorcentajeProductos": {
                  "style": "form"
                },
                "Modification.PercentTaxes": {
                  "style": "form"
                },
                "Modification.PorcentajeReprocesos": {
                  "style": "form"
                },
                "Modification.ShippingPrice": {
                  "style": "form"
                },
                "Modification.PrimaryHex": {
                  "style": "form"
                },
                "Modification.SecondaryHex": {
                  "style": "form"
                },
                "Modification.Telefono": {
                  "style": "form"
                },
                "Modification.HasContactData": {
                  "style": "form"
                },
                "ModificationForm": {
                  "style": "form"
                },
                "NewDesignData.ListDesign": {
                  "style": "form"
                },
                "NewDesignData.Preview": {
                  "style": "form"
                },
                "NewDesignData.ZonaPreview": {
                  "style": "form"
                },
                "NewDesignData.AlternativePreview": {
                  "style": "form"
                },
                "NewDesignData.ColorPreview": {
                  "style": "form"
                },
                "NewDesignData.Mode": {
                  "style": "form"
                },
                "NewDesignData.Json3d": {
                  "style": "form"
                },
                "NewDesignData.PreviewRule": {
                  "style": "form"
                },
                "NewDesignDataForm": {
                  "style": "form"
                },
                "BocetosRepetidos": {
                  "style": "form"
                },
                "Bocetos": {
                  "style": "form"
                },
                "IsValidNewDesignData": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "Reprocesos"
        ],
        "summary": "Endpoint que permite eliminar un reproceso del carrito usando su id",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Cart/{id}/EditableState": {
      "get": {
        "tags": [
          "Reprocesos"
        ],
        "summary": "Endpoint para recuperar el estado editable completo de un reproceso del carrito.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Identificador del reproceso del carrito",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Tipo de carrito soportado para edición",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Cart/All": {
      "delete": {
        "tags": [
          "Reprocesos"
        ],
        "summary": "Endpoint para borrar todos los reprocesos de un carrito de reprocesos de un cliente",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Cart/Finish": {
      "post": {
        "tags": [
          "Reprocesos"
        ],
        "summary": "Endpoint para completar el carrito de la calculadora del cliente",
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ReprocesosCartAdditionalInfoDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReprocesosCartAdditionalInfoDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReprocesosCartAdditionalInfoDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReprocesosCartAdditionalInfoDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Reprocesos": {
      "get": {
        "tags": [
          "Reprocesos"
        ],
        "summary": "Key para acceder a los reprocesos",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/Reprocesos/Cart/UpdateAca": {
      "post": {
        "tags": [
          "Reprocesos"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ReprocesosCartAdditionalInfoDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReprocesosCartAdditionalInfoDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReprocesosCartAdditionalInfoDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReprocesosCartAdditionalInfoDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouReprocesos": {
      "get": {
        "tags": [
          "YouReprocesos"
        ],
        "summary": "Recupera la configuración actual de youReprocesos. Si no existe para este cliente, la generamos",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "YouReprocesos"
        ],
        "summary": "Actualiza la configuración de youReprocesos para un cliente",
        "parameters": [
          {
            "name": "shop",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "Active": {
                    "type": "boolean"
                  },
                  "ActiveSendBudget": {
                    "type": "boolean"
                  },
                  "Banner": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Logo": {
                    "type": "string",
                    "format": "binary"
                  },
                  "PDF": {
                    "type": "string",
                    "format": "binary"
                  },
                  "LogoPDF": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Pricerate": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "FactorProductos": {
                    "type": "number",
                    "format": "float"
                  },
                  "FactorReprocesos": {
                    "type": "number",
                    "format": "float"
                  },
                  "VatPercent": {
                    "type": "number",
                    "format": "float"
                  },
                  "Id": {
                    "type": "string"
                  },
                  "ClientId": {
                    "type": "string"
                  },
                  "Url": {
                    "type": "string"
                  },
                  "Modelo": {
                    "type": "string"
                  },
                  "Logourl": {
                    "type": "string"
                  },
                  "BannerUrl": {
                    "type": "string"
                  },
                  "PdfUrl": {
                    "type": "string"
                  },
                  "LogoPdfUrl": {
                    "type": "string"
                  },
                  "AddressStreet": {
                    "type": "string"
                  },
                  "AddressCp": {
                    "type": "string"
                  },
                  "AddressCountry": {
                    "type": "string"
                  },
                  "AddressState": {
                    "type": "string"
                  },
                  "AddressDistrict": {
                    "type": "string"
                  },
                  "AddressCity": {
                    "type": "string"
                  },
                  "ContactEmail": {
                    "type": "string"
                  },
                  "ContactPhone": {
                    "type": "string"
                  },
                  "Observaciones": {
                    "type": "string"
                  },
                  "AccentColor": {
                    "type": "string"
                  },
                  "BannerColor": {
                    "type": "string"
                  },
                  "ShippingPrice": {
                    "type": "number",
                    "format": "float"
                  },
                  "ExtraPrice": {
                    "type": "number",
                    "format": "float"
                  },
                  "ColorTypePdf": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "Language": {
                    "type": "string"
                  }
                }
              },
              "encoding": {
                "Active": {
                  "style": "form"
                },
                "ActiveSendBudget": {
                  "style": "form"
                },
                "Banner": {
                  "style": "form"
                },
                "Logo": {
                  "style": "form"
                },
                "PDF": {
                  "style": "form"
                },
                "LogoPDF": {
                  "style": "form"
                },
                "Pricerate": {
                  "style": "form"
                },
                "FactorProductos": {
                  "style": "form"
                },
                "FactorReprocesos": {
                  "style": "form"
                },
                "VatPercent": {
                  "style": "form"
                },
                "Id": {
                  "style": "form"
                },
                "ClientId": {
                  "style": "form"
                },
                "Url": {
                  "style": "form"
                },
                "Modelo": {
                  "style": "form"
                },
                "Logourl": {
                  "style": "form"
                },
                "BannerUrl": {
                  "style": "form"
                },
                "PdfUrl": {
                  "style": "form"
                },
                "LogoPdfUrl": {
                  "style": "form"
                },
                "AddressStreet": {
                  "style": "form"
                },
                "AddressCp": {
                  "style": "form"
                },
                "AddressCountry": {
                  "style": "form"
                },
                "AddressState": {
                  "style": "form"
                },
                "AddressDistrict": {
                  "style": "form"
                },
                "AddressCity": {
                  "style": "form"
                },
                "ContactEmail": {
                  "style": "form"
                },
                "ContactPhone": {
                  "style": "form"
                },
                "Observaciones": {
                  "style": "form"
                },
                "AccentColor": {
                  "style": "form"
                },
                "BannerColor": {
                  "style": "form"
                },
                "ShippingPrice": {
                  "style": "form"
                },
                "ExtraPrice": {
                  "style": "form"
                },
                "ColorTypePdf": {
                  "style": "form"
                },
                "Language": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouReprocesos/Reprocesos": {
      "delete": {
        "tags": [
          "YouReprocesos"
        ],
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ListReprocesosDeleteDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListReprocesosDeleteDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ListReprocesosDeleteDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ListReprocesosDeleteDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "get": {
        "tags": [
          "YouReprocesos"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "size",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "YouReprocesos"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/YouReprocesosFinishDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YouReprocesosFinishDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/YouReprocesosFinishDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/YouReprocesosFinishDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouReprocesos/Reprocesos/{reprocesoId}": {
      "get": {
        "tags": [
          "YouReprocesos"
        ],
        "parameters": [
          {
            "name": "reprocesoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouReprocesos/Reprocesos/{reprocesoId}/Aca": {
      "post": {
        "tags": [
          "YouReprocesos"
        ],
        "parameters": [
          {
            "name": "reprocesoId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/YouReprocesosAcaDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/YouReprocesosAcaDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/YouReprocesosAcaDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/YouReprocesosAcaDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouReprocesos/{identificador}": {
      "get": {
        "tags": [
          "YouReprocesos"
        ],
        "summary": "Endpoint para recuperar la configuración de un identificador de youReprocesos",
        "parameters": [
          {
            "name": "identificador",
            "in": "path",
            "description": "Identificador de youReprocesos con el que queremos loguearnos",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouReprocesos/Info/{modelCode}": {
      "get": {
        "tags": [
          "YouReprocesos"
        ],
        "parameters": [
          {
            "name": "modelCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "es-ES"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que permite recuperar la configuración de YouRoly de un cliente",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint para actualizar la configuración de YouRoly de un cliente",
        "parameters": [
          {
            "name": "shop",
            "in": "query",
            "description": "Tienda a la que se actualiza, Roly, o Stamina",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "CSV": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Banner": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Logo": {
                    "type": "string",
                    "format": "binary"
                  },
                  "PDF": {
                    "type": "string",
                    "format": "binary"
                  },
                  "Id": {
                    "type": "string"
                  },
                  "Logourl": {
                    "type": "string"
                  },
                  "Showstock": {
                    "type": "boolean"
                  },
                  "Showpvp": {
                    "type": "boolean"
                  },
                  "Activebudget": {
                    "type": "boolean"
                  },
                  "Emailbudget": {
                    "type": "string"
                  },
                  "Shippingprice": {
                    "type": "number",
                    "format": "float"
                  },
                  "Factorpvp": {
                    "type": "number",
                    "format": "float"
                  },
                  "Vatpercent": {
                    "type": "number",
                    "format": "float"
                  },
                  "Pdfurl": {
                    "type": "string"
                  },
                  "Store": {
                    "type": "string"
                  },
                  "Contactaddress": {
                    "type": "string"
                  },
                  "Contactemail": {
                    "type": "string"
                  },
                  "Contactphone": {
                    "type": "string"
                  },
                  "Contactfax": {
                    "type": "string"
                  },
                  "Bannerurl": {
                    "type": "string"
                  },
                  "Banneractive": {
                    "type": "boolean"
                  },
                  "Maxstock": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "CSVUrl": {
                    "type": "string"
                  },
                  "InformBudget": {
                    "type": "boolean"
                  },
                  "Currency": {
                    "type": "string"
                  },
                  "CurrencyName": {
                    "type": "string"
                  },
                  "ClientId": {
                    "type": "string"
                  },
                  "MaxStockFromClient": {
                    "type": "string"
                  },
                  "PriceRate": {
                    "type": "integer",
                    "format": "int32"
                  },
                  "Language": {
                    "type": "string"
                  },
                  "HasRangePrices": {
                    "type": "boolean"
                  }
                }
              },
              "encoding": {
                "CSV": {
                  "style": "form"
                },
                "Banner": {
                  "style": "form"
                },
                "Logo": {
                  "style": "form"
                },
                "PDF": {
                  "style": "form"
                },
                "Id": {
                  "style": "form"
                },
                "Logourl": {
                  "style": "form"
                },
                "Showstock": {
                  "style": "form"
                },
                "Showpvp": {
                  "style": "form"
                },
                "Activebudget": {
                  "style": "form"
                },
                "Emailbudget": {
                  "style": "form"
                },
                "Shippingprice": {
                  "style": "form"
                },
                "Factorpvp": {
                  "style": "form"
                },
                "Vatpercent": {
                  "style": "form"
                },
                "Pdfurl": {
                  "style": "form"
                },
                "Store": {
                  "style": "form"
                },
                "Contactaddress": {
                  "style": "form"
                },
                "Contactemail": {
                  "style": "form"
                },
                "Contactphone": {
                  "style": "form"
                },
                "Contactfax": {
                  "style": "form"
                },
                "Bannerurl": {
                  "style": "form"
                },
                "Banneractive": {
                  "style": "form"
                },
                "Maxstock": {
                  "style": "form"
                },
                "CSVUrl": {
                  "style": "form"
                },
                "InformBudget": {
                  "style": "form"
                },
                "Currency": {
                  "style": "form"
                },
                "CurrencyName": {
                  "style": "form"
                },
                "ClientId": {
                  "style": "form"
                },
                "MaxStockFromClient": {
                  "style": "form"
                },
                "PriceRate": {
                  "style": "form"
                },
                "Language": {
                  "style": "form"
                },
                "HasRangePrices": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/csv/example": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que permite obtener el csv de ejemplo",
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/budget/{budgetCode}": {
      "post": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que permite aceptar un budget en especifico",
        "parameters": [
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Código del budget que queremos confirmar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que añadir el pedido",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgeFormDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgeFormDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgeFormDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgeFormDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que permite cancelar un budget en especifico",
        "parameters": [
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Código del budget que queremos eliminar",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/budgets": {
      "post": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que permite aceptar varios budgets",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "description": "Serie a la que añadir el pedido",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "requestBody": {
          "description": "Códigos de los budgets que queremos confirmar",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/MultipleBudgetsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MultipleBudgetsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MultipleBudgetsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MultipleBudgetsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que permite cancelar varios budgets en especifico",
        "requestBody": {
          "description": "Códigos de los budgets que queremos eliminar",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/MultipleBudgetsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MultipleBudgetsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MultipleBudgetsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MultipleBudgetsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/budget": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que permite obtener un listado de todos los budget que tiene un cliente en específico",
        "parameters": [
          {
            "name": "confirm",
            "in": "query",
            "description": "PErmite obtener únicamente los confirmados",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "isDefinitive",
            "in": "query",
            "description": "Indica que tipo de budget queremos obtener",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "Page",
            "in": "query",
            "description": "Número de página que queremos obtener",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "Size",
            "in": "query",
            "description": "Tamaño de página que queremos recuperar",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 15
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/budget/{budgetCode}/Product": {
      "post": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite añadir al budget un producto VERSION PARA CLIENTE AUTORIZADO",
        "parameters": [
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Id del budget al que añadirle un producto",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Información relacionada con el producto, debe contener al menos un producto y una cantidad",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "put": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite modificar la cantidad de un producto",
        "parameters": [
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Código del budget al que queremos añadir el producto",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "description": "Moneda con la que se desea trabajar en caso de usar los rangos de precios",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "requestBody": {
          "description": "Información relacionada con el producto, debe contener al menos el producto y la nueva cantidad",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "delete": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite eliminar un producto del budget",
        "parameters": [
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Id del budget al cual quitar un producto",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "requestBody": {
          "description": "Cuerpo de la peticion donde se debe proporcionar el producto a eliminar",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/budget/ack": {
      "post": {
        "tags": [
          "YouRoly"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{youRolyId}": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que permite recuperar la configuración de YouRoly de un cliente en base al id de youroly\r\n<param name=\"youRolyId\">Id de youroly</param>",
        "parameters": [
          {
            "name": "youRolyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{ClientCode}/{budgetCode}": {
      "post": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite confirmar un budget creado por un usuario. En este se debe especificar al menos el correo, aunque se puede proporcionar un monton más de información",
        "parameters": [
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Código del budget que queremos confirmar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ClientCode",
            "in": "path",
            "description": "Cliente propietario de YouRoly",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "requestBody": {
          "description": "Información obtenida del formulario, donde al menos debe estar completo el campo email",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{ClientCode}/{budgetCode}/Print": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite confirmar un budget creado por un usuario. En este se debe especificar al menos el correo, aunque se puede proporcionar un monton más de información",
        "parameters": [
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Código del budget que queremos confirmar",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ClientCode",
            "in": "path",
            "description": "Cliente propietario de YouRoly",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{ClientCode}/budget/{budgetCode}/Product": {
      "delete": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite eliminar un producto del budget",
        "parameters": [
          {
            "name": "ClientCode",
            "in": "path",
            "description": "Id de YouRoly del Cliente propietario",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "budgetCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "requestBody": {
          "description": "Cuerpo de la peticion donde se debe proporcionar el producto a eliminar",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "post": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite añadir al budget un producto",
        "parameters": [
          {
            "name": "ClientCode",
            "in": "path",
            "description": "Id de youRoly del cliente",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Id del budget al que añadirle un producto",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Información relacionada con el producto, debe contener al menos un producto y una cantidad",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      },
      "put": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite modificar la cantidad de un producto del budget del la sesión",
        "parameters": [
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Código del budget al que queremos añadir el producto",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ClientCode",
            "in": "path",
            "description": "Cliente propietario de YouRoly",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "currency",
            "in": "query",
            "description": "Moneda con la que se desea trabajar en caso de usar los rangos de precios",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "requestBody": {
          "description": "Información relacionada con el producto, debe contener al menos el producto y la nueva cantidad",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/BudgetDetailsDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{ClientCode}/budget/{budgetCode}/Products": {
      "post": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite añadir al budget un producto",
        "parameters": [
          {
            "name": "ClientCode",
            "in": "path",
            "description": "Id de youRoly del cliente",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "budgetCode",
            "in": "path",
            "description": "Id del budget al que añadirle un producto",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Información relacionada con los productos a añadir, cada uno debe contener al menos un producto y una cantidad",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
                }
              }
            },
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductQuantityBudgetDTO"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{clientId}/budget": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint que nos permite obtener el carrito de una sesión",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "Id del cliente de youRoly",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "description": "Si es GOR/OKTEXTIL",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "serie",
            "in": "query",
            "description": "Serie indicando si es de España o del exterior (caso de Australia)",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{youRolyId}/Pricelist": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint para recuperar los precios de una sesión",
        "parameters": [
          {
            "name": "youRolyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{youRolyId}/Ranges": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint para recuperar los rangos de precios de una sesión",
        "parameters": [
          {
            "name": "youRolyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    },
    "/YouRoly/{youRolyId}/Stock": {
      "get": {
        "tags": [
          "YouRoly"
        ],
        "summary": "Endpoint para recuperar el stock de una sesión",
        "parameters": [
          {
            "name": "youRolyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "GOR"
            }
          },
          {
            "name": "shop",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "ROL"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "bearer": [ ]
          },
          {
            "YouRolySession": [ ]
          },
          {
            "ComercialSession": [ ]
          },
          {
            "ReprocesosKey": [ ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AddressAndPaymentDTO": {
        "type": "object",
        "properties": {
          "agency": {
            "$ref": "#/components/schemas/AgencyName"
          },
          "agencyOk": {
            "type": "string",
            "nullable": true
          },
          "storePickUp": {
            "type": "boolean"
          },
          "deliveryToken": {
            "type": "string",
            "nullable": true
          },
          "invoiceToken": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "payment": {
            "$ref": "#/components/schemas/PaymentType"
          },
          "addressB2C": {
            "type": "string",
            "nullable": true
          },
          "isB2C": {
            "type": "boolean",
            "readOnly": true
          },
          "is_Aereo": {
            "type": "boolean"
          },
          "allowsAirShipping": {
            "type": "boolean"
          },
          "isSecondPurchaseStep": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AddressDTO": {
        "type": "object",
        "properties": {
          "codToken": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "attDe": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "cp": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "district": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "countrycode": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "statecode": {
            "type": "string",
            "nullable": true
          },
          "addresstype": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "isDefault": {
            "type": "boolean"
          },
          "b2C": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AgencyName": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "format": "int32"
      },
      "AlertProductDTO": {
        "type": "object",
        "properties": {
          "codigoProducto": {
            "type": "string",
            "nullable": true
          },
          "mensaje": {
            "type": "string",
            "nullable": true
          },
          "almacen": {
            "type": "string",
            "nullable": true
          },
          "fecha": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "disponibilidad": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AlternativePreviewDTO": {
        "type": "object",
        "additionalProperties": false
      },
      "BocetosRepeticionDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "format": "binary",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BudgeFormDTO": {
        "type": "object",
        "properties": {
          "mail": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "clientName": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "stateCode": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BudgetDTO": {
        "type": "object",
        "properties": {
          "clientCode": {
            "type": "string",
            "nullable": true
          },
          "isYouReprocesos": {
            "type": "boolean"
          },
          "ordercode": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "cp": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "reference": {
            "type": "string",
            "nullable": true
          },
          "isdefinitive": {
            "type": "integer",
            "format": "int32"
          },
          "vattypeper": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "totalTaxesAmount": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "netamountWithTaxes": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "packs": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "grossamount": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "shippingcost": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "serie": {
            "type": "string",
            "nullable": true
          },
          "accentColor": {
            "type": "string",
            "nullable": true
          },
          "bannerColor": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BudgetDetailsDTO"
            },
            "nullable": true
          },
          "listError": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorProduct"
            },
            "nullable": true
          },
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "extraPrice": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "productAmount": {
            "type": "number",
            "format": "float"
          },
          "reprocesosAmount": {
            "type": "number",
            "format": "float"
          }
        },
        "additionalProperties": false
      },
      "BudgetDetailsDTO": {
        "type": "object",
        "properties": {
          "line": {
            "type": "integer",
            "format": "int32"
          },
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "price": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "total": {
            "type": "number",
            "format": "float",
            "nullable": true
          },
          "quantityclient": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientNewPasswordDTO": {
        "type": "object",
        "properties": {
          "company": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientResetPassword": {
        "type": "object",
        "properties": {
          "company": {
            "type": "string",
            "nullable": true
          },
          "userlogin": {
            "type": "string",
            "nullable": true
          },
          "otpToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientSetPasswordDTO": {
        "type": "object",
        "properties": {
          "company": {
            "type": "string",
            "nullable": true
          },
          "user": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ComercialClientTokenRequest": {
        "type": "object",
        "properties": {
          "user": {
            "type": "string",
            "description": "Usuario (userlogin) del cliente con el que se quiere acceder",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Petición de un comercial para acceder como un usuario concreto de un cliente"
      },
      "ComercialMessage": {
        "type": "object",
        "properties": {
          "mensaje": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "tipo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "addrToken": {
            "type": "string",
            "nullable": true
          },
          "catalog": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "language": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ComputedUrlBase": {
        "type": "object",
        "properties": {
          "urlBase": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAddressDTO": {
        "type": "object",
        "properties": {
          "addressName": {
            "type": "string",
            "nullable": true
          },
          "attDe": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "cp": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "county": {
            "type": "string",
            "nullable": true
          },
          "district": {
            "type": "string",
            "nullable": true
          },
          "country": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "stateCode": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "addresstype": {
            "type": "string",
            "nullable": true
          },
          "b2C": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "CreateOrderDraftDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "source": {
            "type": "string",
            "nullable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrderDraftLinesDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DesignResumeProductoDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DesignResumeTecnicaDTO": {
        "type": "object",
        "properties": {
          "temporalId": {
            "type": "integer",
            "format": "int32"
          },
          "tecnica": {
            "type": "string",
            "nullable": true
          },
          "zona": {
            "type": "string",
            "nullable": true
          },
          "warningCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "params": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/JToken"
            },
            "nullable": true
          },
          "jsonParams": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/JToken"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "EditNameOrderDraftDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorProduct": {
        "type": "object",
        "properties": {
          "productCode": {
            "type": "string",
            "nullable": true
          },
          "idError": {
            "type": "string",
            "nullable": true
          },
          "mensaje": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavLineDTO": {
        "type": "object",
        "properties": {
          "line": {
            "type": "integer",
            "format": "int32"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "product": {
            "type": "string",
            "nullable": true
          },
          "store": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FavProductsDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "idClient": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "order": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "isCompleted": {
            "type": "boolean"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FavLineDTO"
            },
            "nullable": true
          },
          "orderCode": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JToken": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/JToken"
        }
      },
      "ListReprocesosDeleteDTO": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LoginDTO": {
        "type": "object",
        "properties": {
          "user": {
            "type": "string",
            "nullable": true
          },
          "password": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultipleBudgetsDTO": {
        "type": "object",
        "properties": {
          "budgets": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NewsletterDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "subject": {
            "type": "string",
            "nullable": true
          },
          "body": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OldNewPassword": {
        "type": "object",
        "properties": {
          "oldPassword": {
            "type": "string",
            "nullable": true
          },
          "newPassword": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderDraftLinesDTO": {
        "type": "object",
        "properties": {
          "line": {
            "type": "integer",
            "format": "int32"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "product": {
            "type": "string",
            "nullable": true
          },
          "store": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrderLineSelectedDTO": {
        "type": "object",
        "properties": {
          "line": {
            "type": "integer",
            "format": "int32"
          },
          "selected": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PantoneInfo": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "hex": {
            "type": "string",
            "nullable": true
          },
          "rgb": {
            "type": "string",
            "nullable": true
          },
          "detectedHex": {
            "type": "string",
            "nullable": true
          },
          "detectedRgb": {
            "type": "string",
            "nullable": true
          },
          "coveragePercent": {
            "type": "number",
            "format": "double"
          },
          "originalCode": {
            "type": "string",
            "nullable": true
          },
          "originalName": {
            "type": "string",
            "nullable": true
          },
          "originalHex": {
            "type": "string",
            "nullable": true
          },
          "originalRgb": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "PaypalResponse": {
        "type": "object",
        "properties": {
          "guid": {
            "type": "string",
            "nullable": true
          },
          "paymentId": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "payerID": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaypalResponseV2": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "string",
            "nullable": true
          },
          "payerId": {
            "type": "string",
            "nullable": true
          },
          "facilitatorAccessToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductQuantityBudgetDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "serie": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "ProductQuantityDTO": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "serie": {
            "type": "integer",
            "format": "int32"
          },
          "store": {
            "type": "string",
            "nullable": true
          },
          "line": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ignoreProductValidations": {
            "type": "boolean"
          },
          "technology": {
            "type": "string",
            "nullable": true
          },
          "position": {
            "type": "string",
            "nullable": true
          },
          "comeFromDraft": {
            "type": "boolean"
          },
          "selected": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterDTO": {
        "type": "object",
        "properties": {
          "nombre_comercial": {
            "type": "string",
            "nullable": true
          },
          "actividadSeleccionada": {
            "type": "string",
            "nullable": true
          },
          "nif": {
            "type": "string",
            "nullable": true
          },
          "phone1": {
            "type": "string",
            "nullable": true
          },
          "web": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "facturacionCalle": {
            "type": "string",
            "nullable": true
          },
          "facturacionCiudad": {
            "type": "string",
            "nullable": true
          },
          "facturacionCP": {
            "type": "string",
            "nullable": true
          },
          "facturacionProvincia": {
            "type": "string",
            "nullable": true
          },
          "facturacionPaisSeleccionado": {
            "type": "string",
            "nullable": true
          },
          "envioCalle": {
            "type": "string",
            "nullable": true
          },
          "envioCiudad": {
            "type": "string",
            "nullable": true
          },
          "envioCP": {
            "type": "string",
            "nullable": true
          },
          "envioProvincia": {
            "type": "string",
            "nullable": true
          },
          "envioPaisSeleccionado": {
            "type": "string",
            "nullable": true
          },
          "conocido": {
            "type": "string",
            "nullable": true
          },
          "comentarios": {
            "type": "string",
            "nullable": true
          },
          "politicaPrivacidad": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "nombre": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "subject": {
            "type": "string",
            "nullable": true
          },
          "numPedido": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "compania": {
            "type": "string",
            "nullable": true,
            "deprecated": true
          },
          "shop": {
            "type": "string",
            "nullable": true
          },
          "phone2": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "contactEmail": {
            "type": "string",
            "nullable": true
          },
          "extphone": {
            "type": "string",
            "nullable": true
          },
          "prefijoTelefono": {
            "type": "string",
            "nullable": true
          },
          "prefijoMovil": {
            "type": "string",
            "nullable": true
          },
          "prefijoFax": {
            "type": "string",
            "nullable": true
          },
          "modelo036": {
            "type": "string",
            "nullable": true
          },
          "formulario": {
            "type": "string",
            "nullable": true
          },
          "ext_Formulario": {
            "type": "string",
            "nullable": true
          },
          "facturacionRegion": {
            "type": "string",
            "nullable": true
          },
          "envioRegion": {
            "type": "string",
            "nullable": true
          },
          "activityCode": {
            "type": "string",
            "nullable": true
          },
          "iva_Recargo_Equivalencia": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ReprocesosCartAdditionalInfoDto": {
        "type": "object",
        "properties": {
          "observaciones": {
            "type": "string",
            "nullable": true
          },
          "observacionesAgencia": {
            "type": "string",
            "nullable": true
          },
          "referencia": {
            "type": "string",
            "nullable": true
          },
          "addressCode": {
            "type": "string",
            "nullable": true
          },
          "addressCustom": {
            "$ref": "#/components/schemas/CreateAddressDTO"
          },
          "addressCustomFormated": {
            "type": "string",
            "nullable": true
          },
          "reprocesosIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "isPresupuesto": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ReprocesosDesignGalleryDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "index": {
            "type": "integer",
            "description": "Indice de imagen dentro del canvas",
            "format": "int32"
          },
          "design": {
            "type": "string",
            "description": "Diseño de la imagen en base64",
            "nullable": true
          },
          "originalFile": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ReprocesosDesignZoneDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "temporalId": {
            "type": "integer",
            "description": "Identificador que se asigna en el frontal",
            "format": "int32",
            "nullable": true
          },
          "posicion": {
            "type": "integer",
            "description": "Posicion a la que se le aplica el diseño",
            "format": "int32"
          },
          "zone": {
            "type": "string",
            "description": "Zona a la que se le aplica el diseño",
            "nullable": true
          },
          "design": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReprocesosDesignGalleryDTO"
            },
            "description": "Listado de diseños",
            "nullable": true
          },
          "json": {
            "type": "string",
            "description": "JSON para reconstruir el canvas si fuera necesario",
            "nullable": true
          },
          "jsonObject": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/JToken"
            },
            "nullable": true,
            "readOnly": true
          },
          "preview": {
            "type": "string",
            "description": "Imagen en svg que debemos guardar, para generar el preview de la imagen",
            "nullable": true
          },
          "alternativePreview": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AlternativePreviewDTO"
            },
            "nullable": true
          },
          "observation": {
            "type": "string",
            "description": "Observaciones que se indican para la zona",
            "nullable": true
          },
          "previewRule": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "colorList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PantoneInfo"
            },
            "nullable": true
          },
          "textDesign": {
            "type": "string",
            "nullable": true
          },
          "fontDesign": {
            "type": "string",
            "nullable": true
          },
          "colorPicker": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StringStringValuesKeyValuePair": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      },
      "SurveyAnswerDTO": {
        "type": "object",
        "properties": {
          "rating": {
            "maximum": 5,
            "minimum": 0,
            "type": "integer",
            "format": "int32"
          },
          "comment": {
            "maxLength": 2000,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Cuerpo de la petición para responder una encuesta"
      },
      "WSOrderDTO": {
        "type": "object",
        "properties": {
          "listProduct": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductQuantityDTO"
            },
            "nullable": true
          },
          "addressAndPayment": {
            "$ref": "#/components/schemas/AddressAndPaymentDTO"
          },
          "clientId": {
            "type": "string",
            "nullable": true
          },
          "userLogin": {
            "type": "string",
            "nullable": true
          },
          "company": {
            "type": "string",
            "nullable": true
          },
          "ignoreMoq": {
            "type": "boolean"
          },
          "ignoreAca": {
            "type": "boolean"
          },
          "ignoreConfirmationEmail": {
            "type": "boolean"
          },
          "isFromCotizador": {
            "type": "boolean"
          },
          "requireFullStock": {
            "type": "boolean",
            "nullable": true
          },
          "isAirShipping": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "YouReprocesosAcaDto": {
        "type": "object",
        "properties": {
          "form": {
            "$ref": "#/components/schemas/BudgeFormDTO"
          },
          "addressCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "YouReprocesosFinishDto": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "form": {
            "$ref": "#/components/schemas/BudgeFormDTO"
          },
          "addressCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "YouRolySession": {
        "type": "apiKey",
        "description": "Sesión de youroly.",
        "name": "YouRolySession",
        "in": "header"
      },
      "ComercialSession": {
        "type": "apiKey",
        "description": "Sesión de comerciales.",
        "name": "ComercialSession",
        "in": "header"
      },
      "ReprocesosKey": {
        "type": "apiKey",
        "description": "Sesión de reprocesos.",
        "name": "ReprocesosKey",
        "in": "header"
      }
    }
  }
}