@embedworkflow/sdk 1.0.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 (243) 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 +43 -36
  26. package/dist/api/action-types-api.js +27 -20
  27. package/dist/api/actions-api.d.ts +6 -6
  28. package/dist/api/app-connections-api.d.ts +28 -27
  29. package/dist/api/app-connections-api.js +25 -25
  30. package/dist/api/available-apps-api.d.ts +2 -2
  31. package/dist/api/data-fields-api.d.ts +46 -2
  32. package/dist/api/data-fields-api.js +68 -0
  33. package/dist/api/events-api.d.ts +1 -1
  34. package/dist/api/executions-api.d.ts +3 -3
  35. package/dist/api/installed-apps-api.d.ts +14 -14
  36. package/dist/api/payments-api.d.ts +1 -1
  37. package/dist/api/triggers-api.d.ts +22 -20
  38. package/dist/api/triggers-api.js +12 -12
  39. package/dist/api/users-api.d.ts +24 -18
  40. package/dist/api/users-api.js +14 -7
  41. package/dist/api/workflows-api.d.ts +114 -32
  42. package/dist/api/workflows-api.js +125 -8
  43. package/dist/common.d.ts +1 -1
  44. package/dist/esm/api/accounts-api.d.ts +124 -3
  45. package/dist/esm/api/accounts-api.js +181 -0
  46. package/dist/esm/api/action-types-api.d.ts +43 -36
  47. package/dist/esm/api/action-types-api.js +27 -20
  48. package/dist/esm/api/actions-api.d.ts +6 -6
  49. package/dist/esm/api/app-connections-api.d.ts +28 -27
  50. package/dist/esm/api/app-connections-api.js +25 -25
  51. package/dist/esm/api/available-apps-api.d.ts +2 -2
  52. package/dist/esm/api/data-fields-api.d.ts +46 -2
  53. package/dist/esm/api/data-fields-api.js +69 -1
  54. package/dist/esm/api/events-api.d.ts +1 -1
  55. package/dist/esm/api/executions-api.d.ts +3 -3
  56. package/dist/esm/api/installed-apps-api.d.ts +14 -14
  57. package/dist/esm/api/payments-api.d.ts +1 -1
  58. package/dist/esm/api/triggers-api.d.ts +22 -20
  59. package/dist/esm/api/triggers-api.js +12 -12
  60. package/dist/esm/api/users-api.d.ts +24 -18
  61. package/dist/esm/api/users-api.js +14 -7
  62. package/dist/esm/api/workflows-api.d.ts +114 -32
  63. package/dist/esm/api/workflows-api.js +124 -7
  64. package/dist/esm/common.d.ts +1 -1
  65. package/dist/esm/models/catch-hook-request.d.ts +25 -0
  66. package/dist/esm/models/{api-v1-action-types-post-request-form-draft-inner.d.ts → create-action-type-request-form-draft-inner.d.ts} +18 -12
  67. package/dist/esm/models/{api-v1-action-types-post-request-form-draft-inner.js → create-action-type-request-form-draft-inner.js} +1 -1
  68. package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.d.ts → create-action-type-request-icon-draft.d.ts} +5 -5
  69. package/dist/{models/api-v1-action-types-post-request.d.ts → esm/models/create-action-type-request.d.ts} +34 -22
  70. package/dist/{models/retrieve-action-type404-response.d.ts → esm/models/create-action-type422-response.d.ts} +5 -5
  71. package/dist/esm/models/{api-v1-app-connections-post-request.d.ts → create-app-connection-request.d.ts} +6 -6
  72. package/dist/esm/models/create-workflow201-response.d.ts +262 -0
  73. package/dist/{models/clone-workflow201-response.js → esm/models/create-workflow201-response.js} +5 -4
  74. package/dist/esm/models/delete-action-type200-response.d.ts +24 -0
  75. package/dist/esm/models/delete-action-type200-response.js +14 -0
  76. package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
  77. package/dist/esm/models/evaluate-expression-request.js +14 -0
  78. package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
  79. package/dist/esm/models/evaluate-expression200-response.js +14 -0
  80. package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
  81. package/dist/esm/models/export-configuration200-response-configuration.js +14 -0
  82. package/dist/esm/models/export-configuration200-response.d.ts +25 -0
  83. package/dist/esm/models/export-configuration200-response.js +14 -0
  84. package/dist/esm/models/import-configuration201-response.d.ts +6 -0
  85. package/dist/esm/models/index.d.ts +19 -8
  86. package/dist/esm/models/index.js +19 -8
  87. package/dist/{models/retrieve-installed-app200-response.d.ts → esm/models/install-app201-response.d.ts} +19 -19
  88. package/dist/esm/models/install-app201-response.js +14 -0
  89. package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +58 -0
  90. package/dist/esm/models/list-action-types200-response-collection-inner.js +9 -0
  91. package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +18 -0
  92. package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +18 -0
  93. package/dist/esm/models/list-users200-response-collection-inner.d.ts +6 -6
  94. package/dist/{models/retrieve-workflow200-response.d.ts → esm/models/list-workflows200-response-collection-inner.d.ts} +60 -68
  95. package/dist/esm/models/{retrieve-workflow200-response.js → list-workflows200-response-collection-inner.js} +1 -1
  96. package/dist/esm/models/list-workflows200-response.d.ts +32 -0
  97. package/dist/esm/models/list-workflows200-response.js +14 -0
  98. package/dist/esm/models/retrieve-account-usage200-response.d.ts +60 -0
  99. package/dist/esm/models/retrieve-account-usage200-response.js +14 -0
  100. package/dist/esm/models/retrieve-account200-response.d.ts +19 -1
  101. package/dist/esm/models/update-account-request-action-type-categories-inner-icon.d.ts +36 -0
  102. package/dist/esm/models/update-account-request-action-type-categories-inner-icon.js +14 -0
  103. package/dist/esm/models/update-account-request-action-type-categories-inner.d.ts +43 -0
  104. package/dist/esm/models/update-account-request-action-type-categories-inner.js +14 -0
  105. package/dist/esm/models/update-account-request.d.ts +13 -0
  106. package/dist/esm/models/update-action-type-request.d.ts +12 -0
  107. package/dist/esm/models/update-trigger-request.d.ts +30 -0
  108. package/dist/esm/models/update-trigger-request.js +14 -0
  109. package/dist/esm/models/update-workflow-request.d.ts +7 -1
  110. package/dist/esm/models/upsert-user-request.d.ts +6 -0
  111. package/dist/models/catch-hook-request.d.ts +25 -0
  112. package/dist/models/{api-v1-action-types-post-request-form-draft-inner.d.ts → create-action-type-request-form-draft-inner.d.ts} +18 -12
  113. package/dist/models/{api-v1-action-types-post-request-form-draft-inner.js → create-action-type-request-form-draft-inner.js} +2 -2
  114. package/dist/models/{api-v1-action-types-post-request-icon-draft.d.ts → create-action-type-request-icon-draft.d.ts} +5 -5
  115. package/dist/{esm/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.d.ts} +34 -22
  116. package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.d.ts} +5 -5
  117. package/dist/models/{api-v1-app-connections-post-request.d.ts → create-app-connection-request.d.ts} +6 -6
  118. package/dist/models/create-workflow201-response.d.ts +262 -0
  119. package/dist/models/create-workflow201-response.js +24 -0
  120. package/dist/models/delete-action-type200-response.d.ts +24 -0
  121. package/dist/models/delete-action-type200-response.js +15 -0
  122. package/dist/models/evaluate-expression-request.d.ts +32 -0
  123. package/dist/models/evaluate-expression-request.js +15 -0
  124. package/dist/models/evaluate-expression200-response.d.ts +24 -0
  125. package/dist/models/evaluate-expression200-response.js +15 -0
  126. package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
  127. package/dist/models/export-configuration200-response-configuration.js +15 -0
  128. package/dist/models/export-configuration200-response.d.ts +25 -0
  129. package/dist/models/export-configuration200-response.js +15 -0
  130. package/dist/models/import-configuration201-response.d.ts +6 -0
  131. package/dist/models/index.d.ts +19 -8
  132. package/dist/models/index.js +19 -8
  133. package/dist/{esm/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.d.ts} +19 -19
  134. package/dist/models/install-app201-response.js +15 -0
  135. package/dist/models/list-action-types200-response-collection-inner.d.ts +58 -0
  136. package/dist/models/list-action-types200-response-collection-inner.js +10 -1
  137. package/dist/models/list-data-fields200-response-collection-inner.d.ts +18 -0
  138. package/dist/models/list-triggers200-response-collection-inner.d.ts +18 -0
  139. package/dist/models/list-users200-response-collection-inner.d.ts +6 -6
  140. package/dist/{esm/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.d.ts} +60 -68
  141. package/dist/models/{retrieve-workflow200-response.js → list-workflows200-response-collection-inner.js} +2 -2
  142. package/dist/models/list-workflows200-response.d.ts +32 -0
  143. package/dist/models/list-workflows200-response.js +15 -0
  144. package/dist/models/retrieve-account-usage200-response.d.ts +60 -0
  145. package/dist/models/retrieve-account-usage200-response.js +15 -0
  146. package/dist/models/retrieve-account200-response.d.ts +19 -1
  147. package/dist/models/update-account-request-action-type-categories-inner-icon.d.ts +36 -0
  148. package/dist/models/update-account-request-action-type-categories-inner-icon.js +15 -0
  149. package/dist/models/update-account-request-action-type-categories-inner.d.ts +43 -0
  150. package/dist/models/update-account-request-action-type-categories-inner.js +15 -0
  151. package/dist/models/update-account-request.d.ts +13 -0
  152. package/dist/models/update-action-type-request.d.ts +12 -0
  153. package/dist/models/update-trigger-request.d.ts +30 -0
  154. package/dist/models/update-trigger-request.js +15 -0
  155. package/dist/models/update-workflow-request.d.ts +7 -1
  156. package/dist/models/upsert-user-request.d.ts +6 -0
  157. package/git_push.sh +57 -0
  158. package/index.ts +111 -0
  159. package/models/catch-hook-request.ts +32 -0
  160. package/models/create-action-type-request-form-draft-inner.ts +88 -0
  161. package/models/create-action-type-request-icon-draft.ts +42 -0
  162. package/models/create-action-type-request.ts +129 -0
  163. package/models/create-action-type422-response.ts +42 -0
  164. package/models/create-app-connection-request.ts +48 -0
  165. package/models/create-user-token-request.ts +38 -0
  166. package/models/create-user-token200-response.ts +30 -0
  167. package/models/create-workflow-request-template-draft-nodes-inner.ts +138 -0
  168. package/models/create-workflow-request-template-draft.ts +39 -0
  169. package/models/create-workflow-request.ts +75 -0
  170. package/models/create-workflow201-response.ts +266 -0
  171. package/models/delete-action-type200-response.ts +30 -0
  172. package/models/delete-workflow200-response-one-of.ts +30 -0
  173. package/models/delete-workflow200-response-one-of1.ts +30 -0
  174. package/models/delete-workflow200-response.ts +30 -0
  175. package/models/discard-workflow-draft-request.ts +36 -0
  176. package/models/evaluate-expression-request.ts +36 -0
  177. package/models/evaluate-expression200-response.ts +30 -0
  178. package/models/execute-workflow-request.ts +50 -0
  179. package/models/execute-workflow201-response.ts +126 -0
  180. package/models/export-configuration200-response-configuration.ts +23 -0
  181. package/models/export-configuration200-response.ts +33 -0
  182. package/models/import-configuration-request-schema.ts +24 -0
  183. package/models/import-configuration-request.ts +50 -0
  184. package/models/import-configuration201-response.ts +60 -0
  185. package/models/index.ts +70 -0
  186. package/models/install-app-request.ts +36 -0
  187. package/models/install-app201-response.ts +126 -0
  188. package/models/list-action-types200-response-collection-inner.ts +325 -0
  189. package/models/list-action-types200-response-meta.ts +42 -0
  190. package/models/list-action-types200-response.ts +42 -0
  191. package/models/list-actions200-response-collection-inner.ts +150 -0
  192. package/models/list-actions200-response.ts +42 -0
  193. package/models/list-app-connections200-response-collection-inner.ts +72 -0
  194. package/models/list-app-connections200-response.ts +42 -0
  195. package/models/list-available-apps200-response-collection-inner.ts +72 -0
  196. package/models/list-available-apps200-response.ts +42 -0
  197. package/{dist/esm/models/clone-workflow201-response.js → models/list-data-fields-type-parameter.ts} +11 -5
  198. package/models/list-data-fields200-response-collection-inner.ts +108 -0
  199. package/models/list-data-fields200-response.ts +42 -0
  200. package/models/list-events200-response-collection-inner.ts +84 -0
  201. package/models/list-events200-response.ts +42 -0
  202. package/models/list-installed-apps200-response-collection-inner.ts +120 -0
  203. package/models/list-installed-apps200-response.ts +42 -0
  204. package/models/list-triggers200-response-collection-inner.ts +126 -0
  205. package/models/list-triggers200-response.ts +42 -0
  206. package/models/list-users200-response-collection-inner.ts +90 -0
  207. package/models/list-users200-response.ts +42 -0
  208. package/models/list-workflow-executions200-response.ts +42 -0
  209. package/models/list-workflow-versions200-response-collection-inner.ts +66 -0
  210. package/models/list-workflow-versions200-response.ts +42 -0
  211. package/{dist/esm/models/clone-workflow201-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -47
  212. package/models/list-workflows200-response.ts +42 -0
  213. package/models/publish-workflow-request.ts +30 -0
  214. package/models/retrieve-account-usage200-response.ts +66 -0
  215. package/models/retrieve-account200-response.ts +114 -0
  216. package/models/retrieve-available-app200-response.ts +78 -0
  217. package/models/retrieve-execution200-response.ts +138 -0
  218. package/models/retry-action-request.ts +38 -0
  219. package/models/stop-executions-request.ts +38 -0
  220. package/models/trigger-workflow-request.ts +54 -0
  221. package/models/update-account-request-action-type-categories-inner-icon.ts +42 -0
  222. package/models/update-account-request-action-type-categories-inner.ts +51 -0
  223. package/models/update-account-request-user-data-schema-inner.ts +54 -0
  224. package/models/update-account-request.ts +96 -0
  225. package/models/update-action-type-request.ts +48 -0
  226. package/models/update-installed-app-request.ts +30 -0
  227. package/models/update-trigger-request.ts +36 -0
  228. package/models/update-workflow-request.ts +93 -0
  229. package/models/upsert-user-request.ts +54 -0
  230. package/package.json +4 -6
  231. package/tsconfig.esm.json +7 -0
  232. package/tsconfig.json +18 -0
  233. package/dist/models/clone-workflow201-response.d.ts +0 -183
  234. /package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
  235. /package/dist/esm/models/{api-v1-action-types-post-request.js → create-action-type-request-icon-draft.js} +0 -0
  236. /package/dist/esm/models/{api-v1-app-connections-post-request.js → create-action-type-request.js} +0 -0
  237. /package/dist/esm/models/{retrieve-action-type404-response.js → create-action-type422-response.js} +0 -0
  238. /package/dist/esm/models/{retrieve-installed-app200-response.js → create-app-connection-request.js} +0 -0
  239. /package/dist/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
  240. /package/dist/models/{api-v1-action-types-post-request.js → create-action-type-request-icon-draft.js} +0 -0
  241. /package/dist/models/{api-v1-app-connections-post-request.js → create-action-type-request.js} +0 -0
  242. /package/dist/models/{retrieve-action-type404-response.js → create-action-type422-response.js} +0 -0
  243. /package/dist/models/{retrieve-installed-app200-response.js → create-app-connection-request.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
+ };
@@ -12,8 +12,10 @@
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 { ApiV1ActionTypesPostRequest } from '../models';
15
+ import { CreateActionTypeRequest } from '../models';
16
+ import { DeleteActionType200Response } from '../models';
16
17
  import { ListActionTypes200Response } from '../models';
18
+ import { ListActionTypes200ResponseCollectionInner } from '../models';
17
19
  import { UpdateActionTypeRequest } from '../models';
18
20
  /**
19
21
  * ActionTypesApi - axios parameter creator
@@ -23,11 +25,11 @@ export declare const ActionTypesApiAxiosParamCreator: (configuration?: Configura
23
25
  /**
24
26
  *
25
27
  * @summary Create action type
26
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
28
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
27
29
  * @param {*} [options] Override http request option.
28
30
  * @throws {RequiredError}
29
31
  */
30
- apiV1ActionTypesPost: (apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32
+ createActionType: (createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
33
  /**
32
34
  *
33
35
  * @summary Delete action type
@@ -50,10 +52,11 @@ export declare const ActionTypesApiAxiosParamCreator: (configuration?: Configura
50
52
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
51
53
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
52
54
  * @param {number} [limit] Number of items to return (max 100)
55
+ * @param {string} [category] Filter by category (matches primary or secondary)
53
56
  * @param {*} [options] Override http request option.
54
57
  * @throws {RequiredError}
55
58
  */
56
- 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>;
57
60
  /**
58
61
  *
59
62
  * @summary Publish action type
@@ -88,11 +91,11 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
88
91
  /**
89
92
  *
90
93
  * @summary Create action type
91
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
94
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
92
95
  * @param {*} [options] Override http request option.
93
96
  * @throws {RequiredError}
94
97
  */
95
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
98
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
96
99
  /**
97
100
  *
98
101
  * @summary Delete action type
@@ -100,7 +103,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
100
103
  * @param {*} [options] Override http request option.
101
104
  * @throws {RequiredError}
102
105
  */
103
- deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
106
+ deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteActionType200Response>>;
104
107
  /**
105
108
  *
106
109
  * @summary Discard action type draft
@@ -108,17 +111,18 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
108
111
  * @param {*} [options] Override http request option.
109
112
  * @throws {RequiredError}
110
113
  */
111
- discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
114
+ discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
112
115
  /**
113
116
  *
114
117
  * @summary List action types
115
118
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
116
119
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
117
120
  * @param {number} [limit] Number of items to return (max 100)
121
+ * @param {string} [category] Filter by category (matches primary or secondary)
118
122
  * @param {*} [options] Override http request option.
119
123
  * @throws {RequiredError}
120
124
  */
121
- 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>>;
122
126
  /**
123
127
  *
124
128
  * @summary Publish action type
@@ -126,7 +130,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
126
130
  * @param {*} [options] Override http request option.
127
131
  * @throws {RequiredError}
128
132
  */
129
- publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
133
+ publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
130
134
  /**
131
135
  *
132
136
  * @summary Retrieve action type
@@ -134,7 +138,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
134
138
  * @param {*} [options] Override http request option.
135
139
  * @throws {RequiredError}
136
140
  */
137
- retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
141
+ retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
138
142
  /**
139
143
  *
140
144
  * @summary Update action type
@@ -143,7 +147,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
143
147
  * @param {*} [options] Override http request option.
144
148
  * @throws {RequiredError}
145
149
  */
146
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
150
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
147
151
  };
148
152
  /**
149
153
  * ActionTypesApi - factory interface
@@ -153,11 +157,11 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
153
157
  /**
154
158
  *
155
159
  * @summary Create action type
156
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
160
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
157
161
  * @param {*} [options] Override http request option.
158
162
  * @throws {RequiredError}
159
163
  */
160
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: any): AxiosPromise<void>;
164
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
161
165
  /**
162
166
  *
163
167
  * @summary Delete action type
@@ -165,7 +169,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
165
169
  * @param {*} [options] Override http request option.
166
170
  * @throws {RequiredError}
167
171
  */
168
- deleteActionType(id: string, options?: any): AxiosPromise<void>;
172
+ deleteActionType(id: string, options?: any): AxiosPromise<DeleteActionType200Response>;
169
173
  /**
170
174
  *
171
175
  * @summary Discard action type draft
@@ -173,17 +177,18 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
173
177
  * @param {*} [options] Override http request option.
174
178
  * @throws {RequiredError}
175
179
  */
176
- discardActionTypeDraft(id: string, options?: any): AxiosPromise<void>;
180
+ discardActionTypeDraft(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
177
181
  /**
178
182
  *
179
183
  * @summary List action types
180
184
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
181
185
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
182
186
  * @param {number} [limit] Number of items to return (max 100)
187
+ * @param {string} [category] Filter by category (matches primary or secondary)
183
188
  * @param {*} [options] Override http request option.
184
189
  * @throws {RequiredError}
185
190
  */
186
- 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>;
187
192
  /**
188
193
  *
189
194
  * @summary Publish action type
@@ -191,7 +196,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
191
196
  * @param {*} [options] Override http request option.
192
197
  * @throws {RequiredError}
193
198
  */
194
- publishActionType(id: string, options?: any): AxiosPromise<void>;
199
+ publishActionType(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
195
200
  /**
196
201
  *
197
202
  * @summary Retrieve action type
@@ -199,7 +204,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
199
204
  * @param {*} [options] Override http request option.
200
205
  * @throws {RequiredError}
201
206
  */
202
- retrieveActionType(id: string, options?: any): AxiosPromise<void>;
207
+ retrieveActionType(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
203
208
  /**
204
209
  *
205
210
  * @summary Update action type
@@ -208,7 +213,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
208
213
  * @param {*} [options] Override http request option.
209
214
  * @throws {RequiredError}
210
215
  */
211
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: any): AxiosPromise<void>;
216
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
212
217
  };
213
218
  /**
214
219
  * ActionTypesApi - interface
@@ -219,12 +224,12 @@ export interface ActionTypesApiInterface {
219
224
  /**
220
225
  *
221
226
  * @summary Create action type
222
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
227
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
223
228
  * @param {*} [options] Override http request option.
224
229
  * @throws {RequiredError}
225
230
  * @memberof ActionTypesApiInterface
226
231
  */
227
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
232
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
228
233
  /**
229
234
  *
230
235
  * @summary Delete action type
@@ -233,7 +238,7 @@ export interface ActionTypesApiInterface {
233
238
  * @throws {RequiredError}
234
239
  * @memberof ActionTypesApiInterface
235
240
  */
236
- deleteActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
241
+ deleteActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteActionType200Response>;
237
242
  /**
238
243
  *
239
244
  * @summary Discard action type draft
@@ -242,18 +247,19 @@ export interface ActionTypesApiInterface {
242
247
  * @throws {RequiredError}
243
248
  * @memberof ActionTypesApiInterface
244
249
  */
245
- discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
250
+ discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
246
251
  /**
247
252
  *
248
253
  * @summary List action types
249
254
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
250
255
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
251
256
  * @param {number} [limit] Number of items to return (max 100)
257
+ * @param {string} [category] Filter by category (matches primary or secondary)
252
258
  * @param {*} [options] Override http request option.
253
259
  * @throws {RequiredError}
254
260
  * @memberof ActionTypesApiInterface
255
261
  */
256
- 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>;
257
263
  /**
258
264
  *
259
265
  * @summary Publish action type
@@ -262,7 +268,7 @@ export interface ActionTypesApiInterface {
262
268
  * @throws {RequiredError}
263
269
  * @memberof ActionTypesApiInterface
264
270
  */
265
- publishActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
271
+ publishActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
266
272
  /**
267
273
  *
268
274
  * @summary Retrieve action type
@@ -271,7 +277,7 @@ export interface ActionTypesApiInterface {
271
277
  * @throws {RequiredError}
272
278
  * @memberof ActionTypesApiInterface
273
279
  */
274
- retrieveActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
280
+ retrieveActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
275
281
  /**
276
282
  *
277
283
  * @summary Update action type
@@ -281,7 +287,7 @@ export interface ActionTypesApiInterface {
281
287
  * @throws {RequiredError}
282
288
  * @memberof ActionTypesApiInterface
283
289
  */
284
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
290
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
285
291
  }
286
292
  /**
287
293
  * ActionTypesApi - object-oriented interface
@@ -293,12 +299,12 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
293
299
  /**
294
300
  *
295
301
  * @summary Create action type
296
- * @param {ApiV1ActionTypesPostRequest} [apiV1ActionTypesPostRequest]
302
+ * @param {CreateActionTypeRequest} [createActionTypeRequest]
297
303
  * @param {*} [options] Override http request option.
298
304
  * @throws {RequiredError}
299
305
  * @memberof ActionTypesApi
300
306
  */
301
- apiV1ActionTypesPost(apiV1ActionTypesPostRequest?: ApiV1ActionTypesPostRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
307
+ createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
302
308
  /**
303
309
  *
304
310
  * @summary Delete action type
@@ -307,7 +313,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
307
313
  * @throws {RequiredError}
308
314
  * @memberof ActionTypesApi
309
315
  */
310
- deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
316
+ deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any, {}>>;
311
317
  /**
312
318
  *
313
319
  * @summary Discard action type draft
@@ -316,18 +322,19 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
316
322
  * @throws {RequiredError}
317
323
  * @memberof ActionTypesApi
318
324
  */
319
- discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
325
+ discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
320
326
  /**
321
327
  *
322
328
  * @summary List action types
323
329
  * @param {string} [startingAfter] Cursor for pagination - return results after this ID
324
330
  * @param {string} [endingBefore] Cursor for pagination - return results before this ID
325
331
  * @param {number} [limit] Number of items to return (max 100)
332
+ * @param {string} [category] Filter by category (matches primary or secondary)
326
333
  * @param {*} [options] Override http request option.
327
334
  * @throws {RequiredError}
328
335
  * @memberof ActionTypesApi
329
336
  */
330
- 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, {}>>;
331
338
  /**
332
339
  *
333
340
  * @summary Publish action type
@@ -336,7 +343,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
336
343
  * @throws {RequiredError}
337
344
  * @memberof ActionTypesApi
338
345
  */
339
- publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
346
+ publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
340
347
  /**
341
348
  *
342
349
  * @summary Retrieve action type
@@ -345,7 +352,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
345
352
  * @throws {RequiredError}
346
353
  * @memberof ActionTypesApi
347
354
  */
348
- retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
355
+ retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
349
356
  /**
350
357
  *
351
358
  * @summary Update action type
@@ -355,5 +362,5 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
355
362
  * @throws {RequiredError}
356
363
  * @memberof ActionTypesApi
357
364
  */
358
- updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
365
+ updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
359
366
  }