{
  "openapi": "3.0.4",
  "info": {
    "title": "CartaoSiM_API",
    "version": "v1"
  },
  "paths": {
    "/api/v1/AccreditedNetwork/{partner_id}": {
      "get": {
        "tags": [
          "AccreditedNetwork"
        ],
        "summary": "Retorna um parceiro da Rede Credenciada pelo id.",
        "parameters": [
          {
            "name": "partner_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccreditedNetworkPartnerCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "AccreditedNetwork"
        ],
        "summary": "Atualiza os dados de um parceiro da Rede Credenciada",
        "parameters": [
          {
            "name": "partner_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutAccreditedNetworkPartnerDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutAccreditedNetworkPartnerDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutAccreditedNetworkPartnerDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccreditedNetworkPartnerDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AccreditedNetwork/byDocument/{document}": {
      "get": {
        "tags": [
          "AccreditedNetwork"
        ],
        "summary": "Retorna um parceiro da Rede Credenciada pelo CNPJ.",
        "parameters": [
          {
            "name": "document",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccreditedNetworkPartnerCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AccreditedNetwork": {
      "get": {
        "tags": [
          "AccreditedNetwork"
        ],
        "summary": "Retorna os parceiros da Rede Credenciada.",
        "parameters": [
          {
            "name": "Name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Cnpj",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccreditedNetworkPartnerDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AccreditedNetwork"
        ],
        "summary": "Cadastra um novo parceiro da Rede Credenciada.",
        "parameters": [
          {
            "name": "add_establishment",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostAccreditedNetworkPartnerDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostAccreditedNetworkPartnerDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostAccreditedNetworkPartnerDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccreditedNetworkPartnerDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AccreditedNetwork/{partner_id}/establishment": {
      "post": {
        "tags": [
          "AccreditedNetwork"
        ],
        "summary": "Cadastra um novo estabelecimento de um parceiro da Rede Credenciada.",
        "parameters": [
          {
            "name": "partner_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEstablishmentDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEstablishmentDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostEstablishmentDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstablishmentCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AccreditedNetwork/establishment/{establishment_id}": {
      "put": {
        "tags": [
          "AccreditedNetwork"
        ],
        "summary": "Atualiza um estabelecimento de um parceiro da Rede Credenciada.",
        "parameters": [
          {
            "name": "establishment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutEstablishmentDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutEstablishmentDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutEstablishmentDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstablishmentCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "AccreditedNetwork"
        ],
        "summary": "Desvincula um estabelecimento de um parceiro da Rede Credenciada.",
        "parameters": [
          {
            "name": "establishment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstablishmentCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AdvantageClub/{partner_id}": {
      "get": {
        "tags": [
          "AdvantageClub"
        ],
        "summary": "Retorna um parceiro do Clube de Vantagens pelo id.",
        "parameters": [
          {
            "name": "partner_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdvantageClubPartnerCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "AdvantageClub"
        ],
        "summary": "Atualiza os dados de um parceiro do Clube de Vantagens.",
        "parameters": [
          {
            "name": "partner_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutAdvantageClubPartnerDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutAdvantageClubPartnerDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutAdvantageClubPartnerDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAdvantageClubPartnerDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AdvantageClub/byDocument/{document}": {
      "get": {
        "tags": [
          "AdvantageClub"
        ],
        "summary": "Retorna um parceiro do Clube de Vantagens pelo CNPJ.",
        "parameters": [
          {
            "name": "document",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdvantageClubPartnerCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AdvantageClub": {
      "get": {
        "tags": [
          "AdvantageClub"
        ],
        "summary": "Retorna os parceiros do Clube de Vantagens.",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Cnpj",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Category",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AdvantageClubCategory"
            }
          },
          {
            "name": "DigitalPartner",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAdvantageClubPartnerDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "AdvantageClub"
        ],
        "summary": "Cadastra um novo parceiro do Clube de Vantagens.",
        "parameters": [
          {
            "name": "add_establishment",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostAdvantageClubPartnerDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostAdvantageClubPartnerDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostAdvantageClubPartnerDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAdvantageClubPartnerDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AdvantageClub/{partner_id}/establishment": {
      "post": {
        "tags": [
          "AdvantageClub"
        ],
        "summary": "Cadastra um novo estabelecimento de um parceiro da Rede Credenciada.",
        "parameters": [
          {
            "name": "partner_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEstablishmentDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostEstablishmentDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostEstablishmentDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstablishmentCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/AdvantageClub/establishment/{establishment_id}": {
      "put": {
        "tags": [
          "AdvantageClub"
        ],
        "summary": "Atualiza um estabelecimento de um parceiro da Rede Credenciada.",
        "parameters": [
          {
            "name": "establishment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutEstablishmentDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutEstablishmentDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutEstablishmentDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstablishmentCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "AdvantageClub"
        ],
        "summary": "Desvincula um estabelecimento de um parceiro da Rede Credenciada.",
        "parameters": [
          {
            "name": "establishment_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstablishmentCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Auth": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostAuthDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostAuthDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostAuthDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthTokenCustomReturn"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Bill/{BillId}": {
      "put": {
        "tags": [
          "Bill"
        ],
        "summary": "Cancela uma fatura.",
        "parameters": [
          {
            "name": "BillId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutBillCancelDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutBillCancelDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutBillCancelDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Bill/unification/{billId}": {
      "get": {
        "tags": [
          "Bill"
        ],
        "summary": "Lista as faturas de origem (escravas) de uma fatura unificada mestre.",
        "parameters": [
          {
            "name": "billId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnificationSlaveCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Bill/unification/{billId}/reverse": {
      "put": {
        "tags": [
          "Bill"
        ],
        "summary": "Reverte uma unificação de faturas não paga: cancela a fatura mestre e devolve as\nfaturas de origem à negociação.",
        "parameters": [
          {
            "name": "billId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Bill/{BillId}/ChargeNow": {
      "post": {
        "tags": [
          "Bill"
        ],
        "summary": "Método para cobrar agora uma fatura.",
        "parameters": [
          {
            "name": "BillId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChargeNow"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChargeNow"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChargeNow"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Bill/{BillId}/ChangePaymentMethod": {
      "put": {
        "tags": [
          "Bill"
        ],
        "summary": "atualiza o método de pagamento de uma fatura.",
        "parameters": [
          {
            "name": "BillId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutBillPaymentMethodDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutBillPaymentMethodDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutBillPaymentMethodDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BillCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/{ChangeId}/ChangePaymentMethod": {
      "put": {
        "tags": [
          "Charge"
        ],
        "summary": "Altera o método de pagamento de uma cobrança.",
        "parameters": [
          {
            "name": "ChangeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutReIssueChargeDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutReIssueChargeDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutReIssueChargeDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/{ChangeId}/ManualCharge": {
      "post": {
        "tags": [
          "Charge"
        ],
        "summary": "Método para efetuar baixa manual de uma cobrança.",
        "parameters": [
          {
            "name": "ChangeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostVindiTransactionDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostVindiTransactionDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostVindiTransactionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/{ChangeId}/Refund": {
      "put": {
        "tags": [
          "Charge"
        ],
        "summary": "Método para efetuar o estorno de uma cobrança.",
        "parameters": [
          {
            "name": "ChangeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefundCharge"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefundCharge"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefundCharge"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/{chargeId}/GetPaymentUrl": {
      "get": {
        "tags": [
          "Charge"
        ],
        "summary": "Retorna o link de pagamento\n<param name=\"chargeId\"></param>",
        "parameters": [
          {
            "name": "chargeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentUrlCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/{chargeId}/CancelCharge": {
      "put": {
        "tags": [
          "Charge"
        ],
        "summary": "Cancela uma cobrança.\n<param name=\"chargeId\"></param>",
        "parameters": [
          {
            "name": "chargeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChargeCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/ChargeAlone": {
      "post": {
        "tags": [
          "Charge"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChargeAloneDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChargeAloneDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChargeAloneDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PostChargeDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/TerminalPayment": {
      "post": {
        "tags": [
          "Charge"
        ],
        "summary": "Realiza o pagamento via terminal Adyen.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTerminalPaymentDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTerminalPaymentDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostTerminalPaymentDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/TerminalCardAdd": {
      "post": {
        "tags": [
          "Charge"
        ],
        "summary": "Adesão de cartão via terminal: cobra 1 centavo (Type=Subscription) para tokenizar\no cartão de crédito. O estorno é disparado automaticamente pelo integration-adyen\nao receber o AUTHORISATION da referência CARDADD-. O token recorrente sobrevive ao estorno.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTerminalCardAddDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostTerminalCardAddDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostTerminalCardAddDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/CardAddLink": {
      "post": {
        "tags": [
          "Charge"
        ],
        "summary": "Adesão de cartão via link: gera um link de pagamento de $1 (cartão-only, tokenizado)\ncom referência CARDADD-. O estorno do $1 é disparado pelo integration-adyen ao receber\na AUTHORISATION dessa referência; o token recorrente sobrevive ao estorno.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostCardAddLinkDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostCardAddLinkDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostCardAddLinkDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentUrlCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/{chargeId}/GetChangeRecurrenceCardUrl": {
      "get": {
        "tags": [
          "Charge"
        ],
        "summary": "Endpoint destinado a primeira campanha para recuperação de clientes com o cartao bloqueado/cancelado\nA cobrança e fatura atual é cancelada, depois é criado uma nova fatura e cobrança\n<param name=\"chargeId\"></param><param name=\"clientId\"></param>",
        "parameters": [
          {
            "name": "chargeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "clientId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentUrlCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Charge/{chargeId}/GetPaymentUrlToCampaign": {
      "get": {
        "tags": [
          "Charge"
        ],
        "summary": "Retorna o link de pagamento para a campanha de recuperação de clientes com o cartao bloqueado/cancelado\n<param name=\"chargeId\"></param>",
        "parameters": [
          {
            "name": "chargeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentUrlCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Client/{client_id}": {
      "get": {
        "tags": [
          "Client"
        ],
        "summary": "Retorna um cliente pelo id passado.",
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Client/byDocument/{document}": {
      "get": {
        "tags": [
          "Client"
        ],
        "summary": "Retorna um cliente pelo CPF passado.",
        "parameters": [
          {
            "name": "document",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAdherentPersonDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Client": {
      "get": {
        "tags": [
          "Client"
        ],
        "summary": "Retorna os clientes com base nos filtros passados.",
        "parameters": [
          {
            "name": "Name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Cpf",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Profile",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ClientProfile"
            }
          },
          {
            "name": "Modality",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ClientModality"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ClientStatus"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Client/{client_id}/subscriptions": {
      "get": {
        "tags": [
          "Client"
        ],
        "summary": "Retorna todas as assinaturas de um cliente.",
        "parameters": [
          {
            "name": "client_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetClientSubscriptionDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/DebitSettlement/Subscription/{subscriptionId}": {
      "get": {
        "tags": [
          "DebitSettlement"
        ],
        "summary": "Árvore Assinatura → Períodos → Faturas → Cobranças para a tela de consulta.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDebitSettlementTreeDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/DebitSettlement/Cpf/{cpf}": {
      "get": {
        "tags": [
          "DebitSettlement"
        ],
        "summary": "Árvores de todas as assinaturas ligadas a um CPF.",
        "parameters": [
          {
            "name": "cpf",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDebitSettlementTreeDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/DebitSettlement/Validate": {
      "post": {
        "tags": [
          "DebitSettlement"
        ],
        "summary": "Valida as linhas da planilha resolvendo pessoa, CPF e assinaturas. Não grava nada.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostDebitSettlementDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostDebitSettlementDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostDebitSettlementDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DebitSettlementValidationDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/DebitSettlement/Settle": {
      "post": {
        "tags": [
          "DebitSettlement"
        ],
        "summary": "Dá como PAGO cobranças, faturas e períodos criados até a data de pagamento\nde cada linha e reativa as assinaturas elegíveis.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostDebitSettlementDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostDebitSettlementDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostDebitSettlementDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDebitSettlementResultDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Dependent": {
      "post": {
        "tags": [
          "Dependent"
        ],
        "summary": "Cadastra um dependente a uma assinatura",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostDependent"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostDependent"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostDependent"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DependentCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Dependent"
        ],
        "summary": "Deleta um dependente",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDependentDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDependentDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteDependentDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DependentCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Dependent/{holderId}": {
      "get": {
        "tags": [
          "Dependent"
        ],
        "summary": "Retorna os dependentes de um titular",
        "parameters": [
          {
            "name": "holderId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDependentDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Dependent/canBeDependent/{cpf}": {
      "get": {
        "tags": [
          "Dependent"
        ],
        "summary": "Retorna um Person caso seja apto a ser dependente.\nInformando subscriptionId, a checagem também considera a assinatura de destino\n(limite, status e vínculo anterior) e devolve em Warnings o que vai acontecer no cadastro.",
        "parameters": [
          {
            "name": "cpf",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "query",
            "description": "Assinatura de destino. Opcional.",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPersonDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Dependent/{dependentId}/cancelation_details": {
      "get": {
        "tags": [
          "Dependent"
        ],
        "summary": "Retorna o valor da taxa de cancelamento caso o dependente seja cancelado no momento da consulta.",
        "parameters": [
          {
            "name": "dependentId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCancelationInfoDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/HolderEnel/{subscriptionId}": {
      "get": {
        "tags": [
          "HolderEnel"
        ],
        "summary": "Retorna os detalhes do titular Enel",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HolderEnelCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentMethod/{paymentMethod_id}": {
      "get": {
        "tags": [
          "PaymentMethod"
        ],
        "summary": "Retorna um método de pagamento por Id",
        "parameters": [
          {
            "name": "paymentMethod_id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "PaymentMethod"
        ],
        "summary": "Atualiza um método de pagamento",
        "parameters": [
          {
            "name": "paymentMethod_id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutPaymentMethodDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutPaymentMethodDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutPaymentMethodDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentMethod": {
      "get": {
        "tags": [
          "PaymentMethod"
        ],
        "summary": "Retorna uma lista com totos os métodos de pagamento",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "PaymentMethod"
        ],
        "summary": "Cadastra um novo método de pagamento",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostPaymentMethodDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostPaymentMethodDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostPaymentMethodDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentMethod/Categories": {
      "get": {
        "tags": [
          "PaymentMethod"
        ],
        "summary": "Retorna as categorias de método de pagamento",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodCategoryCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentMethod/PaymentMethodPlans/{paymentMethodId}": {
      "get": {
        "tags": [
          "PaymentMethod"
        ],
        "summary": "Retorna os planos de um método de pagamento",
        "parameters": [
          {
            "name": "paymentMethodId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaymentMethodPlansCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{subscriptionId}/GetPaymentProfile": {
      "get": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Método para retornar o perfil de pagamento da pessoa.\n<param name=\"subscriptionId\"></param>",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPaymentProfileDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{subscriptionId}/GetAllPaymentProfile": {
      "get": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Método para retornar o perfil de pagamento da pessoa.\n<param name=\"subscriptionId\"></param>",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPaymentProfileDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/ChangePaymentProfile": {
      "put": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Método para retornar o perfil de pagamento da pessoa.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutReIssueSubscriptionDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutReIssueSubscriptionDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutReIssueSubscriptionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPaymentProfileDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{clientId}/GetListOfCreditCards": {
      "get": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Método para retornar os cartões/perfis de pagamento do cliente.\n<param name=\"clientId\"></param><param name=\"subscriptionId\"></param>",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "subscriptionId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPaymentProfileDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{clientId}/RemovePaymentProfile": {
      "delete": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Remove um cartão de crédito armazenado no Adyen e o inativa na base.\nRegra: não é permitido remover o único cartão válido (não expirado) de um titular\ncom assinatura ativa paga via cartão de crédito.",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "description": "ID do titular (Person.Id / shopperReference Adyen).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "externalProfileId",
            "in": "query",
            "description": "recurringDetailReference do cartão no Adyen.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "merchantAccount",
            "in": "query",
            "description": "Conta Adyen onde o cartão está armazenado (opcional: resolvido por UF se omitido).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPaymentProfileDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{subscriptionId}/SetDefaultPaymentProfile": {
      "put": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Define um cartão de crédito já armazenado como o principal (default) da assinatura.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "ID da assinatura.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "externalProfileId",
            "in": "query",
            "description": "recurringDetailReference do cartão no Adyen.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPaymentProfileDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{clientId}/GetQRCodeDataByPersonId": {
      "get": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Método para retornar o link e o código copia e cola do QRcode mais recente.",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QRcodeRegisterCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{clientId}/GeneranteNewQRcodeRecurringPix/{chargeId}/charge/{subscriptionId}/subscription": {
      "post": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Gera um novo QR Code para o Pix Recorrente",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "chargeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QRcodeRegisterCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{clientId}/ResendEmailRecurringPix/{chargeId}/charge/{subscriptionId}/subscription": {
      "post": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Reenvia o e-mail para o cliente com o QR Code do Pix Recorrente",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "chargeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "clientEmail",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QRcodeRegisterCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/PaymentProfile/{clientId}/SendWhatsAppActivate": {
      "post": {
        "tags": [
          "PaymentProfile"
        ],
        "summary": "Envia mensagem via WhatsApp para o cliente com o QR Code do Pix Recorrente",
        "parameters": [
          {
            "name": "clientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WhatsAppSendResultCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Person": {
      "post": {
        "tags": [
          "Person"
        ],
        "summary": "Add a new client.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostPersonDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostPersonDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostPersonDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPersonDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Person"
        ],
        "summary": "Get Person by id",
        "parameters": [
          {
            "name": "patient_id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "isCheckoutVerify",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPersonDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Person/{person_id}": {
      "put": {
        "tags": [
          "Person"
        ],
        "summary": "Updates a client.",
        "parameters": [
          {
            "name": "person_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutPersonDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutPersonDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutPersonDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPersonDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Person/{cpf}": {
      "get": {
        "tags": [
          "Person"
        ],
        "summary": "Get Person by document",
        "parameters": [
          {
            "name": "cpf",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPersonDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Person/sendConfirmWhatsapp": {
      "post": {
        "tags": [
          "Person"
        ],
        "summary": "Get Person by document",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostConfirmWhatsappDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostConfirmWhatsappDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostConfirmWhatsappDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPersonDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Plan": {
      "get": {
        "tags": [
          "Plan"
        ],
        "summary": "Retorna os Plano existentes e seus Produtos e Métodos de Pagamento.",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "UF",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Migration",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPlanDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Plan/{plan_id}": {
      "get": {
        "tags": [
          "Plan"
        ],
        "summary": "Retorna um Plano pelo Id.",
        "parameters": [
          {
            "name": "plan_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPlanDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Plan/states-with-plans": {
      "get": {
        "tags": [
          "Plan"
        ],
        "summary": "Retorna os estados que temos planos ativos.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Plan/product/{planProduct_Id}": {
      "delete": {
        "tags": [
          "Plan"
        ],
        "summary": "Desvincula um Produto de um Plano.",
        "parameters": [
          {
            "name": "planProduct_Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Plan/paymentMethod/{planPaymentMethod_Id}": {
      "delete": {
        "tags": [
          "Plan"
        ],
        "summary": "Desvincula um Método de pagamento de um Plano.",
        "parameters": [
          {
            "name": "planPaymentMethod_Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Plan/profile/{planProfile_id}": {
      "delete": {
        "tags": [
          "Plan"
        ],
        "summary": "Desvincula um Perfil de um Plano.",
        "parameters": [
          {
            "name": "planProfile_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlanCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Product": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Retorna uma lista com todos os produtos",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Active",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "BringDependent",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Product/{product_id}": {
      "get": {
        "tags": [
          "Product"
        ],
        "summary": "Returna um produto por Id",
        "parameters": [
          {
            "name": "product_id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProductCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Storage": {
      "get": {
        "tags": [
          "Storage"
        ],
        "summary": "Retorna um arquivo pelo especificado pelo nome e pasta do mesmo.",
        "parameters": [
          {
            "name": "fileName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "folder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Storage"
        ],
        "summary": "Insere ou atualiza um arquivo no local especificado pelo nome e pasta do mesmo.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutStorageDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutStorageDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutStorageDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/{subscriptionId}": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "summary": "Retorna uma assinatura por Id",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSubscriptionDetailsDTOCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/SubscriptionPaymentDetail": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "summary": "Retorna os dados financeiros de uma assinatura",
        "parameters": [
          {
            "name": "personId",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubscriptionPaymentsCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "Cadastra uma nova assinatura",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSubscriptionDetailsDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/{subscriptionId}/session": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "Abre uma Adyen Checkout Session para uma assinatura pendente do canal site\n(criada com UseCheckoutSession). Retorna { Id, SessionData } para o Drop-in/Sessions\nmontar embutido no clinicasim.com, sem redirect e com 3-D Secure.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "Id da assinatura pendente.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "chargeId",
            "in": "query",
            "description": "Id da cobrança retornado na criação da assinatura (campo ChargeId).",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCheckoutSessionDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/AddForWhatsappSales": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "Cadastra uma nova assinatura, Endpoint feito exclusivamente para vendas no whatsapp.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionDTO"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionDTO"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionDTO"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSubscriptionDetailsDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/cancel": {
      "delete": {
        "tags": [
          "Subscription"
        ],
        "summary": "Cancelar assinatura",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PutSubscriptionCancel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PutSubscriptionCancel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PutSubscriptionCancel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSubscriptionDetailsDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/wantCancel": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "Registra a data em que o usuário pretende cancelar a assinatura",
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionWantCancel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionWantCancel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PostSubscriptionWantCancel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSubscriptionDetailsDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/wantCancel/{subscriptionId}": {
      "delete": {
        "tags": [
          "Subscription"
        ],
        "summary": "Aborta a data de pretensão de cancelamento da assinatura",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSubscriptionDetailsDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/InvoluntaryChurn": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "summary": "Cancela assinaturas a partir de uma lista",
        "parameters": [
          {
            "name": "cancelDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChurnInput"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChurnInput"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChurnInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StringCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/{subscriptionId}/cancelation_details": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "summary": "Retorna o valor da taxa de cancelamento caso a assinatura seja cancelada no momento da consulta.",
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCancelationInfoDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/byDate": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "summary": "Retorna as assinaturas realizadas ou atualizadas a partir de uma data passada como parametro.",
        "parameters": [
          {
            "name": "updateDt",
            "in": "query",
            "description": "",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSubscriptionDetailsDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Subscription/hub": {
      "get": {
        "tags": [
          "Subscription"
        ],
        "summary": "Retorna o tokenhub do serviço de pagamento",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/SubscriptionItem/{subscriptionItemId}/cancelation_details": {
      "get": {
        "tags": [
          "SubscriptionItem"
        ],
        "summary": "Retorna o valor da multa caso o addon seja cancelado no momento da consulta. HasCancelationFee = false\nquando o addon não tem multa configurada (Product:AddonCancelation): a remoção segue o fluxo antigo.",
        "parameters": [
          {
            "name": "subscriptionItemId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAddonCancelationInfoDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/SubscriptionItem/{subscriptionItemId}/cancel": {
      "post": {
        "tags": [
          "SubscriptionItem"
        ],
        "summary": "Gera a multa de cancelamento do addon (fatura, cobrança e link de pagamento). O addon sai da assinatura\nquando a multa é paga. Sem multa a cobrar, o addon sai na hora.",
        "parameters": [
          {
            "name": "subscriptionItemId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAddonCancelationDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Voucher": {
      "get": {
        "tags": [
          "Voucher"
        ],
        "summary": "Retorna os Vouchers existentes.",
        "parameters": [
          {
            "name": "Id",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "Name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VoucherCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Voucher/{voucher_id}": {
      "get": {
        "tags": [
          "Voucher"
        ],
        "summary": "Retorna o Voucher existente pelo ID.",
        "parameters": [
          {
            "name": "voucher_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVoucherDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Voucher/byName/{voucher_name}": {
      "get": {
        "tags": [
          "Voucher"
        ],
        "summary": "Retorna o Voucher existente pelo Nome.",
        "parameters": [
          {
            "name": "voucher_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVoucherDTOCustomReturn"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/Voucher/voucherplan/{planId}": {
      "get": {
        "tags": [
          "Voucher"
        ],
        "summary": "Retorna os Voucher do Plano",
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VoucherCustomReturn"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomReturn`1"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccreditedNetworkPartner": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "$ref": "#/components/schemas/Cnae"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "taxSubstitute": {
            "type": "string",
            "nullable": true
          },
          "employeeCount": {
            "type": "integer",
            "format": "int64"
          },
          "serviceCategoryCode": {
            "type": "integer",
            "format": "int64"
          },
          "serviceCategory": {
            "type": "string",
            "nullable": true
          },
          "specialties": {
            "type": "string",
            "nullable": true
          },
          "instagram": {
            "type": "string",
            "nullable": true
          },
          "establishments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Establishment"
            },
            "nullable": true
          },
          "benefitResponsible": {
            "$ref": "#/components/schemas/BenefitResponsible"
          },
          "legalResponsible": {
            "$ref": "#/components/schemas/LegalResponsible"
          },
          "financialResponsible": {
            "$ref": "#/components/schemas/FinancialResponsible"
          }
        },
        "additionalProperties": false
      },
      "AccreditedNetworkPartnerCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AccreditedNetworkPartner"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Address": {
        "type": "object",
        "properties": {
          "state": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "neighborhood": {
            "type": "string",
            "nullable": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true
          },
          "street": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "complement": {
            "type": "string",
            "nullable": true
          },
          "latitude": {
            "type": "string",
            "nullable": true
          },
          "longitude": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdvantageClubCategory": {
        "type": "integer",
        "format": "int32"
      },
      "AdvantageClubPartner": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "$ref": "#/components/schemas/Cnae"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "categoryCode": {
            "type": "string",
            "nullable": true
          },
          "categoryDescription": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "instagram": {
            "type": "string",
            "nullable": true
          },
          "digital": {
            "type": "boolean"
          },
          "establishments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Establishment"
            },
            "nullable": true
          },
          "benefitResponsible": {
            "$ref": "#/components/schemas/BenefitResponsible"
          }
        },
        "additionalProperties": false
      },
      "AdvantageClubPartnerCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AdvantageClubPartner"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AuthToken": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          },
          "tokenType": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresIn": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "AuthTokenCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthToken"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "B2BDetails": {
        "type": "object",
        "properties": {
          "company": {
            "$ref": "#/components/schemas/Establishment"
          },
          "holder": {
            "$ref": "#/components/schemas/GetClientDTO"
          }
        },
        "additionalProperties": false
      },
      "B2CDetails": {
        "type": "object",
        "properties": {
          "holder": {
            "$ref": "#/components/schemas/GetClientDTO"
          },
          "plan": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BenefitResponsible": {
        "type": "object",
        "properties": {
          "jobCode": {
            "type": "string",
            "nullable": true
          },
          "jobDescription": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "cpf": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Bill": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "periodId": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "$ref": "#/components/schemas/BillStatus"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "createAt": {
            "type": "string",
            "format": "date-time"
          },
          "chargingAt": {
            "type": "string",
            "format": "date-time"
          },
          "paymentAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancelObservation": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "paymentProfileId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "installments": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BillCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Bill"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BillDependent": {
        "type": "object",
        "properties": {
          "periodId": {
            "type": "string",
            "nullable": true
          },
          "billId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BillStatus": {
        "enum": [
          "waitingpayment",
          "overdue",
          "paid",
          "canceled"
        ],
        "type": "string"
      },
      "BillUnification": {
        "type": "object",
        "properties": {
          "value": {
            "type": "number",
            "format": "double"
          },
          "cycle": {
            "type": "integer",
            "format": "int64"
          },
          "billId": {
            "type": "integer",
            "format": "int64"
          },
          "emissionAt": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CancelationFeeType": {
        "enum": [
          "setted",
          "settedproportional",
          "productproportional"
        ],
        "type": "string"
      },
      "Charge": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "billId": {
            "type": "integer",
            "format": "int64"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "status": {
            "$ref": "#/components/schemas/ChargeStatus"
          },
          "dueAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paidAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "installments": {
            "type": "integer",
            "format": "int32"
          },
          "attemptCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nextAttempt": {
            "type": "string",
            "format": "date-time"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "ChargeAloneDTO": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "dueDate": {
            "type": "string",
            "format": "date-time"
          },
          "discountPercentage": {
            "maximum": 50,
            "minimum": 0,
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "billsUnification": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BillUnification"
            },
            "nullable": true
          },
          "skipMandatoryConsolidation": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ChargeCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Charge"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChargeNow": {
        "type": "object",
        "properties": {
          "billId": {
            "type": "integer",
            "format": "int64"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "holderId": {
            "type": "integer",
            "format": "int64"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "installments": {
            "type": "integer",
            "format": "int32"
          },
          "shouldAddNewCredictCard": {
            "type": "boolean"
          },
          "paymentToken": {
            "type": "string",
            "nullable": true
          },
          "shouldChangeMethod": {
            "type": "boolean"
          },
          "recurringDetailId": {
            "type": "string",
            "nullable": true
          },
          "autoRescue": {
            "type": "boolean"
          },
          "merchantAccount": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ChargeStatus": {
        "enum": [
          "pending",
          "paid",
          "canceled",
          "processing",
          "fraudReview"
        ],
        "type": "string"
      },
      "ChurnInput": {
        "type": "object",
        "properties": {
          "subscriptionsToChurn": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ClientModality": {
        "enum": [
          "b2c",
          "b2b"
        ],
        "type": "string"
      },
      "ClientProfile": {
        "enum": [
          "holder",
          "dependent"
        ],
        "type": "string"
      },
      "ClientStatus": {
        "enum": [
          "active",
          "overdue",
          "blocked",
          "canceled"
        ],
        "type": "string"
      },
      "Cnae": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomReturn`1": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/T"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DebitSettlementBillDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "periodId": {
            "type": "integer",
            "format": "int64"
          },
          "statusCode": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "paymentMethod": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paymentAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "charges": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DebitSettlementChargeDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DebitSettlementChargeDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "billId": {
            "type": "integer",
            "format": "int64"
          },
          "statusCode": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "paymentMethod": {
            "type": "string",
            "nullable": true
          },
          "dueAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "paidAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DebitSettlementPeriodDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "cycle": {
            "type": "integer",
            "format": "int64"
          },
          "statusCode": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "billingAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "bills": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DebitSettlementBillDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DebitSettlementRow": {
        "type": "object",
        "properties": {
          "lineNumber": {
            "type": "integer",
            "format": "int32"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "amountPaid": {
            "type": "number",
            "format": "double"
          },
          "subscriptionIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DebitSettlementRowResult": {
        "type": "object",
        "properties": {
          "lineNumber": {
            "type": "integer",
            "format": "int32"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "integer",
            "format": "int64"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "settledAt": {
            "type": "string",
            "format": "date-time"
          },
          "chargesSettled": {
            "type": "integer",
            "format": "int32"
          },
          "billsSettled": {
            "type": "integer",
            "format": "int32"
          },
          "periodsSettled": {
            "type": "integer",
            "format": "int32"
          },
          "subscriptionActivated": {
            "type": "boolean"
          },
          "previousSubscriptionStatus": {
            "type": "string",
            "nullable": true
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "nothingToSettle": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "DebitSettlementValidationDTO": {
        "type": "object",
        "properties": {
          "lineNumber": {
            "type": "integer",
            "format": "int32"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentDate": {
            "type": "string",
            "format": "date-time"
          },
          "amountPaid": {
            "type": "number",
            "format": "double"
          },
          "isValid": {
            "type": "boolean"
          },
          "invalidReason": {
            "type": "string",
            "nullable": true
          },
          "subscriptionIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int64"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DebitSettlementValidationDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DebitSettlementValidationDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DeleteDependentDTO": {
        "type": "object",
        "properties": {
          "dependentId": {
            "type": "integer",
            "format": "int64"
          },
          "cancelUserId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "Dependent": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "document": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "socialName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "hasEmail": {
            "type": "boolean"
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "birthdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "hasEmailVerified": {
            "type": "boolean"
          },
          "hasEmailOrWhatsappVerified": {
            "type": "boolean"
          },
          "pendingBills": {
            "type": "integer",
            "format": "int64"
          },
          "profile": {
            "$ref": "#/components/schemas/ClientProfile"
          },
          "status": {
            "$ref": "#/components/schemas/ClientStatus"
          },
          "modality": {
            "$ref": "#/components/schemas/ClientModality"
          },
          "b2BDetails": {
            "$ref": "#/components/schemas/B2BDetails"
          },
          "b2CDetails": {
            "$ref": "#/components/schemas/B2CDetails"
          },
          "dependentId": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "billDependent": {
            "$ref": "#/components/schemas/BillDependent"
          }
        },
        "additionalProperties": false
      },
      "DependentCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Dependent"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EnelSubscription": {
        "type": "object",
        "properties": {
          "enelSubscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "productId": {
            "type": "integer",
            "format": "int64"
          },
          "partnerCompanyId": {
            "type": "integer",
            "format": "int64"
          },
          "enelSubscriptionStatus": {
            "type": "string",
            "nullable": true
          },
          "subscriptionAt": {
            "type": "string",
            "format": "date-time"
          },
          "cancelAt": {
            "type": "string",
            "format": "date-time"
          },
          "processingAt": {
            "type": "string",
            "format": "date-time"
          },
          "registerSentAt": {
            "type": "string",
            "format": "date-time"
          },
          "annulmentAt": {
            "type": "string",
            "format": "date-time"
          },
          "certificateSentAt": {
            "type": "string",
            "format": "date-time"
          },
          "salesChannel": {
            "type": "string",
            "nullable": true
          },
          "updateAt": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Establishment": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "$ref": "#/components/schemas/Cnae"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "plan": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EstablishmentCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Establishment"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FinancialResponsible": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "cpf": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAccreditedNetworkPartnerDTO": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "$ref": "#/components/schemas/Cnae"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "taxSubstitute": {
            "type": "string",
            "nullable": true
          },
          "employeeCount": {
            "type": "integer",
            "format": "int64"
          },
          "serviceCategoryCode": {
            "type": "integer",
            "format": "int64"
          },
          "serviceCategory": {
            "type": "string",
            "nullable": true
          },
          "specialties": {
            "type": "string",
            "nullable": true
          },
          "instagram": {
            "type": "string",
            "nullable": true
          },
          "benefitResponsible": {
            "$ref": "#/components/schemas/BenefitResponsible"
          },
          "legalResponsible": {
            "$ref": "#/components/schemas/LegalResponsible"
          },
          "financialResponsible": {
            "$ref": "#/components/schemas/FinancialResponsible"
          }
        },
        "additionalProperties": false
      },
      "GetAccreditedNetworkPartnerDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAccreditedNetworkPartnerDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAddonCancelationDTO": {
        "type": "object",
        "properties": {
          "subscriptionItemId": {
            "type": "integer",
            "format": "int64"
          },
          "fee": {
            "type": "number",
            "format": "double"
          },
          "removed": {
            "type": "boolean"
          },
          "billId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "chargeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "paymentLink": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAddonCancelationDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAddonCancelationDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAddonCancelationInfoDTO": {
        "type": "object",
        "properties": {
          "hasCancelationFee": {
            "type": "boolean"
          },
          "fee": {
            "type": "number",
            "format": "double"
          },
          "remainingMonths": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "GetAddonCancelationInfoDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAddonCancelationInfoDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAdherentPersonDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "socialName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "hasEmail": {
            "type": "boolean"
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "birthdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "hasEmailVerified": {
            "type": "boolean"
          },
          "hasEmailOrWhatsappVerified": {
            "type": "boolean"
          },
          "pendingBills": {
            "type": "integer",
            "format": "int64"
          },
          "modality": {
            "$ref": "#/components/schemas/ClientModality"
          },
          "status": {
            "$ref": "#/components/schemas/ClientStatus"
          },
          "b2BDetails": {
            "$ref": "#/components/schemas/B2BDetails"
          },
          "b2CDetails": {
            "$ref": "#/components/schemas/B2CDetails"
          }
        },
        "additionalProperties": false
      },
      "GetAdherentPersonDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAdherentPersonDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAdvantageClubPartnerDTO": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "$ref": "#/components/schemas/Cnae"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "categoryCode": {
            "type": "string",
            "nullable": true
          },
          "categoryDescription": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "instagram": {
            "type": "string",
            "nullable": true
          },
          "digital": {
            "type": "boolean"
          },
          "benefitResponsible": {
            "$ref": "#/components/schemas/BenefitResponsible"
          }
        },
        "additionalProperties": false
      },
      "GetAdvantageClubPartnerDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAdvantageClubPartnerDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCancelationInfoDTO": {
        "type": "object",
        "properties": {
          "fee": {
            "type": "number",
            "format": "double"
          },
          "remainingMonths": {
            "type": "integer",
            "format": "int64"
          },
          "isRefund": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetCancelationInfoDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCancelationInfoDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCheckoutSessionDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "sessionData": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCheckoutSessionDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCheckoutSessionDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetClientDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "socialName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "hasEmail": {
            "type": "boolean"
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "birthdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "hasEmailVerified": {
            "type": "boolean"
          },
          "hasEmailOrWhatsappVerified": {
            "type": "boolean"
          },
          "pendingBills": {
            "type": "integer",
            "format": "int64"
          },
          "profile": {
            "$ref": "#/components/schemas/ClientProfile"
          },
          "status": {
            "$ref": "#/components/schemas/ClientStatus"
          },
          "modality": {
            "$ref": "#/components/schemas/ClientModality"
          },
          "b2BDetails": {
            "$ref": "#/components/schemas/B2BDetails"
          },
          "b2CDetails": {
            "$ref": "#/components/schemas/B2CDetails"
          }
        },
        "additionalProperties": false
      },
      "GetClientDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetClientDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetClientSubscriptionDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "clientId": {
            "type": "integer",
            "format": "int64"
          },
          "planName": {
            "type": "string",
            "nullable": true
          },
          "creationAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/SubscriptionStatus"
          },
          "cancelAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pendingBills": {
            "type": "integer",
            "format": "int64"
          },
          "dependentCount": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "GetClientSubscriptionDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetClientSubscriptionDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDebitSettlementResultDTO": {
        "type": "object",
        "properties": {
          "successCount": {
            "type": "integer",
            "format": "int32"
          },
          "failureCount": {
            "type": "integer",
            "format": "int32"
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DebitSettlementRowResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDebitSettlementResultDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDebitSettlementResultDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDebitSettlementTreeDTO": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "personId": {
            "type": "integer",
            "format": "int64"
          },
          "holderName": {
            "type": "string",
            "nullable": true
          },
          "holderCpf": {
            "type": "string",
            "nullable": true
          },
          "planName": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "type": "integer",
            "format": "int64"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "canceledAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "periods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DebitSettlementPeriodDTO"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDebitSettlementTreeDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDebitSettlementTreeDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDependentDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "socialName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "hasEmail": {
            "type": "boolean"
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "birthdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "hasEmailVerified": {
            "type": "boolean"
          },
          "hasEmailOrWhatsappVerified": {
            "type": "boolean"
          },
          "pendingBills": {
            "type": "integer",
            "format": "int64"
          },
          "profile": {
            "$ref": "#/components/schemas/ClientProfile"
          },
          "status": {
            "$ref": "#/components/schemas/ClientStatus"
          },
          "modality": {
            "$ref": "#/components/schemas/ClientModality"
          },
          "b2BDetails": {
            "$ref": "#/components/schemas/B2BDetails"
          },
          "b2CDetails": {
            "$ref": "#/components/schemas/B2CDetails"
          },
          "dependentId": {
            "type": "string",
            "nullable": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDependentDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDependentDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPaymentProfileDTO": {
        "type": "object",
        "properties": {
          "externalProfileId": {
            "type": "string",
            "nullable": true
          },
          "holderName": {
            "type": "string",
            "nullable": true
          },
          "cardNumberLastFour": {
            "type": "string",
            "nullable": true
          },
          "cardExpiration": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodName": {
            "type": "string",
            "nullable": true
          },
          "brand": {
            "type": "string",
            "nullable": true
          },
          "paymentCompany": {
            "$ref": "#/components/schemas/PaymentCompany"
          },
          "merchantAccount": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPaymentProfileDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPaymentProfileDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPersonDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "socialName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "hasEmail": {
            "type": "boolean"
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "birthdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "hasEmailVerified": {
            "type": "boolean"
          },
          "hasEmailOrWhatsappVerified": {
            "type": "boolean"
          },
          "pendingBills": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "GetPersonDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPersonDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPlanDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "observation": {
            "type": "string",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "periodInterval": {
            "type": "integer",
            "format": "int64"
          },
          "periodType": {
            "type": "string",
            "nullable": true
          },
          "periodDuration": {
            "type": "integer",
            "format": "int64"
          },
          "dueType": {
            "type": "string",
            "nullable": true
          },
          "dueDay": {
            "type": "integer",
            "format": "int64"
          },
          "dueReference": {
            "type": "string",
            "nullable": true
          },
          "freeDependents": {
            "type": "integer",
            "format": "int64"
          },
          "maxDependents": {
            "type": "integer",
            "format": "int64"
          },
          "dependentValue": {
            "type": "number",
            "format": "double"
          },
          "trialDays": {
            "type": "integer",
            "format": "int64"
          },
          "fidelity": {
            "type": "integer",
            "format": "int64"
          },
          "cancelationFeeType": {
            "$ref": "#/components/schemas/CancelationFeeType"
          },
          "cancelationFee": {
            "type": "number",
            "format": "double"
          },
          "cancelationFeeProduct": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "allowCustomDue": {
            "type": "boolean"
          },
          "allowInstallment": {
            "type": "boolean"
          },
          "maxInstallment": {
            "type": "integer",
            "format": "int64"
          },
          "planPaymentMethods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlanPaymentMethod"
            },
            "nullable": true
          },
          "planProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlanProduct"
            },
            "nullable": true
          },
          "planProfiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlanProfile"
            },
            "nullable": true
          },
          "migrationRule": {
            "type": "string",
            "nullable": true
          },
          "uf": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetPlanDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetPlanDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSubscriptionDetailsDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "planId": {
            "type": "integer",
            "format": "int64"
          },
          "planName": {
            "type": "string",
            "nullable": true
          },
          "planUF": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "canceledAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "wantCancelAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/SubscriptionStatus"
          },
          "dueDay": {
            "type": "integer",
            "format": "int64"
          },
          "dueType": {
            "type": "string",
            "nullable": true
          },
          "dueReference": {
            "type": "string",
            "nullable": true
          },
          "periodType": {
            "type": "string",
            "nullable": true
          },
          "periodDuration": {
            "type": "integer",
            "format": "int64"
          },
          "freeDependents": {
            "type": "integer",
            "format": "int64"
          },
          "maxDependents": {
            "type": "integer",
            "format": "int64"
          },
          "dependentValue": {
            "type": "number",
            "format": "double"
          },
          "periodInterval": {
            "type": "integer",
            "format": "int64"
          },
          "holderId": {
            "type": "integer",
            "format": "int64"
          },
          "discounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionDiscount"
            },
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionItem"
            },
            "nullable": true
          },
          "periods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionPeriod"
            },
            "nullable": true
          },
          "paymentMethod": {
            "$ref": "#/components/schemas/SubscriptionPaymentMethod"
          },
          "plan": {
            "$ref": "#/components/schemas/Plan"
          },
          "paymentUrl": {
            "type": "string",
            "nullable": true
          },
          "internalUser": {
            "$ref": "#/components/schemas/SubscriptionInternalUser"
          },
          "payload": { },
          "chargeId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSubscriptionDetailsDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetSubscriptionDetailsDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetVoucherDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int64"
          },
          "active": {
            "type": "boolean"
          },
          "uses": {
            "type": "integer",
            "format": "int64"
          },
          "startAt": {
            "type": "string",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "allowAdminUse": {
            "type": "boolean"
          },
          "allowCheckouUse": {
            "type": "boolean"
          },
          "plans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VoucherPlan"
            },
            "nullable": true
          },
          "productDiscount": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VoucherDiscount"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetVoucherDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetVoucherDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HolderEnel": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "integer",
            "format": "int64"
          },
          "customerName": {
            "type": "string",
            "nullable": true
          },
          "customerStatus": {
            "type": "string",
            "nullable": true
          },
          "enelSubscription": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EnelSubscription"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HolderEnelCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HolderEnel"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HttpStatusCode": {
        "enum": [
          "Continue",
          "SwitchingProtocols",
          "Processing",
          "EarlyHints",
          "OK",
          "Created",
          "Accepted",
          "NonAuthoritativeInformation",
          "NoContent",
          "ResetContent",
          "PartialContent",
          "MultiStatus",
          "AlreadyReported",
          "IMUsed",
          "MultipleChoices",
          "MovedPermanently",
          "Found",
          "SeeOther",
          "NotModified",
          "UseProxy",
          "Unused",
          "TemporaryRedirect",
          "PermanentRedirect",
          "BadRequest",
          "Unauthorized",
          "PaymentRequired",
          "Forbidden",
          "NotFound",
          "MethodNotAllowed",
          "NotAcceptable",
          "ProxyAuthenticationRequired",
          "RequestTimeout",
          "Conflict",
          "Gone",
          "LengthRequired",
          "PreconditionFailed",
          "RequestEntityTooLarge",
          "RequestUriTooLong",
          "UnsupportedMediaType",
          "RequestedRangeNotSatisfiable",
          "ExpectationFailed",
          "MisdirectedRequest",
          "UnprocessableEntity",
          "Locked",
          "FailedDependency",
          "UpgradeRequired",
          "PreconditionRequired",
          "TooManyRequests",
          "RequestHeaderFieldsTooLarge",
          "UnavailableForLegalReasons",
          "InternalServerError",
          "NotImplemented",
          "BadGateway",
          "ServiceUnavailable",
          "GatewayTimeout",
          "HttpVersionNotSupported",
          "VariantAlsoNegotiates",
          "InsufficientStorage",
          "LoopDetected",
          "NotExtended",
          "NetworkAuthenticationRequired"
        ],
        "type": "string"
      },
      "LegalResponsible": {
        "type": "object",
        "properties": {
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ObjectCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": { },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ObjectId": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "creationTime": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "PaymentCompany": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "integer",
            "format": "int64"
          },
          "maxAutoAttempts": {
            "type": "integer",
            "format": "int64"
          },
          "dueDays": {
            "type": "integer",
            "format": "int64"
          },
          "active": {
            "type": "boolean"
          },
          "paymentLink": {
            "type": "boolean"
          },
          "customDue": {
            "type": "boolean"
          },
          "paymentMethodCategory": {
            "$ref": "#/components/schemas/PaymentMethodCategories"
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodCategories": {
        "enum": [
          "credit_card",
          "bank_slip",
          "pix",
          "cash",
          "terminal",
          "recurring_pix"
        ],
        "type": "string"
      },
      "PaymentMethodCategory": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodCategoryCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentMethodCategory"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentMethod"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodPlans": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "periodType": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PaymentMethodPlansCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentMethodPlans"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaymentUrl": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "chargeId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PaymentUrlCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaymentUrl"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PeriodDetails": {
        "type": "object",
        "properties": {
          "periodId": {
            "type": "integer",
            "format": "int64"
          },
          "billingAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PeriodStatus": {
        "enum": [
          "notbilled",
          "pending",
          "paid",
          "disposable"
        ],
        "type": "string"
      },
      "PeriodType": {
        "enum": [
          "days",
          "months"
        ],
        "type": "string"
      },
      "Plan": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "observation": {
            "type": "string",
            "nullable": true
          },
          "startAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "endAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "periodInterval": {
            "type": "integer",
            "format": "int64"
          },
          "periodType": {
            "type": "string",
            "nullable": true
          },
          "periodDuration": {
            "type": "integer",
            "format": "int64"
          },
          "dueType": {
            "type": "string",
            "nullable": true
          },
          "dueDay": {
            "type": "integer",
            "format": "int64"
          },
          "dueReference": {
            "type": "string",
            "nullable": true
          },
          "freeDependents": {
            "type": "integer",
            "format": "int64"
          },
          "maxDependents": {
            "type": "integer",
            "format": "int64"
          },
          "dependentValue": {
            "type": "number",
            "format": "double"
          },
          "trialDays": {
            "type": "integer",
            "format": "int64"
          },
          "fidelity": {
            "type": "integer",
            "format": "int64"
          },
          "cancelationFeeType": {
            "$ref": "#/components/schemas/CancelationFeeType"
          },
          "cancelationFee": {
            "type": "number",
            "format": "double"
          },
          "cancelationFeeProduct": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "allowCustomDue": {
            "type": "boolean"
          },
          "allowInstallment": {
            "type": "boolean"
          },
          "maxInstallment": {
            "type": "integer",
            "format": "int64"
          },
          "planPaymentMethods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlanPaymentMethod"
            },
            "nullable": true
          },
          "planProducts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlanProduct"
            },
            "nullable": true
          },
          "planProfiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlanProfile"
            },
            "nullable": true
          },
          "migrationRule": {
            "type": "string",
            "nullable": true
          },
          "uf": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlanCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Plan"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlanPaymentMethod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "planId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "allowPaymentLink": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PlanProduct": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "planId": {
            "type": "integer",
            "format": "int64"
          },
          "productId": {
            "type": "integer",
            "format": "int64"
          },
          "cycles": {
            "type": "integer",
            "format": "int64"
          },
          "value": {
            "type": "number",
            "format": "double"
          },
          "quantity": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "optional": {
            "type": "boolean"
          },
          "addon": {
            "type": "boolean"
          },
          "addonCategory": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "allowPrepaidBilling": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PlanProfile": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "planId": {
            "type": "integer",
            "format": "int64"
          },
          "profileId": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostAccreditedNetworkPartnerDTO": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "taxSubstitute": {
            "type": "string",
            "nullable": true
          },
          "employeeCount": {
            "type": "integer",
            "format": "int64"
          },
          "serviceCategoryCode": {
            "type": "integer",
            "format": "int64"
          },
          "specialties": {
            "type": "string",
            "nullable": true
          },
          "instagram": {
            "type": "string",
            "nullable": true
          },
          "benefitResponsible": {
            "$ref": "#/components/schemas/BenefitResponsible"
          },
          "legalResponsible": {
            "$ref": "#/components/schemas/LegalResponsible"
          },
          "financialResponsible": {
            "$ref": "#/components/schemas/FinancialResponsible"
          }
        },
        "additionalProperties": false
      },
      "PostAdvantageClubPartnerDTO": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "categoryCode": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "instagram": {
            "type": "string",
            "nullable": true
          },
          "digital": {
            "type": "boolean"
          },
          "benefitResponsible": {
            "$ref": "#/components/schemas/BenefitResponsible"
          }
        },
        "additionalProperties": false
      },
      "PostAuthDTO": {
        "type": "object",
        "properties": {
          "clientApplicationId": {
            "type": "string",
            "nullable": true
          },
          "accessToken": {
            "type": "string",
            "nullable": true
          },
          "applicationUserId": {
            "type": "integer",
            "format": "int64"
          },
          "applicationUserName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostCardAddLinkDTO": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "clientId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PostChargeDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "billId": {
            "type": "integer",
            "format": "int64"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "status": {
            "$ref": "#/components/schemas/ChargeStatus"
          },
          "dueAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "installments": {
            "type": "integer",
            "format": "int32"
          },
          "attemptCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nextAttempt": {
            "type": "string",
            "format": "date-time"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "downloadUrl": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostChargeDTOCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostChargeDTO"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostConfirmWhatsappDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "link": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostDebitSettlementDTO": {
        "type": "object",
        "properties": {
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DebitSettlementRow"
            },
            "nullable": true
          },
          "origin": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostDependent": {
        "required": [
          "birthdate",
          "cpf",
          "gender",
          "name",
          "phone"
        ],
        "type": "object",
        "properties": {
          "cpf": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "socialName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "minLength": 1,
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "minLength": 1,
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "registerUserId": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "PostEstablishmentDTO": {
        "required": [
          "cnpj"
        ],
        "type": "object",
        "properties": {
          "cnpj": {
            "minLength": 1,
            "type": "string"
          },
          "storeFront": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "additionalProperties": false
      },
      "PostPaymentMethodDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "integer",
            "format": "int64"
          },
          "maxAutoAttempts": {
            "type": "integer",
            "format": "int64"
          },
          "dueDays": {
            "type": "integer",
            "format": "int64"
          },
          "paymentLink": {
            "type": "boolean"
          },
          "customDue": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PostPaymentProfileDTO": {
        "type": "object",
        "properties": {
          "holderName": {
            "type": "string",
            "nullable": true
          },
          "registryCode": {
            "type": "string",
            "nullable": true
          },
          "cardExpiration": {
            "type": "string",
            "nullable": true
          },
          "cardNumber": {
            "type": "string",
            "nullable": true
          },
          "cardCVV": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "paymentCompanyCode": {
            "type": "string",
            "nullable": true
          },
          "gatewayToken": {
            "type": "string",
            "nullable": true
          },
          "encryptedCardNumber": {
            "type": "string",
            "nullable": true
          },
          "encryptedExpiryMonth": {
            "type": "string",
            "nullable": true
          },
          "encryptedExpiryYear": {
            "type": "string",
            "nullable": true
          },
          "encryptedSecurityCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostPersonDTO": {
        "required": [
          "birthdate",
          "cpf",
          "gender",
          "name",
          "phone"
        ],
        "type": "object",
        "properties": {
          "cpf": {
            "minLength": 1,
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "socialName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "minLength": 1,
            "type": "string"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "minLength": 1,
            "type": "string"
          },
          "birthdate": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "additionalProperties": false
      },
      "PostSubscriptionDTO": {
        "type": "object",
        "properties": {
          "personId": {
            "type": "integer",
            "format": "int64"
          },
          "planId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "dueType": {
            "type": "string",
            "nullable": true
          },
          "dueDay": {
            "type": "integer",
            "format": "int64"
          },
          "dueReference": {
            "type": "string",
            "nullable": true
          },
          "subscriptionItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionItem"
            },
            "nullable": true
          },
          "establishmentId": {
            "type": "integer",
            "format": "int64"
          },
          "voucherId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "adhesionTerm": {
            "type": "string",
            "nullable": true
          },
          "freeDependents": {
            "type": "integer",
            "format": "int64"
          },
          "maxDependents": {
            "type": "integer",
            "format": "int64"
          },
          "installment": {
            "type": "integer",
            "format": "int64"
          },
          "dependentValue": {
            "type": "number",
            "format": "double"
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "paymentProfile": {
            "$ref": "#/components/schemas/PostPaymentProfileDTO"
          },
          "enelClientId": {
            "type": "string",
            "nullable": true
          },
          "indicatedBy": {
            "type": "string",
            "nullable": true
          },
          "isPresential": {
            "type": "boolean"
          },
          "registerUserId": {
            "type": "integer",
            "format": "int64"
          },
          "creditCardToken": {
            "type": "string",
            "nullable": true
          },
          "isMigrating": {
            "type": "boolean"
          },
          "dependentsToMigration": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PostDependent"
            },
            "nullable": true
          },
          "useCheckoutSession": {
            "type": "boolean"
          },
          "channel": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PostSubscriptionWantCancel": {
        "required": [
          "id",
          "wantCancelDate"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "wantCancelDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "PostTerminalCardAddDTO": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "clientId": {
            "type": "integer",
            "format": "int64"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "poiid": {
            "type": "string",
            "nullable": true
          },
          "establishmentId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PostTerminalPaymentDTO": {
        "type": "object",
        "properties": {
          "chargeId": {
            "type": "integer",
            "format": "int64"
          },
          "clientId": {
            "type": "integer",
            "format": "int64"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "terminalPaymentMethod": {
            "$ref": "#/components/schemas/TerminalPaymentMethod"
          },
          "installment": {
            "type": "integer",
            "format": "int32"
          },
          "amount": {
            "type": "integer",
            "format": "int32"
          },
          "poiid": {
            "type": "string",
            "nullable": true
          },
          "establishmentId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PostVindiTransactionDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "clientId": {
            "type": "integer",
            "format": "int64"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "paidAt": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "shouldCancelCharge": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Product": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean"
          },
          "plans": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProductPlan"
            },
            "nullable": true
          },
          "observation": {
            "type": "string",
            "nullable": true
          },
          "account": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "addon": {
            "type": "boolean"
          },
          "addonCategory": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "allowPrepaidBilling": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "ProductCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Product"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductPlan": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "periodType": {
            "$ref": "#/components/schemas/PeriodType"
          },
          "active": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PutAccreditedNetworkPartnerDTO": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "taxSubstitute": {
            "type": "string",
            "nullable": true
          },
          "employeeCount": {
            "type": "integer",
            "format": "int64"
          },
          "serviceCategoryCode": {
            "type": "integer",
            "format": "int64"
          },
          "serviceCategory": {
            "type": "string",
            "nullable": true
          },
          "specialties": {
            "type": "string",
            "nullable": true
          },
          "instagram": {
            "type": "string",
            "nullable": true
          },
          "benefitResponsible": {
            "$ref": "#/components/schemas/BenefitResponsible"
          },
          "legalResponsible": {
            "$ref": "#/components/schemas/LegalResponsible"
          },
          "financialResponsible": {
            "$ref": "#/components/schemas/FinancialResponsible"
          }
        },
        "additionalProperties": false
      },
      "PutAdvantageClubPartnerDTO": {
        "type": "object",
        "properties": {
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "fantasyName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "citySubscription": {
            "type": "string",
            "nullable": true
          },
          "stateSubscription": {
            "type": "string",
            "nullable": true
          },
          "simplesNacional": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "cnpjCard": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "logo": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "contract": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "storeFront": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "cnae": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "categoryCode": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "instagram": {
            "type": "string",
            "nullable": true
          },
          "digital": {
            "type": "boolean"
          },
          "benefitResponsible": {
            "$ref": "#/components/schemas/BenefitResponsible"
          }
        },
        "additionalProperties": false
      },
      "PutBillCancelDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "observation": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutBillPaymentMethodDTO": {
        "type": "object",
        "properties": {
          "billId": {
            "type": "integer",
            "format": "int64"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int32"
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "creditCardToken": {
            "type": "string",
            "nullable": true
          },
          "installments": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "PutEstablishmentDTO": {
        "required": [
          "cnpj"
        ],
        "type": "object",
        "properties": {
          "cnpj": {
            "minLength": 1,
            "type": "string"
          },
          "storeFront": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "additionalProperties": false
      },
      "PutPaymentMethodDTO": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "integer",
            "format": "int64"
          },
          "maxAutoAttempts": {
            "type": "integer",
            "format": "int64"
          },
          "dueDays": {
            "type": "integer",
            "format": "int64"
          },
          "active": {
            "type": "boolean"
          },
          "paymentLink": {
            "type": "boolean"
          },
          "customDue": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PutPersonDTO": {
        "type": "object",
        "properties": {
          "document": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "socialName": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "hasEmail": {
            "type": "boolean"
          },
          "maritalStatus": {
            "type": "string",
            "nullable": true
          },
          "gender": {
            "type": "string",
            "nullable": true
          },
          "birthdate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          }
        },
        "additionalProperties": false
      },
      "PutReIssueChargeDTO": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "installments": {
            "type": "integer",
            "format": "int32"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "changeInSubscription": {
            "type": "boolean"
          },
          "paymentProfile": {
            "$ref": "#/components/schemas/PostPaymentProfileDTO"
          },
          "creditCardToken": {
            "type": "string",
            "nullable": true
          },
          "shouldCancelCharge": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "PutReIssueSubscriptionDTO": {
        "type": "object",
        "properties": {
          "clientId": {
            "type": "integer",
            "format": "int64"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64"
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "installments": {
            "type": "integer",
            "format": "int64"
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "paymentProfile": {
            "$ref": "#/components/schemas/PostPaymentProfileDTO"
          },
          "creditCardToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PutStorageDTO": {
        "required": [
          "file",
          "fileName",
          "folder"
        ],
        "type": "object",
        "properties": {
          "fileName": {
            "minLength": 1,
            "type": "string"
          },
          "folder": {
            "minLength": 1,
            "type": "string"
          },
          "file": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PutSubscriptionCancel": {
        "required": [
          "cancelationFee",
          "id",
          "observation"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "observation": {
            "minLength": 1,
            "type": "string"
          },
          "cancelationFee": {
            "type": "number",
            "format": "double"
          },
          "cancelUserId": {
            "type": "integer",
            "format": "int64"
          },
          "isRefund": {
            "type": "boolean"
          },
          "paymentMethodCode": {
            "type": "string",
            "nullable": true
          },
          "paymentMethodId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "dueAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "canCancelPending": {
            "type": "boolean"
          },
          "canCancelFee": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "QRcodeRegister": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/ObjectId"
          },
          "qrCodeData": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "nullable": true
          },
          "pspReference": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "expirationDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "QRcodeRegisterCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QRcodeRegister"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RefundCharge": {
        "type": "object",
        "properties": {
          "chargeId": {
            "type": "integer",
            "format": "int64"
          },
          "amount": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "ReturnError": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "StringCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionDiscount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "productId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "productName": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "double"
          },
          "cyclesQuantity": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionInternalUser": {
        "type": "object",
        "properties": {
          "register": {
            "type": "string",
            "nullable": true
          },
          "cancel": {
            "type": "string",
            "nullable": true
          },
          "estabName": {
            "type": "string",
            "nullable": true
          },
          "requestCancelUser": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "productId": {
            "type": "integer",
            "format": "int64"
          },
          "productName": {
            "type": "string",
            "nullable": true
          },
          "cycles": {
            "type": "integer",
            "format": "int64"
          },
          "value": {
            "type": "number",
            "format": "double"
          },
          "quantity": {
            "type": "integer",
            "format": "int64"
          },
          "usage": {
            "type": "integer",
            "format": "int64"
          },
          "addon": {
            "type": "boolean"
          },
          "clientId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "clientName": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "prepaid": {
            "type": "boolean"
          },
          "cycleStart": {
            "type": "integer",
            "format": "int64"
          },
          "prepaidEnd": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "prepaidPaid": {
            "type": "boolean"
          },
          "cancelSubscriptionItemId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "cancelationFeePending": {
            "type": "boolean"
          },
          "billedCycles": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionPaymentMethod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "paymentLink": {
            "type": "boolean"
          },
          "customDue": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionPayments": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "personId": {
            "type": "string",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "periods": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeriodDetails"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionPaymentsCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubscriptionPayments"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionPeriod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "subscriptionId": {
            "type": "integer",
            "format": "int64"
          },
          "startAt": {
            "type": "string",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "format": "date-time"
          },
          "cycles": {
            "type": "integer",
            "format": "int64"
          },
          "billingAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/PeriodStatus"
          }
        },
        "additionalProperties": false
      },
      "SubscriptionStatus": {
        "enum": [
          "notefectivated",
          "active",
          "expired",
          "canceled",
          "inmigration"
        ],
        "type": "string"
      },
      "T": {
        "type": "object",
        "additionalProperties": false
      },
      "TerminalPaymentMethod": {
        "enum": [
          "Credit",
          "Debit",
          "Pix",
          "Billet"
        ],
        "type": "string"
      },
      "UnificationSlave": {
        "type": "object",
        "properties": {
          "billId": {
            "type": "integer",
            "format": "int64"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "status": {
            "type": "integer",
            "format": "int64"
          },
          "cycle": {
            "type": "integer",
            "format": "int64"
          }
        },
        "additionalProperties": false
      },
      "UnificationSlaveCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UnificationSlave"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Voucher": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "limit": {
            "type": "integer",
            "format": "int64"
          },
          "active": {
            "type": "boolean"
          },
          "uses": {
            "type": "integer",
            "format": "int64"
          },
          "startAt": {
            "type": "string",
            "format": "date-time"
          },
          "endAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "allowAdminUse": {
            "type": "boolean"
          },
          "allowCheckouUse": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "VoucherCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Voucher"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VoucherDiscount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "voucherId": {
            "type": "integer",
            "format": "int64"
          },
          "productId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "number",
            "format": "double"
          },
          "cycles": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "VoucherPlan": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "voucherId": {
            "type": "integer",
            "format": "int64",
            "nullable": true
          },
          "planId": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WhatsAppSendResult": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "messageId": {
            "type": "string",
            "nullable": true
          },
          "error": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WhatsAppSendResultCustomReturn": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WhatsAppSendResult"
            },
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int64"
          },
          "responseTime": {
            "type": "integer",
            "format": "int64"
          },
          "feedback": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "$ref": "#/components/schemas/HttpStatusCode"
          },
          "notifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReturnError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header usando Bearer scheme. Exemplo: \"Authorization: Bearer {token}\"",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ],
  "tags": [
    {
      "name": "AccreditedNetwork"
    },
    {
      "name": "AdvantageClub"
    },
    {
      "name": "Auth"
    },
    {
      "name": "Bill"
    },
    {
      "name": "Charge"
    },
    {
      "name": "Client"
    },
    {
      "name": "DebitSettlement"
    },
    {
      "name": "Dependent"
    },
    {
      "name": "HolderEnel"
    },
    {
      "name": "PaymentMethod"
    },
    {
      "name": "PaymentProfile"
    },
    {
      "name": "Person"
    },
    {
      "name": "Plan"
    },
    {
      "name": "Product"
    },
    {
      "name": "Storage"
    },
    {
      "name": "Subscription"
    },
    {
      "name": "SubscriptionItem"
    },
    {
      "name": "Voucher"
    }
  ]
}