openapi: 3.0.0
info:
  title: APICentriumOAuth
  description: APICentrium OAuth
  version: '20261126131852'
servers:
- url: https://{ambiente}.api.centrium.inf.br/APICentriumOAuth
  variables:
    ambiente:
      default: ambiente
      description: Subdomínio do ambiente do cliente, informado pela Centrium
paths:
  /GetSessao:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetSessao
      summary: GetSessao
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Login
        in: query
        required: false
        schema:
          type: string
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSessaoOutput'
        404:
          description: Not found
  /GetCliente:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetCliente
      summary: GetCliente
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: CPFCNPJ
        in: query
        required: false
        schema:
          type: string
      - name: Codcliente
        in: query
        required: false
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetClienteOutput'
        404:
          description: Not found
  /GetListaClientes:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetListaClientes
      summary: GetListaClientes
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Txtbusca
        in: query
        required: false
        schema:
          type: string
      - name: Pagina
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: Tamanhopagina
        in: query
        required: false
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetListaClientesOutput'
        404:
          description: Not found
  /PostCliente:
    post:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.PostCliente
      summary: PostCliente
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostClienteInput'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
        404:
          description: Not found
  /GetListaProdutos:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetListaProdutos
      summary: GetListaProdutos
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Txtbusca
        in: query
        required: false
        schema:
          type: string
      - name: Pagina
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: Tamanhopagina
        in: query
        required: false
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetListaProdutosOutput'
        404:
          description: Not found
  /GetProduto:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetProduto
      summary: GetProduto
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Codigoproduto
        in: query
        required: false
        schema:
          type: string
      - name: Tipocodproduto
        in: query
        required: false
        schema:
          type: string
      - name: Tipopreco
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: Codcliente
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Listapreco
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Quantidade
        in: query
        required: false
        schema:
          type: number
          format: double
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProdutoOutput'
        404:
          description: Not found
  /ValidaTicketDevolucao:
    post:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.ValidaTicketDevolucao
      summary: ValidaTicketDevolucao
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidaTicketDevolucaoInput'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidaTicketDevolucaoOutput'
        404:
          description: Not found
  /ListaDAVs:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.ListaDAVs
      summary: ListaDAVs
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Txtbusca
        in: query
        required: false
        schema:
          type: string
      - name: Datainicial
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: Datafinal
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: Pagina
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: Tamanhopagina
        in: query
        required: false
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListaDAVsOutput'
        404:
          description: Not found
  /GetDav:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetDav
      summary: GetDav
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Numerodav
        in: query
        required: false
        schema:
          type: string
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDavOutput'
        404:
          description: Not found
  /FaturarNFCe:
    post:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.FaturarNFCe
      summary: FaturarNFCe
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FaturarNFCeInput'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FaturarNFCeOutput'
        404:
          description: Not found
  /ValidarNFCe:
    post:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.ValidarNFCe
      summary: ValidarNFCe
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidarNFCeInput'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidarNFCeOutput'
        404:
          description: Not found
  /CarregarNFCe:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.CarregarNFCe
      summary: CarregarNFCe
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Numeronota
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Serienota
        in: query
        required: false
        schema:
          type: string
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarregarNFCeOutput'
        404:
          description: Not found
  /GetDanfeNFCePDF:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetDanfeNFCePDF
      summary: GetDanfeNFCePDF
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Numeronota
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Serienota
        in: query
        required: false
        schema:
          type: string
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDanfeNFCePDFOutput'
        404:
          description: Not found
  /GetListaNFCes:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetListaNFCes
      summary: GetListaNFCes
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Txtbusca
        in: query
        required: false
        schema:
          type: string
      - name: Datainicial
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: Datafinal
        in: query
        required: false
        schema:
          type: string
          format: date
      - name: Pagina
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: Tamanhopagina
        in: query
        required: false
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetListaNFCesOutput'
        404:
          description: Not found
  /GerarPIX:
    post:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GerarPIX
      summary: GerarPIX
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GerarPIXInput'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GerarPIXOutput'
        404:
          description: Not found
  /StatusPIX:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.StatusPIX
      summary: StatusPIX
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Trnguid
        in: query
        required: false
        schema:
          type: string
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StatusPIXOutput'
        404:
          description: Not found
  /GetStatusSistema:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetStatusSistema
      summary: GetStatusSistema
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Cadmaqcod
        in: query
        required: false
        schema:
          type: string
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                type: integer
              format: int32
        404:
          description: Not found
  /GetListaVendedores:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.GetListaVendedores
      summary: GetListaVendedores
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Txtbusca
        in: query
        required: false
        schema:
          type: string
      - name: Pagina
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: Tamanhopagina
        in: query
        required: false
        schema:
          type: integer
          format: int64
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetListaVendedoresOutput'
        404:
          description: Not found
  /EnvioDiretoWhatsapp:
    post:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.EnvioDiretoWhatsapp
      summary: EnvioDiretoWhatsapp
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnvioDiretoWhatsappInput'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
        404:
          description: Not found
  /CriarCardPagamento:
    post:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.CriarCardPagamento
      summary: CriarCardPagamento
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CriarCardPagamentoInput'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SDTSmartTefResposta'
        404:
          description: Not found
  /ConsultarStatusCard:
    get:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.ConsultarStatusCard
      summary: ConsultarStatusCard
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      parameters:
      - name: Empresa
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: Smarttefpaymentidentifier
        in: query
        required: false
        schema:
          type: string
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SDTSmartTefResposta'
        404:
          description: Not found
  /EstornarPagamento:
    post:
      tags:
      - APICentriumOAuth
      operationId: APICentriumOAuth.EstornarPagamento
      summary: EstornarPagamento
      security:
      - oAuthGXGAM: []
        empresa: []
        login: []
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EstornarPagamentoInput'
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SDTSmartTefResposta'
        404:
          description: Not found
