Skip to content

Commit

Permalink
Upgrade after onfido-openapi-spec change 964fb43
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido authored and github-actions[bot] committed Dec 19, 2024
1 parent 33924e6 commit 5988215
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 75 deletions.
8 changes: 4 additions & 4 deletions .release.json
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": "8c793a1",
"long_sha": "8c793a1c8307dcd92fa657edb2a1e9b184c15278",
"version": "v4.3.0"
"short_sha": "964fb43",
"long_sha": "964fb43a1bf211197ef7a45c230771b8ba561b3c",
"version": ""
},
"release": "v4.3.0"
"release": "v4.4.0"
}
7 changes: 5 additions & 2 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8196,7 +8196,7 @@ export interface Task {
*/
'input'?: object;
/**
* Output object with the fields produced by the Task execution.
* Value field (it can be an Object, List, etc.) with the fields produced by the Task execution.
* @type {object}
* @memberof Task
*/
Expand Down Expand Up @@ -10254,7 +10254,7 @@ export interface WebhookEventPayloadResource {
*/
'input'?: object;
/**
* Output object with the fields produced by the Task execution.
* Value field (it can be an Object, List, etc.) with the fields produced by the Task execution.
* @type {object}
* @memberof WebhookEventPayloadResource
*/
Expand Down Expand Up @@ -10291,6 +10291,8 @@ export const WebhookEventResourceType = {
WorkflowRun: 'workflow_run',
WorkflowTask: 'workflow_task',
WatchlistMonitor: 'watchlist_monitor',
WorkflowTimelineFile: 'workflow_timeline_file',
WorkflowRunEvidenceFolder: 'workflow_run_evidence_folder',
UnknownDefaultOpenApi: '11184809'
} as const;

Expand Down Expand Up @@ -10321,6 +10323,7 @@ export const WebhookEventType = {
ReportCompleted: 'report.completed',
WorkflowTimelineFileCreated: 'workflow_timeline_file.created',
WorkflowSignedEvidenceFileCreated: 'workflow_signed_evidence_file.created',
WorkflowRunEvidenceFolderCreated: 'workflow_run_evidence_folder.created',
UnknownDefaultOpenApi: '11184809'
} as const;

Expand Down
2 changes: 1 addition & 1 deletion configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class Configuration {
this.baseOptions = {...{ timeout: 30_000 },
...param.baseOptions,
...{ headers: {...param.baseOptions?.headers,
...{'User-Agent': 'onfido-node/4.3.0'}}}};
...{'User-Agent': 'onfido-node/4.4.0'}}}};
this.formDataCtor = param.formDataCtor || require('form-data'); // Injiect form data constructor (if needed)
}

Expand Down
140 changes: 73 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@onfido/api",
"version": "4.3.0",
"version": "4.4.0",
"description": "Node.js library for the Onfido API",
"author": "OpenAPI-Generator Contributors",
"repository": {
Expand Down

0 comments on commit 5988215

Please sign in to comment.