Jun 28, 2023

A API foi atualizada com várias mudanças nos endpoints relacionados a empresas, configurações, esteira, empréstimos e produtos. Os principais ajustes incluem a adição do valor 'valid_employment' em vários enums, adição de um item aos valores 'oneOf' de 'methodData', mudanças nas descrições e títulos de 'methodData', remoção do suporte para as propriedades 'headers' e 'url' de 'methodData' e adição do suporte para a propriedade 'createdBy' de 'methodData'. Além disso, o parâmetro de consulta 'type' foi adicionado em algumas respostas 'GET'.

Companies
  • GET /v1/companies/{id}:
    • 200 response: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • 200 response: added an item to settings.steps.additionalProperties.methodData oneOf values
    • 200 response: changed settings.steps.additionalProperties.methodData.description
    • 200 response: removed settings.steps.additionalProperties.methodData.required
    • 200 response: changed settings.steps.additionalProperties.methodData.title
    • 200 response: removed support for settings.steps.additionalProperties.methodData.headers property
    • 200 response: removed support for settings.steps.additionalProperties.methodData.url property
    • 200 response: added support for settings.steps.additionalProperties.methodData.createdBy property
  • POST /v1/companies/{id}:
    • 200 response: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • 200 response: added an item to settings.steps.additionalProperties.methodData oneOf values
    • 200 response: changed settings.steps.additionalProperties.methodData.description
    • 200 response: removed settings.steps.additionalProperties.methodData.required
    • 200 response: changed settings.steps.additionalProperties.methodData.title
    • 200 response: removed support for settings.steps.additionalProperties.methodData.headers property
    • 200 response: removed support for settings.steps.additionalProperties.methodData.url property
    • 200 response: added support for settings.steps.additionalProperties.methodData.createdBy property
    • requestBody: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • requestBody: added an item to settings.steps.additionalProperties.methodData oneOf values
    • requestBody: changed settings.steps.additionalProperties.methodData.description
    • requestBody: removed settings.steps.additionalProperties.methodData.required
    • requestBody: changed settings.steps.additionalProperties.methodData.title
    • requestBody: removed support for settings.steps.additionalProperties.methodData.headers property
    • requestBody: removed support for settings.steps.additionalProperties.methodData.url property
    • requestBody: added support for settings.steps.additionalProperties.methodData.createdBy property
  • GET /v1/companies:
    • 200 response: added support for new value valid_employment on enum data.items.settings.steps.additionalProperties.type
    • 200 response: added an item to data.items.settings.steps.additionalProperties.methodData oneOf values
    • 200 response: changed data.items.settings.steps.additionalProperties.methodData.description
    • 200 response: removed data.items.settings.steps.additionalProperties.methodData.required
    • 200 response: changed data.items.settings.steps.additionalProperties.methodData.title
    • 200 response: removed support for data.items.settings.steps.additionalProperties.methodData.headers property
    • 200 response: removed support for data.items.settings.steps.additionalProperties.methodData.url property
    • 200 response: added support for data.items.settings.steps.additionalProperties.methodData.createdBy property
  • POST /v1/companies:
    • 201 response: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • 201 response: added an item to settings.steps.additionalProperties.methodData oneOf values
    • 201 response: changed settings.steps.additionalProperties.methodData.description
    • 201 response: removed settings.steps.additionalProperties.methodData.required
    • 201 response: changed settings.steps.additionalProperties.methodData.title
    • 201 response: removed support for settings.steps.additionalProperties.methodData.headers property
    • 201 response: removed support for settings.steps.additionalProperties.methodData.url property
    • 201 response: added support for settings.steps.additionalProperties.methodData.createdBy property
    • requestBody: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • requestBody: added an item to settings.steps.additionalProperties.methodData oneOf values
    • requestBody: changed settings.steps.additionalProperties.methodData.description
    • requestBody: removed settings.steps.additionalProperties.methodData.required
    • requestBody: changed settings.steps.additionalProperties.methodData.title
    • requestBody: removed support for settings.steps.additionalProperties.methodData.headers property
    • requestBody: removed support for settings.steps.additionalProperties.methodData.url property
    • requestBody: added support for settings.steps.additionalProperties.methodData.createdBy property
