Jul 21, 2023

As alterações na API incluem atualizações nos endpoints de empréstimos e inquilinos. Nos endpoints de empréstimos, o suporte para a propriedade 'expiresAt' foi removido e o suporte para a propriedade 'dueDate' foi adicionado. Nos endpoints de inquilinos, foram adicionadas descrições para várias propriedades, incluindo 'typography', 'requestedLoansAttachments' e 'palette'. Além disso, o suporte para a propriedade 'secondary' da 'palette' foi removido e adicionado o suporte para várias propriedades novas.

Loans
  • POST /v1/loans/search:
    • 200 response: removed support for data.items.cashout.items.expiresAt property
    • 200 response: added support for data.items.cashout.items.dueDate property
  • POST /v1/loans/{loan}/attach:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/cancel:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/disburse:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/mark-expired:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/mark-pending:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/open:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/transactions:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}/void:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • GET /v1/loans/{loan}:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
  • POST /v1/loans/{loan}:
    • 200 response: removed support for cashout.items.expiresAt property
    • 200 response: added support for cashout.items.dueDate property
    • requestBody: cashout.items.expiresAt is no longer required
    • requestBody: cashout.items.dueDate is now required
    • requestBody: removed support for cashout.items.expiresAt property
    • requestBody: added support for cashout.items.dueDate property
  • GET /v1/loans:
    • 200 response: removed support for data.items.cashout.items.expiresAt property
    • 200 response: added support for data.items.cashout.items.dueDate property
  • POST /v1/loans:
    • 201 response: removed support for cashout.items.expiresAt property
    • 201 response: added support for cashout.items.dueDate property
    • requestBody: cashout.items.expiresAt is no longer required
    • requestBody: cashout.items.dueDate is now required
    • requestBody: removed support for cashout.items.expiresAt property
    • requestBody: added support for cashout.items.dueDate property
