@embedworkflow/sdk 1.0.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 +43 -36
- package/dist/api/action-types-api.js +27 -20
- package/dist/api/actions-api.d.ts +6 -6
- package/dist/api/app-connections-api.d.ts +28 -27
- package/dist/api/app-connections-api.js +25 -25
- 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 +14 -14
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/triggers-api.d.ts +22 -20
- package/dist/api/triggers-api.js +12 -12
- package/dist/api/users-api.d.ts +24 -18
- package/dist/api/users-api.js +14 -7
- package/dist/api/workflows-api.d.ts +114 -32
- 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 +43 -36
- package/dist/esm/api/action-types-api.js +27 -20
- package/dist/esm/api/actions-api.d.ts +6 -6
- package/dist/esm/api/app-connections-api.d.ts +28 -27
- package/dist/esm/api/app-connections-api.js +25 -25
- 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 +14 -14
- package/dist/esm/api/payments-api.d.ts +1 -1
- package/dist/esm/api/triggers-api.d.ts +22 -20
- package/dist/esm/api/triggers-api.js +12 -12
- package/dist/esm/api/users-api.d.ts +24 -18
- package/dist/esm/api/users-api.js +14 -7
- package/dist/esm/api/workflows-api.d.ts +114 -32
- 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/{api-v1-action-types-post-request-form-draft-inner.d.ts → create-action-type-request-form-draft-inner.d.ts} +18 -12
- package/dist/esm/models/{api-v1-action-types-post-request-form-draft-inner.js → create-action-type-request-form-draft-inner.js} +1 -1
- package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.d.ts → create-action-type-request-icon-draft.d.ts} +5 -5
- package/dist/{models/api-v1-action-types-post-request.d.ts → esm/models/create-action-type-request.d.ts} +34 -22
- package/dist/{models/retrieve-action-type404-response.d.ts → esm/models/create-action-type422-response.d.ts} +5 -5
- package/dist/esm/models/{api-v1-app-connections-post-request.d.ts → create-app-connection-request.d.ts} +6 -6
- package/dist/esm/models/create-workflow201-response.d.ts +262 -0
- package/dist/{models/clone-workflow201-response.js → esm/models/create-workflow201-response.js} +5 -4
- package/dist/esm/models/delete-action-type200-response.d.ts +24 -0
- package/dist/esm/models/delete-action-type200-response.js +14 -0
- package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
- package/dist/esm/models/evaluate-expression-request.js +14 -0
- package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/esm/models/evaluate-expression200-response.js +14 -0
- package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/esm/models/export-configuration200-response-configuration.js +14 -0
- package/dist/esm/models/export-configuration200-response.d.ts +25 -0
- package/dist/esm/models/export-configuration200-response.js +14 -0
- package/dist/esm/models/import-configuration201-response.d.ts +6 -0
- package/dist/esm/models/index.d.ts +19 -8
- package/dist/esm/models/index.js +19 -8
- package/dist/{models/retrieve-installed-app200-response.d.ts → esm/models/install-app201-response.d.ts} +19 -19
- package/dist/esm/models/install-app201-response.js +14 -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/{models/retrieve-workflow200-response.d.ts → esm/models/list-workflows200-response-collection-inner.d.ts} +60 -68
- package/dist/esm/models/{retrieve-workflow200-response.js → list-workflows200-response-collection-inner.js} +1 -1
- package/dist/esm/models/list-workflows200-response.d.ts +32 -0
- package/dist/esm/models/list-workflows200-response.js +14 -0
- 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/update-account-request-action-type-categories-inner-icon.d.ts +36 -0
- 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/{api-v1-action-types-post-request-form-draft-inner.d.ts → create-action-type-request-form-draft-inner.d.ts} +18 -12
- package/dist/models/{api-v1-action-types-post-request-form-draft-inner.js → create-action-type-request-form-draft-inner.js} +2 -2
- package/dist/models/{api-v1-action-types-post-request-icon-draft.d.ts → create-action-type-request-icon-draft.d.ts} +5 -5
- package/dist/{esm/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.d.ts} +34 -22
- package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.d.ts} +5 -5
- package/dist/models/{api-v1-app-connections-post-request.d.ts → create-app-connection-request.d.ts} +6 -6
- package/dist/models/create-workflow201-response.d.ts +262 -0
- package/dist/models/create-workflow201-response.js +24 -0
- package/dist/models/delete-action-type200-response.d.ts +24 -0
- package/dist/models/delete-action-type200-response.js +15 -0
- package/dist/models/evaluate-expression-request.d.ts +32 -0
- package/dist/models/evaluate-expression-request.js +15 -0
- package/dist/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/models/evaluate-expression200-response.js +15 -0
- package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/models/export-configuration200-response-configuration.js +15 -0
- package/dist/models/export-configuration200-response.d.ts +25 -0
- package/dist/models/export-configuration200-response.js +15 -0
- package/dist/models/import-configuration201-response.d.ts +6 -0
- package/dist/models/index.d.ts +19 -8
- package/dist/models/index.js +19 -8
- package/dist/{esm/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.d.ts} +19 -19
- package/dist/models/install-app201-response.js +15 -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/{esm/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.d.ts} +60 -68
- package/dist/models/{retrieve-workflow200-response.js → list-workflows200-response-collection-inner.js} +2 -2
- package/dist/models/list-workflows200-response.d.ts +32 -0
- package/dist/models/list-workflows200-response.js +15 -0
- 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/models/update-account-request-action-type-categories-inner-icon.d.ts +36 -0
- 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/models/create-action-type-request-icon-draft.ts +42 -0
- package/models/create-action-type-request.ts +129 -0
- package/models/create-action-type422-response.ts +42 -0
- package/models/create-app-connection-request.ts +48 -0
- 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/models/create-workflow201-response.ts +266 -0
- package/models/delete-action-type200-response.ts +30 -0
- package/models/delete-workflow200-response-one-of.ts +30 -0
- 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/models/install-app201-response.ts +126 -0
- 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/models/list-installed-apps200-response-collection-inner.ts +120 -0
- 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/esm/models/clone-workflow201-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -47
- 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/models/clone-workflow201-response.d.ts +0 -183
- /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 → create-action-type-request-icon-draft.js} +0 -0
- /package/dist/esm/models/{api-v1-app-connections-post-request.js → create-action-type-request.js} +0 -0
- /package/dist/esm/models/{retrieve-action-type404-response.js → create-action-type422-response.js} +0 -0
- /package/dist/esm/models/{retrieve-installed-app200-response.js → create-app-connection-request.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 → create-action-type-request-icon-draft.js} +0 -0
- /package/dist/models/{api-v1-app-connections-post-request.js → create-action-type-request.js} +0 -0
- /package/dist/models/{retrieve-action-type404-response.js → create-action-type422-response.js} +0 -0
- /package/dist/models/{retrieve-installed-app200-response.js → create-app-connection-request.js} +0 -0
|
@@ -12,55 +12,61 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface CreateActionTypeRequestFormDraftInner
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface CreateActionTypeRequestFormDraftInner {
|
|
18
18
|
/**
|
|
19
19
|
* Unique identifier for the form field
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
22
22
|
*/
|
|
23
23
|
'id': string;
|
|
24
24
|
/**
|
|
25
25
|
* Field name for form submission
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
31
|
* Whether this field is required
|
|
32
32
|
* @type {boolean}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
34
34
|
*/
|
|
35
35
|
'required'?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether this field is for advanced configuration
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
40
|
+
*/
|
|
41
|
+
'advanced'?: boolean;
|
|
36
42
|
/**
|
|
37
43
|
* Display label for the form field
|
|
38
44
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
45
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
40
46
|
*/
|
|
41
47
|
'label'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Help text or description for the field
|
|
44
50
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
51
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
46
52
|
*/
|
|
47
53
|
'description'?: string;
|
|
48
54
|
/**
|
|
49
55
|
* Form field type
|
|
50
56
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
57
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
52
58
|
*/
|
|
53
|
-
'type':
|
|
59
|
+
'type': CreateActionTypeRequestFormDraftInnerTypeEnum;
|
|
54
60
|
/**
|
|
55
61
|
* Additional field configuration (options, validation, etc.)
|
|
56
62
|
* @type {{ [key: string]: any; }}
|
|
57
|
-
* @memberof
|
|
63
|
+
* @memberof CreateActionTypeRequestFormDraftInner
|
|
58
64
|
*/
|
|
59
65
|
'data'?: {
|
|
60
66
|
[key: string]: any;
|
|
61
67
|
};
|
|
62
68
|
}
|
|
63
|
-
export declare const
|
|
69
|
+
export declare const CreateActionTypeRequestFormDraftInnerTypeEnum: {
|
|
64
70
|
readonly Text: "text";
|
|
65
71
|
readonly Email: "email";
|
|
66
72
|
readonly Password: "password";
|
|
@@ -72,4 +78,4 @@ export declare const ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum: {
|
|
|
72
78
|
readonly Date: "date";
|
|
73
79
|
readonly File: "file";
|
|
74
80
|
};
|
|
75
|
-
export type
|
|
81
|
+
export type CreateActionTypeRequestFormDraftInnerTypeEnum = typeof CreateActionTypeRequestFormDraftInnerTypeEnum[keyof typeof CreateActionTypeRequestFormDraftInnerTypeEnum];
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
export const
|
|
14
|
+
export const CreateActionTypeRequestFormDraftInnerTypeEnum = {
|
|
15
15
|
Text: 'text',
|
|
16
16
|
Email: 'email',
|
|
17
17
|
Password: 'password',
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
* Icon configuration
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface CreateActionTypeRequestIconDraft
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface CreateActionTypeRequestIconDraft {
|
|
18
18
|
/**
|
|
19
19
|
* Icon type identifier
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof CreateActionTypeRequestIconDraft
|
|
22
22
|
*/
|
|
23
23
|
'type': string;
|
|
24
24
|
/**
|
|
25
25
|
* Background color for the icon
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof CreateActionTypeRequestIconDraft
|
|
28
28
|
*/
|
|
29
29
|
'background_color'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Custom icon URL (optional)
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof CreateActionTypeRequestIconDraft
|
|
34
34
|
*/
|
|
35
35
|
'url'?: string;
|
|
36
36
|
}
|
|
@@ -9,97 +9,109 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { CreateActionTypeRequestFormDraftInner } from './create-action-type-request-form-draft-inner';
|
|
13
|
+
import { CreateActionTypeRequestIconDraft } from './create-action-type-request-icon-draft';
|
|
14
14
|
import { UpdateAccountRequestUserDataSchemaInner } from './update-account-request-user-data-schema-inner';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
|
-
* @interface
|
|
18
|
+
* @interface CreateActionTypeRequest
|
|
19
19
|
*/
|
|
20
|
-
export interface
|
|
20
|
+
export interface CreateActionTypeRequest {
|
|
21
21
|
/**
|
|
22
22
|
* Name of resource
|
|
23
23
|
* @type {string}
|
|
24
|
-
* @memberof
|
|
24
|
+
* @memberof CreateActionTypeRequest
|
|
25
25
|
*/
|
|
26
26
|
'name': string;
|
|
27
27
|
/**
|
|
28
28
|
* Description of action type
|
|
29
29
|
* @type {string}
|
|
30
|
-
* @memberof
|
|
30
|
+
* @memberof CreateActionTypeRequest
|
|
31
31
|
*/
|
|
32
32
|
'description'?: string;
|
|
33
33
|
/**
|
|
34
34
|
* Type of action
|
|
35
35
|
* @type {string}
|
|
36
|
-
* @memberof
|
|
36
|
+
* @memberof CreateActionTypeRequest
|
|
37
37
|
*/
|
|
38
38
|
'type': string;
|
|
39
39
|
/**
|
|
40
40
|
* Enable or disable the resource.
|
|
41
41
|
* @type {boolean}
|
|
42
|
-
* @memberof
|
|
42
|
+
* @memberof CreateActionTypeRequest
|
|
43
43
|
*/
|
|
44
44
|
'on'?: boolean;
|
|
45
45
|
/**
|
|
46
46
|
* HTTP parameters as key:value pairs, one per line
|
|
47
47
|
* @type {string}
|
|
48
|
-
* @memberof
|
|
48
|
+
* @memberof CreateActionTypeRequest
|
|
49
49
|
*/
|
|
50
50
|
'params_draft'?: string;
|
|
51
51
|
/**
|
|
52
52
|
* HTTP headers as key:value pairs, one per line
|
|
53
53
|
* @type {string}
|
|
54
|
-
* @memberof
|
|
54
|
+
* @memberof CreateActionTypeRequest
|
|
55
55
|
*/
|
|
56
56
|
'headers_draft'?: string;
|
|
57
57
|
/**
|
|
58
58
|
* HTTP url
|
|
59
59
|
* @type {string}
|
|
60
|
-
* @memberof
|
|
60
|
+
* @memberof CreateActionTypeRequest
|
|
61
61
|
*/
|
|
62
62
|
'url_draft'?: string;
|
|
63
63
|
/**
|
|
64
64
|
* HTTP method
|
|
65
65
|
* @type {string}
|
|
66
|
-
* @memberof
|
|
66
|
+
* @memberof CreateActionTypeRequest
|
|
67
67
|
*/
|
|
68
68
|
'http_method_draft'?: string;
|
|
69
69
|
/**
|
|
70
70
|
* JavaScript code snippt
|
|
71
71
|
* @type {string}
|
|
72
|
-
* @memberof
|
|
72
|
+
* @memberof CreateActionTypeRequest
|
|
73
73
|
*/
|
|
74
74
|
'code_draft'?: string;
|
|
75
75
|
/**
|
|
76
76
|
* Whether or not you want to publish on create
|
|
77
77
|
* @type {boolean}
|
|
78
|
-
* @memberof
|
|
78
|
+
* @memberof CreateActionTypeRequest
|
|
79
79
|
*/
|
|
80
80
|
'publish'?: boolean;
|
|
81
81
|
/**
|
|
82
82
|
* Form field configuration
|
|
83
|
-
* @type {Array<
|
|
84
|
-
* @memberof
|
|
83
|
+
* @type {Array<CreateActionTypeRequestFormDraftInner>}
|
|
84
|
+
* @memberof CreateActionTypeRequest
|
|
85
85
|
*/
|
|
86
|
-
'form_draft'?: Array<
|
|
86
|
+
'form_draft'?: Array<CreateActionTypeRequestFormDraftInner>;
|
|
87
87
|
/**
|
|
88
88
|
* Data schema configuration
|
|
89
89
|
* @type {Array<UpdateAccountRequestUserDataSchemaInner>}
|
|
90
|
-
* @memberof
|
|
90
|
+
* @memberof CreateActionTypeRequest
|
|
91
91
|
*/
|
|
92
92
|
'response_data_schema_draft'?: Array<UpdateAccountRequestUserDataSchemaInner>;
|
|
93
93
|
/**
|
|
94
94
|
* User permission groups. Only available to users with admin role.
|
|
95
95
|
* @type {Array<string>}
|
|
96
|
-
* @memberof
|
|
96
|
+
* @memberof CreateActionTypeRequest
|
|
97
97
|
*/
|
|
98
98
|
'groups'?: Array<string>;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
|
-
* @type {
|
|
102
|
-
* @memberof
|
|
101
|
+
* @type {CreateActionTypeRequestIconDraft}
|
|
102
|
+
* @memberof CreateActionTypeRequest
|
|
103
103
|
*/
|
|
104
|
-
'icon_draft'?:
|
|
104
|
+
'icon_draft'?: CreateActionTypeRequestIconDraft;
|
|
105
|
+
/**
|
|
106
|
+
* Primary category for the action type
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof CreateActionTypeRequest
|
|
109
|
+
*/
|
|
110
|
+
'primary_category'?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Secondary category for the action type
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof CreateActionTypeRequest
|
|
115
|
+
*/
|
|
116
|
+
'secondary_category'?: string;
|
|
105
117
|
}
|
|
@@ -12,25 +12,25 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface CreateActionType422Response
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface CreateActionType422Response {
|
|
18
18
|
/**
|
|
19
19
|
* Type of error
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof CreateActionType422Response
|
|
22
22
|
*/
|
|
23
23
|
'type': string;
|
|
24
24
|
/**
|
|
25
25
|
* Specific error code
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof CreateActionType422Response
|
|
28
28
|
*/
|
|
29
29
|
'code': string;
|
|
30
30
|
/**
|
|
31
31
|
* Human-readable message providing more details about the error
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof CreateActionType422Response
|
|
34
34
|
*/
|
|
35
35
|
'message': string;
|
|
36
36
|
}
|
|
@@ -12,31 +12,31 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface CreateAppConnectionRequest
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface CreateAppConnectionRequest {
|
|
18
18
|
/**
|
|
19
19
|
* Name of resource
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof CreateAppConnectionRequest
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
25
|
* App Type
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof CreateAppConnectionRequest
|
|
28
28
|
*/
|
|
29
29
|
'app_type': string;
|
|
30
30
|
/**
|
|
31
31
|
* User\'s key
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof CreateAppConnectionRequest
|
|
34
34
|
*/
|
|
35
35
|
'user_key': string;
|
|
36
36
|
/**
|
|
37
37
|
* App connection configuration
|
|
38
38
|
* @type {object}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof CreateAppConnectionRequest
|
|
40
40
|
*/
|
|
41
41
|
'config': object;
|
|
42
42
|
}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API V1
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateWorkflow201Response
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateWorkflow201Response {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateWorkflow201Response
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* ID of the account template this workflow was cloned from
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateWorkflow201Response
|
|
28
|
+
*/
|
|
29
|
+
'account_template_id'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Action type IDs used in this workflow\'s template
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof CreateWorkflow201Response
|
|
34
|
+
*/
|
|
35
|
+
'action_type_ids'?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Number of actions in the workflow
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreateWorkflow201Response
|
|
40
|
+
*/
|
|
41
|
+
'actions_count'?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Auto-clone this template for new users (Admin only)
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CreateWorkflow201Response
|
|
46
|
+
*/
|
|
47
|
+
'auto_clone_for_new_users'?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Created at in specified timezone
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateWorkflow201Response
|
|
52
|
+
*/
|
|
53
|
+
'created_at'?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Created at formatted as human-readable string
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof CreateWorkflow201Response
|
|
58
|
+
*/
|
|
59
|
+
'created_at_string'?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Created at in UTC
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CreateWorkflow201Response
|
|
64
|
+
*/
|
|
65
|
+
'created_at_utc'?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Description of the workflow
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreateWorkflow201Response
|
|
70
|
+
*/
|
|
71
|
+
'description'?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Event trigger configuration
|
|
74
|
+
* @type {object}
|
|
75
|
+
* @memberof CreateWorkflow201Response
|
|
76
|
+
*/
|
|
77
|
+
'event_trigger'?: object | null;
|
|
78
|
+
/**
|
|
79
|
+
* Draft event trigger configuration
|
|
80
|
+
* @type {object}
|
|
81
|
+
* @memberof CreateWorkflow201Response
|
|
82
|
+
*/
|
|
83
|
+
'event_trigger_draft'?: object | null;
|
|
84
|
+
/**
|
|
85
|
+
* Number of times workflow has been executed
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof CreateWorkflow201Response
|
|
88
|
+
*/
|
|
89
|
+
'executions_count'?: number;
|
|
90
|
+
/**
|
|
91
|
+
* Permission groups (Admin only)
|
|
92
|
+
* @type {Array<string>}
|
|
93
|
+
* @memberof CreateWorkflow201Response
|
|
94
|
+
*/
|
|
95
|
+
'groups'?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Whether the workflow has unsaved draft changes
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof CreateWorkflow201Response
|
|
100
|
+
*/
|
|
101
|
+
'has_draft'?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Whether this workflow is managed by the account and read-only
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof CreateWorkflow201Response
|
|
106
|
+
*/
|
|
107
|
+
'is_managed'?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Mark as template visible in library (Admin only)
|
|
110
|
+
* @type {boolean}
|
|
111
|
+
* @memberof CreateWorkflow201Response
|
|
112
|
+
*/
|
|
113
|
+
'is_template'?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Unique key for the workflow
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof CreateWorkflow201Response
|
|
118
|
+
*/
|
|
119
|
+
'key'?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Last executed at in specified timezone
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof CreateWorkflow201Response
|
|
124
|
+
*/
|
|
125
|
+
'last_executed_at'?: string | null;
|
|
126
|
+
/**
|
|
127
|
+
* Last executed at formatted as human-readable string
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof CreateWorkflow201Response
|
|
130
|
+
*/
|
|
131
|
+
'last_executed_at_string'?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Last executed at in UTC
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof CreateWorkflow201Response
|
|
136
|
+
*/
|
|
137
|
+
'last_executed_at_utc'?: string | null;
|
|
138
|
+
/**
|
|
139
|
+
* Last published at in specified timezone
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof CreateWorkflow201Response
|
|
142
|
+
*/
|
|
143
|
+
'last_published_at'?: string | null;
|
|
144
|
+
/**
|
|
145
|
+
* Last published at formatted as human-readable string
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof CreateWorkflow201Response
|
|
148
|
+
*/
|
|
149
|
+
'last_published_at_string'?: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* Last published at in UTC
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof CreateWorkflow201Response
|
|
154
|
+
*/
|
|
155
|
+
'last_published_at_utc'?: string | null;
|
|
156
|
+
/**
|
|
157
|
+
* Who manages this workflow (Admin only)
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof CreateWorkflow201Response
|
|
160
|
+
*/
|
|
161
|
+
'managed_by'?: CreateWorkflow201ResponseManagedByEnum | null;
|
|
162
|
+
/**
|
|
163
|
+
* Conditions for matching workflow execution
|
|
164
|
+
* @type {object}
|
|
165
|
+
* @memberof CreateWorkflow201Response
|
|
166
|
+
*/
|
|
167
|
+
'match_conditions'?: object | null;
|
|
168
|
+
/**
|
|
169
|
+
* Draft conditions for matching workflow execution
|
|
170
|
+
* @type {object}
|
|
171
|
+
* @memberof CreateWorkflow201Response
|
|
172
|
+
*/
|
|
173
|
+
'match_conditions_draft'?: object | null;
|
|
174
|
+
/**
|
|
175
|
+
* Name of the workflow
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof CreateWorkflow201Response
|
|
178
|
+
*/
|
|
179
|
+
'name'?: string;
|
|
180
|
+
/**
|
|
181
|
+
* Object type identifier
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof CreateWorkflow201Response
|
|
184
|
+
*/
|
|
185
|
+
'object'?: string;
|
|
186
|
+
/**
|
|
187
|
+
* Whether the workflow is enabled
|
|
188
|
+
* @type {boolean}
|
|
189
|
+
* @memberof CreateWorkflow201Response
|
|
190
|
+
*/
|
|
191
|
+
'on'?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Workflow execution statistics
|
|
194
|
+
* @type {{ [key: string]: any; }}
|
|
195
|
+
* @memberof CreateWorkflow201Response
|
|
196
|
+
*/
|
|
197
|
+
'stats'?: {
|
|
198
|
+
[key: string]: any;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Current status of the workflow
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof CreateWorkflow201Response
|
|
204
|
+
*/
|
|
205
|
+
'status'?: CreateWorkflow201ResponseStatusEnum;
|
|
206
|
+
/**
|
|
207
|
+
* Published workflow template layout
|
|
208
|
+
* @type {object}
|
|
209
|
+
* @memberof CreateWorkflow201Response
|
|
210
|
+
*/
|
|
211
|
+
'template'?: object;
|
|
212
|
+
/**
|
|
213
|
+
* Draft workflow template layout
|
|
214
|
+
* @type {object}
|
|
215
|
+
* @memberof CreateWorkflow201Response
|
|
216
|
+
*/
|
|
217
|
+
'template_draft'?: object;
|
|
218
|
+
/**
|
|
219
|
+
* Conditions for triggering the workflow
|
|
220
|
+
* @type {{ [key: string]: any; }}
|
|
221
|
+
* @memberof CreateWorkflow201Response
|
|
222
|
+
*/
|
|
223
|
+
'trigger_conditions'?: {
|
|
224
|
+
[key: string]: any;
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* Draft conditions for triggering the workflow
|
|
228
|
+
* @type {{ [key: string]: any; }}
|
|
229
|
+
* @memberof CreateWorkflow201Response
|
|
230
|
+
*/
|
|
231
|
+
'trigger_conditions_draft'?: {
|
|
232
|
+
[key: string]: any;
|
|
233
|
+
};
|
|
234
|
+
/**
|
|
235
|
+
* Updated at in specified timezone
|
|
236
|
+
* @type {string}
|
|
237
|
+
* @memberof CreateWorkflow201Response
|
|
238
|
+
*/
|
|
239
|
+
'updated_at'?: string | null;
|
|
240
|
+
/**
|
|
241
|
+
* Updated at formatted as human-readable string
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof CreateWorkflow201Response
|
|
244
|
+
*/
|
|
245
|
+
'updated_at_string'?: string | null;
|
|
246
|
+
/**
|
|
247
|
+
* Updated at in UTC
|
|
248
|
+
* @type {string}
|
|
249
|
+
* @memberof CreateWorkflow201Response
|
|
250
|
+
*/
|
|
251
|
+
'updated_at_utc'?: string | null;
|
|
252
|
+
}
|
|
253
|
+
export declare const CreateWorkflow201ResponseManagedByEnum: {
|
|
254
|
+
readonly Tenant: "tenant";
|
|
255
|
+
readonly Account: "account";
|
|
256
|
+
};
|
|
257
|
+
export type CreateWorkflow201ResponseManagedByEnum = typeof CreateWorkflow201ResponseManagedByEnum[keyof typeof CreateWorkflow201ResponseManagedByEnum];
|
|
258
|
+
export declare const CreateWorkflow201ResponseStatusEnum: {
|
|
259
|
+
readonly On: "on";
|
|
260
|
+
readonly Off: "off";
|
|
261
|
+
};
|
|
262
|
+
export type CreateWorkflow201ResponseStatusEnum = typeof CreateWorkflow201ResponseStatusEnum[keyof typeof CreateWorkflow201ResponseStatusEnum];
|
package/dist/{models/clone-workflow201-response.js → esm/models/create-workflow201-response.js}
RENAMED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/* tslint:disable */
|
|
3
2
|
/* eslint-disable */
|
|
4
3
|
/**
|
|
@@ -12,9 +11,11 @@
|
|
|
12
11
|
* https://openapi-generator.tech
|
|
13
12
|
* Do not edit the class manually.
|
|
14
13
|
*/
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
export const CreateWorkflow201ResponseManagedByEnum = {
|
|
15
|
+
Tenant: 'tenant',
|
|
16
|
+
Account: 'account'
|
|
17
|
+
};
|
|
18
|
+
export const CreateWorkflow201ResponseStatusEnum = {
|
|
18
19
|
On: 'on',
|
|
19
20
|
Off: 'off'
|
|
20
21
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API V1
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DeleteActionType200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteActionType200Response {
|
|
18
|
+
/**
|
|
19
|
+
* ID of deleted resource
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DeleteActionType200Response
|
|
22
|
+
*/
|
|
23
|
+
'id': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API V1
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface EvaluateExpressionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface EvaluateExpressionRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Liquid template expression to evaluate against the provided data
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EvaluateExpressionRequest
|
|
22
|
+
*/
|
|
23
|
+
'expression': string;
|
|
24
|
+
/**
|
|
25
|
+
* Data context for evaluating the expression
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof EvaluateExpressionRequest
|
|
28
|
+
*/
|
|
29
|
+
'data': {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
}
|