Configurações
  • GET /v1/settings:
    • 200 response: added support for new value valid_employment on enum steps.additionalProperties.type
    • 200 response: added an item to steps.additionalProperties.methodData oneOf values
    • 200 response: changed steps.additionalProperties.methodData.description
    • 200 response: removed steps.additionalProperties.methodData.required
    • 200 response: changed steps.additionalProperties.methodData.title
    • 200 response: removed support for steps.additionalProperties.methodData.headers property
    • 200 response: removed support for steps.additionalProperties.methodData.url property
    • 200 response: added support for steps.additionalProperties.methodData.createdBy property
  • POST /v1/settings:
    • 200 response: added support for new value valid_employment on enum steps.additionalProperties.type
    • 200 response: added an item to steps.additionalProperties.methodData oneOf values
    • 200 response: changed steps.additionalProperties.methodData.description
    • 200 response: removed steps.additionalProperties.methodData.required
    • 200 response: changed steps.additionalProperties.methodData.title
    • 200 response: removed support for steps.additionalProperties.methodData.headers property
    • 200 response: removed support for steps.additionalProperties.methodData.url property
    • 200 response: added support for steps.additionalProperties.methodData.createdBy property
    • requestBody: added support for new value valid_employment on enum steps.additionalProperties.type
    • requestBody: added an item to steps.additionalProperties.methodData oneOf values
    • requestBody: changed steps.additionalProperties.methodData.description
    • requestBody: removed steps.additionalProperties.methodData.required
    • requestBody: changed steps.additionalProperties.methodData.title
    • requestBody: removed support for steps.additionalProperties.methodData.headers property
    • requestBody: removed support for steps.additionalProperties.methodData.url property
    • requestBody: added support for steps.additionalProperties.methodData.createdBy property
Esteira
  • POST /v1/steps/{step}:
    • 200 response: added support for new value valid_employment on enum type
  • GET /v1/steps:
    • 200 response: added support for new value valid_employment on enum data.items.type
    • added type query parameter
Loans
  • GET /v1/loans/{loan}/steps:
    • 200 response: added support for new value valid_employment on enum data.items.type
    • added type query parameter
Products
  • GET /v1/products/{product}:
    • 200 response: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • 200 response: added an item to settings.steps.additionalProperties.methodData oneOf values
    • 200 response: changed settings.steps.additionalProperties.methodData.description
    • 200 response: removed settings.steps.additionalProperties.methodData.required
    • 200 response: changed settings.steps.additionalProperties.methodData.title
    • 200 response: removed support for settings.steps.additionalProperties.methodData.headers property
    • 200 response: removed support for settings.steps.additionalProperties.methodData.url property
    • 200 response: added support for settings.steps.additionalProperties.methodData.createdBy property
  • POST /v1/products/{product}:
    • 200 response: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • 200 response: added an item to settings.steps.additionalProperties.methodData oneOf values
    • 200 response: changed settings.steps.additionalProperties.methodData.description
    • 200 response: removed settings.steps.additionalProperties.methodData.required
    • 200 response: changed settings.steps.additionalProperties.methodData.title
    • 200 response: removed support for settings.steps.additionalProperties.methodData.headers property
    • 200 response: removed support for settings.steps.additionalProperties.methodData.url property
    • 200 response: added support for settings.steps.additionalProperties.methodData.createdBy property
    • requestBody: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • requestBody: added an item to settings.steps.additionalProperties.methodData oneOf values
    • requestBody: changed settings.steps.additionalProperties.methodData.description
    • requestBody: removed settings.steps.additionalProperties.methodData.required
    • requestBody: changed settings.steps.additionalProperties.methodData.title
    • requestBody: removed support for settings.steps.additionalProperties.methodData.headers property
    • requestBody: removed support for settings.steps.additionalProperties.methodData.url property
    • requestBody: added support for settings.steps.additionalProperties.methodData.createdBy property
  • GET /v1/products:
    • 200 response: added support for new value valid_employment on enum data.items.settings.steps.additionalProperties.type
    • 200 response: added an item to data.items.settings.steps.additionalProperties.methodData oneOf values
    • 200 response: changed data.items.settings.steps.additionalProperties.methodData.description
    • 200 response: removed data.items.settings.steps.additionalProperties.methodData.required
    • 200 response: changed data.items.settings.steps.additionalProperties.methodData.title
    • 200 response: removed support for data.items.settings.steps.additionalProperties.methodData.headers property
    • 200 response: removed support for data.items.settings.steps.additionalProperties.methodData.url property
    • 200 response: added support for data.items.settings.steps.additionalProperties.methodData.createdBy property
  • POST /v1/products:
    • 200 response: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • 200 response: added an item to settings.steps.additionalProperties.methodData oneOf values
    • 200 response: changed settings.steps.additionalProperties.methodData.description
    • 200 response: removed settings.steps.additionalProperties.methodData.required
    • 200 response: changed settings.steps.additionalProperties.methodData.title
    • 200 response: removed support for settings.steps.additionalProperties.methodData.headers property
    • 200 response: removed support for settings.steps.additionalProperties.methodData.url property
    • 200 response: added support for settings.steps.additionalProperties.methodData.createdBy property
    • requestBody: added support for new value valid_employment on enum settings.steps.additionalProperties.type
    • requestBody: added an item to settings.steps.additionalProperties.methodData oneOf values
    • requestBody: changed settings.steps.additionalProperties.methodData.description
    • requestBody: removed settings.steps.additionalProperties.methodData.required
    • requestBody: changed settings.steps.additionalProperties.methodData.title
    • requestBody: removed support for settings.steps.additionalProperties.methodData.headers property
    • requestBody: removed support for settings.steps.additionalProperties.methodData.url property
    • requestBody: added support for settings.steps.additionalProperties.methodData.createdBy property