From 9dea3ab221482030d8f043cee3c54c633a8b27b6 Mon Sep 17 00:00:00 2001 From: Filip Maj Date: Wed, 18 Oct 2023 17:14:19 -0400 Subject: [PATCH] workflows methods --- packages/web-api/src/methods.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/web-api/src/methods.ts b/packages/web-api/src/methods.ts index bc0156985..76d313f3a 100644 --- a/packages/web-api/src/methods.ts +++ b/packages/web-api/src/methods.ts @@ -2477,21 +2477,23 @@ export type ViewsUpdateArguments = BaseViewsArguments & TokenOverridable & (View hash?: string; }; +// TODO: docs state workflows.* methods are deprecated. should we mark them as such? /* * `workflows.*` */ +// https://api.slack.com/methods/workflows.stepCompleted export interface WorkflowsStepCompletedArguments extends TokenOverridable { workflow_step_execute_id: string; outputs?: Record; } - +// https://api.slack.com/methods/workflows.stepFailed export interface WorkflowsStepFailedArguments extends TokenOverridable { workflow_step_execute_id: string; error: { message: string; }; } - +// https://api.slack.com/methods/workflows.updateStep export interface WorkflowsUpdateStepArguments extends TokenOverridable { workflow_step_edit_id: string; step_image_url?: string;