Skip to content

Commit

Permalink
Upgrade after onfido-openapi-spec change 40e7a67
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido authored and github-actions[bot] committed May 22, 2024
1 parent ad9c020 commit 9ba866b
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 29 deletions.
67 changes: 61 additions & 6 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1041,17 +1041,17 @@ export interface ChecksList {
export interface CompleteTaskBuilder {
/**
*
* @type {CompleteTaskBuilderData}
* @type {CompleteTaskDataBuilder}
* @memberof CompleteTaskBuilder
*/
'data': CompleteTaskBuilderData;
'data': CompleteTaskDataBuilder;
}
/**
* @type CompleteTaskBuilderData
* @type CompleteTaskDataBuilder
* The Task completion payload.
* @export
*/
export type CompleteTaskBuilderData = Array<object> | object;
export type CompleteTaskDataBuilder = Array<object> | object;

/**
* The applicant\'s consents
Expand Down Expand Up @@ -7618,12 +7618,36 @@ export interface Task {
* @memberof Task
*/
'id'?: string;
/**
* The workflow run id the task belongs to.
* @type {string}
* @memberof Task
*/
'workflow_run_id'?: string;
/**
* The identifier for the Task Definition.
* @type {string}
* @memberof Task
*/
'task_def_id'?: string;
/**
* The task definition version.
* @type {string}
* @memberof Task
*/
'task_def_version'?: string | null;
/**
* Input object with the fields used by the Task to execute.
* @type {object}
* @memberof Task
*/
'input'?: object;
/**
* Output object with the fields produced by the Task execution.
* @type {object}
* @memberof Task
*/
'output'?: object | null;
/**
* The date and time when the Task was created.
* @type {string}
Expand All @@ -7637,6 +7661,37 @@ export interface Task {
*/
'updated_at'?: string;
}
/**
*
* @export
* @interface TaskItem
*/
export interface TaskItem {
/**
* The identifier for the Task.
* @type {string}
* @memberof TaskItem
*/
'id'?: string;
/**
* The identifier for the Task Definition.
* @type {string}
* @memberof TaskItem
*/
'task_def_id'?: string;
/**
* The date and time when the Task was created.
* @type {string}
* @memberof TaskItem
*/
'created_at'?: string;
/**
* The date and time when the Task was last updated.
* @type {string}
* @memberof TaskItem
*/
'updated_at'?: string;
}
/**
*
* @export
Expand Down Expand Up @@ -12847,7 +12902,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async listTasks(workflowRunId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Task>>> {
async listTasks(workflowRunId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TaskItem>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(workflowRunId, options);
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
const localVarOperationServerBasePath = operationServerMap['DefaultApi.listTasks']?.[localVarOperationServerIndex]?.url;
Expand Down Expand Up @@ -13549,7 +13604,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listTasks(workflowRunId: string, options?: any): AxiosPromise<Array<Task>> {
listTasks(workflowRunId: string, options?: any): AxiosPromise<Array<TaskItem>> {
return localVarFp.listTasks(workflowRunId, options).then((request) => request(axios, basePath));
},
/**
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

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

0 comments on commit 9ba866b

Please sign in to comment.