@embedworkflow/sdk 1.0.0 → 1.1.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/dist/api/action-types-api.d.ts +33 -31
- package/dist/api/action-types-api.js +13 -13
- package/dist/api/app-connections-api.d.ts +26 -25
- package/dist/api/app-connections-api.js +25 -25
- package/dist/api/installed-apps-api.d.ts +13 -13
- package/dist/api/triggers-api.d.ts +14 -12
- package/dist/api/users-api.d.ts +13 -12
- package/dist/api/workflows-api.d.ts +27 -26
- package/dist/esm/api/action-types-api.d.ts +33 -31
- package/dist/esm/api/action-types-api.js +13 -13
- package/dist/esm/api/app-connections-api.d.ts +26 -25
- package/dist/esm/api/app-connections-api.js +25 -25
- package/dist/esm/api/installed-apps-api.d.ts +13 -13
- package/dist/esm/api/triggers-api.d.ts +14 -12
- package/dist/esm/api/users-api.d.ts +13 -12
- package/dist/esm/api/workflows-api.d.ts +27 -26
- package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +75 -0
- package/dist/esm/models/create-action-type-request-form-draft-inner.js +25 -0
- package/dist/esm/models/create-action-type-request-icon-draft.d.ts +36 -0
- package/dist/esm/models/create-action-type-request-icon-draft.js +14 -0
- package/dist/esm/models/create-action-type-request.d.ts +105 -0
- package/dist/esm/models/create-action-type-request.js +14 -0
- package/dist/esm/models/create-action-type422-response.d.ts +36 -0
- package/dist/esm/models/create-action-type422-response.js +14 -0
- package/dist/esm/models/create-app-connection-request.d.ts +42 -0
- package/dist/esm/models/create-app-connection-request.js +14 -0
- package/dist/esm/models/create-workflow201-response.d.ts +215 -0
- package/dist/esm/models/create-workflow201-response.js +17 -0
- 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/import-configuration201-response.d.ts +6 -0
- package/dist/esm/models/index.d.ts +10 -8
- package/dist/esm/models/index.js +10 -8
- package/dist/esm/models/install-app201-response.d.ts +122 -0
- package/dist/esm/models/install-app201-response.js +14 -0
- package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +183 -0
- package/dist/esm/models/list-workflows200-response-collection-inner.js +17 -0
- package/dist/esm/models/list-workflows200-response.d.ts +32 -0
- package/dist/esm/models/list-workflows200-response.js +14 -0
- package/dist/models/create-action-type-request-form-draft-inner.d.ts +75 -0
- package/dist/models/create-action-type-request-form-draft-inner.js +28 -0
- package/dist/models/create-action-type-request-icon-draft.d.ts +36 -0
- package/dist/models/create-action-type-request-icon-draft.js +15 -0
- package/dist/models/create-action-type-request.d.ts +105 -0
- package/dist/models/create-action-type-request.js +15 -0
- package/dist/models/create-action-type422-response.d.ts +36 -0
- package/dist/models/create-action-type422-response.js +15 -0
- package/dist/models/create-app-connection-request.d.ts +42 -0
- package/dist/models/create-app-connection-request.js +15 -0
- package/dist/models/create-workflow201-response.d.ts +215 -0
- package/dist/models/create-workflow201-response.js +20 -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/import-configuration201-response.d.ts +6 -0
- package/dist/models/index.d.ts +10 -8
- package/dist/models/index.js +10 -8
- package/dist/models/install-app201-response.d.ts +122 -0
- package/dist/models/install-app201-response.js +15 -0
- package/dist/models/list-workflows200-response-collection-inner.d.ts +183 -0
- package/dist/models/list-workflows200-response-collection-inner.js +20 -0
- package/dist/models/list-workflows200-response.d.ts +32 -0
- package/dist/models/list-workflows200-response.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,183 @@
|
|
|
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 ListWorkflows200ResponseCollectionInner
|
|
16
|
+
*/
|
|
17
|
+
export interface ListWorkflows200ResponseCollectionInner {
|
|
18
|
+
/**
|
|
19
|
+
* System-generated unique identifier
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
22
|
+
*/
|
|
23
|
+
'hashid'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Number of actions in the workflow
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
28
|
+
*/
|
|
29
|
+
'actions_count'?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Created at in specified timezone
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
34
|
+
*/
|
|
35
|
+
'created_at'?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Created at formatted as human-readable string
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
40
|
+
*/
|
|
41
|
+
'created_at_string'?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Created at in UTC
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
46
|
+
*/
|
|
47
|
+
'created_at_utc'?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Description of the workflow
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
52
|
+
*/
|
|
53
|
+
'description'?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Event trigger configuration
|
|
56
|
+
* @type {object}
|
|
57
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
58
|
+
*/
|
|
59
|
+
'event_trigger'?: object | null;
|
|
60
|
+
/**
|
|
61
|
+
* Draft event trigger configuration
|
|
62
|
+
* @type {object}
|
|
63
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
64
|
+
*/
|
|
65
|
+
'event_trigger_draft'?: object | null;
|
|
66
|
+
/**
|
|
67
|
+
* Number of times workflow has been executed
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
70
|
+
*/
|
|
71
|
+
'executions_count'?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the workflow has unsaved draft changes
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
76
|
+
*/
|
|
77
|
+
'has_draft'?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Unique identifier
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
82
|
+
*/
|
|
83
|
+
'id'?: string;
|
|
84
|
+
/**
|
|
85
|
+
* Unique key for the workflow
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
88
|
+
*/
|
|
89
|
+
'key'?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Last published at in specified timezone
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
94
|
+
*/
|
|
95
|
+
'last_published_at'?: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* Last published at formatted as human-readable string
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
100
|
+
*/
|
|
101
|
+
'last_published_at_string'?: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* Last published at in UTC
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
106
|
+
*/
|
|
107
|
+
'last_published_at_utc'?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* Conditions for matching workflow execution
|
|
110
|
+
* @type {object}
|
|
111
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
112
|
+
*/
|
|
113
|
+
'match_conditions'?: object | null;
|
|
114
|
+
/**
|
|
115
|
+
* Draft conditions for matching workflow execution
|
|
116
|
+
* @type {object}
|
|
117
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
118
|
+
*/
|
|
119
|
+
'match_conditions_draft'?: object | null;
|
|
120
|
+
/**
|
|
121
|
+
* Name of the workflow
|
|
122
|
+
* @type {string}
|
|
123
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
124
|
+
*/
|
|
125
|
+
'name'?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Object type identifier
|
|
128
|
+
* @type {string}
|
|
129
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
130
|
+
*/
|
|
131
|
+
'object'?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Whether the workflow is enabled
|
|
134
|
+
* @type {boolean}
|
|
135
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
136
|
+
*/
|
|
137
|
+
'on'?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Current status of the workflow
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
142
|
+
*/
|
|
143
|
+
'status'?: ListWorkflows200ResponseCollectionInnerStatusEnum;
|
|
144
|
+
/**
|
|
145
|
+
* Conditions for triggering the workflow
|
|
146
|
+
* @type {{ [key: string]: any; }}
|
|
147
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
148
|
+
*/
|
|
149
|
+
'trigger_conditions'?: {
|
|
150
|
+
[key: string]: any;
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* Draft conditions for triggering the workflow
|
|
154
|
+
* @type {{ [key: string]: any; }}
|
|
155
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
156
|
+
*/
|
|
157
|
+
'trigger_conditions_draft'?: {
|
|
158
|
+
[key: string]: any;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Updated at in specified timezone
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
164
|
+
*/
|
|
165
|
+
'updated_at'?: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* Updated at formatted as human-readable string
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
170
|
+
*/
|
|
171
|
+
'updated_at_string'?: string | null;
|
|
172
|
+
/**
|
|
173
|
+
* Updated at in UTC
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof ListWorkflows200ResponseCollectionInner
|
|
176
|
+
*/
|
|
177
|
+
'updated_at_utc'?: string | null;
|
|
178
|
+
}
|
|
179
|
+
export declare const ListWorkflows200ResponseCollectionInnerStatusEnum: {
|
|
180
|
+
readonly On: "on";
|
|
181
|
+
readonly Off: "off";
|
|
182
|
+
};
|
|
183
|
+
export type ListWorkflows200ResponseCollectionInnerStatusEnum = typeof ListWorkflows200ResponseCollectionInnerStatusEnum[keyof typeof ListWorkflows200ResponseCollectionInnerStatusEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* API V1
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ListWorkflows200ResponseCollectionInnerStatusEnum = void 0;
|
|
17
|
+
exports.ListWorkflows200ResponseCollectionInnerStatusEnum = {
|
|
18
|
+
On: 'on',
|
|
19
|
+
Off: 'off'
|
|
20
|
+
};
|
|
@@ -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
|
+
import { ListActionTypes200ResponseMeta } from './list-action-types200-response-meta';
|
|
13
|
+
import { ListWorkflows200ResponseCollectionInner } from './list-workflows200-response-collection-inner';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ListWorkflows200Response
|
|
18
|
+
*/
|
|
19
|
+
export interface ListWorkflows200Response {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<ListWorkflows200ResponseCollectionInner>}
|
|
23
|
+
* @memberof ListWorkflows200Response
|
|
24
|
+
*/
|
|
25
|
+
'collection': Array<ListWorkflows200ResponseCollectionInner>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ListActionTypes200ResponseMeta}
|
|
29
|
+
* @memberof ListWorkflows200Response
|
|
30
|
+
*/
|
|
31
|
+
'meta': ListActionTypes200ResponseMeta;
|
|
32
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* API V1
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|