{
  "openapi": "3.0.4",
  "info": {
    "title": "Wke.ArqWin.A3Connect.Api",
    "description": "Swagger for Wke.ArqWin.A3Connect.Api",
    "version": "v1"
  },
  "paths": {
    "/api/Advisors/UpdateMfaState": {
      "post": {
        "tags": [
          "Advisors"
        ],
        "summary": "Método para actualizar el estado de la autenticación multifactor (MFA) de un asesor.",
        "requestBody": {
          "description": "Solicitud para cambiar el estado de MFA.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeMfaStateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeMfaStateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChangeMfaStateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OkObjectResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OkObjectResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OkObjectResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequestObjectResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequestObjectResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequestObjectResult"
                }
              }
            }
          }
        }
      }
    },
    "/api/Company/AddCompany": {
      "post": {
        "tags": [
          "Company"
        ],
        "summary": "Synchronizes a full snapshot while reporting and preserving individually rejected companies.",
        "description": "Validation rules:\r\n<list type=\"bullet\"><item><description>Model state must be valid.</description></item><item><description>Individual company errors are processed by the service without rejecting other companies.</description></item></list>\r\nThe operation delegates to M:Wke.ArqWin.A3Connect.Api.Services.ICompanyService.Synchronize(Wke.ArqWin.A3Connect.Api.Dtos.Company.CompaniesRequest).",
        "requestBody": {
          "description": "Bulk request containing the client (asesor) code and the collection of companies.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompaniesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompaniesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompaniesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompaniesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Health/check": {
      "get": {
        "tags": [
          "Health"
        ],
        "summary": "Checks the health of the API.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/History/GetHistoryByIdHistorico": {
      "get": {
        "tags": [
          "History"
        ],
        "summary": "Obtiene el historial por IdHistorico.",
        "parameters": [
          {
            "name": "idHistorico",
            "in": "query",
            "description": "El IdHistorico para filtrar los registros del historial.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/History"
                }
              }
            }
          },
          "400": {
            "description": "Solicitud incorrecta, el IdHistorico es inválido",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Error interno del servidor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/History/Insert": {
      "post": {
        "tags": [
          "History"
        ],
        "summary": "Handles the HTTP POST request to create a new history entry.",
        "requestBody": {
          "description": "An instance of the History class containing the details of the history entry to create.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HistoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IHistoryResponse"
                }
              }
            }
          },
          "400": {
            "description": "Solicitud incorrecta",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Error interno del servidor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/cache/Licenses": {
      "post": {
        "tags": [
          "Licenses"
        ],
        "summary": "Añade o Actualiza Licencias de Productos",
        "requestBody": {
          "description": "Licencias de Productos",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostLicensesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostLicensesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostLicensesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/IPostLicensesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IPostLicensesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/IPostLicensesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Licensing/GetBoletinBycodClient": {
      "get": {
        "tags": [
          "Licensing"
        ],
        "summary": "Obtiene un boletín basado en el código de cliente proporcionado.",
        "parameters": [
          {
            "name": "clientCod",
            "in": "query",
            "description": "Código del cliente para el cual se desea obtener el boletín.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Ok",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ILicensingResponse"
                }
              }
            }
          },
          "400": {
            "description": "Solicitud incorrecta, el codClient es inválido",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Error interno del servidor",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Orders/CloneOrder": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Clones an order based on the provided request.",
        "requestBody": {
          "description": "The request containing order details to be cloned.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloneOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CloneOrderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CloneOrderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CloneOrdersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CloneOrdersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CloneOrdersResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Orders/UpgradeOrder": {
      "post": {
        "tags": [
          "Orders"
        ],
        "summary": "Upgrades an order based on the provided request.",
        "requestBody": {
          "description": "The request containing order details to be upgraded.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpgradeOrderRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpgradeOrderRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpgradeOrderRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UpgradeOrdersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpgradeOrdersResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpgradeOrdersResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Product/GetProductsWithRate": {
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "Gets products with rate based on the provided request.",
        "requestBody": {
          "description": "The request containing IdMochila and VlMochila.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetProductWithRateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IPostProductRateResponse"
                }
              }
            }
          }
        }
      }
    },
    "/api/Product/UpdateAntiFraudState": {
      "patch": {
        "tags": [
          "Product"
        ],
        "summary": "Updates the AntiFraudState of the Product record.",
        "requestBody": {
          "description": "The request containing the ID of the CDA and the new anti-fraud state.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAntiFraudStateRequest"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable Content",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/UpdateLicense": {
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "Updates the license information.",
        "requestBody": {
          "description": "The request containing the license update information.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLicenseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateLicenseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Assembly": {
        "type": "object",
        "properties": {
          "definedTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TypeInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "exportedTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Type"
            },
            "nullable": true,
            "readOnly": true
          },
          "codeBase": {
            "type": "string",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "entryPoint": {
            "$ref": "#/components/schemas/MethodInfo"
          },
          "fullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "imageRuntimeVersion": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isDynamic": {
            "type": "boolean",
            "readOnly": true
          },
          "location": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "reflectionOnly": {
            "type": "boolean",
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "isFullyTrusted": {
            "type": "boolean",
            "readOnly": true
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "escapedCodeBase": {
            "type": "string",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "manifestModule": {
            "$ref": "#/components/schemas/Module"
          },
          "modules": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Module"
            },
            "nullable": true,
            "readOnly": true
          },
          "globalAssemblyCache": {
            "type": "boolean",
            "readOnly": true,
            "deprecated": true
          },
          "hostContext": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "securityRuleSet": {
            "$ref": "#/components/schemas/SecurityRuleSet"
          }
        },
        "additionalProperties": false
      },
      "BadRequestObjectResult": {
        "type": "object",
        "properties": {
          "value": { },
          "formatters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IOutputFormatter"
            },
            "nullable": true
          },
          "contentTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "declaredType": {
            "$ref": "#/components/schemas/Type"
          },
          "statusCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BulletinLine": {
        "type": "object",
        "properties": {
          "pBulletin": {
            "type": "string",
            "description": "Propiedad de Boletin",
            "nullable": true
          },
          "pLine": {
            "type": "string",
            "description": "Propiedad Linea",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Clase de Boletin Linea"
      },
      "CallingConventions": {
        "enum": [
          1,
          2,
          3,
          32,
          64
        ],
        "type": "integer",
        "format": "int32"
      },
      "ChangeMfaStateRequest": {
        "type": "object",
        "properties": {
          "clientCode": {
            "type": "string",
            "description": "Código del cliente asociado al asesor.",
            "nullable": true
          },
          "applyMfa": {
            "type": "boolean",
            "description": "Indicador para aplicar o no la autenticación multifactor (MFA)."
          }
        },
        "additionalProperties": false,
        "description": "DTO para representar la solicitud de cambio de estado de autenticación multifactor (MFA) de un asesor."
      },
      "CloneOrderRequest": {
        "type": "object",
        "properties": {
          "clienteId": {
            "type": "string",
            "description": "Gets or sets the client ID.",
            "nullable": true
          },
          "idMochila": {
            "type": "string",
            "description": "Gets or sets the backpack ID.",
            "nullable": true
          },
          "vlMochila": {
            "type": "string",
            "description": "Gets or sets the backpack value.",
            "nullable": true
          },
          "tarifa": {
            "type": "string",
            "description": "Gets or sets the rate.",
            "nullable": true
          },
          "licenseCount": {
            "type": "string",
            "description": "Gets or sets the license count.",
            "nullable": true
          },
          "productCode": {
            "type": "string",
            "description": "Gets or sets the product code.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a request to clone an order."
      },
      "CloneOrdersResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "description": "Código de error",
            "format": "int32"
          },
          "errorMessage": {
            "type": "string",
            "description": "Mensaje de error",
            "nullable": true
          },
          "bulletin": {
            "type": "integer",
            "description": "Gets or sets the bulletin identifier.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for cloning orders."
      },
      "CompaniesRequest": {
        "required": [
          "clientCode"
        ],
        "type": "object",
        "properties": {
          "clientCode": {
            "maxLength": 10,
            "minLength": 1,
            "pattern": "^[A-Za-z0-9]{1,10}$",
            "type": "string",
            "description": "Client identifier (alphanumeric) for which the companies are being sent."
          },
          "companies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Company"
            },
            "description": "Collection of companies related to the specified Wke.ArqWin.A3Connect.Api.Dtos.Company.CompaniesRequest.ClientCode.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request container for submitting one or more Wke.ArqWin.A3Connect.Api.Dtos.Company.Company instances\r\nassociated to a specific client."
      },
      "CompaniesResponse": {
        "type": "object",
        "properties": {
          "deleted": {
            "type": "integer",
            "description": "Number of companies deleted during the operation.",
            "format": "int32"
          },
          "inserted": {
            "type": "integer",
            "description": "Number of companies inserted during the operation.",
            "format": "int32"
          },
          "received": {
            "type": "integer",
            "description": "Number of companies received in the request.",
            "format": "int32"
          },
          "rejectedCompanies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RejectedCompany"
            },
            "description": "Companies that could not be synchronized.",
            "nullable": true
          },
          "rejected": {
            "type": "integer",
            "description": "Number of rejected companies.",
            "format": "int32",
            "readOnly": true
          },
          "technicalFailure": {
            "type": "boolean",
            "description": "Indicates that no replacement could be committed because of persistence failures."
          }
        },
        "additionalProperties": false,
        "description": "Response container for bulk company operations, indicating the number of records affected."
      },
      "Company": {
        "type": "object",
        "properties": {
          "applicationCode": {
            "type": "string",
            "description": "Code identifying the originating application (integration source or module).",
            "nullable": true
          },
          "companyCode": {
            "type": "string",
            "description": "Internal or external unique code assigned to the company.",
            "nullable": true
          },
          "vatNumber": {
            "type": "string",
            "description": "National tax identification number (NIF / CIF) of the company.",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Official or commercial name of the company.",
            "nullable": true
          },
          "accountingPlanDigits": {
            "type": "integer",
            "description": "Digitalization plan identifier or level associated with the company.",
            "format": "int32",
            "nullable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "Indicates whether the company record is currently active in the system.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a company entity with identification, tax, and digitalization plan information."
      },
      "ConstructorInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "attributes": {
            "$ref": "#/components/schemas/MethodAttributes"
          },
          "methodImplementationFlags": {
            "$ref": "#/components/schemas/MethodImplAttributes"
          },
          "callingConvention": {
            "$ref": "#/components/schemas/CallingConventions"
          },
          "isAbstract": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructor": {
            "type": "boolean",
            "readOnly": true
          },
          "isFinal": {
            "type": "boolean",
            "readOnly": true
          },
          "isHideBySig": {
            "type": "boolean",
            "readOnly": true
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "isStatic": {
            "type": "boolean",
            "readOnly": true
          },
          "isVirtual": {
            "type": "boolean",
            "readOnly": true
          },
          "isAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamily": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyAndAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyOrAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isPrivate": {
            "type": "boolean",
            "readOnly": true
          },
          "isPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructedGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethodDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "containsGenericParameters": {
            "type": "boolean",
            "readOnly": true
          },
          "methodHandle": {
            "$ref": "#/components/schemas/RuntimeMethodHandle"
          },
          "isSecurityCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecuritySafeCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityTransparent": {
            "type": "boolean",
            "readOnly": true
          },
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          }
        },
        "additionalProperties": false
      },
      "CustomAttributeData": {
        "type": "object",
        "properties": {
          "attributeType": {
            "$ref": "#/components/schemas/Type"
          },
          "constructor": {
            "$ref": "#/components/schemas/ConstructorInfo"
          },
          "constructorArguments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeTypedArgument"
            },
            "nullable": true,
            "readOnly": true
          },
          "namedArguments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeNamedArgument"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CustomAttributeNamedArgument": {
        "type": "object",
        "properties": {
          "memberInfo": {
            "$ref": "#/components/schemas/MemberInfo"
          },
          "typedValue": {
            "$ref": "#/components/schemas/CustomAttributeTypedArgument"
          },
          "memberName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isField": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "CustomAttributeTypedArgument": {
        "type": "object",
        "properties": {
          "argumentType": {
            "$ref": "#/components/schemas/Type"
          },
          "value": { }
        },
        "additionalProperties": false
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "description": "Error Code",
            "format": "int32",
            "example": 1
          },
          "errorMessage": {
            "type": "string",
            "description": "Error Message",
            "nullable": true,
            "example": "Error Message"
          }
        },
        "additionalProperties": false,
        "description": "Represents an error response with error code and message."
      },
      "EventAttributes": {
        "enum": [
          0,
          512,
          1024
        ],
        "type": "integer",
        "format": "int32"
      },
      "EventInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "attributes": {
            "$ref": "#/components/schemas/EventAttributes"
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "addMethod": {
            "$ref": "#/components/schemas/MethodInfo"
          },
          "removeMethod": {
            "$ref": "#/components/schemas/MethodInfo"
          },
          "raiseMethod": {
            "$ref": "#/components/schemas/MethodInfo"
          },
          "isMulticast": {
            "type": "boolean",
            "readOnly": true
          },
          "eventHandlerType": {
            "$ref": "#/components/schemas/Type"
          }
        },
        "additionalProperties": false
      },
      "FieldAttributes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          16,
          32,
          64,
          128,
          256,
          512,
          1024,
          4096,
          8192,
          32768,
          38144
        ],
        "type": "integer",
        "format": "int32"
      },
      "FieldInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "attributes": {
            "$ref": "#/components/schemas/FieldAttributes"
          },
          "fieldType": {
            "$ref": "#/components/schemas/Type"
          },
          "isInitOnly": {
            "type": "boolean",
            "readOnly": true
          },
          "isLiteral": {
            "type": "boolean",
            "readOnly": true
          },
          "isNotSerialized": {
            "type": "boolean",
            "readOnly": true,
            "deprecated": true
          },
          "isPinvokeImpl": {
            "type": "boolean",
            "readOnly": true
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "isStatic": {
            "type": "boolean",
            "readOnly": true
          },
          "isAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamily": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyAndAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyOrAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isPrivate": {
            "type": "boolean",
            "readOnly": true
          },
          "isPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecuritySafeCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityTransparent": {
            "type": "boolean",
            "readOnly": true
          },
          "fieldHandle": {
            "$ref": "#/components/schemas/RuntimeFieldHandle"
          }
        },
        "additionalProperties": false
      },
      "GenericParameterAttributes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          8,
          16,
          28,
          32
        ],
        "type": "integer",
        "format": "int32"
      },
      "GetProductWithRateRequest": {
        "type": "object",
        "properties": {
          "idMochila": {
            "type": "string",
            "description": "Gets or sets the Id of the Mochila.",
            "nullable": true
          },
          "vlMochila": {
            "type": "string",
            "description": "Gets or sets the value of the Mochila.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a request to get a product with its rate."
      },
      "History": {
        "type": "object",
        "properties": {
          "idHistorico": {
            "type": "integer",
            "description": "Gets or sets the IdHistorico.\r\nThis is the primary key of the table.",
            "format": "int32"
          },
          "codOperacion": {
            "type": "integer",
            "description": "Gets or sets the CodOperacion.\r\nRepresents the code of the operation.",
            "format": "int32"
          },
          "productos_Id": {
            "type": "integer",
            "description": "Gets or sets the Productos_Id.\r\nRepresents the identifier of the products.",
            "format": "int32"
          },
          "descripcion": {
            "type": "string",
            "description": "Gets or sets the Descripcion.\r\nRepresents the description of the record.",
            "nullable": true
          },
          "fecha": {
            "type": "string",
            "description": "Gets or sets the Fecha.\r\nRepresents the date of the record.",
            "format": "date-time"
          },
          "resultado": {
            "type": "string",
            "description": "Gets or sets the Resultado.\r\nRepresents the result of the operation.",
            "nullable": true
          },
          "error": {
            "type": "boolean",
            "description": "Gets or sets the Error.\r\nIndicates if there was an error.",
            "nullable": true
          },
          "fecResultado": {
            "type": "string",
            "description": "Gets or sets the FecResultado.\r\nRepresents the date of the result.",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the response from the WM_a3erp_one_Historico table."
      },
      "HistoryRequest": {
        "type": "object",
        "properties": {
          "error": {
            "type": "boolean",
            "description": "Indica si hubo un error en la operación."
          },
          "resultDate": {
            "type": "string",
            "description": "Fecha y hora en que se registró el resultado de la operación.",
            "format": "date-time"
          },
          "operation": {
            "type": "integer",
            "description": "Código de la operación que se realizó.",
            "format": "int32"
          },
          "productId": {
            "type": "integer",
            "description": "Identificador del producto asociado a la operación.",
            "format": "int32"
          },
          "description": {
            "type": "string",
            "description": "Descripción detallada de la operación realizada.",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Fecha y hora en que se creó el registro del historial.",
            "format": "date-time"
          },
          "result": {
            "type": "string",
            "description": "Resultado de la operación, representado como una cadena de texto.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Representa una solicitud de historial que contiene los detalles de una operación específica."
      },
      "ICustomAttributeProvider": {
        "type": "object",
        "additionalProperties": false
      },
      "IHistoryResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "description": "Error code.",
            "format": "int32"
          },
          "errorMessage": {
            "type": "string",
            "description": "Error message.",
            "nullable": true
          },
          "result": {
            "$ref": "#/components/schemas/History"
          }
        },
        "additionalProperties": false,
        "description": "Interface IHistoryResponse"
      },
      "ILicensingResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "description": "Error code.",
            "format": "int32"
          },
          "errorMessage": {
            "type": "string",
            "description": "Error message.",
            "nullable": true
          },
          "result": {
            "$ref": "#/components/schemas/BulletinLine"
          }
        },
        "additionalProperties": false,
        "description": "Interface ILicensingResponse"
      },
      "IOutputFormatter": {
        "type": "object",
        "additionalProperties": false
      },
      "IPostLicensesResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "description": "Error code.",
            "format": "int32"
          },
          "errorMessage": {
            "type": "string",
            "description": "Error message.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for posting licenses."
      },
      "IPostProductRateResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "description": "Error code.",
            "format": "int32"
          },
          "errorMessage": {
            "type": "string",
            "description": "Error message.",
            "nullable": true
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostProductRate"
            },
            "description": "Result of the response.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Interface for the response of posting product rates."
      },
      "IntPtr": {
        "type": "object",
        "additionalProperties": false
      },
      "LayoutKind": {
        "enum": [
          0,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "License": {
        "type": "object",
        "properties": {
          "clientCode": {
            "type": "string",
            "description": "Código de Cliente",
            "nullable": true
          },
          "idMochila": {
            "type": "string",
            "description": "IdMochila",
            "nullable": true
          },
          "vlMochila": {
            "type": "string",
            "description": "VlMochila",
            "nullable": true
          },
          "licensesCount": {
            "type": "string",
            "description": "Nro de Licencia",
            "nullable": true
          },
          "rateCode": {
            "type": "string",
            "description": "código de la Tarifa",
            "nullable": true
          },
          "endDate": {
            "type": "string",
            "description": "Fecha de baja del pack",
            "format": "date-time",
            "nullable": true
          },
          "isKitNextGen": {
            "type": "boolean",
            "description": "Valor boleano licencia es de NextGen",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Clase de License"
      },
      "LicenseRequest": {
        "type": "object",
        "properties": {
          "producto": {
            "type": "string",
            "description": "Gets or sets the product name.",
            "nullable": true
          },
          "nivel": {
            "type": "string",
            "description": "Gets or sets the level of the product.",
            "nullable": true
          },
          "productoPadre": {
            "type": "string",
            "description": "Gets or sets the parent product name.",
            "nullable": true
          },
          "nivelPadre": {
            "type": "string",
            "description": "Gets or sets the level of the parent product.",
            "nullable": true
          },
          "estado": {
            "type": "integer",
            "description": "Gets or sets the status of the license.",
            "format": "int32",
            "nullable": true
          },
          "fechaFin": {
            "type": "string",
            "description": "Gets or sets the end date of the license.",
            "nullable": true
          },
          "unidades": {
            "type": "integer",
            "description": "Gets or sets the number of units.",
            "format": "int32",
            "nullable": true
          },
          "rango": {
            "type": "string",
            "description": "Gets or sets the range of the license.",
            "nullable": true
          },
          "volumen": {
            "type": "number",
            "description": "Gets or sets the volume of the license.",
            "format": "double",
            "nullable": true
          },
          "maxEntidades": {
            "type": "integer",
            "description": "Gets or sets the maximum number of entities.",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a License Transfer Token (TT) with various properties."
      },
      "MemberInfo": {
        "type": "object",
        "properties": {
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MemberTypes": {
        "enum": [
          1,
          2,
          4,
          8,
          16,
          32,
          64,
          128,
          191
        ],
        "type": "integer",
        "format": "int32"
      },
      "MethodAttributes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          16,
          32,
          64,
          128,
          256,
          512,
          1024,
          2048,
          4096,
          8192,
          16384,
          32768,
          53248
        ],
        "type": "integer",
        "format": "int32"
      },
      "MethodBase": {
        "type": "object",
        "properties": {
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "attributes": {
            "$ref": "#/components/schemas/MethodAttributes"
          },
          "methodImplementationFlags": {
            "$ref": "#/components/schemas/MethodImplAttributes"
          },
          "callingConvention": {
            "$ref": "#/components/schemas/CallingConventions"
          },
          "isAbstract": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructor": {
            "type": "boolean",
            "readOnly": true
          },
          "isFinal": {
            "type": "boolean",
            "readOnly": true
          },
          "isHideBySig": {
            "type": "boolean",
            "readOnly": true
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "isStatic": {
            "type": "boolean",
            "readOnly": true
          },
          "isVirtual": {
            "type": "boolean",
            "readOnly": true
          },
          "isAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamily": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyAndAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyOrAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isPrivate": {
            "type": "boolean",
            "readOnly": true
          },
          "isPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructedGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethodDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "containsGenericParameters": {
            "type": "boolean",
            "readOnly": true
          },
          "methodHandle": {
            "$ref": "#/components/schemas/RuntimeMethodHandle"
          },
          "isSecurityCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecuritySafeCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityTransparent": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "MethodImplAttributes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          8,
          16,
          32,
          64,
          128,
          256,
          512,
          4096,
          8192,
          65535
        ],
        "type": "integer",
        "format": "int32"
      },
      "MethodInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "attributes": {
            "$ref": "#/components/schemas/MethodAttributes"
          },
          "methodImplementationFlags": {
            "$ref": "#/components/schemas/MethodImplAttributes"
          },
          "callingConvention": {
            "$ref": "#/components/schemas/CallingConventions"
          },
          "isAbstract": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructor": {
            "type": "boolean",
            "readOnly": true
          },
          "isFinal": {
            "type": "boolean",
            "readOnly": true
          },
          "isHideBySig": {
            "type": "boolean",
            "readOnly": true
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "isStatic": {
            "type": "boolean",
            "readOnly": true
          },
          "isVirtual": {
            "type": "boolean",
            "readOnly": true
          },
          "isAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamily": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyAndAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isFamilyOrAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isPrivate": {
            "type": "boolean",
            "readOnly": true
          },
          "isPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructedGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethod": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethodDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "containsGenericParameters": {
            "type": "boolean",
            "readOnly": true
          },
          "methodHandle": {
            "$ref": "#/components/schemas/RuntimeMethodHandle"
          },
          "isSecurityCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecuritySafeCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityTransparent": {
            "type": "boolean",
            "readOnly": true
          },
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "returnParameter": {
            "$ref": "#/components/schemas/ParameterInfo"
          },
          "returnType": {
            "$ref": "#/components/schemas/Type"
          },
          "returnTypeCustomAttributes": {
            "$ref": "#/components/schemas/ICustomAttributeProvider"
          }
        },
        "additionalProperties": false
      },
      "Module": {
        "type": "object",
        "properties": {
          "assembly": {
            "$ref": "#/components/schemas/Assembly"
          },
          "fullyQualifiedName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mdStreamVersion": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "moduleVersionId": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "scopeName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "moduleHandle": {
            "$ref": "#/components/schemas/ModuleHandle"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "ModuleHandle": {
        "type": "object",
        "properties": {
          "mdStreamVersion": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "OkObjectResult": {
        "type": "object",
        "properties": {
          "value": { },
          "formatters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IOutputFormatter"
            },
            "nullable": true
          },
          "contentTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "declaredType": {
            "$ref": "#/components/schemas/Type"
          },
          "statusCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ParameterAttributes": {
        "enum": [
          0,
          1,
          2,
          4,
          8,
          16,
          4096,
          8192,
          16384,
          32768,
          61440
        ],
        "type": "integer",
        "format": "int32"
      },
      "ParameterInfo": {
        "type": "object",
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/ParameterAttributes"
          },
          "member": {
            "$ref": "#/components/schemas/MemberInfo"
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "parameterType": {
            "$ref": "#/components/schemas/Type"
          },
          "position": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isIn": {
            "type": "boolean",
            "readOnly": true
          },
          "isLcid": {
            "type": "boolean",
            "readOnly": true
          },
          "isOptional": {
            "type": "boolean",
            "readOnly": true
          },
          "isOut": {
            "type": "boolean",
            "readOnly": true
          },
          "isRetval": {
            "type": "boolean",
            "readOnly": true
          },
          "defaultValue": {
            "readOnly": true
          },
          "rawDefaultValue": {
            "readOnly": true
          },
          "hasDefaultValue": {
            "type": "boolean",
            "readOnly": true
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PostLicensesRequest": {
        "type": "object",
        "properties": {
          "licenses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/License"
            },
            "description": "Gets or sets the collection of licenses.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a request to post licenses."
      },
      "PostProductRate": {
        "type": "object",
        "properties": {
          "product": {
            "type": "string",
            "description": "Gets or sets the product name.",
            "nullable": true
          },
          "description": {
            "type": "string",
            "description": "Gets or sets the description of the Phoenix product.",
            "nullable": true
          },
          "licenses": {
            "type": "integer",
            "description": "Gets or sets the number of licenses.",
            "format": "int32"
          },
          "monthlyRate": {
            "type": "string",
            "description": "Gets or sets the monthly rate.",
            "nullable": true
          },
          "monthlyPrice": {
            "type": "string",
            "description": "Gets or sets the monthly price.",
            "nullable": true
          },
          "annualPrice": {
            "type": "string",
            "description": "Gets or sets the annual price.",
            "nullable": true
          },
          "annualRate": {
            "type": "string",
            "description": "Gets or sets the annual rate.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Class for posting product rate details."
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "PropertyAttributes": {
        "enum": [
          0,
          512,
          1024,
          4096,
          8192,
          16384,
          32768,
          62464
        ],
        "type": "integer",
        "format": "int32"
      },
      "PropertyInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "propertyType": {
            "$ref": "#/components/schemas/Type"
          },
          "attributes": {
            "$ref": "#/components/schemas/PropertyAttributes"
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "canRead": {
            "type": "boolean",
            "readOnly": true
          },
          "canWrite": {
            "type": "boolean",
            "readOnly": true
          },
          "getMethod": {
            "$ref": "#/components/schemas/MethodInfo"
          },
          "setMethod": {
            "$ref": "#/components/schemas/MethodInfo"
          }
        },
        "additionalProperties": false
      },
      "RejectedCompany": {
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "description": "Zero-based position in the request.",
            "format": "int32"
          },
          "applicationCode": {
            "type": "string",
            "description": "Originating application.",
            "nullable": true
          },
          "companyCode": {
            "type": "string",
            "description": "Company identifier within the application.",
            "nullable": true
          },
          "reason": {
            "type": "string",
            "description": "Reason why the company was rejected.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Identifies a rejected input company and the reason it was not processed."
      },
      "RuntimeFieldHandle": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/IntPtr"
          }
        },
        "additionalProperties": false
      },
      "RuntimeMethodHandle": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/IntPtr"
          }
        },
        "additionalProperties": false
      },
      "RuntimeTypeHandle": {
        "type": "object",
        "properties": {
          "value": {
            "$ref": "#/components/schemas/IntPtr"
          }
        },
        "additionalProperties": false
      },
      "SecurityRuleSet": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "StructLayoutAttribute": {
        "type": "object",
        "properties": {
          "typeId": {
            "readOnly": true
          },
          "value": {
            "$ref": "#/components/schemas/LayoutKind"
          }
        },
        "additionalProperties": false
      },
      "Type": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "namespace": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "assemblyQualifiedName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "fullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "assembly": {
            "$ref": "#/components/schemas/Assembly"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "isInterface": {
            "type": "boolean",
            "readOnly": true
          },
          "isNested": {
            "type": "boolean",
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "declaringMethod": {
            "$ref": "#/components/schemas/MethodBase"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "underlyingSystemType": {
            "$ref": "#/components/schemas/Type"
          },
          "isTypeDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "isArray": {
            "type": "boolean",
            "readOnly": true
          },
          "isByRef": {
            "type": "boolean",
            "readOnly": true
          },
          "isPointer": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructedGenericType": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericParameter": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericTypeParameter": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethodParameter": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericType": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericTypeDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "isSZArray": {
            "type": "boolean",
            "readOnly": true
          },
          "isVariableBoundArray": {
            "type": "boolean",
            "readOnly": true
          },
          "isByRefLike": {
            "type": "boolean",
            "readOnly": true
          },
          "isFunctionPointer": {
            "type": "boolean",
            "readOnly": true
          },
          "isUnmanagedFunctionPointer": {
            "type": "boolean",
            "readOnly": true
          },
          "hasElementType": {
            "type": "boolean",
            "readOnly": true
          },
          "genericTypeArguments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Type"
            },
            "nullable": true,
            "readOnly": true
          },
          "genericParameterPosition": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "genericParameterAttributes": {
            "$ref": "#/components/schemas/GenericParameterAttributes"
          },
          "attributes": {
            "$ref": "#/components/schemas/TypeAttributes"
          },
          "isAbstract": {
            "type": "boolean",
            "readOnly": true
          },
          "isImport": {
            "type": "boolean",
            "readOnly": true
          },
          "isSealed": {
            "type": "boolean",
            "readOnly": true
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "isClass": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedFamANDAssem": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedFamily": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedFamORAssem": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedPrivate": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isNotPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isAutoLayout": {
            "type": "boolean",
            "readOnly": true
          },
          "isExplicitLayout": {
            "type": "boolean",
            "readOnly": true
          },
          "isLayoutSequential": {
            "type": "boolean",
            "readOnly": true
          },
          "isAnsiClass": {
            "type": "boolean",
            "readOnly": true
          },
          "isAutoClass": {
            "type": "boolean",
            "readOnly": true
          },
          "isUnicodeClass": {
            "type": "boolean",
            "readOnly": true
          },
          "isCOMObject": {
            "type": "boolean",
            "readOnly": true
          },
          "isContextful": {
            "type": "boolean",
            "readOnly": true
          },
          "isEnum": {
            "type": "boolean",
            "readOnly": true
          },
          "isMarshalByRef": {
            "type": "boolean",
            "readOnly": true
          },
          "isPrimitive": {
            "type": "boolean",
            "readOnly": true
          },
          "isValueType": {
            "type": "boolean",
            "readOnly": true
          },
          "isSignatureType": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecuritySafeCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityTransparent": {
            "type": "boolean",
            "readOnly": true
          },
          "structLayoutAttribute": {
            "$ref": "#/components/schemas/StructLayoutAttribute"
          },
          "typeInitializer": {
            "$ref": "#/components/schemas/ConstructorInfo"
          },
          "typeHandle": {
            "$ref": "#/components/schemas/RuntimeTypeHandle"
          },
          "guid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "baseType": {
            "$ref": "#/components/schemas/Type"
          },
          "isSerializable": {
            "type": "boolean",
            "readOnly": true,
            "deprecated": true
          },
          "containsGenericParameters": {
            "type": "boolean",
            "readOnly": true
          },
          "isVisible": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "TypeAttributes": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          16,
          24,
          32,
          128,
          256,
          1024,
          2048,
          4096,
          8192,
          16384,
          65536,
          131072,
          196608,
          262144,
          264192,
          1048576,
          12582912
        ],
        "type": "integer",
        "format": "int32"
      },
      "TypeInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "customAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomAttributeData"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectible": {
            "type": "boolean",
            "readOnly": true
          },
          "metadataToken": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "memberType": {
            "$ref": "#/components/schemas/MemberTypes"
          },
          "namespace": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "assemblyQualifiedName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "fullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "assembly": {
            "$ref": "#/components/schemas/Assembly"
          },
          "module": {
            "$ref": "#/components/schemas/Module"
          },
          "isInterface": {
            "type": "boolean",
            "readOnly": true
          },
          "isNested": {
            "type": "boolean",
            "readOnly": true
          },
          "declaringType": {
            "$ref": "#/components/schemas/Type"
          },
          "declaringMethod": {
            "$ref": "#/components/schemas/MethodBase"
          },
          "reflectedType": {
            "$ref": "#/components/schemas/Type"
          },
          "underlyingSystemType": {
            "$ref": "#/components/schemas/Type"
          },
          "isTypeDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "isArray": {
            "type": "boolean",
            "readOnly": true
          },
          "isByRef": {
            "type": "boolean",
            "readOnly": true
          },
          "isPointer": {
            "type": "boolean",
            "readOnly": true
          },
          "isConstructedGenericType": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericParameter": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericTypeParameter": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericMethodParameter": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericType": {
            "type": "boolean",
            "readOnly": true
          },
          "isGenericTypeDefinition": {
            "type": "boolean",
            "readOnly": true
          },
          "isSZArray": {
            "type": "boolean",
            "readOnly": true
          },
          "isVariableBoundArray": {
            "type": "boolean",
            "readOnly": true
          },
          "isByRefLike": {
            "type": "boolean",
            "readOnly": true
          },
          "isFunctionPointer": {
            "type": "boolean",
            "readOnly": true
          },
          "isUnmanagedFunctionPointer": {
            "type": "boolean",
            "readOnly": true
          },
          "hasElementType": {
            "type": "boolean",
            "readOnly": true
          },
          "genericTypeArguments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Type"
            },
            "nullable": true,
            "readOnly": true
          },
          "genericParameterPosition": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "genericParameterAttributes": {
            "$ref": "#/components/schemas/GenericParameterAttributes"
          },
          "attributes": {
            "$ref": "#/components/schemas/TypeAttributes"
          },
          "isAbstract": {
            "type": "boolean",
            "readOnly": true
          },
          "isImport": {
            "type": "boolean",
            "readOnly": true
          },
          "isSealed": {
            "type": "boolean",
            "readOnly": true
          },
          "isSpecialName": {
            "type": "boolean",
            "readOnly": true
          },
          "isClass": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedAssembly": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedFamANDAssem": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedFamily": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedFamORAssem": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedPrivate": {
            "type": "boolean",
            "readOnly": true
          },
          "isNestedPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isNotPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isPublic": {
            "type": "boolean",
            "readOnly": true
          },
          "isAutoLayout": {
            "type": "boolean",
            "readOnly": true
          },
          "isExplicitLayout": {
            "type": "boolean",
            "readOnly": true
          },
          "isLayoutSequential": {
            "type": "boolean",
            "readOnly": true
          },
          "isAnsiClass": {
            "type": "boolean",
            "readOnly": true
          },
          "isAutoClass": {
            "type": "boolean",
            "readOnly": true
          },
          "isUnicodeClass": {
            "type": "boolean",
            "readOnly": true
          },
          "isCOMObject": {
            "type": "boolean",
            "readOnly": true
          },
          "isContextful": {
            "type": "boolean",
            "readOnly": true
          },
          "isEnum": {
            "type": "boolean",
            "readOnly": true
          },
          "isMarshalByRef": {
            "type": "boolean",
            "readOnly": true
          },
          "isPrimitive": {
            "type": "boolean",
            "readOnly": true
          },
          "isValueType": {
            "type": "boolean",
            "readOnly": true
          },
          "isSignatureType": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecuritySafeCritical": {
            "type": "boolean",
            "readOnly": true
          },
          "isSecurityTransparent": {
            "type": "boolean",
            "readOnly": true
          },
          "structLayoutAttribute": {
            "$ref": "#/components/schemas/StructLayoutAttribute"
          },
          "typeInitializer": {
            "$ref": "#/components/schemas/ConstructorInfo"
          },
          "typeHandle": {
            "$ref": "#/components/schemas/RuntimeTypeHandle"
          },
          "guid": {
            "type": "string",
            "format": "uuid",
            "readOnly": true
          },
          "baseType": {
            "$ref": "#/components/schemas/Type"
          },
          "isSerializable": {
            "type": "boolean",
            "readOnly": true,
            "deprecated": true
          },
          "containsGenericParameters": {
            "type": "boolean",
            "readOnly": true
          },
          "isVisible": {
            "type": "boolean",
            "readOnly": true
          },
          "genericTypeParameters": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Type"
            },
            "nullable": true,
            "readOnly": true
          },
          "declaredConstructors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConstructorInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "declaredEvents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EventInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "declaredFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "declaredMembers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MemberInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "declaredMethods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MethodInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "declaredNestedTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TypeInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "declaredProperties": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PropertyInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "implementedInterfaces": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Type"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "UpdateAntiFraudStateRequest": {
        "required": [
          "antiFraudState"
        ],
        "type": "object",
        "properties": {
          "idCda": {
            "type": "string",
            "description": "Gets or sets the identifier of the CDA.",
            "nullable": true,
            "example": "YYYY"
          },
          "antiFraudState": {
            "type": "integer",
            "description": "Gets or sets the state of the anti-fraud.",
            "format": "int32",
            "example": 0
          }
        },
        "additionalProperties": false,
        "description": "Represents a request to change the state of anti-fraud for a specific CDA."
      },
      "UpdateLicenseRequest": {
        "type": "object",
        "properties": {
          "idCDA": {
            "type": "string",
            "description": "Gets or sets the ID of the CDA.",
            "nullable": true
          },
          "licencia": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LicenseRequest"
            },
            "description": "Gets or sets the list of licenses.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a request to update a license."
      },
      "UpdateLicenseResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "description": "Código de error",
            "format": "int32"
          },
          "errorMessage": {
            "type": "string",
            "description": "Mensaje de error",
            "nullable": true
          },
          "result": {
            "type": "string",
            "description": "Resultado",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Gets or sets the message associated with the license update response.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the response received after updating a license."
      },
      "UpgradeOrderRequest": {
        "type": "object",
        "properties": {
          "clienteId": {
            "type": "string",
            "description": "Gets or sets the client ID.",
            "nullable": true
          },
          "pack": {
            "type": "string",
            "description": "Gets or sets the pack.",
            "nullable": true
          },
          "vlMochila": {
            "type": "string",
            "description": "Gets or sets the value of the mochila.",
            "nullable": true
          },
          "idMochila": {
            "type": "string",
            "description": "Gets or sets the ID of the mochila.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents a request to upgrade an order."
      },
      "UpgradeOrdersResponse": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "integer",
            "description": "Código de error",
            "format": "int32"
          },
          "errorMessage": {
            "type": "string",
            "description": "Mensaje de error",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Represents the response for upgrading orders."
      }
    },
    "securitySchemes": {
      "Token": {
        "type": "apiKey",
        "description": "Token for authentication",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    { }
  ],
  "tags": [
    {
      "name": "Advisors"
    },
    {
      "name": "Company"
    },
    {
      "name": "Health"
    },
    {
      "name": "History"
    },
    {
      "name": "Licenses"
    },
    {
      "name": "Licensing"
    },
    {
      "name": "Orders"
    },
    {
      "name": "Product"
    }
  ]
}