@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,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 {};
@@ -15,6 +15,18 @@
15
15
  * @interface RetrieveAccount200Response
16
16
  */
17
17
  export interface RetrieveAccount200Response {
18
+ /**
19
+ * Available action type categories for the account
20
+ * @type {Array<object>}
21
+ * @memberof RetrieveAccount200Response
22
+ */
23
+ 'action_type_categories'?: Array<object>;
24
+ /**
25
+ * Whether action type categories are enabled for display
26
+ * @type {boolean}
27
+ * @memberof RetrieveAccount200Response
28
+ */
29
+ 'action_type_categories_enabled'?: boolean;
18
30
  /**
19
31
  * Company name associated with the account
20
32
  * @type {string}
@@ -66,7 +78,7 @@ export interface RetrieveAccount200Response {
66
78
  */
67
79
  'theme'?: string | null;
68
80
  /**
69
- * Time zone setting for the account
81
+ * Time zone setting for the account in IANA timezone format (e.g. \'America/New_York\', \'Europe/London\', \'Asia/Tokyo\', \'Etc/UTC\')
70
82
  * @type {string}
71
83
  * @memberof RetrieveAccount200Response
72
84
  */
@@ -77,6 +89,12 @@ export interface RetrieveAccount200Response {
77
89
  * @memberof RetrieveAccount200Response
78
90
  */
79
91
  'user_name'?: string | null;
92
+ /**
93
+ * Time zone setting for the user in IANA timezone format (e.g. \'America/New_York\', \'Europe/London\', \'Asia/Tokyo\', \'Etc/UTC\')
94
+ * @type {string}
95
+ * @memberof RetrieveAccount200Response
96
+ */
97
+ 'user_time_zone'?: string | null;
80
98
  /**
81
99
  * Account data schema
82
100
  * @type {Array<object>}
@@ -10,27 +10,27 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Icon configuration
13
+ * Icon configuration (user-editable)
14
14
  * @export
15
- * @interface ApiV1ActionTypesPostRequestIconDraft
15
+ * @interface UpdateAccountRequestActionTypeCategoriesInnerIcon
16
16
  */
17
- export interface ApiV1ActionTypesPostRequestIconDraft {
17
+ export interface UpdateAccountRequestActionTypeCategoriesInnerIcon {
18
18
  /**
19
- * Icon type identifier
19
+ *
20
20
  * @type {string}
21
- * @memberof ApiV1ActionTypesPostRequestIconDraft
21
+ * @memberof UpdateAccountRequestActionTypeCategoriesInnerIcon
22
22
  */
23
- 'type': string;
23
+ 'type'?: string;
24
24
  /**
25
- * Background color for the icon
25
+ *
26
26
  * @type {string}
27
- * @memberof ApiV1ActionTypesPostRequestIconDraft
27
+ * @memberof UpdateAccountRequestActionTypeCategoriesInnerIcon
28
28
  */
29
29
  'background_color'?: string;
30
30
  /**
31
- * Custom icon URL (optional)
31
+ *
32
32
  * @type {string}
33
- * @memberof ApiV1ActionTypesPostRequestIconDraft
33
+ * @memberof UpdateAccountRequestActionTypeCategoriesInnerIcon
34
34
  */
35
35
  'url'?: string;
36
36
  }
@@ -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,43 @@
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 { UpdateAccountRequestActionTypeCategoriesInnerIcon } from './update-account-request-action-type-categories-inner-icon';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateAccountRequestActionTypeCategoriesInner
17
+ */
18
+ export interface UpdateAccountRequestActionTypeCategoriesInner {
19
+ /**
20
+ * Immutable category identifier
21
+ * @type {string}
22
+ * @memberof UpdateAccountRequestActionTypeCategoriesInner
23
+ */
24
+ 'key': string;
25
+ /**
26
+ * Display name (user-editable)
27
+ * @type {string}
28
+ * @memberof UpdateAccountRequestActionTypeCategoriesInner
29
+ */
30
+ 'name': string;
31
+ /**
32
+ * Short description (user-editable)
33
+ * @type {string}
34
+ * @memberof UpdateAccountRequestActionTypeCategoriesInner
35
+ */
36
+ 'description'?: string;
37
+ /**
38
+ *
39
+ * @type {UpdateAccountRequestActionTypeCategoriesInnerIcon}
40
+ * @memberof UpdateAccountRequestActionTypeCategoriesInner
41
+ */
42
+ 'icon'?: UpdateAccountRequestActionTypeCategoriesInnerIcon;
43
+ }
@@ -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 {};
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { UpdateAccountRequestActionTypeCategoriesInner } from './update-account-request-action-type-categories-inner';
12
13
  import { UpdateAccountRequestUserDataSchemaInner } from './update-account-request-user-data-schema-inner';
13
14
  /**
14
15
  *
@@ -52,6 +53,18 @@ export interface UpdateAccountRequest {
52
53
  * @memberof UpdateAccountRequest
53
54
  */
54
55
  'groups'?: Array<string>;
56
+ /**
57
+ * Enable or disable action type categories display
58
+ * @type {boolean}
59
+ * @memberof UpdateAccountRequest
60
+ */
61
+ 'action_type_categories_enabled'?: boolean;
62
+ /**
63
+ * Action type categories for the account.
64
+ * @type {Array<UpdateAccountRequestActionTypeCategoriesInner>}
65
+ * @memberof UpdateAccountRequest
66
+ */
67
+ 'action_type_categories'?: Array<UpdateAccountRequestActionTypeCategoriesInner>;
55
68
  /**
56
69
  * Additional account data
57
70
  * @type {{ [key: string]: any; }}
@@ -27,4 +27,16 @@ export interface UpdateActionTypeRequest {
27
27
  * @memberof UpdateActionTypeRequest
28
28
  */
29
29
  'title'?: string;
30
+ /**
31
+ * Primary category for the action type
32
+ * @type {string}
33
+ * @memberof UpdateActionTypeRequest
34
+ */
35
+ 'primary_category'?: string;
36
+ /**
37
+ * Secondary category for the action type
38
+ * @type {string}
39
+ * @memberof UpdateActionTypeRequest
40
+ */
41
+ 'secondary_category'?: string;
30
42
  }
@@ -0,0 +1,30 @@
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 UpdateTriggerRequest
16
+ */
17
+ export interface UpdateTriggerRequest {
18
+ /**
19
+ * The trigger\'s key
20
+ * @type {string}
21
+ * @memberof UpdateTriggerRequest
22
+ */
23
+ 'event'?: string;
24
+ /**
25
+ * Title
26
+ * @type {string}
27
+ * @memberof UpdateTriggerRequest
28
+ */
29
+ 'title'?: string;
30
+ }
@@ -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 {};
@@ -33,7 +33,13 @@ export interface UpdateWorkflowRequest {
33
33
  * @type {boolean}
34
34
  * @memberof UpdateWorkflowRequest
35
35
  */
36
- 'default_template'?: boolean;
36
+ 'auto_clone_for_new_users'?: boolean;
37
+ /**
38
+ * Mark workflow as a template. When true, new users will see this in a library of templates (Admin only)
39
+ * @type {boolean}
40
+ * @memberof UpdateWorkflowRequest
41
+ */
42
+ 'is_template'?: boolean;
37
43
  /**
38
44
  * Enable or disable the resource.
39
45
  * @type {boolean}
@@ -41,4 +41,10 @@ export interface UpsertUserRequest {
41
41
  * @memberof UpsertUserRequest
42
42
  */
43
43
  'groups'?: Array<string>;
44
+ /**
45
+ * Time zone
46
+ * @type {string}
47
+ * @memberof UpsertUserRequest
48
+ */
49
+ 'time_zone'?: string;
44
50
  }
@@ -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";
@@ -13,7 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateWorkflow201ResponseStatusEnum = void 0;
16
+ exports.CreateWorkflow201ResponseStatusEnum = exports.CreateWorkflow201ResponseManagedByEnum = void 0;
17
+ exports.CreateWorkflow201ResponseManagedByEnum = {
18
+ Tenant: 'tenant',
19
+ Account: 'account'
20
+ };
17
21
  exports.CreateWorkflow201ResponseStatusEnum = {
18
22
  On: 'on',
19
23
  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';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./catch-hook-request"), exports);
17
18
  __exportStar(require("./create-action-type422-response"), exports);
18
19
  __exportStar(require("./create-action-type-request"), exports);
19
20
  __exportStar(require("./create-action-type-request-form-draft-inner"), exports);
@@ -30,8 +31,12 @@ __exportStar(require("./delete-workflow200-response"), exports);
30
31
  __exportStar(require("./delete-workflow200-response-one-of"), exports);
31
32
  __exportStar(require("./delete-workflow200-response-one-of1"), exports);
32
33
  __exportStar(require("./discard-workflow-draft-request"), exports);
34
+ __exportStar(require("./evaluate-expression200-response"), exports);
35
+ __exportStar(require("./evaluate-expression-request"), exports);
33
36
  __exportStar(require("./execute-workflow201-response"), exports);
34
37
  __exportStar(require("./execute-workflow-request"), exports);
38
+ __exportStar(require("./export-configuration200-response"), exports);
39
+ __exportStar(require("./export-configuration200-response-configuration"), exports);
35
40
  __exportStar(require("./import-configuration201-response"), exports);
36
41
  __exportStar(require("./import-configuration-request"), exports);
37
42
  __exportStar(require("./import-configuration-request-schema"), exports);
@@ -64,14 +69,18 @@ __exportStar(require("./list-workflows200-response"), exports);
64
69
  __exportStar(require("./list-workflows200-response-collection-inner"), exports);
65
70
  __exportStar(require("./publish-workflow-request"), exports);
66
71
  __exportStar(require("./retrieve-account200-response"), exports);
72
+ __exportStar(require("./retrieve-account-usage200-response"), exports);
67
73
  __exportStar(require("./retrieve-available-app200-response"), exports);
68
74
  __exportStar(require("./retrieve-execution200-response"), exports);
69
75
  __exportStar(require("./retry-action-request"), exports);
70
76
  __exportStar(require("./stop-executions-request"), exports);
71
77
  __exportStar(require("./trigger-workflow-request"), exports);
72
78
  __exportStar(require("./update-account-request"), exports);
79
+ __exportStar(require("./update-account-request-action-type-categories-inner"), exports);
80
+ __exportStar(require("./update-account-request-action-type-categories-inner-icon"), exports);
73
81
  __exportStar(require("./update-account-request-user-data-schema-inner"), exports);
74
82
  __exportStar(require("./update-action-type-request"), exports);
75
83
  __exportStar(require("./update-installed-app-request"), exports);
84
+ __exportStar(require("./update-trigger-request"), exports);
76
85
  __exportStar(require("./update-workflow-request"), exports);
77
86
  __exportStar(require("./upsert-user-request"), exports);