This guide provides detailed instructions on how to upgrade between different major versions of the client library.
It covers changes in core resources, other endpoints, and the OpenAPI generator, ensuring a smooth transition between versions.
- Workflow Runs
- Add
applicantId
parameter tolistWorkflowRuns
method to filter workflow runs by applicant ID
- Add
- Documents
- Suppress
DocumentFileTypeEnum
, allowing any string as file type
- Suppress
- Webhooks
- Drop
WORKFLOW_SIGNED_EVIDENCE_FILE_CREATED
enum value fromWebhookEventType
enum - Allow
readPayload
function for webhook event verification to also throwJsonParseException
exception. - Make
href
property inWebhookEventPayloadObject
optional
- Drop
- Reports
- Allow the deprecated
records
property inWatchlistAml
andWatchlistStandard
reports to be any object, and not just a string - Remove
documents
property (incl.getDocuments()
accessors) from all reports except Document and Facial Similarity reports
- Allow the deprecated
- Version upgraded from
7.9.0
to7.11.0
- All properties got annotated with
@javax.annotation.Nullable
or@javax.annotation.Nonnull
depending on their OpenAPI definition
- All properties got annotated with
- Applicants
- Replace
ConsentsBuilder
object with a list ofApplicantConsentBuilder
ones
- Replace
- Workflow Runs
- Rename
WorkflowRunSharedLink
object intoWorkflowRunLink
- Merge and rename
WorkflowRun.StatusEnum
andWorkflowRunResponse.StatusEnum
enum intoWorkflowRunStatus
enum for storing status information - Rename
WorkflowRunResponseError
object intoWorkflowRunError
- Rename
- Documents
- Reuse already existent
DocumentTypes
enum when uploading documents
- Reuse already existent
- Webhooks
- Define
WebhookEventObjectStatus
enum to collect webhook event object's status - Define
WebhookEventResourceType
enum to collect webhook event resource's type - Define
WebhookEventPayloadResource
object to store webhook payload's contents
- Define
- Checks
- Rename
Check.StatusEnum
enum intoCheckStatus
for accessing checks status
- Rename
- Reports
- Remove deprecated properties from
DeviceIntelligenceBreakdownPropertiesDevice
object:trueOs
,osAnomaly
,rooted
andremoteSoftware
- Remove deprecated properties from
DeviceIntelligenceBreakdownPropertiesIp
object:vpnDetection
,proxyDetection
andtype
- Deprecate
records
object fromWatchlistStandardProperties
andWatchlistAmlProperties
objects (includesWatchlistPepsOnly
andWatchlistSanctionsOnly
ones)
- Remove deprecated properties from
- Version upgraded from
7.6.0
to7.9.0
- Some dependencies were update, notably
jakarta.*
replacedjavax.*
ones - Use
ISO8601Utils
library instead ofsdf
for date and time parsing
- Some dependencies were update, notably