-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #148 from onfido/release-upgrade
Refresh onfido-node after onfido-openapi-spec update (2998dd3)
- Loading branch information
Showing
8 changed files
with
209 additions
and
187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.6.0 | ||
7.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"source": { | ||
"repo_url": "https://github.com/onfido/onfido-openapi-spec", | ||
"short_sha": "10f8380", | ||
"long_sha": "10f83806efa080edbf022ac48d5eeac90fbceb0c", | ||
"version": "" | ||
"short_sha": "2998dd3", | ||
"long_sha": "2998dd3ad2db49a33e0ecf9b41c7cf873909ef0b", | ||
"version": "v4.0.0" | ||
}, | ||
"release": "v3.6.0" | ||
"release": "v4.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Migration Guide | ||
|
||
## Upgrading from 3.x to 4.x | ||
|
||
### Core Resources | ||
|
||
- Applicants | ||
- Replace broken `ConsentsBuilder` object with a list of `ApplicantConsentBuilder` ones | ||
- Workflow Runs | ||
- Rename `WorkflowRunSharedLink` object into `WorkflowRunLink` and `WorkflowRunSharedLinkLanguageEnum` into `WorkflowRunLinkLanguageEnum` | ||
- Merge and rename `WorkflowRunStatusEnum` and `WorkflowRunResponseStatusEnum` enum into `WorkflowRunStatus` enum for storing status information | ||
- Rename `WorkflowRunResponseError` object into `WorkflowRunError` | ||
- Documents | ||
- Reuse already existent `DocumentTypes` enum when uploading documents | ||
|
||
### Other Endpoints | ||
|
||
- Webhooks | ||
- Define `WebhookEventObjectStatus` enum to collect webhook event object's status | ||
- Define `WebhookEventResourceType` enum to collect webhhok event resource's type | ||
- Define `WebhookEventPayloadResource` object to store webhook payload's contents | ||
- Checks | ||
- Rename `CheckStatusEnum` enum into `CheckStatus` for accessing checks status | ||
- Reports | ||
- Remove deprecated properties from `DeviceIntelligenceBreakdownPropertiesDevice` object: `true_os`, `os_anomaly`, `rooted` and `remote_software` | ||
- Remove deprecated properties from `DeviceIntelligenceBreakdownPropertiesIp` object: `vpn_detection`, `proxy_detection` and `type` | ||
- Deprecate `records` object from `WatchlistStandardProperties` and `WatchlistAmlProperties` objects (includes `WatchlistPepsOnly` and `WatchlistSanctionsOnly` ones) | ||
|
||
### OpenAPI generator | ||
|
||
- Version upgraded from 7.6.0 to 7.9.0 | ||
- Enforce options paramters in all calls being a `RawAxiosRequestConfig` instead of just `any` object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.