@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
|
@@ -0,0 +1,93 @@
|
|
|
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 UpdateWorkflowRequest
|
|
24
|
+
*/
|
|
25
|
+
export interface UpdateWorkflowRequest {
|
|
26
|
+
/**
|
|
27
|
+
* Name of resource
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof UpdateWorkflowRequest
|
|
30
|
+
*/
|
|
31
|
+
'name': string;
|
|
32
|
+
/**
|
|
33
|
+
* Client-provided unique identifier
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof UpdateWorkflowRequest
|
|
36
|
+
*/
|
|
37
|
+
'key'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Mark workflow as default template. When true, new users will automatically receive a clone of this workflow (Admin only)
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof UpdateWorkflowRequest
|
|
42
|
+
*/
|
|
43
|
+
'auto_clone_for_new_users'?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Mark workflow as a template. When true, new users will see this in a library of templates (Admin only)
|
|
46
|
+
* @type {boolean}
|
|
47
|
+
* @memberof UpdateWorkflowRequest
|
|
48
|
+
*/
|
|
49
|
+
'is_template'?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Enable or disable the resource.
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof UpdateWorkflowRequest
|
|
54
|
+
*/
|
|
55
|
+
'on'?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Description of the resource
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof UpdateWorkflowRequest
|
|
60
|
+
*/
|
|
61
|
+
'details'?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {CreateWorkflowRequestTemplateDraft}
|
|
65
|
+
* @memberof UpdateWorkflowRequest
|
|
66
|
+
*/
|
|
67
|
+
'template_draft'?: CreateWorkflowRequestTemplateDraft;
|
|
68
|
+
/**
|
|
69
|
+
* The trigger\'s conditions
|
|
70
|
+
* @type {object}
|
|
71
|
+
* @memberof UpdateWorkflowRequest
|
|
72
|
+
*/
|
|
73
|
+
'trigger_conditions_draft'?: object;
|
|
74
|
+
/**
|
|
75
|
+
* The trigger\'s key
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof UpdateWorkflowRequest
|
|
78
|
+
*/
|
|
79
|
+
'event_trigger_draft'?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Whether all or any of the trigger conditions must match
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof UpdateWorkflowRequest
|
|
84
|
+
*/
|
|
85
|
+
'match_conditions_draft'?: string;
|
|
86
|
+
/**
|
|
87
|
+
* User permission groups. Only available to users with admin role.
|
|
88
|
+
* @type {Array<string>}
|
|
89
|
+
* @memberof UpdateWorkflowRequest
|
|
90
|
+
*/
|
|
91
|
+
'groups'?: Array<string>;
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
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 UpsertUserRequest
|
|
21
|
+
*/
|
|
22
|
+
export interface UpsertUserRequest {
|
|
23
|
+
/**
|
|
24
|
+
* Name of resource
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpsertUserRequest
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Email address
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpsertUserRequest
|
|
33
|
+
*/
|
|
34
|
+
'email'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Additional user data
|
|
37
|
+
* @type {{ [key: string]: any; }}
|
|
38
|
+
* @memberof UpsertUserRequest
|
|
39
|
+
*/
|
|
40
|
+
'data'?: { [key: string]: any; };
|
|
41
|
+
/**
|
|
42
|
+
* User permission groups. Only available to users with admin role.
|
|
43
|
+
* @type {Array<string>}
|
|
44
|
+
* @memberof UpsertUserRequest
|
|
45
|
+
*/
|
|
46
|
+
'groups'?: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Time zone
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof UpsertUserRequest
|
|
51
|
+
*/
|
|
52
|
+
'time_zone'?: string;
|
|
53
|
+
}
|
|
54
|
+
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@embedworkflow/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "OpenAPI client for @embedworkflow/sdk",
|
|
5
|
-
"author": "
|
|
5
|
+
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/
|
|
8
|
+
"url": "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
|
|
9
9
|
},
|
|
10
10
|
"keywords": [
|
|
11
11
|
"axios",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"main": "./dist/index.js",
|
|
19
19
|
"typings": "./dist/index.d.ts",
|
|
20
20
|
"module": "./dist/esm/index.js",
|
|
21
|
-
"files": ["dist"],
|
|
22
21
|
"sideEffects": false,
|
|
23
22
|
"scripts": {
|
|
24
23
|
"build": "tsc && tsc -p tsconfig.esm.json",
|
|
@@ -32,7 +31,6 @@
|
|
|
32
31
|
"typescript": "^4.0"
|
|
33
32
|
},
|
|
34
33
|
"publishConfig": {
|
|
35
|
-
"registry": "https://registry.npmjs.org"
|
|
36
|
-
"access": "public"
|
|
34
|
+
"registry": "https://registry.npmjs.org"
|
|
37
35
|
}
|
|
38
36
|
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"declaration": true,
|
|
4
|
+
"target": "ES6",
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"noImplicitAny": true,
|
|
7
|
+
"outDir": "dist",
|
|
8
|
+
"rootDir": ".",
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"typeRoots": [
|
|
11
|
+
"node_modules/@types"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"exclude": [
|
|
15
|
+
"dist",
|
|
16
|
+
"node_modules"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -1,183 +0,0 @@
|
|
|
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 CloneWorkflow201Response
|
|
16
|
-
*/
|
|
17
|
-
export interface CloneWorkflow201Response {
|
|
18
|
-
/**
|
|
19
|
-
* System-generated unique identifier
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CloneWorkflow201Response
|
|
22
|
-
*/
|
|
23
|
-
'hashid'?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Number of actions in the workflow
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CloneWorkflow201Response
|
|
28
|
-
*/
|
|
29
|
-
'actions_count'?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Created at in specified timezone
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CloneWorkflow201Response
|
|
34
|
-
*/
|
|
35
|
-
'created_at'?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* Created at formatted as human-readable string
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof CloneWorkflow201Response
|
|
40
|
-
*/
|
|
41
|
-
'created_at_string'?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
* Created at in UTC
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CloneWorkflow201Response
|
|
46
|
-
*/
|
|
47
|
-
'created_at_utc'?: string | null;
|
|
48
|
-
/**
|
|
49
|
-
* Description of the workflow
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof CloneWorkflow201Response
|
|
52
|
-
*/
|
|
53
|
-
'description'?: string | null;
|
|
54
|
-
/**
|
|
55
|
-
* Event trigger configuration
|
|
56
|
-
* @type {object}
|
|
57
|
-
* @memberof CloneWorkflow201Response
|
|
58
|
-
*/
|
|
59
|
-
'event_trigger'?: object | null;
|
|
60
|
-
/**
|
|
61
|
-
* Draft event trigger configuration
|
|
62
|
-
* @type {object}
|
|
63
|
-
* @memberof CloneWorkflow201Response
|
|
64
|
-
*/
|
|
65
|
-
'event_trigger_draft'?: object | null;
|
|
66
|
-
/**
|
|
67
|
-
* Number of times workflow has been executed
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof CloneWorkflow201Response
|
|
70
|
-
*/
|
|
71
|
-
'executions_count'?: number;
|
|
72
|
-
/**
|
|
73
|
-
* Whether the workflow has unsaved draft changes
|
|
74
|
-
* @type {boolean}
|
|
75
|
-
* @memberof CloneWorkflow201Response
|
|
76
|
-
*/
|
|
77
|
-
'has_draft'?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Unique identifier
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof CloneWorkflow201Response
|
|
82
|
-
*/
|
|
83
|
-
'id'?: string;
|
|
84
|
-
/**
|
|
85
|
-
* Unique key for the workflow
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof CloneWorkflow201Response
|
|
88
|
-
*/
|
|
89
|
-
'key'?: string;
|
|
90
|
-
/**
|
|
91
|
-
* Last published at in specified timezone
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof CloneWorkflow201Response
|
|
94
|
-
*/
|
|
95
|
-
'last_published_at'?: string | null;
|
|
96
|
-
/**
|
|
97
|
-
* Last published at formatted as human-readable string
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof CloneWorkflow201Response
|
|
100
|
-
*/
|
|
101
|
-
'last_published_at_string'?: string | null;
|
|
102
|
-
/**
|
|
103
|
-
* Last published at in UTC
|
|
104
|
-
* @type {string}
|
|
105
|
-
* @memberof CloneWorkflow201Response
|
|
106
|
-
*/
|
|
107
|
-
'last_published_at_utc'?: string | null;
|
|
108
|
-
/**
|
|
109
|
-
* Conditions for matching workflow execution
|
|
110
|
-
* @type {object}
|
|
111
|
-
* @memberof CloneWorkflow201Response
|
|
112
|
-
*/
|
|
113
|
-
'match_conditions'?: object | null;
|
|
114
|
-
/**
|
|
115
|
-
* Draft conditions for matching workflow execution
|
|
116
|
-
* @type {object}
|
|
117
|
-
* @memberof CloneWorkflow201Response
|
|
118
|
-
*/
|
|
119
|
-
'match_conditions_draft'?: object | null;
|
|
120
|
-
/**
|
|
121
|
-
* Name of the workflow
|
|
122
|
-
* @type {string}
|
|
123
|
-
* @memberof CloneWorkflow201Response
|
|
124
|
-
*/
|
|
125
|
-
'name'?: string;
|
|
126
|
-
/**
|
|
127
|
-
* Object type identifier
|
|
128
|
-
* @type {string}
|
|
129
|
-
* @memberof CloneWorkflow201Response
|
|
130
|
-
*/
|
|
131
|
-
'object'?: string;
|
|
132
|
-
/**
|
|
133
|
-
* Whether the workflow is enabled
|
|
134
|
-
* @type {boolean}
|
|
135
|
-
* @memberof CloneWorkflow201Response
|
|
136
|
-
*/
|
|
137
|
-
'on'?: boolean;
|
|
138
|
-
/**
|
|
139
|
-
* Current status of the workflow
|
|
140
|
-
* @type {string}
|
|
141
|
-
* @memberof CloneWorkflow201Response
|
|
142
|
-
*/
|
|
143
|
-
'status'?: CloneWorkflow201ResponseStatusEnum;
|
|
144
|
-
/**
|
|
145
|
-
* Conditions for triggering the workflow
|
|
146
|
-
* @type {{ [key: string]: any; }}
|
|
147
|
-
* @memberof CloneWorkflow201Response
|
|
148
|
-
*/
|
|
149
|
-
'trigger_conditions'?: {
|
|
150
|
-
[key: string]: any;
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
* Draft conditions for triggering the workflow
|
|
154
|
-
* @type {{ [key: string]: any; }}
|
|
155
|
-
* @memberof CloneWorkflow201Response
|
|
156
|
-
*/
|
|
157
|
-
'trigger_conditions_draft'?: {
|
|
158
|
-
[key: string]: any;
|
|
159
|
-
};
|
|
160
|
-
/**
|
|
161
|
-
* Updated at in specified timezone
|
|
162
|
-
* @type {string}
|
|
163
|
-
* @memberof CloneWorkflow201Response
|
|
164
|
-
*/
|
|
165
|
-
'updated_at'?: string | null;
|
|
166
|
-
/**
|
|
167
|
-
* Updated at formatted as human-readable string
|
|
168
|
-
* @type {string}
|
|
169
|
-
* @memberof CloneWorkflow201Response
|
|
170
|
-
*/
|
|
171
|
-
'updated_at_string'?: string | null;
|
|
172
|
-
/**
|
|
173
|
-
* Updated at in UTC
|
|
174
|
-
* @type {string}
|
|
175
|
-
* @memberof CloneWorkflow201Response
|
|
176
|
-
*/
|
|
177
|
-
'updated_at_utc'?: string | null;
|
|
178
|
-
}
|
|
179
|
-
export declare const CloneWorkflow201ResponseStatusEnum: {
|
|
180
|
-
readonly On: "on";
|
|
181
|
-
readonly Off: "off";
|
|
182
|
-
};
|
|
183
|
-
export type CloneWorkflow201ResponseStatusEnum = typeof CloneWorkflow201ResponseStatusEnum[keyof typeof CloneWorkflow201ResponseStatusEnum];
|
/package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/esm/models/{api-v1-app-connections-post-request.js → create-action-type-request.js}
RENAMED
|
File without changes
|
/package/dist/esm/models/{retrieve-action-type404-response.js → create-action-type422-response.js}
RENAMED
|
File without changes
|
/package/dist/esm/models/{retrieve-installed-app200-response.js → create-app-connection-request.js}
RENAMED
|
File without changes
|
/package/dist/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js}
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/models/{api-v1-app-connections-post-request.js → create-action-type-request.js}
RENAMED
|
File without changes
|
/package/dist/models/{retrieve-action-type404-response.js → create-action-type422-response.js}
RENAMED
|
File without changes
|
/package/dist/models/{retrieve-installed-app200-response.js → create-app-connection-request.js}
RENAMED
|
File without changes
|