@embedworkflow/sdk 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/push-tag.yaml +34 -0
- package/.openapi-generator/FILES +87 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +2 -2
- package/api/accounts-api.ts +540 -0
- package/api/action-types-api.ts +697 -0
- package/api/actions-api.ts +786 -0
- package/api/app-connections-api.ts +556 -0
- package/api/available-apps-api.ts +239 -0
- package/api/data-fields-api.ts +404 -0
- package/api/events-api.ts +172 -0
- package/api/executions-api.ts +361 -0
- package/api/installed-apps-api.ts +410 -0
- package/api/payments-api.ts +172 -0
- package/api/triggers-api.ts +437 -0
- package/api/users-api.ts +531 -0
- package/api/workflows-api.ts +1302 -0
- package/api.ts +30 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api/accounts-api.d.ts +124 -3
- package/dist/api/accounts-api.js +182 -1
- package/dist/api/action-types-api.d.ts +16 -11
- package/dist/api/action-types-api.js +14 -7
- package/dist/api/actions-api.d.ts +6 -6
- package/dist/api/app-connections-api.d.ts +5 -5
- package/dist/api/available-apps-api.d.ts +2 -2
- package/dist/api/data-fields-api.d.ts +46 -2
- package/dist/api/data-fields-api.js +68 -0
- package/dist/api/events-api.d.ts +1 -1
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/installed-apps-api.d.ts +4 -4
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/triggers-api.d.ts +14 -14
- package/dist/api/triggers-api.js +12 -12
- package/dist/api/users-api.d.ts +14 -9
- package/dist/api/users-api.js +14 -7
- package/dist/api/workflows-api.d.ts +96 -15
- package/dist/api/workflows-api.js +125 -8
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/accounts-api.d.ts +124 -3
- package/dist/esm/api/accounts-api.js +181 -0
- package/dist/esm/api/action-types-api.d.ts +16 -11
- package/dist/esm/api/action-types-api.js +14 -7
- package/dist/esm/api/actions-api.d.ts +6 -6
- package/dist/esm/api/app-connections-api.d.ts +5 -5
- package/dist/esm/api/available-apps-api.d.ts +2 -2
- package/dist/esm/api/data-fields-api.d.ts +46 -2
- package/dist/esm/api/data-fields-api.js +69 -1
- package/dist/esm/api/events-api.d.ts +1 -1
- package/dist/esm/api/executions-api.d.ts +3 -3
- package/dist/esm/api/installed-apps-api.d.ts +4 -4
- package/dist/esm/api/payments-api.d.ts +1 -1
- package/dist/esm/api/triggers-api.d.ts +14 -14
- package/dist/esm/api/triggers-api.js +12 -12
- package/dist/esm/api/users-api.d.ts +14 -9
- package/dist/esm/api/users-api.js +14 -7
- package/dist/esm/api/workflows-api.d.ts +96 -15
- package/dist/esm/api/workflows-api.js +124 -7
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/catch-hook-request.d.ts +25 -0
- package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/esm/models/create-action-type-request.d.ts +12 -0
- package/dist/esm/models/create-workflow201-response.d.ts +58 -11
- package/dist/esm/models/create-workflow201-response.js +4 -0
- package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
- package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/esm/models/export-configuration200-response.d.ts +25 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.js +9 -0
- package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/esm/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/esm/models/retrieve-account-usage200-response.js +14 -0
- package/dist/esm/models/retrieve-account200-response.d.ts +19 -1
- package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.d.ts → update-account-request-action-type-categories-inner-icon.d.ts} +10 -10
- package/dist/esm/models/update-account-request-action-type-categories-inner-icon.js +14 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.js +14 -0
- package/dist/esm/models/update-account-request.d.ts +13 -0
- package/dist/esm/models/update-action-type-request.d.ts +12 -0
- package/dist/esm/models/update-trigger-request.d.ts +30 -0
- package/dist/esm/models/update-trigger-request.js +14 -0
- package/dist/esm/models/update-workflow-request.d.ts +7 -1
- package/dist/esm/models/upsert-user-request.d.ts +6 -0
- package/dist/models/catch-hook-request.d.ts +25 -0
- package/dist/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/models/create-action-type-request.d.ts +12 -0
- package/dist/models/create-workflow201-response.d.ts +58 -11
- package/dist/models/create-workflow201-response.js +5 -1
- package/dist/models/evaluate-expression-request.d.ts +32 -0
- package/dist/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/models/export-configuration200-response.d.ts +25 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/models/list-action-types200-response-collection-inner.js +10 -1
- package/dist/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/models/retrieve-account-usage200-response.js +15 -0
- package/dist/models/retrieve-account200-response.d.ts +19 -1
- package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/update-account-request-action-type-categories-inner-icon.d.ts} +12 -12
- package/dist/models/update-account-request-action-type-categories-inner-icon.js +15 -0
- package/dist/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/models/update-account-request-action-type-categories-inner.js +15 -0
- package/dist/models/update-account-request.d.ts +13 -0
- package/dist/models/update-action-type-request.d.ts +12 -0
- package/dist/models/update-trigger-request.d.ts +30 -0
- package/dist/models/update-trigger-request.js +15 -0
- package/dist/models/update-workflow-request.d.ts +7 -1
- package/dist/models/upsert-user-request.d.ts +6 -0
- package/git_push.sh +57 -0
- package/index.ts +111 -0
- package/models/catch-hook-request.ts +32 -0
- package/models/create-action-type-request-form-draft-inner.ts +88 -0
- package/{dist/models/api-v1-action-types-post-request-icon-draft.d.ts → models/create-action-type-request-icon-draft.ts} +12 -6
- package/{dist/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.ts} +49 -25
- package/{dist/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.ts} +13 -7
- package/{dist/esm/models/api-v1-app-connections-post-request.d.ts → models/create-app-connection-request.ts} +14 -8
- package/models/create-user-token-request.ts +38 -0
- package/models/create-user-token200-response.ts +30 -0
- package/models/create-workflow-request-template-draft-nodes-inner.ts +138 -0
- package/models/create-workflow-request-template-draft.ts +39 -0
- package/models/create-workflow-request.ts +75 -0
- package/{dist/esm/models/retrieve-workflow200-response.d.ts → models/create-workflow201-response.ts} +111 -60
- package/models/delete-action-type200-response.ts +30 -0
- package/{dist/esm/models/api-v1-action-types-post-request-form-draft-inner.js → models/delete-workflow200-response-one-of.ts} +18 -13
- package/models/delete-workflow200-response-one-of1.ts +30 -0
- package/models/delete-workflow200-response.ts +30 -0
- package/models/discard-workflow-draft-request.ts +36 -0
- package/models/evaluate-expression-request.ts +36 -0
- package/models/evaluate-expression200-response.ts +30 -0
- package/models/execute-workflow-request.ts +50 -0
- package/models/execute-workflow201-response.ts +126 -0
- package/models/export-configuration200-response-configuration.ts +23 -0
- package/models/export-configuration200-response.ts +33 -0
- package/models/import-configuration-request-schema.ts +24 -0
- package/models/import-configuration-request.ts +50 -0
- package/models/import-configuration201-response.ts +60 -0
- package/models/index.ts +70 -0
- package/models/install-app-request.ts +36 -0
- package/{dist/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.ts} +28 -24
- package/models/list-action-types200-response-collection-inner.ts +325 -0
- package/models/list-action-types200-response-meta.ts +42 -0
- package/models/list-action-types200-response.ts +42 -0
- package/models/list-actions200-response-collection-inner.ts +150 -0
- package/models/list-actions200-response.ts +42 -0
- package/models/list-app-connections200-response-collection-inner.ts +72 -0
- package/models/list-app-connections200-response.ts +42 -0
- package/models/list-available-apps200-response-collection-inner.ts +72 -0
- package/models/list-available-apps200-response.ts +42 -0
- package/{dist/esm/models/clone-workflow201-response.js → models/list-data-fields-type-parameter.ts} +11 -5
- package/models/list-data-fields200-response-collection-inner.ts +108 -0
- package/models/list-data-fields200-response.ts +42 -0
- package/models/list-events200-response-collection-inner.ts +84 -0
- package/models/list-events200-response.ts +42 -0
- package/{dist/esm/models/retrieve-installed-app200-response.d.ts → models/list-installed-apps200-response-collection-inner.ts} +26 -28
- package/models/list-installed-apps200-response.ts +42 -0
- package/models/list-triggers200-response-collection-inner.ts +126 -0
- package/models/list-triggers200-response.ts +42 -0
- package/models/list-users200-response-collection-inner.ts +90 -0
- package/models/list-users200-response.ts +42 -0
- package/models/list-workflow-executions200-response.ts +42 -0
- package/models/list-workflow-versions200-response-collection-inner.ts +66 -0
- package/models/list-workflow-versions200-response.ts +42 -0
- package/{dist/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -79
- package/models/list-workflows200-response.ts +42 -0
- package/models/publish-workflow-request.ts +30 -0
- package/models/retrieve-account-usage200-response.ts +66 -0
- package/models/retrieve-account200-response.ts +114 -0
- package/models/retrieve-available-app200-response.ts +78 -0
- package/models/retrieve-execution200-response.ts +138 -0
- package/models/retry-action-request.ts +38 -0
- package/models/stop-executions-request.ts +38 -0
- package/models/trigger-workflow-request.ts +54 -0
- package/models/update-account-request-action-type-categories-inner-icon.ts +42 -0
- package/models/update-account-request-action-type-categories-inner.ts +51 -0
- package/models/update-account-request-user-data-schema-inner.ts +54 -0
- package/models/update-account-request.ts +96 -0
- package/models/update-action-type-request.ts +48 -0
- package/models/update-installed-app-request.ts +30 -0
- package/models/update-trigger-request.ts +36 -0
- package/models/update-workflow-request.ts +93 -0
- package/models/upsert-user-request.ts +54 -0
- package/package.json +4 -6
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
- package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/esm/models/api-v1-action-types-post-request.d.ts +0 -105
- package/dist/esm/models/clone-workflow201-response.d.ts +0 -183
- package/dist/esm/models/retrieve-workflow200-response.js +0 -17
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.js +0 -28
- package/dist/models/api-v1-app-connections-post-request.d.ts +0 -42
- package/dist/models/clone-workflow201-response.d.ts +0 -183
- package/dist/models/clone-workflow201-response.js +0 -20
- package/dist/models/retrieve-workflow200-response.js +0 -20
- /package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/esm/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/esm/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/esm/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/esm/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CreateWorkflowRequestTemplateDraftNodesInner
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateWorkflowRequestTemplateDraftNodesInner {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for the node
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
27
|
+
*/
|
|
28
|
+
'id': string;
|
|
29
|
+
/**
|
|
30
|
+
* Type of the node
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
33
|
+
*/
|
|
34
|
+
'type': CreateWorkflowRequestTemplateDraftNodesInnerTypeEnum;
|
|
35
|
+
/**
|
|
36
|
+
* Identifier for the action type
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
39
|
+
*/
|
|
40
|
+
'action_type_id'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Display name of the node
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
45
|
+
*/
|
|
46
|
+
'name'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Whether condition result is required
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
51
|
+
*/
|
|
52
|
+
'required_condition_result'?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* App connection identifier
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
57
|
+
*/
|
|
58
|
+
'app_connection_id'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Additional action data (for Custom nodes)
|
|
61
|
+
* @type {{ [key: string]: any; }}
|
|
62
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
63
|
+
*/
|
|
64
|
+
'action_data'?: { [key: string]: any; };
|
|
65
|
+
/**
|
|
66
|
+
* Data response schema prefix (for Custom nodes)
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
69
|
+
*/
|
|
70
|
+
'prefix'?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Delay amount (for Delay/Trigger nodes)
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
75
|
+
*/
|
|
76
|
+
'delay_n'?: number;
|
|
77
|
+
/**
|
|
78
|
+
* Delay unit (for Delay/Trigger nodes)
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
81
|
+
*/
|
|
82
|
+
'delay_unit'?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Minute of day (for Delay/WaitUntil nodes)
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
87
|
+
*/
|
|
88
|
+
'minute_of_day'?: number;
|
|
89
|
+
/**
|
|
90
|
+
* End minute of day (for WaitUntil nodes)
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
93
|
+
*/
|
|
94
|
+
'minute_of_day_end'?: number;
|
|
95
|
+
/**
|
|
96
|
+
* Days of week (for WaitUntil nodes)
|
|
97
|
+
* @type {Array<number>}
|
|
98
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
99
|
+
*/
|
|
100
|
+
'days_of_week'?: Array<number>;
|
|
101
|
+
/**
|
|
102
|
+
* Event trigger identifier (for Trigger nodes)
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
105
|
+
*/
|
|
106
|
+
'event_trigger'?: string;
|
|
107
|
+
/**
|
|
108
|
+
* Array of conditions (for Trigger/Condition nodes)
|
|
109
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
110
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
111
|
+
*/
|
|
112
|
+
'conditions'?: Array<{ [key: string]: any; }>;
|
|
113
|
+
/**
|
|
114
|
+
* How to match conditions (for Trigger/Condition nodes)
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof CreateWorkflowRequestTemplateDraftNodesInner
|
|
117
|
+
*/
|
|
118
|
+
'match_conditions'?: CreateWorkflowRequestTemplateDraftNodesInnerMatchConditionsEnum;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export const CreateWorkflowRequestTemplateDraftNodesInnerTypeEnum = {
|
|
122
|
+
CustomCode: 'CustomCode',
|
|
123
|
+
CustomApiRequest: 'CustomApiRequest',
|
|
124
|
+
Delay: 'Delay',
|
|
125
|
+
WaitUntil: 'WaitUntil',
|
|
126
|
+
Trigger: 'Trigger',
|
|
127
|
+
Condition: 'Condition'
|
|
128
|
+
} as const;
|
|
129
|
+
|
|
130
|
+
export type CreateWorkflowRequestTemplateDraftNodesInnerTypeEnum = typeof CreateWorkflowRequestTemplateDraftNodesInnerTypeEnum[keyof typeof CreateWorkflowRequestTemplateDraftNodesInnerTypeEnum];
|
|
131
|
+
export const CreateWorkflowRequestTemplateDraftNodesInnerMatchConditionsEnum = {
|
|
132
|
+
All: 'all',
|
|
133
|
+
Any: 'any'
|
|
134
|
+
} as const;
|
|
135
|
+
|
|
136
|
+
export type CreateWorkflowRequestTemplateDraftNodesInnerMatchConditionsEnum = typeof CreateWorkflowRequestTemplateDraftNodesInnerMatchConditionsEnum[keyof typeof CreateWorkflowRequestTemplateDraftNodesInnerMatchConditionsEnum];
|
|
137
|
+
|
|
138
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { CreateWorkflowRequestTemplateDraftNodesInner } from './create-workflow-request-template-draft-nodes-inner';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The draft template of the workflow
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CreateWorkflowRequestTemplateDraft
|
|
24
|
+
*/
|
|
25
|
+
export interface CreateWorkflowRequestTemplateDraft {
|
|
26
|
+
/**
|
|
27
|
+
* Array of workflow nodes
|
|
28
|
+
* @type {Array<CreateWorkflowRequestTemplateDraftNodesInner>}
|
|
29
|
+
* @memberof CreateWorkflowRequestTemplateDraft
|
|
30
|
+
*/
|
|
31
|
+
'nodes': Array<CreateWorkflowRequestTemplateDraftNodesInner>;
|
|
32
|
+
/**
|
|
33
|
+
* Array of connections between nodes in format \'sourceId-targetId\'
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof CreateWorkflowRequestTemplateDraft
|
|
36
|
+
*/
|
|
37
|
+
'edges': Array<string>;
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { CreateWorkflowRequestTemplateDraft } from './create-workflow-request-template-draft';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CreateWorkflowRequest
|
|
24
|
+
*/
|
|
25
|
+
export interface CreateWorkflowRequest {
|
|
26
|
+
/**
|
|
27
|
+
* Name of resource
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreateWorkflowRequest
|
|
30
|
+
*/
|
|
31
|
+
'name': string;
|
|
32
|
+
/**
|
|
33
|
+
* User\'s key
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreateWorkflowRequest
|
|
36
|
+
*/
|
|
37
|
+
'user_key'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Description of the resource
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CreateWorkflowRequest
|
|
42
|
+
*/
|
|
43
|
+
'details'?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {CreateWorkflowRequestTemplateDraft}
|
|
47
|
+
* @memberof CreateWorkflowRequest
|
|
48
|
+
*/
|
|
49
|
+
'template_draft'?: CreateWorkflowRequestTemplateDraft;
|
|
50
|
+
/**
|
|
51
|
+
* The trigger\'s conditions
|
|
52
|
+
* @type {object}
|
|
53
|
+
* @memberof CreateWorkflowRequest
|
|
54
|
+
*/
|
|
55
|
+
'trigger_conditions_draft'?: object;
|
|
56
|
+
/**
|
|
57
|
+
* The trigger\'s key
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreateWorkflowRequest
|
|
60
|
+
*/
|
|
61
|
+
'event_trigger_draft'?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Whether all or any of the trigger conditions must match
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CreateWorkflowRequest
|
|
66
|
+
*/
|
|
67
|
+
'match_conditions_draft'?: string;
|
|
68
|
+
/**
|
|
69
|
+
* User permission groups. Only available to users with admin role.
|
|
70
|
+
* @type {Array<string>}
|
|
71
|
+
* @memberof CreateWorkflowRequest
|
|
72
|
+
*/
|
|
73
|
+
'groups'?: Array<string>;
|
|
74
|
+
}
|
|
75
|
+
|
package/{dist/esm/models/retrieve-workflow200-response.d.ts → models/create-workflow201-response.ts}
RENAMED
|
@@ -1,215 +1,266 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
/**
|
|
2
4
|
* API V1
|
|
3
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
6
|
*
|
|
5
7
|
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
8
|
+
*
|
|
7
9
|
*
|
|
8
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
11
|
* https://openapi-generator.tech
|
|
10
12
|
* Do not edit the class manually.
|
|
11
13
|
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
12
17
|
/**
|
|
13
|
-
*
|
|
18
|
+
*
|
|
14
19
|
* @export
|
|
15
|
-
* @interface
|
|
20
|
+
* @interface CreateWorkflow201Response
|
|
16
21
|
*/
|
|
17
|
-
export interface
|
|
22
|
+
export interface CreateWorkflow201Response {
|
|
18
23
|
/**
|
|
19
|
-
*
|
|
24
|
+
* Unique identifier
|
|
20
25
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
26
|
+
* @memberof CreateWorkflow201Response
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* ID of the account template this workflow was cloned from
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateWorkflow201Response
|
|
33
|
+
*/
|
|
34
|
+
'account_template_id'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Action type IDs used in this workflow\'s template
|
|
37
|
+
* @type {Array<string>}
|
|
38
|
+
* @memberof CreateWorkflow201Response
|
|
22
39
|
*/
|
|
23
|
-
'
|
|
40
|
+
'action_type_ids'?: Array<string>;
|
|
24
41
|
/**
|
|
25
42
|
* Number of actions in the workflow
|
|
26
43
|
* @type {number}
|
|
27
|
-
* @memberof
|
|
44
|
+
* @memberof CreateWorkflow201Response
|
|
28
45
|
*/
|
|
29
46
|
'actions_count'?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Auto-clone this template for new users (Admin only)
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof CreateWorkflow201Response
|
|
51
|
+
*/
|
|
52
|
+
'auto_clone_for_new_users'?: boolean;
|
|
30
53
|
/**
|
|
31
54
|
* Created at in specified timezone
|
|
32
55
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
56
|
+
* @memberof CreateWorkflow201Response
|
|
34
57
|
*/
|
|
35
58
|
'created_at'?: string | null;
|
|
36
59
|
/**
|
|
37
60
|
* Created at formatted as human-readable string
|
|
38
61
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
62
|
+
* @memberof CreateWorkflow201Response
|
|
40
63
|
*/
|
|
41
64
|
'created_at_string'?: string | null;
|
|
42
65
|
/**
|
|
43
66
|
* Created at in UTC
|
|
44
67
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
68
|
+
* @memberof CreateWorkflow201Response
|
|
46
69
|
*/
|
|
47
70
|
'created_at_utc'?: string | null;
|
|
48
|
-
/**
|
|
49
|
-
* Whether this is a default template for new users (Admin only)
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof RetrieveWorkflow200Response
|
|
52
|
-
*/
|
|
53
|
-
'default_template'?: boolean;
|
|
54
71
|
/**
|
|
55
72
|
* Description of the workflow
|
|
56
73
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
74
|
+
* @memberof CreateWorkflow201Response
|
|
58
75
|
*/
|
|
59
76
|
'description'?: string | null;
|
|
60
77
|
/**
|
|
61
78
|
* Event trigger configuration
|
|
62
79
|
* @type {object}
|
|
63
|
-
* @memberof
|
|
80
|
+
* @memberof CreateWorkflow201Response
|
|
64
81
|
*/
|
|
65
82
|
'event_trigger'?: object | null;
|
|
66
83
|
/**
|
|
67
84
|
* Draft event trigger configuration
|
|
68
85
|
* @type {object}
|
|
69
|
-
* @memberof
|
|
86
|
+
* @memberof CreateWorkflow201Response
|
|
70
87
|
*/
|
|
71
88
|
'event_trigger_draft'?: object | null;
|
|
72
89
|
/**
|
|
73
90
|
* Number of times workflow has been executed
|
|
74
91
|
* @type {number}
|
|
75
|
-
* @memberof
|
|
92
|
+
* @memberof CreateWorkflow201Response
|
|
76
93
|
*/
|
|
77
94
|
'executions_count'?: number;
|
|
78
95
|
/**
|
|
79
96
|
* Permission groups (Admin only)
|
|
80
97
|
* @type {Array<string>}
|
|
81
|
-
* @memberof
|
|
98
|
+
* @memberof CreateWorkflow201Response
|
|
82
99
|
*/
|
|
83
100
|
'groups'?: Array<string>;
|
|
84
101
|
/**
|
|
85
102
|
* Whether the workflow has unsaved draft changes
|
|
86
103
|
* @type {boolean}
|
|
87
|
-
* @memberof
|
|
104
|
+
* @memberof CreateWorkflow201Response
|
|
88
105
|
*/
|
|
89
106
|
'has_draft'?: boolean;
|
|
90
107
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {
|
|
93
|
-
* @memberof
|
|
108
|
+
* Whether this workflow is managed by the account and read-only
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof CreateWorkflow201Response
|
|
94
111
|
*/
|
|
95
|
-
'
|
|
112
|
+
'is_managed'?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Mark as template visible in library (Admin only)
|
|
115
|
+
* @type {boolean}
|
|
116
|
+
* @memberof CreateWorkflow201Response
|
|
117
|
+
*/
|
|
118
|
+
'is_template'?: boolean;
|
|
96
119
|
/**
|
|
97
120
|
* Unique key for the workflow
|
|
98
121
|
* @type {string}
|
|
99
|
-
* @memberof
|
|
122
|
+
* @memberof CreateWorkflow201Response
|
|
100
123
|
*/
|
|
101
124
|
'key'?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Last executed at in specified timezone
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof CreateWorkflow201Response
|
|
129
|
+
*/
|
|
130
|
+
'last_executed_at'?: string | null;
|
|
131
|
+
/**
|
|
132
|
+
* Last executed at formatted as human-readable string
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof CreateWorkflow201Response
|
|
135
|
+
*/
|
|
136
|
+
'last_executed_at_string'?: string | null;
|
|
137
|
+
/**
|
|
138
|
+
* Last executed at in UTC
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof CreateWorkflow201Response
|
|
141
|
+
*/
|
|
142
|
+
'last_executed_at_utc'?: string | null;
|
|
102
143
|
/**
|
|
103
144
|
* Last published at in specified timezone
|
|
104
145
|
* @type {string}
|
|
105
|
-
* @memberof
|
|
146
|
+
* @memberof CreateWorkflow201Response
|
|
106
147
|
*/
|
|
107
148
|
'last_published_at'?: string | null;
|
|
108
149
|
/**
|
|
109
150
|
* Last published at formatted as human-readable string
|
|
110
151
|
* @type {string}
|
|
111
|
-
* @memberof
|
|
152
|
+
* @memberof CreateWorkflow201Response
|
|
112
153
|
*/
|
|
113
154
|
'last_published_at_string'?: string | null;
|
|
114
155
|
/**
|
|
115
156
|
* Last published at in UTC
|
|
116
157
|
* @type {string}
|
|
117
|
-
* @memberof
|
|
158
|
+
* @memberof CreateWorkflow201Response
|
|
118
159
|
*/
|
|
119
160
|
'last_published_at_utc'?: string | null;
|
|
161
|
+
/**
|
|
162
|
+
* Who manages this workflow (Admin only)
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof CreateWorkflow201Response
|
|
165
|
+
*/
|
|
166
|
+
'managed_by'?: CreateWorkflow201ResponseManagedByEnum | null;
|
|
120
167
|
/**
|
|
121
168
|
* Conditions for matching workflow execution
|
|
122
169
|
* @type {object}
|
|
123
|
-
* @memberof
|
|
170
|
+
* @memberof CreateWorkflow201Response
|
|
124
171
|
*/
|
|
125
172
|
'match_conditions'?: object | null;
|
|
126
173
|
/**
|
|
127
174
|
* Draft conditions for matching workflow execution
|
|
128
175
|
* @type {object}
|
|
129
|
-
* @memberof
|
|
176
|
+
* @memberof CreateWorkflow201Response
|
|
130
177
|
*/
|
|
131
178
|
'match_conditions_draft'?: object | null;
|
|
132
179
|
/**
|
|
133
180
|
* Name of the workflow
|
|
134
181
|
* @type {string}
|
|
135
|
-
* @memberof
|
|
182
|
+
* @memberof CreateWorkflow201Response
|
|
136
183
|
*/
|
|
137
184
|
'name'?: string;
|
|
138
185
|
/**
|
|
139
186
|
* Object type identifier
|
|
140
187
|
* @type {string}
|
|
141
|
-
* @memberof
|
|
188
|
+
* @memberof CreateWorkflow201Response
|
|
142
189
|
*/
|
|
143
190
|
'object'?: string;
|
|
144
191
|
/**
|
|
145
192
|
* Whether the workflow is enabled
|
|
146
193
|
* @type {boolean}
|
|
147
|
-
* @memberof
|
|
194
|
+
* @memberof CreateWorkflow201Response
|
|
148
195
|
*/
|
|
149
196
|
'on'?: boolean;
|
|
150
197
|
/**
|
|
151
198
|
* Workflow execution statistics
|
|
152
199
|
* @type {{ [key: string]: any; }}
|
|
153
|
-
* @memberof
|
|
200
|
+
* @memberof CreateWorkflow201Response
|
|
154
201
|
*/
|
|
155
|
-
'stats'?: {
|
|
156
|
-
[key: string]: any;
|
|
157
|
-
};
|
|
202
|
+
'stats'?: { [key: string]: any; };
|
|
158
203
|
/**
|
|
159
204
|
* Current status of the workflow
|
|
160
205
|
* @type {string}
|
|
161
|
-
* @memberof
|
|
206
|
+
* @memberof CreateWorkflow201Response
|
|
162
207
|
*/
|
|
163
|
-
'status'?:
|
|
208
|
+
'status'?: CreateWorkflow201ResponseStatusEnum;
|
|
164
209
|
/**
|
|
165
210
|
* Published workflow template layout
|
|
166
211
|
* @type {object}
|
|
167
|
-
* @memberof
|
|
212
|
+
* @memberof CreateWorkflow201Response
|
|
168
213
|
*/
|
|
169
214
|
'template'?: object;
|
|
170
215
|
/**
|
|
171
216
|
* Draft workflow template layout
|
|
172
217
|
* @type {object}
|
|
173
|
-
* @memberof
|
|
218
|
+
* @memberof CreateWorkflow201Response
|
|
174
219
|
*/
|
|
175
220
|
'template_draft'?: object;
|
|
176
221
|
/**
|
|
177
222
|
* Conditions for triggering the workflow
|
|
178
223
|
* @type {{ [key: string]: any; }}
|
|
179
|
-
* @memberof
|
|
224
|
+
* @memberof CreateWorkflow201Response
|
|
180
225
|
*/
|
|
181
|
-
'trigger_conditions'?: {
|
|
182
|
-
[key: string]: any;
|
|
183
|
-
};
|
|
226
|
+
'trigger_conditions'?: { [key: string]: any; };
|
|
184
227
|
/**
|
|
185
228
|
* Draft conditions for triggering the workflow
|
|
186
229
|
* @type {{ [key: string]: any; }}
|
|
187
|
-
* @memberof
|
|
230
|
+
* @memberof CreateWorkflow201Response
|
|
188
231
|
*/
|
|
189
|
-
'trigger_conditions_draft'?: {
|
|
190
|
-
[key: string]: any;
|
|
191
|
-
};
|
|
232
|
+
'trigger_conditions_draft'?: { [key: string]: any; };
|
|
192
233
|
/**
|
|
193
234
|
* Updated at in specified timezone
|
|
194
235
|
* @type {string}
|
|
195
|
-
* @memberof
|
|
236
|
+
* @memberof CreateWorkflow201Response
|
|
196
237
|
*/
|
|
197
238
|
'updated_at'?: string | null;
|
|
198
239
|
/**
|
|
199
240
|
* Updated at formatted as human-readable string
|
|
200
241
|
* @type {string}
|
|
201
|
-
* @memberof
|
|
242
|
+
* @memberof CreateWorkflow201Response
|
|
202
243
|
*/
|
|
203
244
|
'updated_at_string'?: string | null;
|
|
204
245
|
/**
|
|
205
246
|
* Updated at in UTC
|
|
206
247
|
* @type {string}
|
|
207
|
-
* @memberof
|
|
248
|
+
* @memberof CreateWorkflow201Response
|
|
208
249
|
*/
|
|
209
250
|
'updated_at_utc'?: string | null;
|
|
210
251
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
252
|
+
|
|
253
|
+
export const CreateWorkflow201ResponseManagedByEnum = {
|
|
254
|
+
Tenant: 'tenant',
|
|
255
|
+
Account: 'account'
|
|
256
|
+
} as const;
|
|
257
|
+
|
|
258
|
+
export type CreateWorkflow201ResponseManagedByEnum = typeof CreateWorkflow201ResponseManagedByEnum[keyof typeof CreateWorkflow201ResponseManagedByEnum];
|
|
259
|
+
export const CreateWorkflow201ResponseStatusEnum = {
|
|
260
|
+
On: 'on',
|
|
261
|
+
Off: 'off'
|
|
262
|
+
} as const;
|
|
263
|
+
|
|
264
|
+
export type CreateWorkflow201ResponseStatusEnum = typeof CreateWorkflow201ResponseStatusEnum[keyof typeof CreateWorkflow201ResponseStatusEnum];
|
|
265
|
+
|
|
266
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DeleteActionType200Response
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteActionType200Response {
|
|
23
|
+
/**
|
|
24
|
+
* ID of deleted resource
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DeleteActionType200Response
|
|
27
|
+
*/
|
|
28
|
+
'id': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -5,21 +5,26 @@
|
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Response when id_type is \'id\'
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DeleteWorkflow200ResponseOneOf
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteWorkflow200ResponseOneOf {
|
|
23
|
+
/**
|
|
24
|
+
* System-generated unique identifier
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DeleteWorkflow200ResponseOneOf
|
|
27
|
+
*/
|
|
28
|
+
'id': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Response when id_type is \'key\'
|
|
19
|
+
* @export
|
|
20
|
+
* @interface DeleteWorkflow200ResponseOneOf1
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteWorkflow200ResponseOneOf1 {
|
|
23
|
+
/**
|
|
24
|
+
* Client-provided unique identifier
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DeleteWorkflow200ResponseOneOf1
|
|
27
|
+
*/
|
|
28
|
+
'key': string;
|
|
29
|
+
}
|
|
30
|
+
|