Tenants
  • GET /v1/tenants/branding/themes/{theme}:
    • 200 response: added typography.description
    • 200 response: added requestedLoansAttachments.description
    • 200 response: added palette.description
    • 200 response: removed support for palette.secondary property
    • 200 response: added palette.warning.description
    • 200 response: added palette.warning.main.description
    • 200 response: added palette.warning.light.description
    • 200 response: added palette.warning.dark.description
    • 200 response: added palette.warning.contrastText.description
    • 200 response: added palette.success.description
    • 200 response: added palette.success.main.description
    • 200 response: added palette.success.light.description
    • 200 response: added palette.success.dark.description
    • 200 response: added palette.success.contrastText.description
    • 200 response: added palette.primary.description
    • 200 response: added palette.primary.main.description
    • 200 response: added palette.primary.light.description
    • 200 response: added palette.primary.dark.description
    • 200 response: added palette.primary.contrastText.description
    • 200 response: added palette.info.description
    • 200 response: added palette.info.main.description
    • 200 response: added palette.info.light.description
    • 200 response: added palette.info.dark.description
    • 200 response: added palette.info.contrastText.description
    • 200 response: added palette.error.description
    • 200 response: added palette.error.main.description
    • 200 response: added palette.error.light.description
    • 200 response: added palette.error.dark.description
    • 200 response: added palette.error.contrastText.description
    • 200 response: added pageTitle.description
    • 200 response: added loanStatus.description
    • 200 response: added loanStatus.palette.success.description
    • 200 response: added loanStatus.palette.success.main.description
    • 200 response: added loanStatus.palette.success.contrastText.description
    • 200 response: added loanStatus.palette.rejected.description
    • 200 response: added loanStatus.palette.rejected.main.description
    • 200 response: added loanStatus.palette.rejected.contrastText.description
    • 200 response: added loanStatus.palette.pending.description
    • 200 response: added loanStatus.palette.pending.main.description
    • 200 response: added loanStatus.palette.pending.contrastText.description
    • 200 response: added images.logoUrl.description
    • 200 response: changed images.loadingImageUrl.description
    • 200 response: added images.faviconUrl.description
    • 200 response: added images.darkBackgroundLogoUrl.description
    • 200 response: added displayName.description
    • added theme path parameter
  • POST /v1/tenants/branding/themes/{theme}:
    • 200 response: added typography.description
    • 200 response: added requestedLoansAttachments.description
    • 200 response: added palette.description
    • 200 response: removed support for palette.secondary property
    • 200 response: added palette.warning.description
    • 200 response: added palette.warning.main.description
    • 200 response: added palette.warning.light.description
    • 200 response: added palette.warning.dark.description
    • 200 response: added palette.warning.contrastText.description
    • 200 response: added palette.success.description
    • 200 response: added palette.success.main.description
    • 200 response: added palette.success.light.description
    • 200 response: added palette.success.dark.description
    • 200 response: added palette.success.contrastText.description
    • 200 response: added palette.primary.description
    • 200 response: added palette.primary.main.description
    • 200 response: added palette.primary.light.description
    • 200 response: added palette.primary.dark.description
    • 200 response: added palette.primary.contrastText.description
    • 200 response: added palette.info.description
    • 200 response: added palette.info.main.description
    • 200 response: added palette.info.light.description
    • 200 response: added palette.info.dark.description
    • 200 response: added palette.info.contrastText.description
    • 200 response: added palette.error.description
    • 200 response: added palette.error.main.description
    • 200 response: added palette.error.light.description
    • 200 response: added palette.error.dark.description
    • 200 response: added palette.error.contrastText.description
    • 200 response: added pageTitle.description
    • 200 response: added loanStatus.description
    • 200 response: added loanStatus.palette.success.description
    • 200 response: added loanStatus.palette.success.main.description
    • 200 response: added loanStatus.palette.success.contrastText.description
    • 200 response: added loanStatus.palette.rejected.description
    • 200 response: added loanStatus.palette.rejected.main.description
    • 200 response: added loanStatus.palette.rejected.contrastText.description
    • 200 response: added loanStatus.palette.pending.description
    • 200 response: added loanStatus.palette.pending.main.description
    • 200 response: added loanStatus.palette.pending.contrastText.description
    • 200 response: added images.logoUrl.description
    • 200 response: changed images.loadingImageUrl.description
    • 200 response: added images.faviconUrl.description
    • 200 response: added images.darkBackgroundLogoUrl.description
    • 200 response: added displayName.description
    • requestBody: added typography.description
    • requestBody: added requestedLoansAttachments.description
    • requestBody: added palette.description
    • requestBody: removed support for palette.secondary property
    • requestBody: added palette.warning.description
    • requestBody: added palette.warning.main.description
    • requestBody: added palette.warning.light.description
    • requestBody: added palette.warning.dark.description
    • requestBody: added palette.warning.contrastText.description
    • requestBody: added palette.success.description
    • requestBody: added palette.success.main.description
    • requestBody: added palette.success.light.description
    • requestBody: added palette.success.dark.description
    • requestBody: added palette.success.contrastText.description
    • requestBody: added palette.primary.description
    • requestBody: added palette.primary.main.description
    • requestBody: added palette.primary.light.description
    • requestBody: added palette.primary.dark.description
    • requestBody: added palette.primary.contrastText.description
    • requestBody: added palette.info.description
    • requestBody: added palette.info.main.description
    • requestBody: added palette.info.light.description
    • requestBody: added palette.info.dark.description
    • requestBody: added palette.info.contrastText.description
    • requestBody: added palette.error.description
    • requestBody: added palette.error.main.description
    • requestBody: added palette.error.light.description
    • requestBody: added palette.error.dark.description
    • requestBody: added palette.error.contrastText.description
    • requestBody: added pageTitle.description
    • requestBody: added loanStatus.description
    • requestBody: added loanStatus.palette.success.description
    • requestBody: added loanStatus.palette.success.main.description
    • requestBody: added loanStatus.palette.success.contrastText.description
    • requestBody: added loanStatus.palette.rejected.description
    • requestBody: added loanStatus.palette.rejected.main.description
    • requestBody: added loanStatus.palette.rejected.contrastText.description
    • requestBody: added loanStatus.palette.pending.description
    • requestBody: added loanStatus.palette.pending.main.description
    • requestBody: added loanStatus.palette.pending.contrastText.description
    • requestBody: added images.logoUrl.description
    • requestBody: changed images.loadingImageUrl.description
    • requestBody: added images.faviconUrl.description
    • requestBody: added images.darkBackgroundLogoUrl.description
    • requestBody: added displayName.description
    • added theme path parameter