diff --git a/clients/workflow-client/src/openapi.d.ts b/clients/workflow-client/src/openapi.d.ts index 742e2e12..4cd69bee 100644 --- a/clients/workflow-client/src/openapi.d.ts +++ b/clients/workflow-client/src/openapi.d.ts @@ -204,7 +204,7 @@ declare namespace Components { */ export interface DynamicDueDate { numberOfUnits: number; - timePeriod: "minutes" | "hours" | "days" | "weeks" | "months"; + timePeriod: "days" | "weeks" | "months"; actionTypeCondition?: "WORKFLOW_STARTED" | "STEP_CLOSED"; stepId?: string; } @@ -517,21 +517,11 @@ declare namespace Components { */ userIds?: number[]; assignedTo?: string[]; - /** - * example: - * 2021-04-27T12:00:00.000Z - */ - dueDate?: string; - dynamicDueDate?: /* set a Duedate for a step then a specific */ DynamicDueDate; startedTime?: string; completedTime?: string; status?: SectionStatus; type: ItemType; steps: Step[]; - /** - * Taxonomy ids (purposes in this case) that are associated with this section and used for filtering - */ - taxonomies?: string[]; } /** * A group of Steps that define the progress of the Workflow @@ -547,7 +537,6 @@ declare namespace Components { name: string; type: ItemType; steps: StepSimplified[]; - assignedTo?: string[]; } export type SectionStatus = "OPEN" | "IN_PROGRESS" | "COMPLETED"; export interface StartFlowReq { @@ -958,10 +947,6 @@ declare namespace Components { * Version of the workflow execution */ version?: number; - /** - * Taxonomy ids (both Labels and Purposes) that are associated with this workflow and used for filtering - */ - taxonomies?: string[]; flow: (/* A group of Steps that define the progress of the Workflow */ Section | Step)[]; } export interface WorkflowExecutionBase { @@ -1007,16 +992,13 @@ declare namespace Components { * Version of the workflow execution */ version?: number; - /** - * Taxonomy ids (both Labels and Purposes) that are associated with this workflow and used for filtering - */ - taxonomies?: string[]; } /** * example: * { * "workflowId": "j3f23fh23uif98", * "trigger": "AUTOMATIC", + * "dueDate": "2021-04-27T12:01:13.000Z", * "contexts": [ * { * "id": "3fa3fa86-0907-4642-a57e-0fe30a19874d", @@ -1034,10 +1016,6 @@ declare namespace Components { trigger?: TriggerType; assignedTo?: string[]; contexts?: WorkflowContext[]; - /** - * An array of purposes to filter workflow phases. - */ - purposes?: string[]; } /** * example: @@ -1114,10 +1092,6 @@ declare namespace Components { * Version of the workflow execution */ version?: number; - /** - * Taxonomy ids (both Labels and Purposes) that are associated with this workflow and used for filtering - */ - taxonomies?: string[]; flow: (/* A group of Steps that define the progress of the Workflow */ Section | Step)[]; } export interface WorkflowExecutionUpdateReq { @@ -1143,13 +1117,13 @@ declare namespace Components { name?: string; status?: WorkflowStatus; assignees?: string[]; - duedate?: string; // date-time - last_update_time?: string; // date-time + duedate?: string; + last_update_time?: string; progress?: number; task_id?: string; task_name?: string; task_assignees?: string[]; - task_duedate?: string; // date-time + task_duedate?: string; task_execution_type?: StepType; task_status?: StepStatus; phase_id?: string; @@ -1170,6 +1144,7 @@ declare namespace Paths { * { * "workflowId": "j3f23fh23uif98", * "trigger": "AUTOMATIC", + * "dueDate": "2021-04-27T12:01:13.000Z", * "contexts": [ * { * "id": "3fa3fa86-0907-4642-a57e-0fe30a19874d", diff --git a/clients/workflow-client/src/openapi.json b/clients/workflow-client/src/openapi.json index 1ca888f1..93ea78ea 100644 --- a/clients/workflow-client/src/openapi.json +++ b/clients/workflow-client/src/openapi.json @@ -981,13 +981,6 @@ "items": { "$ref": "#/components/schemas/WorkflowContext" } - }, - "purposes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of purposes to filter workflow phases." } }, "required": [ @@ -996,6 +989,7 @@ "example": { "workflowId": "j3f23fh23uif98", "trigger": "AUTOMATIC", + "dueDate": "2021-04-27T12:01:13.000Z", "contexts": [ { "id": "3fa3fa86-0907-4642-a57e-0fe30a19874d", @@ -1172,13 +1166,6 @@ "version": { "type": "integer", "description": "Version of the workflow execution" - }, - "taxonomies": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Taxonomy ids (both Labels and Purposes) that are associated with this workflow and used for filtering" } } }, @@ -1349,12 +1336,6 @@ "items": { "$ref": "#/components/schemas/StepSimplified" } - }, - "assignedTo": { - "type": "array", - "items": { - "type": "string" - } } }, "required": [ @@ -1393,13 +1374,6 @@ "type": "string" } }, - "dueDate": { - "type": "string", - "example": "2021-04-27T12:00:00.000Z" - }, - "dynamicDueDate": { - "$ref": "#/components/schemas/DynamicDueDate" - }, "startedTime": { "type": "string" }, @@ -1417,13 +1391,6 @@ "items": { "$ref": "#/components/schemas/Step" } - }, - "taxonomies": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Taxonomy ids (purposes in this case) that are associated with this section and used for filtering" } }, "required": [ @@ -2006,12 +1973,10 @@ } }, "duedate": { - "type": "string", - "format": "date-time" + "type": "string" }, "last_update_time": { - "type": "string", - "format": "date-time" + "type": "string" }, "progress": { "type": "number" @@ -2029,8 +1994,7 @@ } }, "task_duedate": { - "type": "string", - "format": "date-time" + "type": "string" }, "task_execution_type": { "$ref": "#/components/schemas/StepType" @@ -2114,8 +2078,6 @@ "timePeriod": { "type": "string", "enum": [ - "minutes", - "hours", "days", "weeks", "months"