@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,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.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "OpenAPI client for @embedworkflow/sdk",
5
- "author": "embedworkflow",
5
+ "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/embedworkflow/embed-workflow-typescript"
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
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "module": "esnext",
5
+ "outDir": "dist/esm"
6
+ }
7
+ }
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,75 +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 ApiV1ActionTypesPostRequestFormDraftInner
16
- */
17
- export interface ApiV1ActionTypesPostRequestFormDraftInner {
18
- /**
19
- * Unique identifier for the form field
20
- * @type {string}
21
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
22
- */
23
- 'id': string;
24
- /**
25
- * Field name for form submission
26
- * @type {string}
27
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
28
- */
29
- 'name': string;
30
- /**
31
- * Whether this field is required
32
- * @type {boolean}
33
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
34
- */
35
- 'required'?: boolean;
36
- /**
37
- * Display label for the form field
38
- * @type {string}
39
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
40
- */
41
- 'label'?: string;
42
- /**
43
- * Help text or description for the field
44
- * @type {string}
45
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
46
- */
47
- 'description'?: string;
48
- /**
49
- * Form field type
50
- * @type {string}
51
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
52
- */
53
- 'type': ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum;
54
- /**
55
- * Additional field configuration (options, validation, etc.)
56
- * @type {{ [key: string]: any; }}
57
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
58
- */
59
- 'data'?: {
60
- [key: string]: any;
61
- };
62
- }
63
- export declare const ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum: {
64
- readonly Text: "text";
65
- readonly Email: "email";
66
- readonly Password: "password";
67
- readonly Textarea: "textarea";
68
- readonly Select: "select";
69
- readonly Checkbox: "checkbox";
70
- readonly Radio: "radio";
71
- readonly Number: "number";
72
- readonly Date: "date";
73
- readonly File: "file";
74
- };
75
- export type ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum = typeof ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum[keyof typeof ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum];
@@ -1,105 +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
- import { ApiV1ActionTypesPostRequestFormDraftInner } from './api-v1-action-types-post-request-form-draft-inner';
13
- import { ApiV1ActionTypesPostRequestIconDraft } from './api-v1-action-types-post-request-icon-draft';
14
- import { UpdateAccountRequestUserDataSchemaInner } from './update-account-request-user-data-schema-inner';
15
- /**
16
- *
17
- * @export
18
- * @interface ApiV1ActionTypesPostRequest
19
- */
20
- export interface ApiV1ActionTypesPostRequest {
21
- /**
22
- * Name of resource
23
- * @type {string}
24
- * @memberof ApiV1ActionTypesPostRequest
25
- */
26
- 'name': string;
27
- /**
28
- * Description of action type
29
- * @type {string}
30
- * @memberof ApiV1ActionTypesPostRequest
31
- */
32
- 'description'?: string;
33
- /**
34
- * Type of action
35
- * @type {string}
36
- * @memberof ApiV1ActionTypesPostRequest
37
- */
38
- 'type': string;
39
- /**
40
- * Enable or disable the resource.
41
- * @type {boolean}
42
- * @memberof ApiV1ActionTypesPostRequest
43
- */
44
- 'on'?: boolean;
45
- /**
46
- * HTTP parameters as key:value pairs, one per line
47
- * @type {string}
48
- * @memberof ApiV1ActionTypesPostRequest
49
- */
50
- 'params_draft'?: string;
51
- /**
52
- * HTTP headers as key:value pairs, one per line
53
- * @type {string}
54
- * @memberof ApiV1ActionTypesPostRequest
55
- */
56
- 'headers_draft'?: string;
57
- /**
58
- * HTTP url
59
- * @type {string}
60
- * @memberof ApiV1ActionTypesPostRequest
61
- */
62
- 'url_draft'?: string;
63
- /**
64
- * HTTP method
65
- * @type {string}
66
- * @memberof ApiV1ActionTypesPostRequest
67
- */
68
- 'http_method_draft'?: string;
69
- /**
70
- * JavaScript code snippt
71
- * @type {string}
72
- * @memberof ApiV1ActionTypesPostRequest
73
- */
74
- 'code_draft'?: string;
75
- /**
76
- * Whether or not you want to publish on create
77
- * @type {boolean}
78
- * @memberof ApiV1ActionTypesPostRequest
79
- */
80
- 'publish'?: boolean;
81
- /**
82
- * Form field configuration
83
- * @type {Array<ApiV1ActionTypesPostRequestFormDraftInner>}
84
- * @memberof ApiV1ActionTypesPostRequest
85
- */
86
- 'form_draft'?: Array<ApiV1ActionTypesPostRequestFormDraftInner>;
87
- /**
88
- * Data schema configuration
89
- * @type {Array<UpdateAccountRequestUserDataSchemaInner>}
90
- * @memberof ApiV1ActionTypesPostRequest
91
- */
92
- 'response_data_schema_draft'?: Array<UpdateAccountRequestUserDataSchemaInner>;
93
- /**
94
- * User permission groups. Only available to users with admin role.
95
- * @type {Array<string>}
96
- * @memberof ApiV1ActionTypesPostRequest
97
- */
98
- 'groups'?: Array<string>;
99
- /**
100
- *
101
- * @type {ApiV1ActionTypesPostRequestIconDraft}
102
- * @memberof ApiV1ActionTypesPostRequest
103
- */
104
- 'icon_draft'?: ApiV1ActionTypesPostRequestIconDraft;
105
- }
@@ -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];
@@ -1,17 +0,0 @@
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 const RetrieveWorkflow200ResponseStatusEnum = {
15
- On: 'on',
16
- Off: 'off'
17
- };
@@ -1,75 +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 ApiV1ActionTypesPostRequestFormDraftInner
16
- */
17
- export interface ApiV1ActionTypesPostRequestFormDraftInner {
18
- /**
19
- * Unique identifier for the form field
20
- * @type {string}
21
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
22
- */
23
- 'id': string;
24
- /**
25
- * Field name for form submission
26
- * @type {string}
27
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
28
- */
29
- 'name': string;
30
- /**
31
- * Whether this field is required
32
- * @type {boolean}
33
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
34
- */
35
- 'required'?: boolean;
36
- /**
37
- * Display label for the form field
38
- * @type {string}
39
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
40
- */
41
- 'label'?: string;
42
- /**
43
- * Help text or description for the field
44
- * @type {string}
45
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
46
- */
47
- 'description'?: string;
48
- /**
49
- * Form field type
50
- * @type {string}
51
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
52
- */
53
- 'type': ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum;
54
- /**
55
- * Additional field configuration (options, validation, etc.)
56
- * @type {{ [key: string]: any; }}
57
- * @memberof ApiV1ActionTypesPostRequestFormDraftInner
58
- */
59
- 'data'?: {
60
- [key: string]: any;
61
- };
62
- }
63
- export declare const ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum: {
64
- readonly Text: "text";
65
- readonly Email: "email";
66
- readonly Password: "password";
67
- readonly Textarea: "textarea";
68
- readonly Select: "select";
69
- readonly Checkbox: "checkbox";
70
- readonly Radio: "radio";
71
- readonly Number: "number";
72
- readonly Date: "date";
73
- readonly File: "file";
74
- };
75
- export type ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum = typeof ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum[keyof typeof ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum];
@@ -1,28 +0,0 @@
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.ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum = void 0;
17
- exports.ApiV1ActionTypesPostRequestFormDraftInnerTypeEnum = {
18
- Text: 'text',
19
- Email: 'email',
20
- Password: 'password',
21
- Textarea: 'textarea',
22
- Select: 'select',
23
- Checkbox: 'checkbox',
24
- Radio: 'radio',
25
- Number: 'number',
26
- Date: 'date',
27
- File: 'file'
28
- };