@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.
Files changed (218) hide show
  1. package/.github/workflows/push-tag.yaml +34 -0
  2. package/.openapi-generator/FILES +87 -0
  3. package/.openapi-generator/VERSION +1 -0
  4. package/.openapi-generator-ignore +23 -0
  5. package/README.md +2 -2
  6. package/api/accounts-api.ts +540 -0
  7. package/api/action-types-api.ts +697 -0
  8. package/api/actions-api.ts +786 -0
  9. package/api/app-connections-api.ts +556 -0
  10. package/api/available-apps-api.ts +239 -0
  11. package/api/data-fields-api.ts +404 -0
  12. package/api/events-api.ts +172 -0
  13. package/api/executions-api.ts +361 -0
  14. package/api/installed-apps-api.ts +410 -0
  15. package/api/payments-api.ts +172 -0
  16. package/api/triggers-api.ts +437 -0
  17. package/api/users-api.ts +531 -0
  18. package/api/workflows-api.ts +1302 -0
  19. package/api.ts +30 -0
  20. package/base.ts +86 -0
  21. package/common.ts +150 -0
  22. package/configuration.ts +110 -0
  23. package/dist/api/accounts-api.d.ts +124 -3
  24. package/dist/api/accounts-api.js +182 -1
  25. package/dist/api/action-types-api.d.ts +16 -11
  26. package/dist/api/action-types-api.js +14 -7
  27. package/dist/api/actions-api.d.ts +6 -6
  28. package/dist/api/app-connections-api.d.ts +5 -5
  29. package/dist/api/available-apps-api.d.ts +2 -2
  30. package/dist/api/data-fields-api.d.ts +46 -2
  31. package/dist/api/data-fields-api.js +68 -0
  32. package/dist/api/events-api.d.ts +1 -1
  33. package/dist/api/executions-api.d.ts +3 -3
  34. package/dist/api/installed-apps-api.d.ts +4 -4
  35. package/dist/api/payments-api.d.ts +1 -1
  36. package/dist/api/triggers-api.d.ts +14 -14
  37. package/dist/api/triggers-api.js +12 -12
  38. package/dist/api/users-api.d.ts +14 -9
  39. package/dist/api/users-api.js +14 -7
  40. package/dist/api/workflows-api.d.ts +96 -15
  41. package/dist/api/workflows-api.js +125 -8
  42. package/dist/common.d.ts +1 -1
  43. package/dist/esm/api/accounts-api.d.ts +124 -3
  44. package/dist/esm/api/accounts-api.js +181 -0
  45. package/dist/esm/api/action-types-api.d.ts +16 -11
  46. package/dist/esm/api/action-types-api.js +14 -7
  47. package/dist/esm/api/actions-api.d.ts +6 -6
  48. package/dist/esm/api/app-connections-api.d.ts +5 -5
  49. package/dist/esm/api/available-apps-api.d.ts +2 -2
  50. package/dist/esm/api/data-fields-api.d.ts +46 -2
  51. package/dist/esm/api/data-fields-api.js +69 -1
  52. package/dist/esm/api/events-api.d.ts +1 -1
  53. package/dist/esm/api/executions-api.d.ts +3 -3
  54. package/dist/esm/api/installed-apps-api.d.ts +4 -4
  55. package/dist/esm/api/payments-api.d.ts +1 -1
  56. package/dist/esm/api/triggers-api.d.ts +14 -14
  57. package/dist/esm/api/triggers-api.js +12 -12
  58. package/dist/esm/api/users-api.d.ts +14 -9
  59. package/dist/esm/api/users-api.js +14 -7
  60. package/dist/esm/api/workflows-api.d.ts +96 -15
  61. package/dist/esm/api/workflows-api.js +124 -7
  62. package/dist/esm/common.d.ts +1 -1
  63. package/dist/esm/models/catch-hook-request.d.ts +25 -0
  64. package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +6 -0
  65. package/dist/esm/models/create-action-type-request.d.ts +12 -0
  66. package/dist/esm/models/create-workflow201-response.d.ts +58 -11
  67. package/dist/esm/models/create-workflow201-response.js +4 -0
  68. package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
  69. package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
  70. package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
  71. package/dist/esm/models/export-configuration200-response.d.ts +25 -0
  72. package/dist/esm/models/index.d.ts +9 -0
  73. package/dist/esm/models/index.js +9 -0
  74. package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +58 -0
  75. package/dist/esm/models/list-action-types200-response-collection-inner.js +9 -0
  76. package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +18 -0
  77. package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +18 -0
  78. package/dist/esm/models/list-users200-response-collection-inner.d.ts +6 -6
  79. package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +29 -5
  80. package/dist/esm/models/retrieve-account-usage200-response.d.ts +60 -0
  81. package/dist/esm/models/retrieve-account-usage200-response.js +14 -0
  82. package/dist/esm/models/retrieve-account200-response.d.ts +19 -1
  83. 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
  84. package/dist/esm/models/update-account-request-action-type-categories-inner-icon.js +14 -0
  85. package/dist/esm/models/update-account-request-action-type-categories-inner.d.ts +43 -0
  86. package/dist/esm/models/update-account-request-action-type-categories-inner.js +14 -0
  87. package/dist/esm/models/update-account-request.d.ts +13 -0
  88. package/dist/esm/models/update-action-type-request.d.ts +12 -0
  89. package/dist/esm/models/update-trigger-request.d.ts +30 -0
  90. package/dist/esm/models/update-trigger-request.js +14 -0
  91. package/dist/esm/models/update-workflow-request.d.ts +7 -1
  92. package/dist/esm/models/upsert-user-request.d.ts +6 -0
  93. package/dist/models/catch-hook-request.d.ts +25 -0
  94. package/dist/models/create-action-type-request-form-draft-inner.d.ts +6 -0
  95. package/dist/models/create-action-type-request.d.ts +12 -0
  96. package/dist/models/create-workflow201-response.d.ts +58 -11
  97. package/dist/models/create-workflow201-response.js +5 -1
  98. package/dist/models/evaluate-expression-request.d.ts +32 -0
  99. package/dist/models/evaluate-expression200-response.d.ts +24 -0
  100. package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
  101. package/dist/models/export-configuration200-response.d.ts +25 -0
  102. package/dist/models/index.d.ts +9 -0
  103. package/dist/models/index.js +9 -0
  104. package/dist/models/list-action-types200-response-collection-inner.d.ts +58 -0
  105. package/dist/models/list-action-types200-response-collection-inner.js +10 -1
  106. package/dist/models/list-data-fields200-response-collection-inner.d.ts +18 -0
  107. package/dist/models/list-triggers200-response-collection-inner.d.ts +18 -0
  108. package/dist/models/list-users200-response-collection-inner.d.ts +6 -6
  109. package/dist/models/list-workflows200-response-collection-inner.d.ts +29 -5
  110. package/dist/models/retrieve-account-usage200-response.d.ts +60 -0
  111. package/dist/models/retrieve-account-usage200-response.js +15 -0
  112. package/dist/models/retrieve-account200-response.d.ts +19 -1
  113. package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/update-account-request-action-type-categories-inner-icon.d.ts} +12 -12
  114. package/dist/models/update-account-request-action-type-categories-inner-icon.js +15 -0
  115. package/dist/models/update-account-request-action-type-categories-inner.d.ts +43 -0
  116. package/dist/models/update-account-request-action-type-categories-inner.js +15 -0
  117. package/dist/models/update-account-request.d.ts +13 -0
  118. package/dist/models/update-action-type-request.d.ts +12 -0
  119. package/dist/models/update-trigger-request.d.ts +30 -0
  120. package/dist/models/update-trigger-request.js +15 -0
  121. package/dist/models/update-workflow-request.d.ts +7 -1
  122. package/dist/models/upsert-user-request.d.ts +6 -0
  123. package/git_push.sh +57 -0
  124. package/index.ts +111 -0
  125. package/models/catch-hook-request.ts +32 -0
  126. package/models/create-action-type-request-form-draft-inner.ts +88 -0
  127. package/{dist/models/api-v1-action-types-post-request-icon-draft.d.ts → models/create-action-type-request-icon-draft.ts} +12 -6
  128. package/{dist/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.ts} +49 -25
  129. package/{dist/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.ts} +13 -7
  130. package/{dist/esm/models/api-v1-app-connections-post-request.d.ts → models/create-app-connection-request.ts} +14 -8
  131. package/models/create-user-token-request.ts +38 -0
  132. package/models/create-user-token200-response.ts +30 -0
  133. package/models/create-workflow-request-template-draft-nodes-inner.ts +138 -0
  134. package/models/create-workflow-request-template-draft.ts +39 -0
  135. package/models/create-workflow-request.ts +75 -0
  136. package/{dist/esm/models/retrieve-workflow200-response.d.ts → models/create-workflow201-response.ts} +111 -60
  137. package/models/delete-action-type200-response.ts +30 -0
  138. package/{dist/esm/models/api-v1-action-types-post-request-form-draft-inner.js → models/delete-workflow200-response-one-of.ts} +18 -13
  139. package/models/delete-workflow200-response-one-of1.ts +30 -0
  140. package/models/delete-workflow200-response.ts +30 -0
  141. package/models/discard-workflow-draft-request.ts +36 -0
  142. package/models/evaluate-expression-request.ts +36 -0
  143. package/models/evaluate-expression200-response.ts +30 -0
  144. package/models/execute-workflow-request.ts +50 -0
  145. package/models/execute-workflow201-response.ts +126 -0
  146. package/models/export-configuration200-response-configuration.ts +23 -0
  147. package/models/export-configuration200-response.ts +33 -0
  148. package/models/import-configuration-request-schema.ts +24 -0
  149. package/models/import-configuration-request.ts +50 -0
  150. package/models/import-configuration201-response.ts +60 -0
  151. package/models/index.ts +70 -0
  152. package/models/install-app-request.ts +36 -0
  153. package/{dist/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.ts} +28 -24
  154. package/models/list-action-types200-response-collection-inner.ts +325 -0
  155. package/models/list-action-types200-response-meta.ts +42 -0
  156. package/models/list-action-types200-response.ts +42 -0
  157. package/models/list-actions200-response-collection-inner.ts +150 -0
  158. package/models/list-actions200-response.ts +42 -0
  159. package/models/list-app-connections200-response-collection-inner.ts +72 -0
  160. package/models/list-app-connections200-response.ts +42 -0
  161. package/models/list-available-apps200-response-collection-inner.ts +72 -0
  162. package/models/list-available-apps200-response.ts +42 -0
  163. package/{dist/esm/models/clone-workflow201-response.js → models/list-data-fields-type-parameter.ts} +11 -5
  164. package/models/list-data-fields200-response-collection-inner.ts +108 -0
  165. package/models/list-data-fields200-response.ts +42 -0
  166. package/models/list-events200-response-collection-inner.ts +84 -0
  167. package/models/list-events200-response.ts +42 -0
  168. package/{dist/esm/models/retrieve-installed-app200-response.d.ts → models/list-installed-apps200-response-collection-inner.ts} +26 -28
  169. package/models/list-installed-apps200-response.ts +42 -0
  170. package/models/list-triggers200-response-collection-inner.ts +126 -0
  171. package/models/list-triggers200-response.ts +42 -0
  172. package/models/list-users200-response-collection-inner.ts +90 -0
  173. package/models/list-users200-response.ts +42 -0
  174. package/models/list-workflow-executions200-response.ts +42 -0
  175. package/models/list-workflow-versions200-response-collection-inner.ts +66 -0
  176. package/models/list-workflow-versions200-response.ts +42 -0
  177. package/{dist/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -79
  178. package/models/list-workflows200-response.ts +42 -0
  179. package/models/publish-workflow-request.ts +30 -0
  180. package/models/retrieve-account-usage200-response.ts +66 -0
  181. package/models/retrieve-account200-response.ts +114 -0
  182. package/models/retrieve-available-app200-response.ts +78 -0
  183. package/models/retrieve-execution200-response.ts +138 -0
  184. package/models/retry-action-request.ts +38 -0
  185. package/models/stop-executions-request.ts +38 -0
  186. package/models/trigger-workflow-request.ts +54 -0
  187. package/models/update-account-request-action-type-categories-inner-icon.ts +42 -0
  188. package/models/update-account-request-action-type-categories-inner.ts +51 -0
  189. package/models/update-account-request-user-data-schema-inner.ts +54 -0
  190. package/models/update-account-request.ts +96 -0
  191. package/models/update-action-type-request.ts +48 -0
  192. package/models/update-installed-app-request.ts +30 -0
  193. package/models/update-trigger-request.ts +36 -0
  194. package/models/update-workflow-request.ts +93 -0
  195. package/models/upsert-user-request.ts +54 -0
  196. package/package.json +4 -6
  197. package/tsconfig.esm.json +7 -0
  198. package/tsconfig.json +18 -0
  199. package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
  200. package/dist/esm/models/api-v1-action-types-post-request.d.ts +0 -105
  201. package/dist/esm/models/clone-workflow201-response.d.ts +0 -183
  202. package/dist/esm/models/retrieve-workflow200-response.js +0 -17
  203. package/dist/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
  204. package/dist/models/api-v1-action-types-post-request-form-draft-inner.js +0 -28
  205. package/dist/models/api-v1-app-connections-post-request.d.ts +0 -42
  206. package/dist/models/clone-workflow201-response.d.ts +0 -183
  207. package/dist/models/clone-workflow201-response.js +0 -20
  208. package/dist/models/retrieve-workflow200-response.js +0 -20
  209. /package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
  210. /package/dist/esm/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
  211. /package/dist/esm/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
  212. /package/dist/esm/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
  213. /package/dist/esm/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
  214. /package/dist/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
  215. /package/dist/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
  216. /package/dist/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
  217. /package/dist/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
  218. /package/dist/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
@@ -0,0 +1,25 @@
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 CatchHookRequest
16
+ */
17
+ export interface CatchHookRequest {
18
+ [key: string]: any;
19
+ /**
20
+ * User\'s key
21
+ * @type {string}
22
+ * @memberof CatchHookRequest
23
+ */
24
+ 'user_key': string;
25
+ }
@@ -33,6 +33,12 @@ export interface CreateActionTypeRequestFormDraftInner {
33
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}
@@ -102,4 +102,16 @@ export interface CreateActionTypeRequest {
102
102
  * @memberof CreateActionTypeRequest
103
103
  */
104
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
  }
@@ -16,17 +16,35 @@
16
16
  */
17
17
  export interface CreateWorkflow201Response {
18
18
  /**
19
- * System-generated unique identifier
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
20
26
  * @type {string}
21
27
  * @memberof CreateWorkflow201Response
22
28
  */
23
- 'hashid'?: string;
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>;
24
36
  /**
25
37
  * Number of actions in the workflow
26
38
  * @type {number}
27
39
  * @memberof CreateWorkflow201Response
28
40
  */
29
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;
30
48
  /**
31
49
  * Created at in specified timezone
32
50
  * @type {string}
@@ -45,12 +63,6 @@ export interface CreateWorkflow201Response {
45
63
  * @memberof CreateWorkflow201Response
46
64
  */
47
65
  'created_at_utc'?: string | null;
48
- /**
49
- * Whether this is a default template for new users (Admin only)
50
- * @type {boolean}
51
- * @memberof CreateWorkflow201Response
52
- */
53
- 'default_template'?: boolean;
54
66
  /**
55
67
  * Description of the workflow
56
68
  * @type {string}
@@ -88,17 +100,41 @@ export interface CreateWorkflow201Response {
88
100
  */
89
101
  'has_draft'?: boolean;
90
102
  /**
91
- * Unique identifier
92
- * @type {string}
103
+ * Whether this workflow is managed by the account and read-only
104
+ * @type {boolean}
93
105
  * @memberof CreateWorkflow201Response
94
106
  */
95
- 'id'?: string;
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;
96
114
  /**
97
115
  * Unique key for the workflow
98
116
  * @type {string}
99
117
  * @memberof CreateWorkflow201Response
100
118
  */
101
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;
102
138
  /**
103
139
  * Last published at in specified timezone
104
140
  * @type {string}
@@ -117,6 +153,12 @@ export interface CreateWorkflow201Response {
117
153
  * @memberof CreateWorkflow201Response
118
154
  */
119
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;
120
162
  /**
121
163
  * Conditions for matching workflow execution
122
164
  * @type {object}
@@ -208,6 +250,11 @@ export interface CreateWorkflow201Response {
208
250
  */
209
251
  'updated_at_utc'?: string | null;
210
252
  }
253
+ export declare const CreateWorkflow201ResponseManagedByEnum: {
254
+ readonly Tenant: "tenant";
255
+ readonly Account: "account";
256
+ };
257
+ export type CreateWorkflow201ResponseManagedByEnum = typeof CreateWorkflow201ResponseManagedByEnum[keyof typeof CreateWorkflow201ResponseManagedByEnum];
211
258
  export declare const CreateWorkflow201ResponseStatusEnum: {
212
259
  readonly On: "on";
213
260
  readonly Off: "off";
@@ -11,6 +11,10 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ export const CreateWorkflow201ResponseManagedByEnum = {
15
+ Tenant: 'tenant',
16
+ Account: 'account'
17
+ };
14
18
  export const CreateWorkflow201ResponseStatusEnum = {
15
19
  On: 'on',
16
20
  Off: 'off'
@@ -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
+ }
@@ -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 EvaluateExpression200Response
16
+ */
17
+ export interface EvaluateExpression200Response {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof EvaluateExpression200Response
22
+ */
23
+ 'result'?: string;
24
+ }
@@ -0,0 +1,16 @@
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
+ * @type ExportConfiguration200ResponseConfiguration
14
+ * @export
15
+ */
16
+ export type ExportConfiguration200ResponseConfiguration = object | string;
@@ -0,0 +1,25 @@
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 { ExportConfiguration200ResponseConfiguration } from './export-configuration200-response-configuration';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ExportConfiguration200Response
17
+ */
18
+ export interface ExportConfiguration200Response {
19
+ /**
20
+ *
21
+ * @type {ExportConfiguration200ResponseConfiguration}
22
+ * @memberof ExportConfiguration200Response
23
+ */
24
+ 'configuration'?: ExportConfiguration200ResponseConfiguration;
25
+ }
@@ -1,3 +1,4 @@
1
+ export * from './catch-hook-request';
1
2
  export * from './create-action-type422-response';
2
3
  export * from './create-action-type-request';
3
4
  export * from './create-action-type-request-form-draft-inner';
@@ -14,8 +15,12 @@ export * from './delete-workflow200-response';
14
15
  export * from './delete-workflow200-response-one-of';
15
16
  export * from './delete-workflow200-response-one-of1';
16
17
  export * from './discard-workflow-draft-request';
18
+ export * from './evaluate-expression200-response';
19
+ export * from './evaluate-expression-request';
17
20
  export * from './execute-workflow201-response';
18
21
  export * from './execute-workflow-request';
22
+ export * from './export-configuration200-response';
23
+ export * from './export-configuration200-response-configuration';
19
24
  export * from './import-configuration201-response';
20
25
  export * from './import-configuration-request';
21
26
  export * from './import-configuration-request-schema';
@@ -48,14 +53,18 @@ export * from './list-workflows200-response';
48
53
  export * from './list-workflows200-response-collection-inner';
49
54
  export * from './publish-workflow-request';
50
55
  export * from './retrieve-account200-response';
56
+ export * from './retrieve-account-usage200-response';
51
57
  export * from './retrieve-available-app200-response';
52
58
  export * from './retrieve-execution200-response';
53
59
  export * from './retry-action-request';
54
60
  export * from './stop-executions-request';
55
61
  export * from './trigger-workflow-request';
56
62
  export * from './update-account-request';
63
+ export * from './update-account-request-action-type-categories-inner';
64
+ export * from './update-account-request-action-type-categories-inner-icon';
57
65
  export * from './update-account-request-user-data-schema-inner';
58
66
  export * from './update-action-type-request';
59
67
  export * from './update-installed-app-request';
68
+ export * from './update-trigger-request';
60
69
  export * from './update-workflow-request';
61
70
  export * from './upsert-user-request';
@@ -1,3 +1,4 @@
1
+ export * from './catch-hook-request';
1
2
  export * from './create-action-type422-response';
2
3
  export * from './create-action-type-request';
3
4
  export * from './create-action-type-request-form-draft-inner';
@@ -14,8 +15,12 @@ export * from './delete-workflow200-response';
14
15
  export * from './delete-workflow200-response-one-of';
15
16
  export * from './delete-workflow200-response-one-of1';
16
17
  export * from './discard-workflow-draft-request';
18
+ export * from './evaluate-expression200-response';
19
+ export * from './evaluate-expression-request';
17
20
  export * from './execute-workflow201-response';
18
21
  export * from './execute-workflow-request';
22
+ export * from './export-configuration200-response';
23
+ export * from './export-configuration200-response-configuration';
19
24
  export * from './import-configuration201-response';
20
25
  export * from './import-configuration-request';
21
26
  export * from './import-configuration-request-schema';
@@ -48,14 +53,18 @@ export * from './list-workflows200-response';
48
53
  export * from './list-workflows200-response-collection-inner';
49
54
  export * from './publish-workflow-request';
50
55
  export * from './retrieve-account200-response';
56
+ export * from './retrieve-account-usage200-response';
51
57
  export * from './retrieve-available-app200-response';
52
58
  export * from './retrieve-execution200-response';
53
59
  export * from './retry-action-request';
54
60
  export * from './stop-executions-request';
55
61
  export * from './trigger-workflow-request';
56
62
  export * from './update-account-request';
63
+ export * from './update-account-request-action-type-categories-inner';
64
+ export * from './update-account-request-action-type-categories-inner-icon';
57
65
  export * from './update-account-request-user-data-schema-inner';
58
66
  export * from './update-action-type-request';
59
67
  export * from './update-installed-app-request';
68
+ export * from './update-trigger-request';
60
69
  export * from './update-workflow-request';
61
70
  export * from './upsert-user-request';
@@ -21,6 +21,24 @@ export interface ListActionTypes200ResponseCollectionInner {
21
21
  * @memberof ListActionTypes200ResponseCollectionInner
22
22
  */
23
23
  'id'?: string;
24
+ /**
25
+ * Human-readable name of the app connection
26
+ * @type {string}
27
+ * @memberof ListActionTypes200ResponseCollectionInner
28
+ */
29
+ 'app_name'?: string | null;
30
+ /**
31
+ * Callback timeout duration value
32
+ * @type {number}
33
+ * @memberof ListActionTypes200ResponseCollectionInner
34
+ */
35
+ 'callback_timeout_n'?: number | null;
36
+ /**
37
+ * Callback timeout duration unit
38
+ * @type {string}
39
+ * @memberof ListActionTypes200ResponseCollectionInner
40
+ */
41
+ 'callback_timeout_unit'?: ListActionTypes200ResponseCollectionInnerCallbackTimeoutUnitEnum | null;
24
42
  /**
25
43
  * Code content for the action type
26
44
  * @type {string}
@@ -57,6 +75,12 @@ export interface ListActionTypes200ResponseCollectionInner {
57
75
  * @memberof ListActionTypes200ResponseCollectionInner
58
76
  */
59
77
  'description'?: string | null;
78
+ /**
79
+ * Number of times this action type has been executed
80
+ * @type {number}
81
+ * @memberof ListActionTypes200ResponseCollectionInner
82
+ */
83
+ 'executed_count'?: number;
60
84
  /**
61
85
  * Permission groups for this action type
62
86
  * @type {Array<string>}
@@ -109,6 +133,24 @@ export interface ListActionTypes200ResponseCollectionInner {
109
133
  * @memberof ListActionTypes200ResponseCollectionInner
110
134
  */
111
135
  'icon_draft'?: object | null;
136
+ /**
137
+ * Last executed at in specified timezone
138
+ * @type {string}
139
+ * @memberof ListActionTypes200ResponseCollectionInner
140
+ */
141
+ 'last_executed_at'?: string | null;
142
+ /**
143
+ * Last executed at formatted as human-readable string
144
+ * @type {string}
145
+ * @memberof ListActionTypes200ResponseCollectionInner
146
+ */
147
+ 'last_executed_at_string'?: string | null;
148
+ /**
149
+ * Last executed at in UTC
150
+ * @type {string}
151
+ * @memberof ListActionTypes200ResponseCollectionInner
152
+ */
153
+ 'last_executed_at_utc'?: string | null;
112
154
  /**
113
155
  * Last published at in specified timezone
114
156
  * @type {string}
@@ -217,6 +259,12 @@ export interface ListActionTypes200ResponseCollectionInner {
217
259
  * @memberof ListActionTypes200ResponseCollectionInner
218
260
  */
219
261
  'url_draft'?: string | null;
262
+ /**
263
+ * When true, actions fire the webhook but wait for an external callback before completing
264
+ * @type {boolean}
265
+ * @memberof ListActionTypes200ResponseCollectionInner
266
+ */
267
+ 'wait_for_callback'?: boolean;
220
268
  /**
221
269
  * Form fields for the action type
222
270
  * @type {Array<object>}
@@ -242,6 +290,16 @@ export interface ListActionTypes200ResponseCollectionInner {
242
290
  */
243
291
  'response_data_schema_draft'?: Array<object>;
244
292
  }
293
+ export declare const ListActionTypes200ResponseCollectionInnerCallbackTimeoutUnitEnum: {
294
+ readonly Sec: "sec";
295
+ readonly Min: "min";
296
+ readonly Hour: "hour";
297
+ readonly Day: "day";
298
+ readonly Week: "week";
299
+ readonly Month: "month";
300
+ readonly Year: "year";
301
+ };
302
+ export type ListActionTypes200ResponseCollectionInnerCallbackTimeoutUnitEnum = typeof ListActionTypes200ResponseCollectionInnerCallbackTimeoutUnitEnum[keyof typeof ListActionTypes200ResponseCollectionInnerCallbackTimeoutUnitEnum];
245
303
  export declare const ListActionTypes200ResponseCollectionInnerHttpMethodEnum: {
246
304
  readonly Get: "get";
247
305
  readonly Post: "post";
@@ -11,6 +11,15 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ export const ListActionTypes200ResponseCollectionInnerCallbackTimeoutUnitEnum = {
15
+ Sec: 'sec',
16
+ Min: 'min',
17
+ Hour: 'hour',
18
+ Day: 'day',
19
+ Week: 'week',
20
+ Month: 'month',
21
+ Year: 'year'
22
+ };
14
23
  export const ListActionTypes200ResponseCollectionInnerHttpMethodEnum = {
15
24
  Get: 'get',
16
25
  Post: 'post',
@@ -45,6 +45,18 @@ export interface ListDataFields200ResponseCollectionInner {
45
45
  * @memberof ListDataFields200ResponseCollectionInner
46
46
  */
47
47
  'groups'?: Array<string> | null;
48
+ /**
49
+ * Type of each item in a List (e.g., \'Object\', \'String\', \'Integer\')
50
+ * @type {string}
51
+ * @memberof ListDataFields200ResponseCollectionInner
52
+ */
53
+ 'item_type'?: string | null;
54
+ /**
55
+ * Variable name for the current item when iterating over a List
56
+ * @type {string}
57
+ * @memberof ListDataFields200ResponseCollectionInner
58
+ */
59
+ 'iterator'?: string | null;
48
60
  /**
49
61
  * Variable name for list values
50
62
  * @type {string}
@@ -81,4 +93,10 @@ export interface ListDataFields200ResponseCollectionInner {
81
93
  * @memberof ListDataFields200ResponseCollectionInner
82
94
  */
83
95
  'value'?: string | null;
96
+ /**
97
+ * Nested schema definitions. For arrays: single element defining item type. For objects: multiple elements defining properties
98
+ * @type {Array<object>}
99
+ * @memberof ListDataFields200ResponseCollectionInner
100
+ */
101
+ 'children'?: Array<object> | null;
84
102
  }
@@ -69,6 +69,24 @@ export interface ListTriggers200ResponseCollectionInner {
69
69
  * @memberof ListTriggers200ResponseCollectionInner
70
70
  */
71
71
  'icon'?: object | null;
72
+ /**
73
+ * Last triggered at in specified timezone
74
+ * @type {string}
75
+ * @memberof ListTriggers200ResponseCollectionInner
76
+ */
77
+ 'last_triggered_at'?: string | null;
78
+ /**
79
+ * Last triggered at formatted as human-readable string
80
+ * @type {string}
81
+ * @memberof ListTriggers200ResponseCollectionInner
82
+ */
83
+ 'last_triggered_at_string'?: string | null;
84
+ /**
85
+ * Last triggered at in UTC
86
+ * @type {string}
87
+ * @memberof ListTriggers200ResponseCollectionInner
88
+ */
89
+ 'last_triggered_at_utc'?: string | null;
72
90
  /**
73
91
  * Object type identifier
74
92
  * @type {string}
@@ -51,12 +51,6 @@ export interface ListUsers200ResponseCollectionInner {
51
51
  * @memberof ListUsers200ResponseCollectionInner
52
52
  */
53
53
  'groups'?: Array<string> | null;
54
- /**
55
- * Short hash identifier for the user
56
- * @type {string}
57
- * @memberof ListUsers200ResponseCollectionInner
58
- */
59
- 'hashid'?: string;
60
54
  /**
61
55
  * System-generated unique identifier
62
56
  * @type {string}
@@ -75,6 +69,12 @@ export interface ListUsers200ResponseCollectionInner {
75
69
  * @memberof ListUsers200ResponseCollectionInner
76
70
  */
77
71
  'object'?: string;
72
+ /**
73
+ * Time zone setting for the user in IANA timezone format (e.g. \'America/New_York\', \'Europe/London\', \'Asia/Tokyo\', \'Etc/UTC\')
74
+ * @type {string}
75
+ * @memberof ListUsers200ResponseCollectionInner
76
+ */
77
+ 'time_zone'?: string | null;
78
78
  /**
79
79
  * User\'s data schema configuration
80
80
  * @type {Array<object>}
@@ -16,11 +16,17 @@
16
16
  */
17
17
  export interface ListWorkflows200ResponseCollectionInner {
18
18
  /**
19
- * System-generated unique identifier
19
+ * Unique identifier
20
20
  * @type {string}
21
21
  * @memberof ListWorkflows200ResponseCollectionInner
22
22
  */
23
- 'hashid'?: string;
23
+ 'id'?: string;
24
+ /**
25
+ * Action type IDs used in this workflow\'s template
26
+ * @type {Array<string>}
27
+ * @memberof ListWorkflows200ResponseCollectionInner
28
+ */
29
+ 'action_type_ids'?: Array<string>;
24
30
  /**
25
31
  * Number of actions in the workflow
26
32
  * @type {number}
@@ -76,17 +82,35 @@ export interface ListWorkflows200ResponseCollectionInner {
76
82
  */
77
83
  'has_draft'?: boolean;
78
84
  /**
79
- * Unique identifier
80
- * @type {string}
85
+ * Whether this workflow is managed by the account and read-only
86
+ * @type {boolean}
81
87
  * @memberof ListWorkflows200ResponseCollectionInner
82
88
  */
83
- 'id'?: string;
89
+ 'is_managed'?: boolean;
84
90
  /**
85
91
  * Unique key for the workflow
86
92
  * @type {string}
87
93
  * @memberof ListWorkflows200ResponseCollectionInner
88
94
  */
89
95
  'key'?: string;
96
+ /**
97
+ * Last executed at in specified timezone
98
+ * @type {string}
99
+ * @memberof ListWorkflows200ResponseCollectionInner
100
+ */
101
+ 'last_executed_at'?: string | null;
102
+ /**
103
+ * Last executed at formatted as human-readable string
104
+ * @type {string}
105
+ * @memberof ListWorkflows200ResponseCollectionInner
106
+ */
107
+ 'last_executed_at_string'?: string | null;
108
+ /**
109
+ * Last executed at in UTC
110
+ * @type {string}
111
+ * @memberof ListWorkflows200ResponseCollectionInner
112
+ */
113
+ 'last_executed_at_utc'?: string | null;
90
114
  /**
91
115
  * Last published at in specified timezone
92
116
  * @type {string}
@@ -0,0 +1,60 @@
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 RetrieveAccountUsage200Response
16
+ */
17
+ export interface RetrieveAccountUsage200Response {
18
+ /**
19
+ * Number of active workflows (on: true)
20
+ * @type {number}
21
+ * @memberof RetrieveAccountUsage200Response
22
+ */
23
+ 'active_workflows_count'?: number;
24
+ /**
25
+ * End of the usage period (ISO 8601 format)
26
+ * @type {string}
27
+ * @memberof RetrieveAccountUsage200Response
28
+ */
29
+ 'end_time'?: string;
30
+ /**
31
+ * Number of executions in the specified time period
32
+ * @type {number}
33
+ * @memberof RetrieveAccountUsage200Response
34
+ */
35
+ 'executions_count'?: number;
36
+ /**
37
+ * Object type identifier
38
+ * @type {string}
39
+ * @memberof RetrieveAccountUsage200Response
40
+ */
41
+ 'object'?: string;
42
+ /**
43
+ * Start of the usage period (ISO 8601 format)
44
+ * @type {string}
45
+ * @memberof RetrieveAccountUsage200Response
46
+ */
47
+ 'start_time'?: string;
48
+ /**
49
+ * Total number of actions in the specified time period
50
+ * @type {number}
51
+ * @memberof RetrieveAccountUsage200Response
52
+ */
53
+ 'usage'?: number;
54
+ /**
55
+ * Total number of users in the account
56
+ * @type {number}
57
+ * @memberof RetrieveAccountUsage200Response
58
+ */
59
+ 'users_count'?: number;
60
+ }