UNPKG

1.58 kBTypeScriptView Raw
1import { WebAPICallResult } from '../../WebClient';
2export type AdminWorkflowsSearchResponse = WebAPICallResult & {
3 error?: string;
4 needed?: string;
5 ok?: boolean;
6 provided?: string;
7 response_metadata?: ResponseMetadata;
8 total_found?: number;
9 workflows?: Workflow[];
10};
11export interface ResponseMetadata {
12 messages?: string[];
13 next_cursor?: string;
14}
15export interface Workflow {
16 app_id?: string;
17 billing_type?: string;
18 callback_id?: string;
19 collaborators?: string[];
20 date_updated?: number;
21 description?: string;
22 icons?: Icons;
23 id?: string;
24 input_parameters?: {
25 [key: string]: InputParameter;
26 };
27 is_billable?: boolean;
28 is_published?: boolean;
29 is_sales_home_workflow?: boolean;
30 last_published_date?: string;
31 last_published_version_id?: string;
32 last_updated_by?: string;
33 source?: string;
34 steps?: Step[];
35 team_id?: string;
36 title?: string;
37 trigger_ids?: string[];
38 unpublished_change_count?: number;
39 workflow_function_id?: string;
40}
41export interface Icons {
42 image_192?: string;
43 image_96?: string;
44}
45export interface InputParameter {
46 description?: string;
47 is_hidden?: boolean;
48 is_required?: boolean;
49 name?: string;
50 title?: string;
51 type?: string;
52}
53export interface Step {
54 function_id?: string;
55 id?: string;
56 inputs?: {
57 [key: string]: Input;
58 };
59 is_pristine?: boolean;
60}
61export interface Input {
62 hidden?: boolean;
63 locked?: boolean;
64}
65//# sourceMappingURL=AdminWorkflowsSearchResponse.d.ts.map
\No newline at end of file