@slack/bolt
Version:
A framework for building Slack apps, fast.
49 lines • 1.23 kB
TypeScript
/**
* A Slack step from app action wrapped in the standard metadata.
*
* This describes the entire JSON-encoded body of a request from Slack step from app actions.
* @deprecated Steps from Apps are no longer supported and support for them will be removed in the next major bolt-js
* version.
*/
export interface WorkflowStepEdit {
type: 'workflow_step_edit';
callback_id: string;
trigger_id: string;
user: {
id: string;
username: string;
team_id?: string;
};
team: {
id: string;
domain: string;
enterprise_id?: string;
enterprise_name?: string;
};
channel?: {
id?: string;
name?: string;
};
token: string;
action_ts: string;
workflow_step: {
workflow_id: string;
step_id: string;
inputs: Record<string, {
value: any;
}>;
outputs: {
name: string;
type: string;
label: string;
}[];
step_name?: string;
step_image_url?: string;
};
is_enterprise_install?: boolean;
enterprise?: {
id: string;
name: string;
};
}
//# sourceMappingURL=workflow-step-edit.d.ts.map