@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.
- package/.github/workflows/push-tag.yaml +34 -0
- package/.openapi-generator/FILES +87 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +2 -2
- package/api/accounts-api.ts +540 -0
- package/api/action-types-api.ts +697 -0
- package/api/actions-api.ts +786 -0
- package/api/app-connections-api.ts +556 -0
- package/api/available-apps-api.ts +239 -0
- package/api/data-fields-api.ts +404 -0
- package/api/events-api.ts +172 -0
- package/api/executions-api.ts +361 -0
- package/api/installed-apps-api.ts +410 -0
- package/api/payments-api.ts +172 -0
- package/api/triggers-api.ts +437 -0
- package/api/users-api.ts +531 -0
- package/api/workflows-api.ts +1302 -0
- package/api.ts +30 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api/accounts-api.d.ts +124 -3
- package/dist/api/accounts-api.js +182 -1
- package/dist/api/action-types-api.d.ts +16 -11
- package/dist/api/action-types-api.js +14 -7
- package/dist/api/actions-api.d.ts +6 -6
- package/dist/api/app-connections-api.d.ts +5 -5
- package/dist/api/available-apps-api.d.ts +2 -2
- package/dist/api/data-fields-api.d.ts +46 -2
- package/dist/api/data-fields-api.js +68 -0
- package/dist/api/events-api.d.ts +1 -1
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/installed-apps-api.d.ts +4 -4
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/triggers-api.d.ts +14 -14
- package/dist/api/triggers-api.js +12 -12
- package/dist/api/users-api.d.ts +14 -9
- package/dist/api/users-api.js +14 -7
- package/dist/api/workflows-api.d.ts +96 -15
- package/dist/api/workflows-api.js +125 -8
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/accounts-api.d.ts +124 -3
- package/dist/esm/api/accounts-api.js +181 -0
- package/dist/esm/api/action-types-api.d.ts +16 -11
- package/dist/esm/api/action-types-api.js +14 -7
- package/dist/esm/api/actions-api.d.ts +6 -6
- package/dist/esm/api/app-connections-api.d.ts +5 -5
- package/dist/esm/api/available-apps-api.d.ts +2 -2
- package/dist/esm/api/data-fields-api.d.ts +46 -2
- package/dist/esm/api/data-fields-api.js +69 -1
- package/dist/esm/api/events-api.d.ts +1 -1
- package/dist/esm/api/executions-api.d.ts +3 -3
- package/dist/esm/api/installed-apps-api.d.ts +4 -4
- package/dist/esm/api/payments-api.d.ts +1 -1
- package/dist/esm/api/triggers-api.d.ts +14 -14
- package/dist/esm/api/triggers-api.js +12 -12
- package/dist/esm/api/users-api.d.ts +14 -9
- package/dist/esm/api/users-api.js +14 -7
- package/dist/esm/api/workflows-api.d.ts +96 -15
- package/dist/esm/api/workflows-api.js +124 -7
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/catch-hook-request.d.ts +25 -0
- package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/esm/models/create-action-type-request.d.ts +12 -0
- package/dist/esm/models/create-workflow201-response.d.ts +58 -11
- package/dist/esm/models/create-workflow201-response.js +4 -0
- package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
- package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/esm/models/export-configuration200-response.d.ts +25 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.js +9 -0
- package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/esm/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/esm/models/retrieve-account-usage200-response.js +14 -0
- package/dist/esm/models/retrieve-account200-response.d.ts +19 -1
- 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
- package/dist/esm/models/update-account-request-action-type-categories-inner-icon.js +14 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.js +14 -0
- package/dist/esm/models/update-account-request.d.ts +13 -0
- package/dist/esm/models/update-action-type-request.d.ts +12 -0
- package/dist/esm/models/update-trigger-request.d.ts +30 -0
- package/dist/esm/models/update-trigger-request.js +14 -0
- package/dist/esm/models/update-workflow-request.d.ts +7 -1
- package/dist/esm/models/upsert-user-request.d.ts +6 -0
- package/dist/models/catch-hook-request.d.ts +25 -0
- package/dist/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/models/create-action-type-request.d.ts +12 -0
- package/dist/models/create-workflow201-response.d.ts +58 -11
- package/dist/models/create-workflow201-response.js +5 -1
- package/dist/models/evaluate-expression-request.d.ts +32 -0
- package/dist/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/models/export-configuration200-response.d.ts +25 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/models/list-action-types200-response-collection-inner.js +10 -1
- package/dist/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/models/retrieve-account-usage200-response.js +15 -0
- package/dist/models/retrieve-account200-response.d.ts +19 -1
- package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/update-account-request-action-type-categories-inner-icon.d.ts} +12 -12
- package/dist/models/update-account-request-action-type-categories-inner-icon.js +15 -0
- package/dist/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/models/update-account-request-action-type-categories-inner.js +15 -0
- package/dist/models/update-account-request.d.ts +13 -0
- package/dist/models/update-action-type-request.d.ts +12 -0
- package/dist/models/update-trigger-request.d.ts +30 -0
- package/dist/models/update-trigger-request.js +15 -0
- package/dist/models/update-workflow-request.d.ts +7 -1
- package/dist/models/upsert-user-request.d.ts +6 -0
- package/git_push.sh +57 -0
- package/index.ts +111 -0
- package/models/catch-hook-request.ts +32 -0
- package/models/create-action-type-request-form-draft-inner.ts +88 -0
- package/{dist/models/api-v1-action-types-post-request-icon-draft.d.ts → models/create-action-type-request-icon-draft.ts} +12 -6
- package/{dist/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.ts} +49 -25
- package/{dist/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.ts} +13 -7
- package/{dist/esm/models/api-v1-app-connections-post-request.d.ts → models/create-app-connection-request.ts} +14 -8
- package/models/create-user-token-request.ts +38 -0
- package/models/create-user-token200-response.ts +30 -0
- package/models/create-workflow-request-template-draft-nodes-inner.ts +138 -0
- package/models/create-workflow-request-template-draft.ts +39 -0
- package/models/create-workflow-request.ts +75 -0
- package/{dist/esm/models/retrieve-workflow200-response.d.ts → models/create-workflow201-response.ts} +111 -60
- package/models/delete-action-type200-response.ts +30 -0
- package/{dist/esm/models/api-v1-action-types-post-request-form-draft-inner.js → models/delete-workflow200-response-one-of.ts} +18 -13
- package/models/delete-workflow200-response-one-of1.ts +30 -0
- package/models/delete-workflow200-response.ts +30 -0
- package/models/discard-workflow-draft-request.ts +36 -0
- package/models/evaluate-expression-request.ts +36 -0
- package/models/evaluate-expression200-response.ts +30 -0
- package/models/execute-workflow-request.ts +50 -0
- package/models/execute-workflow201-response.ts +126 -0
- package/models/export-configuration200-response-configuration.ts +23 -0
- package/models/export-configuration200-response.ts +33 -0
- package/models/import-configuration-request-schema.ts +24 -0
- package/models/import-configuration-request.ts +50 -0
- package/models/import-configuration201-response.ts +60 -0
- package/models/index.ts +70 -0
- package/models/install-app-request.ts +36 -0
- package/{dist/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.ts} +28 -24
- package/models/list-action-types200-response-collection-inner.ts +325 -0
- package/models/list-action-types200-response-meta.ts +42 -0
- package/models/list-action-types200-response.ts +42 -0
- package/models/list-actions200-response-collection-inner.ts +150 -0
- package/models/list-actions200-response.ts +42 -0
- package/models/list-app-connections200-response-collection-inner.ts +72 -0
- package/models/list-app-connections200-response.ts +42 -0
- package/models/list-available-apps200-response-collection-inner.ts +72 -0
- package/models/list-available-apps200-response.ts +42 -0
- package/{dist/esm/models/clone-workflow201-response.js → models/list-data-fields-type-parameter.ts} +11 -5
- package/models/list-data-fields200-response-collection-inner.ts +108 -0
- package/models/list-data-fields200-response.ts +42 -0
- package/models/list-events200-response-collection-inner.ts +84 -0
- package/models/list-events200-response.ts +42 -0
- package/{dist/esm/models/retrieve-installed-app200-response.d.ts → models/list-installed-apps200-response-collection-inner.ts} +26 -28
- package/models/list-installed-apps200-response.ts +42 -0
- package/models/list-triggers200-response-collection-inner.ts +126 -0
- package/models/list-triggers200-response.ts +42 -0
- package/models/list-users200-response-collection-inner.ts +90 -0
- package/models/list-users200-response.ts +42 -0
- package/models/list-workflow-executions200-response.ts +42 -0
- package/models/list-workflow-versions200-response-collection-inner.ts +66 -0
- package/models/list-workflow-versions200-response.ts +42 -0
- package/{dist/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -79
- package/models/list-workflows200-response.ts +42 -0
- package/models/publish-workflow-request.ts +30 -0
- package/models/retrieve-account-usage200-response.ts +66 -0
- package/models/retrieve-account200-response.ts +114 -0
- package/models/retrieve-available-app200-response.ts +78 -0
- package/models/retrieve-execution200-response.ts +138 -0
- package/models/retry-action-request.ts +38 -0
- package/models/stop-executions-request.ts +38 -0
- package/models/trigger-workflow-request.ts +54 -0
- package/models/update-account-request-action-type-categories-inner-icon.ts +42 -0
- package/models/update-account-request-action-type-categories-inner.ts +51 -0
- package/models/update-account-request-user-data-schema-inner.ts +54 -0
- package/models/update-account-request.ts +96 -0
- package/models/update-action-type-request.ts +48 -0
- package/models/update-installed-app-request.ts +30 -0
- package/models/update-trigger-request.ts +36 -0
- package/models/update-workflow-request.ts +93 -0
- package/models/upsert-user-request.ts +54 -0
- package/package.json +4 -6
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
- package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/esm/models/api-v1-action-types-post-request.d.ts +0 -105
- package/dist/esm/models/clone-workflow201-response.d.ts +0 -183
- package/dist/esm/models/retrieve-workflow200-response.js +0 -17
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.js +0 -28
- package/dist/models/api-v1-app-connections-post-request.d.ts +0 -42
- package/dist/models/clone-workflow201-response.d.ts +0 -183
- package/dist/models/clone-workflow201-response.js +0 -20
- package/dist/models/retrieve-workflow200-response.js +0 -20
- /package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/esm/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/esm/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/esm/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/esm/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
|
@@ -12,15 +12,26 @@
|
|
|
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 { ExportConfiguration200Response } from '../models';
|
|
15
16
|
import { ImportConfiguration201Response } from '../models';
|
|
16
17
|
import { ImportConfigurationRequest } from '../models';
|
|
17
18
|
import { RetrieveAccount200Response } from '../models';
|
|
19
|
+
import { RetrieveAccountUsage200Response } from '../models';
|
|
18
20
|
import { UpdateAccountRequest } from '../models';
|
|
19
21
|
/**
|
|
20
22
|
* AccountsApi - axios parameter creator
|
|
21
23
|
* @export
|
|
22
24
|
*/
|
|
23
25
|
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @summary Export configuration
|
|
29
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
30
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
exportConfiguration: (schemaFormat?: ExportConfigurationSchemaFormatEnum, sections?: Array<ExportConfigurationSectionsEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24
35
|
/**
|
|
25
36
|
*
|
|
26
37
|
* @summary Import configuration
|
|
@@ -36,6 +47,16 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
36
47
|
* @throws {RequiredError}
|
|
37
48
|
*/
|
|
38
49
|
retrieveAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @summary Retrieve account usage
|
|
53
|
+
* @param {string} [startTime]
|
|
54
|
+
* @param {string} [endTime]
|
|
55
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
56
|
+
* @param {*} [options] Override http request option.
|
|
57
|
+
* @throws {RequiredError}
|
|
58
|
+
*/
|
|
59
|
+
retrieveAccountUsage: (startTime?: string, endTime?: string, userKey?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
60
|
/**
|
|
40
61
|
*
|
|
41
62
|
* @summary Update account
|
|
@@ -50,6 +71,15 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
50
71
|
* @export
|
|
51
72
|
*/
|
|
52
73
|
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @summary Export configuration
|
|
77
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
78
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
exportConfiguration(schemaFormat?: ExportConfigurationSchemaFormatEnum, sections?: Array<ExportConfigurationSectionsEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExportConfiguration200Response>>;
|
|
53
83
|
/**
|
|
54
84
|
*
|
|
55
85
|
* @summary Import configuration
|
|
@@ -65,6 +95,16 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
65
95
|
* @throws {RequiredError}
|
|
66
96
|
*/
|
|
67
97
|
retrieveAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveAccount200Response>>;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @summary Retrieve account usage
|
|
101
|
+
* @param {string} [startTime]
|
|
102
|
+
* @param {string} [endTime]
|
|
103
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
retrieveAccountUsage(startTime?: string, endTime?: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrieveAccountUsage200Response>>;
|
|
68
108
|
/**
|
|
69
109
|
*
|
|
70
110
|
* @summary Update account
|
|
@@ -79,6 +119,15 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
79
119
|
* @export
|
|
80
120
|
*/
|
|
81
121
|
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @summary Export configuration
|
|
125
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
126
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
127
|
+
* @param {*} [options] Override http request option.
|
|
128
|
+
* @throws {RequiredError}
|
|
129
|
+
*/
|
|
130
|
+
exportConfiguration(schemaFormat?: ExportConfigurationSchemaFormatEnum, sections?: Array<ExportConfigurationSectionsEnum>, options?: any): AxiosPromise<ExportConfiguration200Response>;
|
|
82
131
|
/**
|
|
83
132
|
*
|
|
84
133
|
* @summary Import configuration
|
|
@@ -94,6 +143,16 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
94
143
|
* @throws {RequiredError}
|
|
95
144
|
*/
|
|
96
145
|
retrieveAccount(options?: any): AxiosPromise<RetrieveAccount200Response>;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @summary Retrieve account usage
|
|
149
|
+
* @param {string} [startTime]
|
|
150
|
+
* @param {string} [endTime]
|
|
151
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
retrieveAccountUsage(startTime?: string, endTime?: string, userKey?: string, options?: any): AxiosPromise<RetrieveAccountUsage200Response>;
|
|
97
156
|
/**
|
|
98
157
|
*
|
|
99
158
|
* @summary Update account
|
|
@@ -109,6 +168,16 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
109
168
|
* @interface AccountsApi
|
|
110
169
|
*/
|
|
111
170
|
export interface AccountsApiInterface {
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @summary Export configuration
|
|
174
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
175
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
* @memberof AccountsApiInterface
|
|
179
|
+
*/
|
|
180
|
+
exportConfiguration(schemaFormat?: ExportConfigurationSchemaFormatEnum, sections?: Array<ExportConfigurationSectionsEnum>, options?: RawAxiosRequestConfig): AxiosPromise<ExportConfiguration200Response>;
|
|
112
181
|
/**
|
|
113
182
|
*
|
|
114
183
|
* @summary Import configuration
|
|
@@ -126,6 +195,17 @@ export interface AccountsApiInterface {
|
|
|
126
195
|
* @memberof AccountsApiInterface
|
|
127
196
|
*/
|
|
128
197
|
retrieveAccount(options?: RawAxiosRequestConfig): AxiosPromise<RetrieveAccount200Response>;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @summary Retrieve account usage
|
|
201
|
+
* @param {string} [startTime]
|
|
202
|
+
* @param {string} [endTime]
|
|
203
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
* @memberof AccountsApiInterface
|
|
207
|
+
*/
|
|
208
|
+
retrieveAccountUsage(startTime?: string, endTime?: string, userKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<RetrieveAccountUsage200Response>;
|
|
129
209
|
/**
|
|
130
210
|
*
|
|
131
211
|
* @summary Update account
|
|
@@ -143,6 +223,16 @@ export interface AccountsApiInterface {
|
|
|
143
223
|
* @extends {BaseAPI}
|
|
144
224
|
*/
|
|
145
225
|
export declare class AccountsApi extends BaseAPI implements AccountsApiInterface {
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @summary Export configuration
|
|
229
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
230
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
* @memberof AccountsApi
|
|
234
|
+
*/
|
|
235
|
+
exportConfiguration(schemaFormat?: ExportConfigurationSchemaFormatEnum, sections?: Array<ExportConfigurationSectionsEnum>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExportConfiguration200Response, any, {}>>;
|
|
146
236
|
/**
|
|
147
237
|
*
|
|
148
238
|
* @summary Import configuration
|
|
@@ -151,7 +241,7 @@ export declare class AccountsApi extends BaseAPI implements AccountsApiInterface
|
|
|
151
241
|
* @throws {RequiredError}
|
|
152
242
|
* @memberof AccountsApi
|
|
153
243
|
*/
|
|
154
|
-
importConfiguration(importConfigurationRequest?: ImportConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportConfiguration201Response, any>>;
|
|
244
|
+
importConfiguration(importConfigurationRequest?: ImportConfigurationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportConfiguration201Response, any, {}>>;
|
|
155
245
|
/**
|
|
156
246
|
*
|
|
157
247
|
* @summary Retrieve account
|
|
@@ -159,7 +249,18 @@ export declare class AccountsApi extends BaseAPI implements AccountsApiInterface
|
|
|
159
249
|
* @throws {RequiredError}
|
|
160
250
|
* @memberof AccountsApi
|
|
161
251
|
*/
|
|
162
|
-
retrieveAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAccount200Response, any>>;
|
|
252
|
+
retrieveAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAccount200Response, any, {}>>;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @summary Retrieve account usage
|
|
256
|
+
* @param {string} [startTime]
|
|
257
|
+
* @param {string} [endTime]
|
|
258
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
* @memberof AccountsApi
|
|
262
|
+
*/
|
|
263
|
+
retrieveAccountUsage(startTime?: string, endTime?: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAccountUsage200Response, any, {}>>;
|
|
163
264
|
/**
|
|
164
265
|
*
|
|
165
266
|
* @summary Update account
|
|
@@ -168,5 +269,25 @@ export declare class AccountsApi extends BaseAPI implements AccountsApiInterface
|
|
|
168
269
|
* @throws {RequiredError}
|
|
169
270
|
* @memberof AccountsApi
|
|
170
271
|
*/
|
|
171
|
-
updateAccount(updateAccountRequest?: UpdateAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAccount200Response, any>>;
|
|
272
|
+
updateAccount(updateAccountRequest?: UpdateAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAccount200Response, any, {}>>;
|
|
172
273
|
}
|
|
274
|
+
/**
|
|
275
|
+
* @export
|
|
276
|
+
*/
|
|
277
|
+
export declare const ExportConfigurationSchemaFormatEnum: {
|
|
278
|
+
readonly Yaml: "yaml";
|
|
279
|
+
readonly Json: "json";
|
|
280
|
+
};
|
|
281
|
+
export type ExportConfigurationSchemaFormatEnum = typeof ExportConfigurationSchemaFormatEnum[keyof typeof ExportConfigurationSchemaFormatEnum];
|
|
282
|
+
/**
|
|
283
|
+
* @export
|
|
284
|
+
*/
|
|
285
|
+
export declare const ExportConfigurationSectionsEnum: {
|
|
286
|
+
readonly ActionTypes: "action_types";
|
|
287
|
+
readonly Triggers: "triggers";
|
|
288
|
+
readonly Workflows: "workflows";
|
|
289
|
+
readonly Apps: "apps";
|
|
290
|
+
readonly UserDataSchema: "user_data_schema";
|
|
291
|
+
readonly AccountDataSchema: "account_data_schema";
|
|
292
|
+
};
|
|
293
|
+
export type ExportConfigurationSectionsEnum = typeof ExportConfigurationSectionsEnum[keyof typeof ExportConfigurationSectionsEnum];
|
|
@@ -32,6 +32,42 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Export configuration
|
|
38
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
39
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
exportConfiguration: (schemaFormat, sections, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
44
|
+
const localVarPath = `/api/v1/configurations/export`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
52
|
+
const localVarHeaderParameter = {};
|
|
53
|
+
const localVarQueryParameter = {};
|
|
54
|
+
// authentication bearer required
|
|
55
|
+
// http bearer authentication required
|
|
56
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
57
|
+
if (schemaFormat !== undefined) {
|
|
58
|
+
localVarQueryParameter['schema_format'] = schemaFormat;
|
|
59
|
+
}
|
|
60
|
+
if (sections) {
|
|
61
|
+
localVarQueryParameter['sections'] = sections;
|
|
62
|
+
}
|
|
63
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
64
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
65
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
66
|
+
return {
|
|
67
|
+
url: toPathString(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
35
71
|
/**
|
|
36
72
|
*
|
|
37
73
|
* @summary Import configuration
|
|
@@ -91,6 +127,50 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
91
127
|
options: localVarRequestOptions,
|
|
92
128
|
};
|
|
93
129
|
}),
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @summary Retrieve account usage
|
|
133
|
+
* @param {string} [startTime]
|
|
134
|
+
* @param {string} [endTime]
|
|
135
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
*/
|
|
139
|
+
retrieveAccountUsage: (startTime, endTime, userKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
const localVarPath = `/api/v1/account/usage`;
|
|
141
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
142
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
143
|
+
let baseOptions;
|
|
144
|
+
if (configuration) {
|
|
145
|
+
baseOptions = configuration.baseOptions;
|
|
146
|
+
}
|
|
147
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
148
|
+
const localVarHeaderParameter = {};
|
|
149
|
+
const localVarQueryParameter = {};
|
|
150
|
+
// authentication bearer required
|
|
151
|
+
// http bearer authentication required
|
|
152
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
153
|
+
if (startTime !== undefined) {
|
|
154
|
+
localVarQueryParameter['start_time'] = (startTime instanceof Date) ?
|
|
155
|
+
startTime.toISOString() :
|
|
156
|
+
startTime;
|
|
157
|
+
}
|
|
158
|
+
if (endTime !== undefined) {
|
|
159
|
+
localVarQueryParameter['end_time'] = (endTime instanceof Date) ?
|
|
160
|
+
endTime.toISOString() :
|
|
161
|
+
endTime;
|
|
162
|
+
}
|
|
163
|
+
if (userKey !== undefined) {
|
|
164
|
+
localVarQueryParameter['user_key'] = userKey;
|
|
165
|
+
}
|
|
166
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
167
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
168
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
169
|
+
return {
|
|
170
|
+
url: toPathString(localVarUrlObj),
|
|
171
|
+
options: localVarRequestOptions,
|
|
172
|
+
};
|
|
173
|
+
}),
|
|
94
174
|
/**
|
|
95
175
|
*
|
|
96
176
|
* @summary Update account
|
|
@@ -131,6 +211,23 @@ export const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
131
211
|
export const AccountsApiFp = function (configuration) {
|
|
132
212
|
const localVarAxiosParamCreator = AccountsApiAxiosParamCreator(configuration);
|
|
133
213
|
return {
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @summary Export configuration
|
|
217
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
218
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
219
|
+
* @param {*} [options] Override http request option.
|
|
220
|
+
* @throws {RequiredError}
|
|
221
|
+
*/
|
|
222
|
+
exportConfiguration(schemaFormat, sections, options) {
|
|
223
|
+
var _a, _b, _c;
|
|
224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
225
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportConfiguration(schemaFormat, sections, options);
|
|
226
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
227
|
+
const operationBasePath = (_c = (_b = operationServerMap['AccountsApi.exportConfiguration']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
228
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
229
|
+
});
|
|
230
|
+
},
|
|
134
231
|
/**
|
|
135
232
|
*
|
|
136
233
|
* @summary Import configuration
|
|
@@ -162,6 +259,24 @@ export const AccountsApiFp = function (configuration) {
|
|
|
162
259
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
163
260
|
});
|
|
164
261
|
},
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @summary Retrieve account usage
|
|
265
|
+
* @param {string} [startTime]
|
|
266
|
+
* @param {string} [endTime]
|
|
267
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
retrieveAccountUsage(startTime, endTime, userKey, options) {
|
|
272
|
+
var _a, _b, _c;
|
|
273
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
274
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.retrieveAccountUsage(startTime, endTime, userKey, options);
|
|
275
|
+
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
276
|
+
const operationBasePath = (_c = (_b = operationServerMap['AccountsApi.retrieveAccountUsage']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
277
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
278
|
+
});
|
|
279
|
+
},
|
|
165
280
|
/**
|
|
166
281
|
*
|
|
167
282
|
* @summary Update account
|
|
@@ -187,6 +302,17 @@ export const AccountsApiFp = function (configuration) {
|
|
|
187
302
|
export const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
188
303
|
const localVarFp = AccountsApiFp(configuration);
|
|
189
304
|
return {
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @summary Export configuration
|
|
308
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
309
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
exportConfiguration(schemaFormat, sections, options) {
|
|
314
|
+
return localVarFp.exportConfiguration(schemaFormat, sections, options).then((request) => request(axios, basePath));
|
|
315
|
+
},
|
|
190
316
|
/**
|
|
191
317
|
*
|
|
192
318
|
* @summary Import configuration
|
|
@@ -206,6 +332,18 @@ export const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
206
332
|
retrieveAccount(options) {
|
|
207
333
|
return localVarFp.retrieveAccount(options).then((request) => request(axios, basePath));
|
|
208
334
|
},
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @summary Retrieve account usage
|
|
338
|
+
* @param {string} [startTime]
|
|
339
|
+
* @param {string} [endTime]
|
|
340
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
341
|
+
* @param {*} [options] Override http request option.
|
|
342
|
+
* @throws {RequiredError}
|
|
343
|
+
*/
|
|
344
|
+
retrieveAccountUsage(startTime, endTime, userKey, options) {
|
|
345
|
+
return localVarFp.retrieveAccountUsage(startTime, endTime, userKey, options).then((request) => request(axios, basePath));
|
|
346
|
+
},
|
|
209
347
|
/**
|
|
210
348
|
*
|
|
211
349
|
* @summary Update account
|
|
@@ -225,6 +363,18 @@ export const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
225
363
|
* @extends {BaseAPI}
|
|
226
364
|
*/
|
|
227
365
|
export class AccountsApi extends BaseAPI {
|
|
366
|
+
/**
|
|
367
|
+
*
|
|
368
|
+
* @summary Export configuration
|
|
369
|
+
* @param {ExportConfigurationSchemaFormatEnum} [schemaFormat]
|
|
370
|
+
* @param {Array<ExportConfigurationSectionsEnum>} [sections]
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
* @memberof AccountsApi
|
|
374
|
+
*/
|
|
375
|
+
exportConfiguration(schemaFormat, sections, options) {
|
|
376
|
+
return AccountsApiFp(this.configuration).exportConfiguration(schemaFormat, sections, options).then((request) => request(this.axios, this.basePath));
|
|
377
|
+
}
|
|
228
378
|
/**
|
|
229
379
|
*
|
|
230
380
|
* @summary Import configuration
|
|
@@ -246,6 +396,19 @@ export class AccountsApi extends BaseAPI {
|
|
|
246
396
|
retrieveAccount(options) {
|
|
247
397
|
return AccountsApiFp(this.configuration).retrieveAccount(options).then((request) => request(this.axios, this.basePath));
|
|
248
398
|
}
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @summary Retrieve account usage
|
|
402
|
+
* @param {string} [startTime]
|
|
403
|
+
* @param {string} [endTime]
|
|
404
|
+
* @param {string} [userKey] User key to filter usage for a specific user
|
|
405
|
+
* @param {*} [options] Override http request option.
|
|
406
|
+
* @throws {RequiredError}
|
|
407
|
+
* @memberof AccountsApi
|
|
408
|
+
*/
|
|
409
|
+
retrieveAccountUsage(startTime, endTime, userKey, options) {
|
|
410
|
+
return AccountsApiFp(this.configuration).retrieveAccountUsage(startTime, endTime, userKey, options).then((request) => request(this.axios, this.basePath));
|
|
411
|
+
}
|
|
249
412
|
/**
|
|
250
413
|
*
|
|
251
414
|
* @summary Update account
|
|
@@ -258,3 +421,21 @@ export class AccountsApi extends BaseAPI {
|
|
|
258
421
|
return AccountsApiFp(this.configuration).updateAccount(updateAccountRequest, options).then((request) => request(this.axios, this.basePath));
|
|
259
422
|
}
|
|
260
423
|
}
|
|
424
|
+
/**
|
|
425
|
+
* @export
|
|
426
|
+
*/
|
|
427
|
+
export const ExportConfigurationSchemaFormatEnum = {
|
|
428
|
+
Yaml: 'yaml',
|
|
429
|
+
Json: 'json'
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* @export
|
|
433
|
+
*/
|
|
434
|
+
export const ExportConfigurationSectionsEnum = {
|
|
435
|
+
ActionTypes: 'action_types',
|
|
436
|
+
Triggers: 'triggers',
|
|
437
|
+
Workflows: 'workflows',
|
|
438
|
+
Apps: 'apps',
|
|
439
|
+
UserDataSchema: 'user_data_schema',
|
|
440
|
+
AccountDataSchema: 'account_data_schema'
|
|
441
|
+
};
|
|
@@ -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
|
}
|
|
@@ -133,10 +133,11 @@ export const ActionTypesApiAxiosParamCreator = function (configuration) {
|
|
|
133
133
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
134
134
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
135
135
|
* @param {number} [limit] Number of items to return (max 100)
|
|
136
|
+
* @param {string} [category] Filter by category (matches primary or secondary)
|
|
136
137
|
* @param {*} [options] Override http request option.
|
|
137
138
|
* @throws {RequiredError}
|
|
138
139
|
*/
|
|
139
|
-
listActionTypes: (startingAfter, endingBefore, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
140
|
+
listActionTypes: (startingAfter, endingBefore, limit, category, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
140
141
|
const localVarPath = `/api/v1/action_types`;
|
|
141
142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
142
143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -159,6 +160,9 @@ export const ActionTypesApiAxiosParamCreator = function (configuration) {
|
|
|
159
160
|
if (limit !== undefined) {
|
|
160
161
|
localVarQueryParameter['limit'] = limit;
|
|
161
162
|
}
|
|
163
|
+
if (category !== undefined) {
|
|
164
|
+
localVarQueryParameter['category'] = category;
|
|
165
|
+
}
|
|
162
166
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
163
167
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
164
168
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -329,13 +333,14 @@ export const ActionTypesApiFp = function (configuration) {
|
|
|
329
333
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
330
334
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
331
335
|
* @param {number} [limit] Number of items to return (max 100)
|
|
336
|
+
* @param {string} [category] Filter by category (matches primary or secondary)
|
|
332
337
|
* @param {*} [options] Override http request option.
|
|
333
338
|
* @throws {RequiredError}
|
|
334
339
|
*/
|
|
335
|
-
listActionTypes(startingAfter, endingBefore, limit, options) {
|
|
340
|
+
listActionTypes(startingAfter, endingBefore, limit, category, options) {
|
|
336
341
|
var _a, _b, _c;
|
|
337
342
|
return __awaiter(this, void 0, void 0, function* () {
|
|
338
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listActionTypes(startingAfter, endingBefore, limit, options);
|
|
343
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listActionTypes(startingAfter, endingBefore, limit, category, options);
|
|
339
344
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
340
345
|
const operationBasePath = (_c = (_b = operationServerMap['ActionTypesApi.listActionTypes']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
341
346
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -435,11 +440,12 @@ export const ActionTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
435
440
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
436
441
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
437
442
|
* @param {number} [limit] Number of items to return (max 100)
|
|
443
|
+
* @param {string} [category] Filter by category (matches primary or secondary)
|
|
438
444
|
* @param {*} [options] Override http request option.
|
|
439
445
|
* @throws {RequiredError}
|
|
440
446
|
*/
|
|
441
|
-
listActionTypes(startingAfter, endingBefore, limit, options) {
|
|
442
|
-
return localVarFp.listActionTypes(startingAfter, endingBefore, limit, options).then((request) => request(axios, basePath));
|
|
447
|
+
listActionTypes(startingAfter, endingBefore, limit, category, options) {
|
|
448
|
+
return localVarFp.listActionTypes(startingAfter, endingBefore, limit, category, options).then((request) => request(axios, basePath));
|
|
443
449
|
},
|
|
444
450
|
/**
|
|
445
451
|
*
|
|
@@ -520,12 +526,13 @@ export class ActionTypesApi extends BaseAPI {
|
|
|
520
526
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
521
527
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
522
528
|
* @param {number} [limit] Number of items to return (max 100)
|
|
529
|
+
* @param {string} [category] Filter by category (matches primary or secondary)
|
|
523
530
|
* @param {*} [options] Override http request option.
|
|
524
531
|
* @throws {RequiredError}
|
|
525
532
|
* @memberof ActionTypesApi
|
|
526
533
|
*/
|
|
527
|
-
listActionTypes(startingAfter, endingBefore, limit, options) {
|
|
528
|
-
return ActionTypesApiFp(this.configuration).listActionTypes(startingAfter, endingBefore, limit, options).then((request) => request(this.axios, this.basePath));
|
|
534
|
+
listActionTypes(startingAfter, endingBefore, limit, category, options) {
|
|
535
|
+
return ActionTypesApiFp(this.configuration).listActionTypes(startingAfter, endingBefore, limit, category, options).then((request) => request(this.axios, this.basePath));
|
|
529
536
|
}
|
|
530
537
|
/**
|
|
531
538
|
*
|