@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
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = void 0;
25
+ exports.ExportConfigurationSectionsEnum = exports.ExportConfigurationSchemaFormatEnum = exports.AccountsApi = exports.AccountsApiFactory = exports.AccountsApiFp = exports.AccountsApiAxiosParamCreator = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -35,6 +35,42 @@ const base_1 = require("../base");
35
35
  */
36
36
  const AccountsApiAxiosParamCreator = function (configuration) {
37
37
  return {
38
+ /**
39
+ *
40
+ * @summary Export configuration
41
+ * @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
42
+ * @param {Array<ExportConfigurationSectionsEnum>} [sections]
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ exportConfiguration: (schemaFormat, sections, options = {}) => __awaiter(this, void 0, void 0, function* () {
47
+ const localVarPath = `/api/v1/configurations/export`;
48
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
49
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
50
+ let baseOptions;
51
+ if (configuration) {
52
+ baseOptions = configuration.baseOptions;
53
+ }
54
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
55
+ const localVarHeaderParameter = {};
56
+ const localVarQueryParameter = {};
57
+ // authentication bearer required
58
+ // http bearer authentication required
59
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
60
+ if (schemaFormat !== undefined) {
61
+ localVarQueryParameter['schema_format'] = schemaFormat;
62
+ }
63
+ if (sections) {
64
+ localVarQueryParameter['sections'] = sections;
65
+ }
66
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
67
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
68
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
69
+ return {
70
+ url: (0, common_1.toPathString)(localVarUrlObj),
71
+ options: localVarRequestOptions,
72
+ };
73
+ }),
38
74
  /**
39
75
  *
40
76
  * @summary Import configuration
@@ -94,6 +130,50 @@ const AccountsApiAxiosParamCreator = function (configuration) {
94
130
  options: localVarRequestOptions,
95
131
  };
96
132
  }),
133
+ /**
134
+ *
135
+ * @summary Retrieve account usage
136
+ * @param {string} [startTime]
137
+ * @param {string} [endTime]
138
+ * @param {string} [userKey] User key to filter usage for a specific user
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ retrieveAccountUsage: (startTime, endTime, userKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
143
+ const localVarPath = `/api/v1/account/usage`;
144
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
145
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
146
+ let baseOptions;
147
+ if (configuration) {
148
+ baseOptions = configuration.baseOptions;
149
+ }
150
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
151
+ const localVarHeaderParameter = {};
152
+ const localVarQueryParameter = {};
153
+ // authentication bearer required
154
+ // http bearer authentication required
155
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
156
+ if (startTime !== undefined) {
157
+ localVarQueryParameter['start_time'] = (startTime instanceof Date) ?
158
+ startTime.toISOString() :
159
+ startTime;
160
+ }
161
+ if (endTime !== undefined) {
162
+ localVarQueryParameter['end_time'] = (endTime instanceof Date) ?
163
+ endTime.toISOString() :
164
+ endTime;
165
+ }
166
+ if (userKey !== undefined) {
167
+ localVarQueryParameter['user_key'] = userKey;
168
+ }
169
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
172
+ return {
173
+ url: (0, common_1.toPathString)(localVarUrlObj),
174
+ options: localVarRequestOptions,
175
+ };
176
+ }),
97
177
  /**
98
178
  *
99
179
  * @summary Update account
@@ -135,6 +215,23 @@ exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
135
215
  const AccountsApiFp = function (configuration) {
136
216
  const localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
137
217
  return {
218
+ /**
219
+ *
220
+ * @summary Export configuration
221
+ * @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
222
+ * @param {Array<ExportConfigurationSectionsEnum>} [sections]
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ exportConfiguration(schemaFormat, sections, options) {
227
+ var _a, _b, _c;
228
+ return __awaiter(this, void 0, void 0, function* () {
229
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.exportConfiguration(schemaFormat, sections, options);
230
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
231
+ const operationBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.exportConfiguration']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
232
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
233
+ });
234
+ },
138
235
  /**
139
236
  *
140
237
  * @summary Import configuration
@@ -166,6 +263,24 @@ const AccountsApiFp = function (configuration) {
166
263
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
167
264
  });
168
265
  },
266
+ /**
267
+ *
268
+ * @summary Retrieve account usage
269
+ * @param {string} [startTime]
270
+ * @param {string} [endTime]
271
+ * @param {string} [userKey] User key to filter usage for a specific user
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ retrieveAccountUsage(startTime, endTime, userKey, options) {
276
+ var _a, _b, _c;
277
+ return __awaiter(this, void 0, void 0, function* () {
278
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.retrieveAccountUsage(startTime, endTime, userKey, options);
279
+ const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
280
+ const operationBasePath = (_c = (_b = base_1.operationServerMap['AccountsApi.retrieveAccountUsage']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
281
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
282
+ });
283
+ },
169
284
  /**
170
285
  *
171
286
  * @summary Update account
@@ -192,6 +307,17 @@ exports.AccountsApiFp = AccountsApiFp;
192
307
  const AccountsApiFactory = function (configuration, basePath, axios) {
193
308
  const localVarFp = (0, exports.AccountsApiFp)(configuration);
194
309
  return {
310
+ /**
311
+ *
312
+ * @summary Export configuration
313
+ * @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
314
+ * @param {Array<ExportConfigurationSectionsEnum>} [sections]
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ */
318
+ exportConfiguration(schemaFormat, sections, options) {
319
+ return localVarFp.exportConfiguration(schemaFormat, sections, options).then((request) => request(axios, basePath));
320
+ },
195
321
  /**
196
322
  *
197
323
  * @summary Import configuration
@@ -211,6 +337,18 @@ const AccountsApiFactory = function (configuration, basePath, axios) {
211
337
  retrieveAccount(options) {
212
338
  return localVarFp.retrieveAccount(options).then((request) => request(axios, basePath));
213
339
  },
340
+ /**
341
+ *
342
+ * @summary Retrieve account usage
343
+ * @param {string} [startTime]
344
+ * @param {string} [endTime]
345
+ * @param {string} [userKey] User key to filter usage for a specific user
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ */
349
+ retrieveAccountUsage(startTime, endTime, userKey, options) {
350
+ return localVarFp.retrieveAccountUsage(startTime, endTime, userKey, options).then((request) => request(axios, basePath));
351
+ },
214
352
  /**
215
353
  *
216
354
  * @summary Update account
@@ -231,6 +369,18 @@ exports.AccountsApiFactory = AccountsApiFactory;
231
369
  * @extends {BaseAPI}
232
370
  */
233
371
  class AccountsApi extends base_1.BaseAPI {
372
+ /**
373
+ *
374
+ * @summary Export configuration
375
+ * @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
376
+ * @param {Array<ExportConfigurationSectionsEnum>} [sections]
377
+ * @param {*} [options] Override http request option.
378
+ * @throws {RequiredError}
379
+ * @memberof AccountsApi
380
+ */
381
+ exportConfiguration(schemaFormat, sections, options) {
382
+ return (0, exports.AccountsApiFp)(this.configuration).exportConfiguration(schemaFormat, sections, options).then((request) => request(this.axios, this.basePath));
383
+ }
234
384
  /**
235
385
  *
236
386
  * @summary Import configuration
@@ -252,6 +402,19 @@ class AccountsApi extends base_1.BaseAPI {
252
402
  retrieveAccount(options) {
253
403
  return (0, exports.AccountsApiFp)(this.configuration).retrieveAccount(options).then((request) => request(this.axios, this.basePath));
254
404
  }
405
+ /**
406
+ *
407
+ * @summary Retrieve account usage
408
+ * @param {string} [startTime]
409
+ * @param {string} [endTime]
410
+ * @param {string} [userKey] User key to filter usage for a specific user
411
+ * @param {*} [options] Override http request option.
412
+ * @throws {RequiredError}
413
+ * @memberof AccountsApi
414
+ */
415
+ retrieveAccountUsage(startTime, endTime, userKey, options) {
416
+ return (0, exports.AccountsApiFp)(this.configuration).retrieveAccountUsage(startTime, endTime, userKey, options).then((request) => request(this.axios, this.basePath));
417
+ }
255
418
  /**
256
419
  *
257
420
  * @summary Update account
@@ -265,3 +428,21 @@ class AccountsApi extends base_1.BaseAPI {
265
428
  }
266
429
  }
267
430
  exports.AccountsApi = AccountsApi;
431
+ /**
432
+ * @export
433
+ */
434
+ exports.ExportConfigurationSchemaFormatEnum = {
435
+ Yaml: 'yaml',
436
+ Json: 'json'
437
+ };
438
+ /**
439
+ * @export
440
+ */
441
+ exports.ExportConfigurationSectionsEnum = {
442
+ ActionTypes: 'action_types',
443
+ Triggers: 'triggers',
444
+ Workflows: 'workflows',
445
+ Apps: 'apps',
446
+ UserDataSchema: 'user_data_schema',
447
+ AccountDataSchema: 'account_data_schema'
448
+ };
@@ -52,10 +52,11 @@ export declare const ActionTypesApiAxiosParamCreator: (configuration?: Configura
52
52
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
53
53
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
54
54
  * @param {number} [limit] Number of items to return (max 100)
55
+ * @param {string} [category] Filter by category (matches primary or secondary)
55
56
  * @param {*} [options] Override http request option.
56
57
  * @throws {RequiredError}
57
58
  */
58
- listActionTypes: (startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
+ listActionTypes: (startingAfter?: string, endingBefore?: string, limit?: number, category?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
60
  /**
60
61
  *
61
62
  * @summary Publish action type
@@ -117,10 +118,11 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
117
118
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
118
119
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
119
120
  * @param {number} [limit] Number of items to return (max 100)
121
+ * @param {string} [category] Filter by category (matches primary or secondary)
120
122
  * @param {*} [options] Override http request option.
121
123
  * @throws {RequiredError}
122
124
  */
123
- listActionTypes(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200Response>>;
125
+ listActionTypes(startingAfter?: string, endingBefore?: string, limit?: number, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200Response>>;
124
126
  /**
125
127
  *
126
128
  * @summary Publish action type
@@ -182,10 +184,11 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
182
184
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
183
185
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
184
186
  * @param {number} [limit] Number of items to return (max 100)
187
+ * @param {string} [category] Filter by category (matches primary or secondary)
185
188
  * @param {*} [options] Override http request option.
186
189
  * @throws {RequiredError}
187
190
  */
188
- listActionTypes(startingAfter?: string, endingBefore?: string, limit?: number, options?: any): AxiosPromise<ListActionTypes200Response>;
191
+ listActionTypes(startingAfter?: string, endingBefore?: string, limit?: number, category?: string, options?: any): AxiosPromise<ListActionTypes200Response>;
189
192
  /**
190
193
  *
191
194
  * @summary Publish action type
@@ -251,11 +254,12 @@ export interface ActionTypesApiInterface {
251
254
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
252
255
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
253
256
  * @param {number} [limit] Number of items to return (max 100)
257
+ * @param {string} [category] Filter by category (matches primary or secondary)
254
258
  * @param {*} [options] Override http request option.
255
259
  * @throws {RequiredError}
256
260
  * @memberof ActionTypesApiInterface
257
261
  */
258
- listActionTypes(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200Response>;
262
+ listActionTypes(startingAfter?: string, endingBefore?: string, limit?: number, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200Response>;
259
263
  /**
260
264
  *
261
265
  * @summary Publish action type
@@ -300,7 +304,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
300
304
  * @throws {RequiredError}
301
305
  * @memberof ActionTypesApi
302
306
  */
303
- createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
307
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
304
308
  /**
305
309
  *
306
310
  * @summary Delete action type
@@ -309,7 +313,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
309
313
  * @throws {RequiredError}
310
314
  * @memberof ActionTypesApi
311
315
  */
312
- deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any>>;
316
+ deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any, {}>>;
313
317
  /**
314
318
  *
315
319
  * @summary Discard action type draft
@@ -318,18 +322,19 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
318
322
  * @throws {RequiredError}
319
323
  * @memberof ActionTypesApi
320
324
  */
321
- discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
325
+ discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
322
326
  /**
323
327
  *
324
328
  * @summary List action types
325
329
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
326
330
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
327
331
  * @param {number} [limit] Number of items to return (max 100)
332
+ * @param {string} [category] Filter by category (matches primary or secondary)
328
333
  * @param {*} [options] Override http request option.
329
334
  * @throws {RequiredError}
330
335
  * @memberof ActionTypesApi
331
336
  */
332
- listActionTypes(startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200Response, any>>;
337
+ listActionTypes(startingAfter?: string, endingBefore?: string, limit?: number, category?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200Response, any, {}>>;
333
338
  /**
334
339
  *
335
340
  * @summary Publish action type
@@ -338,7 +343,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
338
343
  * @throws {RequiredError}
339
344
  * @memberof ActionTypesApi
340
345
  */
341
- publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
346
+ publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
342
347
  /**
343
348
  *
344
349
  * @summary Retrieve action type
@@ -347,7 +352,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
347
352
  * @throws {RequiredError}
348
353
  * @memberof ActionTypesApi
349
354
  */
350
- retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
355
+ retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
351
356
  /**
352
357
  *
353
358
  * @summary Update action type
@@ -357,5 +362,5 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
357
362
  * @throws {RequiredError}
358
363
  * @memberof ActionTypesApi
359
364
  */
360
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
365
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
361
366
  }
@@ -136,10 +136,11 @@ const ActionTypesApiAxiosParamCreator = function (configuration) {
136
136
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
137
137
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
138
138
  * @param {number} [limit] Number of items to return (max 100)
139
+ * @param {string} [category] Filter by category (matches primary or secondary)
139
140
  * @param {*} [options] Override http request option.
140
141
  * @throws {RequiredError}
141
142
  */
142
- listActionTypes: (startingAfter, endingBefore, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
143
+ listActionTypes: (startingAfter, endingBefore, limit, category, options = {}) => __awaiter(this, void 0, void 0, function* () {
143
144
  const localVarPath = `/api/v1/action_types`;
144
145
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
145
146
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -162,6 +163,9 @@ const ActionTypesApiAxiosParamCreator = function (configuration) {
162
163
  if (limit !== undefined) {
163
164
  localVarQueryParameter['limit'] = limit;
164
165
  }
166
+ if (category !== undefined) {
167
+ localVarQueryParameter['category'] = category;
168
+ }
165
169
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
166
170
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
167
171
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -333,13 +337,14 @@ const ActionTypesApiFp = function (configuration) {
333
337
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
334
338
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
335
339
  * @param {number} [limit] Number of items to return (max 100)
340
+ * @param {string} [category] Filter by category (matches primary or secondary)
336
341
  * @param {*} [options] Override http request option.
337
342
  * @throws {RequiredError}
338
343
  */
339
- listActionTypes(startingAfter, endingBefore, limit, options) {
344
+ listActionTypes(startingAfter, endingBefore, limit, category, options) {
340
345
  var _a, _b, _c;
341
346
  return __awaiter(this, void 0, void 0, function* () {
342
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listActionTypes(startingAfter, endingBefore, limit, options);
347
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listActionTypes(startingAfter, endingBefore, limit, category, options);
343
348
  const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
344
349
  const operationBasePath = (_c = (_b = base_1.operationServerMap['ActionTypesApi.listActionTypes']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
345
350
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
@@ -440,11 +445,12 @@ const ActionTypesApiFactory = function (configuration, basePath, axios) {
440
445
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
441
446
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
442
447
  * @param {number} [limit] Number of items to return (max 100)
448
+ * @param {string} [category] Filter by category (matches primary or secondary)
443
449
  * @param {*} [options] Override http request option.
444
450
  * @throws {RequiredError}
445
451
  */
446
- listActionTypes(startingAfter, endingBefore, limit, options) {
447
- return localVarFp.listActionTypes(startingAfter, endingBefore, limit, options).then((request) => request(axios, basePath));
452
+ listActionTypes(startingAfter, endingBefore, limit, category, options) {
453
+ return localVarFp.listActionTypes(startingAfter, endingBefore, limit, category, options).then((request) => request(axios, basePath));
448
454
  },
449
455
  /**
450
456
  *
@@ -526,12 +532,13 @@ class ActionTypesApi extends base_1.BaseAPI {
526
532
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
527
533
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
528
534
  * @param {number} [limit] Number of items to return (max 100)
535
+ * @param {string} [category] Filter by category (matches primary or secondary)
529
536
  * @param {*} [options] Override http request option.
530
537
  * @throws {RequiredError}
531
538
  * @memberof ActionTypesApi
532
539
  */
533
- listActionTypes(startingAfter, endingBefore, limit, options) {
534
- return (0, exports.ActionTypesApiFp)(this.configuration).listActionTypes(startingAfter, endingBefore, limit, options).then((request) => request(this.axios, this.basePath));
540
+ listActionTypes(startingAfter, endingBefore, limit, category, options) {
541
+ return (0, exports.ActionTypesApiFp)(this.configuration).listActionTypes(startingAfter, endingBefore, limit, category, options).then((request) => request(this.axios, this.basePath));
535
542
  }
536
543
  /**
537
544
  *
@@ -353,7 +353,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
353
353
  * @throws {RequiredError}
354
354
  * @memberof ActionsApi
355
355
  */
356
- listActions(startingAfter?: string, endingBefore?: string, limit?: number, status?: string, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
356
+ listActions(startingAfter?: string, endingBefore?: string, limit?: number, status?: string, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
357
357
  /**
358
358
  *
359
359
  * @summary List completed actions
@@ -367,7 +367,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
367
367
  * @throws {RequiredError}
368
368
  * @memberof ActionsApi
369
369
  */
370
- listCompletedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
370
+ listCompletedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
371
371
  /**
372
372
  *
373
373
  * @summary List failed actions
@@ -381,7 +381,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
381
381
  * @throws {RequiredError}
382
382
  * @memberof ActionsApi
383
383
  */
384
- listFailedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
384
+ listFailedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
385
385
  /**
386
386
  *
387
387
  * @summary List scheduled actions
@@ -395,7 +395,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
395
395
  * @throws {RequiredError}
396
396
  * @memberof ActionsApi
397
397
  */
398
- listScheduledActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
398
+ listScheduledActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
399
399
  /**
400
400
  *
401
401
  * @summary List workflow actions
@@ -407,7 +407,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
407
407
  * @throws {RequiredError}
408
408
  * @memberof ActionsApi
409
409
  */
410
- listWorkflowActions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
410
+ listWorkflowActions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
411
411
  /**
412
412
  *
413
413
  * @summary Retry action
@@ -417,5 +417,5 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
417
417
  * @throws {RequiredError}
418
418
  * @memberof ActionsApi
419
419
  */
420
- retryAction(hashid: string, retryActionRequest?: RetryActionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
420
+ retryAction(hashid: string, retryActionRequest?: RetryActionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
421
421
  }
@@ -249,7 +249,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
249
249
  * @throws {RequiredError}
250
250
  * @memberof AppConnectionsApi
251
251
  */
252
- createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
252
+ createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any, {}>>;
253
253
  /**
254
254
  *
255
255
  * @summary Delete app connection
@@ -259,7 +259,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
259
259
  * @throws {RequiredError}
260
260
  * @memberof AppConnectionsApi
261
261
  */
262
- deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any>>;
262
+ deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any, {}>>;
263
263
  /**
264
264
  *
265
265
  * @summary List app connections
@@ -272,7 +272,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
272
272
  * @throws {RequiredError}
273
273
  * @memberof AppConnectionsApi
274
274
  */
275
- listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200Response, any>>;
275
+ listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200Response, any, {}>>;
276
276
  /**
277
277
  *
278
278
  * @summary Retrieve app connection
@@ -282,7 +282,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
282
282
  * @throws {RequiredError}
283
283
  * @memberof AppConnectionsApi
284
284
  */
285
- retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
285
+ retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any, {}>>;
286
286
  /**
287
287
  *
288
288
  * @summary Update app connection
@@ -292,5 +292,5 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
292
292
  * @throws {RequiredError}
293
293
  * @memberof AppConnectionsApi
294
294
  */
295
- updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
295
+ updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any, {}>>;
296
296
  }
@@ -120,7 +120,7 @@ export declare class AvailableAppsApi extends BaseAPI implements AvailableAppsAp
120
120
  * @throws {RequiredError}
121
121
  * @memberof AvailableAppsApi
122
122
  */
123
- listAvailableApps(excludeInstalled?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAvailableApps200Response, any>>;
123
+ listAvailableApps(excludeInstalled?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAvailableApps200Response, any, {}>>;
124
124
  /**
125
125
  *
126
126
  * @summary Retrieve available app
@@ -129,5 +129,5 @@ export declare class AvailableAppsApi extends BaseAPI implements AvailableAppsAp
129
129
  * @throws {RequiredError}
130
130
  * @memberof AvailableAppsApi
131
131
  */
132
- retrieveAvailableApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAvailableApp200Response, any>>;
132
+ retrieveAvailableApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAvailableApp200Response, any, {}>>;
133
133
  }
@@ -12,6 +12,8 @@
12
12
  import type { Configuration } from '../configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { EvaluateExpression200Response } from '../models';
16
+ import { EvaluateExpressionRequest } from '../models';
15
17
  import { ListDataFields200Response } from '../models';
16
18
  import { ListDataFieldsTypeParameter } from '../models';
17
19
  /**
@@ -19,6 +21,14 @@ import { ListDataFieldsTypeParameter } from '../models';
19
21
  * @export
20
22
  */
21
23
  export declare const DataFieldsApiAxiosParamCreator: (configuration?: Configuration) => {
24
+ /**
25
+ *
26
+ * @summary Evaluate expression
27
+ * @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
28
+ * @param {*} [options] Override http request option.
29
+ * @throws {RequiredError}
30
+ */
31
+ evaluateExpression: (evaluateExpressionRequest?: EvaluateExpressionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
22
32
  /**
23
33
  *
24
34
  * @summary List data fields
@@ -49,6 +59,14 @@ export declare const DataFieldsApiAxiosParamCreator: (configuration?: Configurat
49
59
  * @export
50
60
  */
51
61
  export declare const DataFieldsApiFp: (configuration?: Configuration) => {
62
+ /**
63
+ *
64
+ * @summary Evaluate expression
65
+ * @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ evaluateExpression(evaluateExpressionRequest?: EvaluateExpressionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EvaluateExpression200Response>>;
52
70
  /**
53
71
  *
54
72
  * @summary List data fields
@@ -79,6 +97,14 @@ export declare const DataFieldsApiFp: (configuration?: Configuration) => {
79
97
  * @export
80
98
  */
81
99
  export declare const DataFieldsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
100
+ /**
101
+ *
102
+ * @summary Evaluate expression
103
+ * @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ evaluateExpression(evaluateExpressionRequest?: EvaluateExpressionRequest, options?: any): AxiosPromise<EvaluateExpression200Response>;
82
108
  /**
83
109
  *
84
110
  * @summary List data fields
@@ -110,6 +136,15 @@ export declare const DataFieldsApiFactory: (configuration?: Configuration, baseP
110
136
  * @interface DataFieldsApi
111
137
  */
112
138
  export interface DataFieldsApiInterface {
139
+ /**
140
+ *
141
+ * @summary Evaluate expression
142
+ * @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ * @memberof DataFieldsApiInterface
146
+ */
147
+ evaluateExpression(evaluateExpressionRequest?: EvaluateExpressionRequest, options?: RawAxiosRequestConfig): AxiosPromise<EvaluateExpression200Response>;
113
148
  /**
114
149
  *
115
150
  * @summary List data fields
@@ -144,6 +179,15 @@ export interface DataFieldsApiInterface {
144
179
  * @extends {BaseAPI}
145
180
  */
146
181
  export declare class DataFieldsApi extends BaseAPI implements DataFieldsApiInterface {
182
+ /**
183
+ *
184
+ * @summary Evaluate expression
185
+ * @param {EvaluateExpressionRequest} [evaluateExpressionRequest]
186
+ * @param {*} [options] Override http request option.
187
+ * @throws {RequiredError}
188
+ * @memberof DataFieldsApi
189
+ */
190
+ evaluateExpression(evaluateExpressionRequest?: EvaluateExpressionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EvaluateExpression200Response, any, {}>>;
147
191
  /**
148
192
  *
149
193
  * @summary List data fields
@@ -154,7 +198,7 @@ export declare class DataFieldsApi extends BaseAPI implements DataFieldsApiInter
154
198
  * @throws {RequiredError}
155
199
  * @memberof DataFieldsApi
156
200
  */
157
- listDataFields(userKey?: string, eventTrigger?: string, type?: ListDataFieldsTypeParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataFields200Response, any>>;
201
+ listDataFields(userKey?: string, eventTrigger?: string, type?: ListDataFieldsTypeParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataFields200Response, any, {}>>;
158
202
  /**
159
203
  *
160
204
  * @summary List workflow data fields
@@ -169,5 +213,5 @@ export declare class DataFieldsApi extends BaseAPI implements DataFieldsApiInter
169
213
  * @throws {RequiredError}
170
214
  * @memberof DataFieldsApi
171
215
  */
172
- listWorkflowDataFields(id: string, nodeId?: string, parentNodeId?: string, userKey?: string, eventTrigger?: string, actionEventTrigger?: string, type?: ListDataFieldsTypeParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataFields200Response, any>>;
216
+ listWorkflowDataFields(id: string, nodeId?: string, parentNodeId?: string, userKey?: string, eventTrigger?: string, actionEventTrigger?: string, type?: ListDataFieldsTypeParameter, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDataFields200Response, any, {}>>;
173
217
  }