Jun 21, 2023

Essa atualização da API inclui suporte para o valor 'pass' em diferentes endpoints de 'Companies', 'Esteira' e 'Operators'. Houve alterações nos títulos de 'disbursements' e remoção de itens em 'credentials' nos endpoints de 'Configurações'. No endpoint 'Loans', houve a remoção de várias propriedades e adição do suporte para a propriedade 'signature'. Para 'Operators', foi adicionado o suporte para o valor 'backoffice' em 'roles'. Por fim, em 'Products', houve a remoção e alteração de itens em 'insurance', além da adição de suporte para 'insurance'.

Companies
  • GET /v1/companies/{id}:
    • 200 response: added support for new value pass on enum settings.steps.additionalProperties.type
  • POST /v1/companies/{id}:
    • 200 response: added support for new value pass on enum settings.steps.additionalProperties.type
    • requestBody: added support for new value pass on enum settings.steps.additionalProperties.type
  • GET /v1/companies:
    • 200 response: added support for new value pass on enum data.items.settings.steps.additionalProperties.type
  • POST /v1/companies:
    • 201 response: added support for new value pass on enum settings.steps.additionalProperties.type
    • requestBody: added support for new value pass on enum settings.steps.additionalProperties.type
Configurações
  • GET /v1/settings:
    • 200 response: changed disbursements.title
    • 200 response: removed an item from disbursements.additionalProperties.credentials anyOf values
  • POST /v1/settings:
    • 200 response: changed disbursements.title
    • 200 response: removed an item from disbursements.additionalProperties.credentials anyOf values
    • requestBody: changed disbursements.title
    • requestBody: removed an item from disbursements.additionalProperties.credentials anyOf values
Esteira
  • GET /v1/steps:
    • 200 response: added support for new value pass on enum data.items.type
    • added type query parameter
Loans
  • POST /v1/loans/{loan}/sign:
    • 200 response: removed description
    • 200 response: removed required
    • 200 response: changed title
    • 200 response: removed x-stoplight
    • 200 response: removed support for attachments property
    • 200 response: removed support for cashout property
    • 200 response: removed support for company property
    • 200 response: removed support for context property
    • 200 response: removed support for contractNumber property
    • 200 response: removed support for createdAt property
    • 200 response: removed support for customer property
    • 200 response: removed support for deleted property
    • 200 response: removed support for employment property
    • 200 response: removed support for externalId property
    • 200 response: removed support for history property
    • 200 response: removed support for metadata property
    • 200 response: removed support for offer property
    • 200 response: removed support for signatures property
    • 200 response: removed support for status property
    • 200 response: removed support for transactions property
    • 200 response: removed support for updatedAt property
    • 200 response: added support for signature property
Operators
  • GET /v1/operators/{operator}/permissions/{permission}:
    • 200 response: added support for new value backoffice on enum roles.items
  • POST /v1/operators/{operator}/permissions/{permission}:
    • 200 response: added support for new value backoffice on enum roles.items
  • GET /v1/operators/{operator}/permissions:
    • 200 response: added support for new value backoffice on enum data.items.roles.items
  • POST /v1/operators/{operator}/permissions:
    • 201 response: added support for new value backoffice on enum roles.items
    • requestBody: added support for new value backoffice on enum roles.items
  • GET /v1/operators/{operator}:
    • 200 response: added support for new value backoffice on enum permissions.data.items.roles.items
  • POST /v1/operators/{operator}:
    • 200 response: added support for new value backoffice on enum permissions.data.items.roles.items
    • requestBody: added support for new value backoffice on enum permissions.data.items.roles.items
  • GET /v1/operators:
    • 200 response: added support for new value backoffice on enum data.items.permissions.data.items.roles.items
  • POST /v1/operators:
    • 201 response: added support for new value backoffice on enum permissions.data.items.roles.items
Products
  • GET /v1/products/{product}:
    • 200 response: removed settings.products.offer.options.insurance.items
    • 200 response: changed settings.products.offer.options.insurance.type to object
    • 200 response: added settings.products.offer.options.insurance
  • POST /v1/products/{product}:
    • 200 response: removed settings.products.offer.options.insurance.items
    • 200 response: changed settings.products.offer.options.insurance.type to object
    • 200 response: added settings.products.offer.options.insurance
    • requestBody: removed settings.products.offer.options.insurance.items
    • requestBody: changed settings.products.offer.options.insurance.type to object
    • requestBody: added settings.products.offer.options.insurance
  • GET /v1/products:
    • 200 response: removed data.items.settings.products.offer.options.insurance.items
    • 200 response: changed data.items.settings.products.offer.options.insurance.type to object
    • 200 response: added data.items.settings.products.offer.options.insurance
  • POST /v1/products:
    • 200 response: removed settings.products.offer.options.insurance.items
    • 200 response: changed settings.products.offer.options.insurance.type to object
    • 200 response: added settings.products.offer.options.insurance
    • requestBody: removed settings.products.offer.options.insurance.items
    • requestBody: changed settings.products.offer.options.insurance.type to object
    • requestBody: added settings.products.offer.options.insurance