GraphQL API Changes 8.0.2 to 8.1.0

The GraphQL API has been improved and extended in numerous ways. Here, we mainly highlight the changes that could potential be breaking for existing API integrations.

The minor version bump to version 8.1.0 means that there are only absolutely minimal potentially breaking changes (see below). Instead, the main change in this version is the backwards-compatible introduction of filterable APIs in numerous queries.

New Filtering Support

Numerous APIs have gained a flexible (and optional) filter parameter with which to filter results. Please consult the documentation on the filter API and filter in the GUI for more information.

New Sorting Support

Numerous APIs have gained a flexible (and optional) sortOrder parameter with which to sort results. Please consult the documentation on the sorting API and sorting in the GUI for more information.

Changed Sort Order of Archived Transactions

In previous releases, the autod { txDetails } query would return transactions ordered by descending finalisation date if and only if ARCHIVED was passed as a status argument. Now, transactions are always ordered by descending creation date by default. Sorting by finalisation date can be achieved by passing a sortOrder: [{ property: FINALIZED_AT, order: DESCENDING }] argument (see immediately preceding section for more information).

Removal of deprecated items

  • The previously deprecated updateChainalysisRisk mutation on the AopdMutation type was removed. Please use the setProviderRiskScore mutation instead.
  • The isSanctioned field was removed from the TrpdOriginator type. This was never used.

Renames

  • The previously misspelled AOPD_RETIRGGER_RISK_SCORE variant on AutodAuditEvent has been corrected to AOPD_RETRIGGER_RISK_SCORE.

New Deprecations

The following items have been deprecated and will be removed in a future release. Please consult the deprecation field for instructions on how to upgrade.

  • The following aopd queries: proof, proofAsXlsx, proofForAddress, proofForXpub and proofsForCustomer.
  • The following queries in autod: txDetail, txAsXlsx and txsWithTxId.
  • The vasp query in email.
  • The status argument to the following autod queries: txDetails, txDetailsCount and txsAsXlsx.
  • The msg input field in object AopdExpectedAoppProofInput.