@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
|
@@ -1,215 +1,212 @@
|
|
|
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 ListWorkflows200ResponseCollectionInner
|
|
16
21
|
*/
|
|
17
|
-
export interface
|
|
22
|
+
export interface ListWorkflows200ResponseCollectionInner {
|
|
18
23
|
/**
|
|
19
|
-
*
|
|
24
|
+
* Unique identifier
|
|
20
25
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
26
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
22
27
|
*/
|
|
23
|
-
'
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Action type IDs used in this workflow\'s template
|
|
31
|
+
* @type {Array<string>}
|
|
32
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
33
|
+
*/
|
|
34
|
+
'action_type_ids'?: Array<string>;
|
|
24
35
|
/**
|
|
25
36
|
* Number of actions in the workflow
|
|
26
37
|
* @type {number}
|
|
27
|
-
* @memberof
|
|
38
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
28
39
|
*/
|
|
29
40
|
'actions_count'?: number;
|
|
30
41
|
/**
|
|
31
42
|
* Created at in specified timezone
|
|
32
43
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
44
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
34
45
|
*/
|
|
35
46
|
'created_at'?: string | null;
|
|
36
47
|
/**
|
|
37
48
|
* Created at formatted as human-readable string
|
|
38
49
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
50
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
40
51
|
*/
|
|
41
52
|
'created_at_string'?: string | null;
|
|
42
53
|
/**
|
|
43
54
|
* Created at in UTC
|
|
44
55
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
56
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
46
57
|
*/
|
|
47
58
|
'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
59
|
/**
|
|
55
60
|
* Description of the workflow
|
|
56
61
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
62
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
58
63
|
*/
|
|
59
64
|
'description'?: string | null;
|
|
60
65
|
/**
|
|
61
66
|
* Event trigger configuration
|
|
62
67
|
* @type {object}
|
|
63
|
-
* @memberof
|
|
68
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
64
69
|
*/
|
|
65
70
|
'event_trigger'?: object | null;
|
|
66
71
|
/**
|
|
67
72
|
* Draft event trigger configuration
|
|
68
73
|
* @type {object}
|
|
69
|
-
* @memberof
|
|
74
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
70
75
|
*/
|
|
71
76
|
'event_trigger_draft'?: object | null;
|
|
72
77
|
/**
|
|
73
78
|
* Number of times workflow has been executed
|
|
74
79
|
* @type {number}
|
|
75
|
-
* @memberof
|
|
80
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
76
81
|
*/
|
|
77
82
|
'executions_count'?: number;
|
|
78
|
-
/**
|
|
79
|
-
* Permission groups (Admin only)
|
|
80
|
-
* @type {Array<string>}
|
|
81
|
-
* @memberof RetrieveWorkflow200Response
|
|
82
|
-
*/
|
|
83
|
-
'groups'?: Array<string>;
|
|
84
83
|
/**
|
|
85
84
|
* Whether the workflow has unsaved draft changes
|
|
86
85
|
* @type {boolean}
|
|
87
|
-
* @memberof
|
|
86
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
88
87
|
*/
|
|
89
88
|
'has_draft'?: boolean;
|
|
90
89
|
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {
|
|
93
|
-
* @memberof
|
|
90
|
+
* Whether this workflow is managed by the account and read-only
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
94
93
|
*/
|
|
95
|
-
'
|
|
94
|
+
'is_managed'?: boolean;
|
|
96
95
|
/**
|
|
97
96
|
* Unique key for the workflow
|
|
98
97
|
* @type {string}
|
|
99
|
-
* @memberof
|
|
98
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
100
99
|
*/
|
|
101
100
|
'key'?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Last executed at in specified timezone
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
105
|
+
*/
|
|
106
|
+
'last_executed_at'?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* Last executed at formatted as human-readable string
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
111
|
+
*/
|
|
112
|
+
'last_executed_at_string'?: string | null;
|
|
113
|
+
/**
|
|
114
|
+
* Last executed at in UTC
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
117
|
+
*/
|
|
118
|
+
'last_executed_at_utc'?: string | null;
|
|
102
119
|
/**
|
|
103
120
|
* Last published at in specified timezone
|
|
104
121
|
* @type {string}
|
|
105
|
-
* @memberof
|
|
122
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
106
123
|
*/
|
|
107
124
|
'last_published_at'?: string | null;
|
|
108
125
|
/**
|
|
109
126
|
* Last published at formatted as human-readable string
|
|
110
127
|
* @type {string}
|
|
111
|
-
* @memberof
|
|
128
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
112
129
|
*/
|
|
113
130
|
'last_published_at_string'?: string | null;
|
|
114
131
|
/**
|
|
115
132
|
* Last published at in UTC
|
|
116
133
|
* @type {string}
|
|
117
|
-
* @memberof
|
|
134
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
118
135
|
*/
|
|
119
136
|
'last_published_at_utc'?: string | null;
|
|
120
137
|
/**
|
|
121
138
|
* Conditions for matching workflow execution
|
|
122
139
|
* @type {object}
|
|
123
|
-
* @memberof
|
|
140
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
124
141
|
*/
|
|
125
142
|
'match_conditions'?: object | null;
|
|
126
143
|
/**
|
|
127
144
|
* Draft conditions for matching workflow execution
|
|
128
145
|
* @type {object}
|
|
129
|
-
* @memberof
|
|
146
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
130
147
|
*/
|
|
131
148
|
'match_conditions_draft'?: object | null;
|
|
132
149
|
/**
|
|
133
150
|
* Name of the workflow
|
|
134
151
|
* @type {string}
|
|
135
|
-
* @memberof
|
|
152
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
136
153
|
*/
|
|
137
154
|
'name'?: string;
|
|
138
155
|
/**
|
|
139
156
|
* Object type identifier
|
|
140
157
|
* @type {string}
|
|
141
|
-
* @memberof
|
|
158
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
142
159
|
*/
|
|
143
160
|
'object'?: string;
|
|
144
161
|
/**
|
|
145
162
|
* Whether the workflow is enabled
|
|
146
163
|
* @type {boolean}
|
|
147
|
-
* @memberof
|
|
164
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
148
165
|
*/
|
|
149
166
|
'on'?: boolean;
|
|
150
|
-
/**
|
|
151
|
-
* Workflow execution statistics
|
|
152
|
-
* @type {{ [key: string]: any; }}
|
|
153
|
-
* @memberof RetrieveWorkflow200Response
|
|
154
|
-
*/
|
|
155
|
-
'stats'?: {
|
|
156
|
-
[key: string]: any;
|
|
157
|
-
};
|
|
158
167
|
/**
|
|
159
168
|
* Current status of the workflow
|
|
160
169
|
* @type {string}
|
|
161
|
-
* @memberof
|
|
162
|
-
*/
|
|
163
|
-
'status'?: RetrieveWorkflow200ResponseStatusEnum;
|
|
164
|
-
/**
|
|
165
|
-
* Published workflow template layout
|
|
166
|
-
* @type {object}
|
|
167
|
-
* @memberof RetrieveWorkflow200Response
|
|
168
|
-
*/
|
|
169
|
-
'template'?: object;
|
|
170
|
-
/**
|
|
171
|
-
* Draft workflow template layout
|
|
172
|
-
* @type {object}
|
|
173
|
-
* @memberof RetrieveWorkflow200Response
|
|
170
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
174
171
|
*/
|
|
175
|
-
'
|
|
172
|
+
'status'?: ListWorkflows200ResponseCollectionInnerStatusEnum;
|
|
176
173
|
/**
|
|
177
174
|
* Conditions for triggering the workflow
|
|
178
175
|
* @type {{ [key: string]: any; }}
|
|
179
|
-
* @memberof
|
|
176
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
180
177
|
*/
|
|
181
|
-
'trigger_conditions'?: {
|
|
182
|
-
[key: string]: any;
|
|
183
|
-
};
|
|
178
|
+
'trigger_conditions'?: { [key: string]: any; };
|
|
184
179
|
/**
|
|
185
180
|
* Draft conditions for triggering the workflow
|
|
186
181
|
* @type {{ [key: string]: any; }}
|
|
187
|
-
* @memberof
|
|
182
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
188
183
|
*/
|
|
189
|
-
'trigger_conditions_draft'?: {
|
|
190
|
-
[key: string]: any;
|
|
191
|
-
};
|
|
184
|
+
'trigger_conditions_draft'?: { [key: string]: any; };
|
|
192
185
|
/**
|
|
193
186
|
* Updated at in specified timezone
|
|
194
187
|
* @type {string}
|
|
195
|
-
* @memberof
|
|
188
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
196
189
|
*/
|
|
197
190
|
'updated_at'?: string | null;
|
|
198
191
|
/**
|
|
199
192
|
* Updated at formatted as human-readable string
|
|
200
193
|
* @type {string}
|
|
201
|
-
* @memberof
|
|
194
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
202
195
|
*/
|
|
203
196
|
'updated_at_string'?: string | null;
|
|
204
197
|
/**
|
|
205
198
|
* Updated at in UTC
|
|
206
199
|
* @type {string}
|
|
207
|
-
* @memberof
|
|
200
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
208
201
|
*/
|
|
209
202
|
'updated_at_utc'?: string | null;
|
|
210
203
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
204
|
+
|
|
205
|
+
export const ListWorkflows200ResponseCollectionInnerStatusEnum = {
|
|
206
|
+
On: 'on',
|
|
207
|
+
Off: 'off'
|
|
208
|
+
} as const;
|
|
209
|
+
|
|
210
|
+
export type ListWorkflows200ResponseCollectionInnerStatusEnum = typeof ListWorkflows200ResponseCollectionInnerStatusEnum[keyof typeof ListWorkflows200ResponseCollectionInnerStatusEnum];
|
|
211
|
+
|
|
212
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { ListActionTypes200ResponseMeta } from './list-action-types200-response-meta';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { ListWorkflows200ResponseCollectionInner } from './list-workflows200-response-collection-inner';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface ListWorkflows200Response
|
|
27
|
+
*/
|
|
28
|
+
export interface ListWorkflows200Response {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<ListWorkflows200ResponseCollectionInner>}
|
|
32
|
+
* @memberof ListWorkflows200Response
|
|
33
|
+
*/
|
|
34
|
+
'collection': Array<ListWorkflows200ResponseCollectionInner>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {ListActionTypes200ResponseMeta}
|
|
38
|
+
* @memberof ListWorkflows200Response
|
|
39
|
+
*/
|
|
40
|
+
'meta': ListActionTypes200ResponseMeta;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -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 PublishWorkflowRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface PublishWorkflowRequest {
|
|
23
|
+
/**
|
|
24
|
+
* User\'s key
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PublishWorkflowRequest
|
|
27
|
+
*/
|
|
28
|
+
'user_key'?: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 RetrieveAccountUsage200Response
|
|
21
|
+
*/
|
|
22
|
+
export interface RetrieveAccountUsage200Response {
|
|
23
|
+
/**
|
|
24
|
+
* Number of active workflows (on: true)
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof RetrieveAccountUsage200Response
|
|
27
|
+
*/
|
|
28
|
+
'active_workflows_count'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* End of the usage period (ISO 8601 format)
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RetrieveAccountUsage200Response
|
|
33
|
+
*/
|
|
34
|
+
'end_time'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Number of executions in the specified time period
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof RetrieveAccountUsage200Response
|
|
39
|
+
*/
|
|
40
|
+
'executions_count'?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Object type identifier
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof RetrieveAccountUsage200Response
|
|
45
|
+
*/
|
|
46
|
+
'object'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Start of the usage period (ISO 8601 format)
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof RetrieveAccountUsage200Response
|
|
51
|
+
*/
|
|
52
|
+
'start_time'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Total number of actions in the specified time period
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof RetrieveAccountUsage200Response
|
|
57
|
+
*/
|
|
58
|
+
'usage'?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Total number of users in the account
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof RetrieveAccountUsage200Response
|
|
63
|
+
*/
|
|
64
|
+
'users_count'?: number;
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
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 RetrieveAccount200Response
|
|
21
|
+
*/
|
|
22
|
+
export interface RetrieveAccount200Response {
|
|
23
|
+
/**
|
|
24
|
+
* Available action type categories for the account
|
|
25
|
+
* @type {Array<object>}
|
|
26
|
+
* @memberof RetrieveAccount200Response
|
|
27
|
+
*/
|
|
28
|
+
'action_type_categories'?: Array<object>;
|
|
29
|
+
/**
|
|
30
|
+
* Whether action type categories are enabled for display
|
|
31
|
+
* @type {boolean}
|
|
32
|
+
* @memberof RetrieveAccount200Response
|
|
33
|
+
*/
|
|
34
|
+
'action_type_categories_enabled'?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Company name associated with the account
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RetrieveAccount200Response
|
|
39
|
+
*/
|
|
40
|
+
'company_name'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* Custom domain for the account
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof RetrieveAccount200Response
|
|
45
|
+
*/
|
|
46
|
+
'custom_domain'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* Additional account data
|
|
49
|
+
* @type {{ [key: string]: any; }}
|
|
50
|
+
* @memberof RetrieveAccount200Response
|
|
51
|
+
*/
|
|
52
|
+
'data'?: { [key: string]: any; };
|
|
53
|
+
/**
|
|
54
|
+
* Permission groups for the account
|
|
55
|
+
* @type {Array<string>}
|
|
56
|
+
* @memberof RetrieveAccount200Response
|
|
57
|
+
*/
|
|
58
|
+
'groups'?: Array<string>;
|
|
59
|
+
/**
|
|
60
|
+
* System-generated unique identifier
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof RetrieveAccount200Response
|
|
63
|
+
*/
|
|
64
|
+
'id'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Account level or tier
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof RetrieveAccount200Response
|
|
69
|
+
*/
|
|
70
|
+
'level'?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Object type identifier
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof RetrieveAccount200Response
|
|
75
|
+
*/
|
|
76
|
+
'object'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Theme setting for the account
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof RetrieveAccount200Response
|
|
81
|
+
*/
|
|
82
|
+
'theme'?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* Time zone setting for the account in IANA timezone format (e.g. \'America/New_York\', \'Europe/London\', \'Asia/Tokyo\', \'Etc/UTC\')
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof RetrieveAccount200Response
|
|
87
|
+
*/
|
|
88
|
+
'time_zone'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* User name from context
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof RetrieveAccount200Response
|
|
93
|
+
*/
|
|
94
|
+
'user_name'?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* Time zone setting for the user in IANA timezone format (e.g. \'America/New_York\', \'Europe/London\', \'Asia/Tokyo\', \'Etc/UTC\')
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof RetrieveAccount200Response
|
|
99
|
+
*/
|
|
100
|
+
'user_time_zone'?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* Account data schema
|
|
103
|
+
* @type {Array<object>}
|
|
104
|
+
* @memberof RetrieveAccount200Response
|
|
105
|
+
*/
|
|
106
|
+
'data_schema'?: Array<object>;
|
|
107
|
+
/**
|
|
108
|
+
* User data schema for the account
|
|
109
|
+
* @type {Array<object>}
|
|
110
|
+
* @memberof RetrieveAccount200Response
|
|
111
|
+
*/
|
|
112
|
+
'user_data_schema'?: Array<object>;
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
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 RetrieveAvailableApp200Response
|
|
21
|
+
*/
|
|
22
|
+
export interface RetrieveAvailableApp200Response {
|
|
23
|
+
/**
|
|
24
|
+
* Name of the app
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof RetrieveAvailableApp200Response
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the app
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof RetrieveAvailableApp200Response
|
|
33
|
+
*/
|
|
34
|
+
'app_identifier'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Description of the available app
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof RetrieveAvailableApp200Response
|
|
39
|
+
*/
|
|
40
|
+
'description'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Icon configuration for the available app
|
|
43
|
+
* @type {object}
|
|
44
|
+
* @memberof RetrieveAvailableApp200Response
|
|
45
|
+
*/
|
|
46
|
+
'icon'?: object | null;
|
|
47
|
+
/**
|
|
48
|
+
* Latest available version of the app
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof RetrieveAvailableApp200Response
|
|
51
|
+
*/
|
|
52
|
+
'latest_version'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Object type identifier
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof RetrieveAvailableApp200Response
|
|
57
|
+
*/
|
|
58
|
+
'object'?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Primary category classification for the app
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof RetrieveAvailableApp200Response
|
|
63
|
+
*/
|
|
64
|
+
'primary_category'?: string;
|
|
65
|
+
/**
|
|
66
|
+
* App schema configuration
|
|
67
|
+
* @type {{ [key: string]: any; }}
|
|
68
|
+
* @memberof RetrieveAvailableApp200Response
|
|
69
|
+
*/
|
|
70
|
+
'schema'?: { [key: string]: any; };
|
|
71
|
+
/**
|
|
72
|
+
* Secondary category classification for the app
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof RetrieveAvailableApp200Response
|
|
75
|
+
*/
|
|
76
|
+
'secondary_category'?: string | null;
|
|
77
|
+
}
|
|
78
|
+
|