components:
  securitySchemes:
    oAuthGXGAM:
      type: apiKey
      in: header
      name: Authorization
      description: 'Valor completo com o prefixo OAuth: "OAuth <access_token>". Obtenha o token em POST https://<ambiente>.api.centrium.inf.br/oauth/access_token'
    empresa:
      type: apiKey
      in: header
      name: Empresa
      description: Código da empresa
    login:
      type: apiKey
      in: header
      name: Login
      description: Usuário do ERP
  schemas:
    GetSessaoOutput:
      properties:
        SessaoUsuario:
          description: Sessao Usuario
          $ref: '#/components/schemas/SessaoUsuario'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GetClienteOutput:
      properties:
        Cliente:
          description: Cliente Checkout
          $ref: '#/components/schemas/ClienteCheckout'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GetListaClientesOutput:
      properties:
        ListaClientes:
          description: SDTCheckout Lista Clientes
          $ref: '#/components/schemas/SDTCheckoutListaClientes'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GetListaProdutosOutput:
      properties:
        ListaProdutos:
          description: Checkout Lista Produtos
          $ref: '#/components/schemas/CheckoutListaProdutos'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GetProdutoOutput:
      properties:
        Produto:
          description: SDTCheckout_Get Produto
          $ref: '#/components/schemas/SDTCheckout_GetProduto'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    ValidaTicketDevolucaoOutput:
      properties:
        ValorTicket:
          type: number
          format: double
        Valido:
          type: boolean
        Mensagem:
          type: string
    ListaDAVsOutput:
      properties:
        CheckoutListaDAVs:
          description: Checkout Lista DAVS
          $ref: '#/components/schemas/CheckoutListaDAVs'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GetDavOutput:
      properties:
        OutCheckoutFaturarNFCe:
          description: Checkout Faturar NFCe
          $ref: '#/components/schemas/CheckoutFaturarNFCe'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    FaturarNFCeOutput:
      properties:
        OutCheckoutFaturarNFCe:
          description: Checkout Faturar NFCe
          $ref: '#/components/schemas/CheckoutFaturarNFCe'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    ValidarNFCeOutput:
      properties:
        Valido:
          type: boolean
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    CarregarNFCeOutput:
      properties:
        OutCheckoutFaturarNFCe:
          description: Checkout Faturar NFCe
          $ref: '#/components/schemas/CheckoutFaturarNFCe'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GetDanfeNFCePDFOutput:
      properties:
        PDFBase64:
          type: string
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GetListaNFCesOutput:
      properties:
        CheckoutListaRascunhos:
          description: Checkout Lista Rascunhos
          $ref: '#/components/schemas/CheckoutListaRascunhos'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GerarPIXOutput:
      properties:
        TrnGUID:
          type: string
        Trnbase64text:
          type: string
        Trnbase64image:
          type: string
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    StatusPIXOutput:
      properties:
        StatusTransacao:
          type: string
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    GetListaVendedoresOutput:
      properties:
        CheckoutListaVendedores:
          description: Checkout Lista Vendedores
          $ref: '#/components/schemas/CheckoutListaVendedores'
        messages:
          description: Messages
          type: array
          items:
            $ref: '#/components/schemas/GeneXus.Common.Messages_Message'
    PostClienteInput:
      properties:
        Cliente:
          description: Cliente Checkout
          $ref: '#/components/schemas/ClienteCheckout'
    ValidaTicketDevolucaoInput:
      properties:
        Empresa:
          type: integer
          format: int64
        ticketDevolucao:
          type: string
    FaturarNFCeInput:
      properties:
        CheckoutFaturarNFCe:
          description: Checkout Faturar NFCe
          $ref: '#/components/schemas/CheckoutFaturarNFCe'
    ValidarNFCeInput:
      properties:
        CheckoutFaturarNFCe:
          description: Checkout Faturar NFCe
          $ref: '#/components/schemas/CheckoutFaturarNFCe'
    GerarPIXInput:
      properties:
        SDTCentriumPag_Post:
          description: SDTCentrium Pag_Post
          $ref: '#/components/schemas/SDTCentriumPag_Post'
    EnvioDiretoWhatsappInput:
      properties:
        Empresa:
          type: integer
          format: int64
        TrnGUID:
          type: string
        CliCod:
          type: integer
          format: int64
        Telefone:
          type: string
    CriarCardPagamentoInput:
      properties:
        CriarCardReq:
          description: SDTSmart Tef Criar Card Req
          $ref: '#/components/schemas/SDTSmartTefCriarCardReq'
    EstornarPagamentoInput:
      properties:
        Empresa:
          type: integer
          format: int64
        SmartTefPaymentIdentifier:
          type: string
    SessaoUsuario:
      properties:
        UsuarioCodigo:
          description: Usuario Codigo
          type: integer
          format: int64
        UsuarioNome:
          description: Usuario Nome
          type: string
        caixa:
          description: caixa
          type: integer
          format: int64
        EmpresaRazaoSocial:
          description: Empresa Razao Social
          type: string
        EmpresaNomeFantasia:
          description: Empresa Nome Fantasia
          type: string
        VendedorCodigo:
          description: Vendedor Codigo
          type: integer
          format: int64
        VendedorNome:
          description: Vendedor Nome
          type: string
        ClienteDefaultCodigo:
          description: Cliente Default Codigo
          type: integer
          format: int64
        ClienteDefaultNome:
          description: Cliente Default Nome
          type: string
        ClienteDefaultContato:
          description: Cliente Default Contato
          type: string
        ClienteDefaultUF:
          description: Identifica o Código do Estado (UF) onde está localizada a empresa utilizante do sistema
          type: string
        UsuarioTipoCodigoProduto:
          description: Usuario Tipo Codigo Produto
          type: string
        Cliente_UtilizaSegundoNivelDeEnderecos:
          description: Cliente_Utiliza Segundo Nivel De Enderecos
          type: string
        CadMaqCod:
          description: Cad Maq Cod
          type: string
        CadMaqHost:
          description: Cad Maq Host
          type: string
        CadSerieNFCe:
          description: Cad Serie NFCe
          type: string
        QtdMinCharParaConsulta:
          description: Qtd Min Char Para Consulta
          type: integer
          format: int64
        TipoPreco:
          description: Tipo de Preço Padrão
          type: integer
          format: int32
        AplicaDescontoPorQuantidade:
          description: Aplica Desconto Por Quantidade
          type: boolean
        ListaPrecoDefault:
          description: Lista
          type: integer
          format: int64
        TipoImpressao:
          description: Tipo Impressao
          type: string
        FaturaProdutoSemSaldo:
          description: Fatura Produtos sem Saldo
          type: string
        CenarioPagamento:
          description: Cenario Pagamento
          type: string
        isWhatsappEnabled:
          description: is Whatsapp Enabled
          type: boolean
        ImagemLogoBase64:
          description: Imagem Logo Base64
          type: string
        ImagemDisplaySecundarioBase64:
          description: Imagem Display Secundario Base64
          type: string
        CondicoesDePagamento:
          type: array
          items:
            description: CondicoesDePagamentoItem
            $ref: '#/components/schemas/SessaoUsuario.CondicoesDePagamento_CondicoesDePagamentoItem'
        ConfiguracoesTEF:
          $ref: '#/components/schemas/SessaoUsuario.ConfiguracoesTEF'
        ConfiguracoesPIX:
          $ref: '#/components/schemas/SessaoUsuario.ConfiguracoesPIX'
    SessaoUsuario.CondicoesDePagamento_CondicoesDePagamentoItem:
      properties:
        CondicaoCodigo:
          description: Condicao Codigo
          type: integer
          format: int64
        CondicaoDescricao:
          description: Condicao Descricao
          type: string
        CondicaoPrazo:
          description: Condicao Prazo
          type: number
          format: double
        CondicaoMinimoEntrada:
          description: Condicao Minimo Entrada
          type: number
          format: double
        CondicaoDesconto:
          description: Condicao Desconto
          type: number
          format: double
        CondicaoDescontoMaximo:
          description: Condicao Desconto Maximo
          type: number
          format: double
        CondicaoFormasDePagamento:
          type: array
          items:
            description: CondicaoFormasDePagamentoItem
            $ref: '#/components/schemas/SessaoUsuario.CondicoesDePagamento.CondicaoFormasDePagamento_CondicaoFormasDePagamentoItem'
      x-gx-level: SessaoUsuario
    SessaoUsuario.CondicoesDePagamento.CondicaoFormasDePagamento_CondicaoFormasDePagamentoItem:
      properties:
        FormaCodigo:
          description: Forma Codigo
          type: integer
          format: int64
        FormaDescricao:
          description: Forma Descricao
          type: string
        FormaEntrada:
          description: Forma Entrada
          type: string
        FormaMeioPagtoNFe:
          description: Forma Meio Pagto NFe
          type: string
        FormaIntegracaoCartao:
          description: Forma Integracao Cartao
          type: string
        FormaTipoTransacaoTEF:
          description: Forma Tipo Transacao TEF
          type: string
        FormaFpgUtiCar:
          description: FpgUtiCar
          type: string
      x-gx-level: SessaoUsuario.CondicoesDePagamento
    SessaoUsuario.ConfiguracoesTEF:
      properties:
        TEFAtivo:
          description: TEFAtivo
          type: boolean
      x-gx-level: SessaoUsuario
    SessaoUsuario.ConfiguracoesPIX:
      properties:
        UtilizaCentriumPAG:
          description: Utiliza Centrium PAG
          type: boolean
        MinimoPix:
          description: Minimo Pix
          type: number
          format: double
        TempoEspera:
          description: Tempo Espera
          type: integer
          format: int64
        UtilizaEncurtador:
          description: Utiliza Encurtador
          type: string
        UtilizaLinkExterno:
          description: Utiliza Link Externo
          type: string
      x-gx-level: SessaoUsuario
    GeneXus.Common.Messages_Message:
      properties:
        Id:
          description: Id
          type: string
        Type:
          description: Type
          type: integer
          format: int32
        Description:
          description: Description
          type: string
    ClienteCheckout:
      properties:
        Empresa:
          description: Empresa
          type: integer
          format: int64
        CodCliente:
          description: Cod Cliente
          type: integer
          format: int64
        nome:
          description: nome
          type: string
        cpf:
          description: cpf
          type: string
        email:
          description: email
          type: string
        celular:
          description: celular
          type: string
        cep:
          description: cep
          type: string
        endereco:
          description: endereco
          type: string
        bairro:
          description: bairro
          type: string
        numero:
          description: numero
          type: string
        cidade:
          description: cidade
          type: string
        uf:
          description: uf
          type: string
        LimiteCredito:
          description: Limite Credito
          type: number
          format: double
        PermiteVendaCredito:
          description: Permite Venda Credito
          type: boolean
        CodigoConvenio:
          description: Codigo Convenio
          type: integer
          format: int32
        NomeConvenio:
          description: Nome Convenio
          type: string
        DescontoConvenio:
          description: Desconto Convenio
          type: number
          format: double
        ListaPreco:
          description: Lista
          type: integer
          format: int64
    SDTCheckoutListaClientes:
      properties:
        PaginaAtual:
          description: Pagina Atual
          type: integer
          format: int64
        RegistrosPorPagina:
          description: Registros Por Pagina
          type: integer
          format: int64
        TotalRegistros:
          description: Total Registros
          type: integer
          format: int64
        TotalPaginas:
          description: Total Paginas
          type: integer
          format: int64
        Clientes:
          type: array
          items:
            description: ClientesItem
            $ref: '#/components/schemas/SDTCheckoutListaClientes.Clientes_ClientesItem'
    SDTCheckoutListaClientes.Clientes_ClientesItem:
      properties:
        ClienteCodigo:
          description: Cliente Codigo
          type: integer
          format: int64
        ClienteNome:
          description: Cliente Nome
          type: string
        CPF:
          description: CPF
          type: string
        ListaPreco:
          description: Lista Preco
          type: integer
          format: int32
        Celular:
          description: Celular
          type: string
        Telefone:
          description: Telefone
          type: string
        Endereco:
          $ref: '#/components/schemas/SDTCheckoutListaClientes.Clientes.Endereco'
      x-gx-level: SDTCheckoutListaClientes
    SDTCheckoutListaClientes.Clientes.Endereco:
      properties:
        cep:
          description: cep
          type: string
        endereco:
          description: endereco
          type: string
        bairro:
          description: bairro
          type: string
        numero:
          description: numero
          type: string
        cidade:
          description: cidade
          type: string
        uf:
          description: uf
          type: string
      x-gx-level: SDTCheckoutListaClientes.Clientes
    CheckoutListaProdutos:
      properties:
        PaginaAtual:
          description: Pagina Atual
          type: integer
          format: int64
        RegistrosPorPagina:
          description: Registros Por Pagina
          type: integer
          format: int64
        TotalRegistros:
          description: Total Registros
          type: integer
          format: int64
        TotalPaginas:
          description: Total Paginas
          type: integer
          format: int64
        Produtos:
          type: array
          items:
            description: Produtos
            $ref: '#/components/schemas/CheckoutListaProdutos.Produtos_Produtos'
    CheckoutListaProdutos.Produtos_Produtos:
      properties:
        CodigoProduto:
          description: Codigo Produto
          type: string
        Descricao:
          description: Descricao
          type: string
        Referencia:
          description: Referencia
          type: string
        CodigoBarras:
          description: Codigo Barras
          type: string
        PrecoVenda1:
          description: Preco Venda1
          type: number
          format: double
        PrecoVenda2:
          description: Preco Venda2
          type: number
          format: double
        PrecoVenda3:
          description: Preco Venda3
          type: number
          format: double
        PrecoVenda4:
          description: Preco Venda4
          type: number
          format: double
        PrecoVenda5:
          description: Preco Venda5
          type: number
          format: double
        PrecoIndice:
          description: Preco Indice
          type: number
          format: double
        Estoque:
          description: Estoque
          type: number
          format: double
        CodigoGrupo:
          description: Codigo Grupo
          type: integer
          format: int32
        DescricaoGrupo:
          description: Descricao Grupo
          type: string
        CodigoSubgrupo:
          description: Codigo Subgrupo
          type: integer
          format: int32
        DescricaoSubgrupo:
          description: Descricao Subgrupo
          type: string
        Aplicacao:
          description: Aplicacao
          type: string
        GTINTributavel:
          description: GTINTributavel
          type: string
        QtdMinimaPreco2:
          description: Qtd Minima Preco2
          type: integer
          format: int64
        QtdMinimaPreco3:
          description: Qtd Minima Preco3
          type: integer
          format: int64
        QtdMinimaPreco4:
          description: Qtd Minima Preco4
          type: integer
          format: int64
        QtdMinimaPreco5:
          description: Qtd Minima Preco5
          type: integer
          format: int64
        UDM:
          description: UDM
          type: string
      x-gx-level: CheckoutListaProdutos
    SDTCheckout_GetProduto:
      properties:
        CodigoProduto:
          description: Codigo Produto
          type: string
        Descricao:
          description: Descricao
          type: string
        Referencia:
          description: Referencia
          type: string
        CodigoBarras:
          description: Codigo Barras
          type: string
        PrecoVenda:
          description: Preco Venda
          type: number
          format: double
        PrecoVenda1:
          description: Preco Venda1
          type: number
          format: double
        PrecoVenda2:
          description: Preco Venda2
          type: number
          format: double
        PrecoVenda3:
          description: Preco Venda3
          type: number
          format: double
        PrecoVenda4:
          description: Preco Venda4
          type: number
          format: double
        PrecoVenda5:
          description: Preco Venda5
          type: number
          format: double
        PrecoIndice:
          description: Preço por Índice
          type: number
          format: double
        PrecoMinimo:
          description: Preco Minimo
          type: number
          format: double
        Estoque:
          description: Estoque
          type: number
          format: double
        CodigoGrupo:
          description: Codigo Grupo
          type: integer
          format: int32
        DescricaoGrupo:
          description: Descricao Grupo
          type: string
        CodigoSubgrupo:
          description: Codigo Subgrupo
          type: integer
          format: int32
        DescricaoSubgrupo:
          description: Descricao Subgrupo
          type: string
        Aplicacao:
          description: Aplicacao
          type: string
        GTINTributavel:
          description: GTINTributavel
          type: string
        QtdMinimaPreco2:
          description: Qtd Minima Preco2
          type: integer
          format: int64
        QtdMinimaPreco3:
          description: Qtd Minima Preco3
          type: integer
          format: int64
        QtdMinimaPreco4:
          description: Qtd Minima Preco4
          type: integer
          format: int64
        QtdMinimaPreco5:
          description: Qtd Minima Preco5
          type: integer
          format: int64
        UDM:
          description: UDM
          type: string
        ProdutoPesavelEditavel:
          description: Material Pesável
          type: string
        Saldo:
          description: Saldo
          type: number
          format: double
        CenarioValido:
          description: Cenario Valido
          type: boolean
        QuantidadeEmbalagem:
          description: Quantidade Embalagem
          type: number
          format: double
    CheckoutListaDAVs:
      properties:
        PaginaAtual:
          description: Pagina Atual
          type: integer
          format: int64
        RegistrosPorPagina:
          description: Registros Por Pagina
          type: integer
          format: int64
        TotalRegistros:
          description: Total Registros
          type: integer
          format: int64
        TotalPaginas:
          description: Total Paginas
          type: integer
          format: int64
        DAV:
          type: array
          items:
            description: DAV
            $ref: '#/components/schemas/CheckoutListaDAVs.DAV_DAV'
    CheckoutListaDAVs.DAV_DAV:
      properties:
        NumeroDAV:
          description: Numero DAV
          type: string
        DoccumentoOrigemNumero:
          description: Número do Documento de Origem
          type: integer
          format: int64
        DocumentoOrigemSerie:
          description: Série do Documento de Origem
          type: string
        Titulo:
          description: Titulo
          type: string
        Senha:
          description: Senha para atendimento do DAV
          type: string
        DataEmissao:
          description: Data Emissao
          type: string
          format: date
        ClienteCodigo:
          description: Cliente Codigo
          type: integer
          format: int64
        ClienteNome:
          description: Cliente Nome
          type: string
        VendedorCodigo:
          description: Cód. Vendedor
          type: integer
          format: int64
        VendedorNome:
          description: Nome Vendedor
          type: string
        ValorTotal:
          description: Valor Total
          type: number
          format: double
      x-gx-level: CheckoutListaDAVs
    CheckoutFaturarNFCe:
      properties:
        Empresa:
          description: Empresa
          type: integer
          format: int64
        SuspenderOuFaturar:
          description: Suspender Ou Faturar
          type: string
        clienteCodigo:
          description: cliente Codigo
          type: integer
          format: int64
        ClienteNome:
          description: Cliente Nome
          type: string
        vendedorCodigo:
          description: vendedor Codigo
          type: integer
          format: int64
        vendedorNome:
          description: Nome Vendedor
          type: string
        CondicaoPagamentoCodigo:
          description: Condicao Pagamento Codigo
          type: integer
          format: int64
        DescontoCapaValor:
          description: Desconto Capa Valor
          type: number
          format: double
        NumeroRascunho:
          description: Numero Rascunho
          type: integer
          format: int64
        CadSerieNFCe:
          description: Cad Serie NFCe
          type: string
        UsuarioCodigo:
          description: Usuario Codigo
          type: integer
          format: int64
        Log:
          description: Log
          type: string
        DispensarPDF:
          description: Dispensar PDF
          type: boolean
        produtos:
          type: array
          items:
            description: produtosItem
            $ref: '#/components/schemas/CheckoutFaturarNFCe.produtos_produtosItem'
        FormasDePagamento:
          type: array
          items:
            description: FormasDePagamentoItem
            $ref: '#/components/schemas/CheckoutFaturarNFCe.FormasDePagamento_FormasDePagamentoItem'
        NotaFiscal:
          $ref: '#/components/schemas/CheckoutFaturarNFCe.NotaFiscal'
    CheckoutFaturarNFCe.produtos_produtosItem:
      properties:
        sequencial:
          description: sequencial
          type: integer
          format: int32
        codigoProduto:
          description: codigo Produto
          type: string
        quantidade:
          description: quantidade
          type: number
          format: double
        precoUnitario:
          description: preco Unitario
          type: number
          format: double
        precoMinimo:
          description: preco Minimo
          type: number
          format: double
        DescontoPercentual:
          description: Desconto Percentual
          type: number
          format: double
        DescontoValor:
          description: Desconto Valor
          type: number
          format: double
        UDM:
          description: UDM
          type: string
        ValorBruto:
          description: Valor Bruto
          type: number
          format: double
        ValorTotal:
          description: Valor Total
          type: number
          format: double
      x-gx-level: CheckoutFaturarNFCe
    CheckoutFaturarNFCe.FormasDePagamento_FormasDePagamentoItem:
      properties:
        FormaCodigo:
          description: Forma Codigo
          type: integer
          format: int64
        FormaMeioPagtoNFe:
          description: Forma Meio Pagto NFe
          type: string
        FormaValor:
          description: Forma Valor
          type: number
          format: double
        FormaIntegracaoCartao:
          description: Forma Integracao Cartao
          type: string
        FormaFpgUtiCar:
          description: FpgUtiCar
          type: string
        FormaEntrada:
          description: Entrada?
          type: string
        TEFBandeira:
          description: TEFbandeira
          type: string
        TEFPagId:
          description: Identificador do pagamento SmartTEF (payment_identifier)
          type: string
        TEFTipoIntegracao:
          description: TEFTipo Integracao
          type: string
        FormaPixGUID:
          description: Forma Pix GUID
          type: string
        TicketDevolucao:
          description: Ticket Devolucao
          type: string
      x-gx-level: CheckoutFaturarNFCe
    CheckoutFaturarNFCe.NotaFiscal:
      properties:
        NumeroNota:
          description: Numero Nota
          type: integer
          format: int64
        SerieNota:
          description: SERIE
          type: string
        Autorizada:
          description: Autorizada
          type: string
        ErroCodigo:
          description: Erro Codigo
          type: integer
          format: int64
        ErroMensagem:
          description: Erro Mensagem
          type: string
        RetornoMensagemIA:
          description: Retorno Mensagem IA
          type: string
        UrlChamadas:
          description: Url Chamadas
          type: string
        XMLImpressao:
          description: XMLImpressao
          type: string
        PDFImpressao:
          description: PDFImpressao
          type: string
      x-gx-level: CheckoutFaturarNFCe
    CheckoutListaRascunhos:
      properties:
        PaginaAtual:
          description: Pagina Atual
          type: integer
          format: int64
        RegistrosPorPagina:
          description: Registros Por Pagina
          type: integer
          format: int64
        TotalRegistros:
          description: Total Registros
          type: integer
          format: int64
        TotalPaginas:
          description: Total Paginas
          type: integer
          format: int64
        Rascunho:
          type: array
          items:
            description: Rascunho
            $ref: '#/components/schemas/CheckoutListaRascunhos.Rascunho_Rascunho'
    CheckoutListaRascunhos.Rascunho_Rascunho:
      properties:
        NumeroRascunho:
          description: Numero Rascunho
          type: integer
          format: int64
        Serie:
          description: Serie
          type: string
        ClienteCodigo:
          description: Cliente Codigo
          type: integer
          format: int64
        ClienteNome:
          description: Cliente Nome
          type: string
        VendedorCodigo:
          description: Vendedor Codigo
          type: integer
          format: int64
        VendedorNome:
          description: Vendedor Nome
          type: string
        OperadorCodigo:
          description: Operador Codigo
          type: integer
          format: int64
        OperadorNome:
          description: Operador Nome
          type: string
        Emissao:
          description: Emissao
          type: string
          format: date-time
        Total:
          description: Total
          type: number
          format: double
      x-gx-level: CheckoutListaRascunhos
    SDTCentriumPag_Post:
      properties:
        TrnGUID:
          description: Transação GUID
          type: string
          format: uuid
        TrnValor:
          description: Transação Valor
          type: number
          format: double
        TrnFormaPagamento:
          description: Transação Forma Pagamento
          type: string
        TrnPagadorNome:
          description: Transação Pagador Nome
          type: string
        TrnPagadorCgc:
          description: Transação Pagador Cgc
          type: string
        TrnPagadorEmail:
          description: Transação Pagador Email
          type: string
        TrnPagadorFone:
          description: Transação Pagador Fone
          type: string
        TrnOrigemDocumento:
          description: Transação Ori Documento
          type: string
        TrnOrigemSerie:
          description: Transação Ori Serie
          type: string
        TrnStatus:
          description: Transação Status
          type: string
        CntGUID:
          description: Cnt GUID
          type: string
          format: uuid
        Empresa:
          description: Empresa
          type: integer
          format: int64
        clienteCodigo:
          description: cliente Codigo
          type: integer
          format: int32
        FPgCod:
          description: Código da Forma de Pgto
          type: integer
          format: int32
        CaminhoQrCode:
          description: Caminho Qr Code
          type: string
        TrnTempoExpiracaoPIX:
          description: Tempo em segundos de Expiracao PIX
          type: integer
          format: int64
        TrnEspDoc:
          description: Trn Esp Doc
          type: string
        TrnDatVen:
          description: Trn Dat Ven
          type: string
          format: date
        TrnTipTaxM:
          description: Trn Tip Tax M
          type: integer
          format: int32
        TrnValMul:
          description: Trn Val Mul
          type: number
          format: double
        TrnPerMul:
          description: Trn Per Mul
          type: number
          format: double
        TrnTipTaxJ:
          description: Trn Tip Tax J
          type: integer
          format: int32
        TrnValJur:
          description: Trn Val Jur
          type: number
          format: double
        TrnPerJur:
          description: Trn Per Jur
          type: number
          format: double
        TrnDatLimD:
          description: Trn Dat Lim D
          type: string
          format: date
        TrnValDes:
          description: Trn Val Des
          type: number
          format: double
        TrnPerDes:
          description: Trn Per Des
          type: number
          format: double
        TrnValAbat:
          description: Trn Val Abat
          type: number
          format: double
        TrnDatPag:
          description: Trn Dat Pag
          type: string
          format: date
        TrnValOpeF:
          description: Trn Val Ope F
          type: number
          format: double
        TrnStaBol:
          description: Trn Sta Bol
          type: integer
          format: int32
        TrnOriEmp:
          description: Trn Ori Emp
          type: integer
          format: int64
        TrnOriPar:
          description: Trn Ori Par
          type: integer
          format: int64
        TrnNosNumS:
          description: Trn Nos Num S
          type: string
        TrnIns1Cod:
          description: Trn Ins1 Cod
          type: string
        TrnIns1Val:
          description: Trn Ins1 Val
          type: integer
          format: int64
        TrnIns2Cod:
          description: Trn Ins2 Cod
          type: string
        TrnIns2Val:
          description: Trn Ins2 Val
          type: integer
          format: int64
        TrnIns3Cod:
          description: Trn Ins3 Cod
          type: string
        TrnIns3Val:
          description: Trn Ins3 Val
          type: integer
          format: int64
        TrnCodBar:
          description: Trn Cod Bar
          type: string
        TrnLinDig:
          description: Trn Lin Dig
          type: string
        TrnValPag:
          description: Trn Val Pag
          type: number
          format: double
        TrnTipOpeA:
          description: Trn Tip Ope A
          type: string
        TrnPixUrlQrCode:
          description: Trn Pix Url Qr Code
          type: string
        TrnNosNumD:
          description: Trn Nos Num D
          type: string
        TrnNosNum:
          description: Trn Nos Num
          type: string
        EnumTipoTaxaMulta:
          description: Enum Tipo Taxa Multa
          type: integer
          format: int32
        TrnPagUF:
          description: Trn Pag UF
          type: string
        TrnPagTip:
          description: Trn Pag Tip
          type: string
        TrnPagCid:
          description: Trn Pag Cid
          type: string
        TrnPagCep:
          description: Trn Pag Cep
          type: string
        TrnPagEnd:
          description: Trn Pag End
          type: string
        TrnPagNum:
          description: Trn Pag Num
          type: string
        TrnPagCom:
          description: Trn Pag Com
          type: string
        TrnPagBai:
          description: Trn Pag Bai
          type: string
        TrnPagCod:
          description: Transação Pagador Código
          type: integer
          format: int64
        TrnValPagO:
          description: Trn Val Pag O
          type: number
          format: double
        TrnModVal:
          description: Transação emitida em modo de validação
          type: boolean
        TrnDataEmi:
          description: Trn Data Emi
          type: string
          format: date
        TrnAceite:
          description: Trn Aceite
          type: string
    CheckoutListaVendedores:
      properties:
        PaginaAtual:
          description: Pagina Atual
          type: integer
          format: int64
        RegistrosPorPagina:
          description: Registros Por Pagina
          type: integer
          format: int64
        TotalRegistros:
          description: Total Registros
          type: integer
          format: int64
        TotalPaginas:
          description: Total Paginas
          type: integer
          format: int64
        Vendedores:
          type: array
          items:
            description: Vendedores
            $ref: '#/components/schemas/CheckoutListaVendedores.Vendedores_Vendedores'
    CheckoutListaVendedores.Vendedores_Vendedores:
      properties:
        VendedorCodigo:
          description: Vendedor Codigo
          type: integer
          format: int64
        VendedorNome:
          description: Vendedor Nome
          type: string
        VendedorCGC:
          description: Vendedor CGC
          type: string
        VendedorFone:
          description: Vendedor Fone
          type: string
      x-gx-level: CheckoutListaVendedores
    SDTSmartTefCriarCardReq:
      properties:
        EmpCod:
          description: Emp Cod
          type: integer
          format: int64
        UsuarioGAM:
          description: Usuario GAM
          type: string
        PagamentoValor:
          description: Pagamento Valor
          type: number
          format: double
        PagamentoParcelas:
          description: Pagamento Parcelas
          type: integer
          format: int32
        PagamentoCpfCliente:
          description: Pagamento Cpf Cliente
          type: string
        PagamentoNomeCliente:
          description: Pagamento Nome Cliente
          type: string
        FPgCod:
          description: Código da Forma de Pgto
          type: integer
          format: int32
        CNPJAdquirente:
          description: CNPJAdquirente
          type: string
    SDTSmartTefResposta:
      properties:
        Sucesso:
          description: Indica se a chamada HTTP retornou sucesso (status 2xx e sem erro de transporte)
          type: boolean
        CodigoStatusHttp:
          description: Codigo de status HTTP retornado pela API SmartTEF
          type: integer
          format: int32
        MensagemErro:
          description: Descricao do erro de transporte (ErrCode/ErrDescription) quando a chamada nao chega a obter resposta HTTP
          type: string
        RespostaJson:
          description: Corpo bruto (JSON) retornado pela API SmartTEF para a operacao executada
          type: string
