@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.
- 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 +43 -36
- package/dist/api/action-types-api.js +27 -20
- package/dist/api/actions-api.d.ts +6 -6
- package/dist/api/app-connections-api.d.ts +28 -27
- package/dist/api/app-connections-api.js +25 -25
- 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 +14 -14
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/triggers-api.d.ts +22 -20
- package/dist/api/triggers-api.js +12 -12
- package/dist/api/users-api.d.ts +24 -18
- package/dist/api/users-api.js +14 -7
- package/dist/api/workflows-api.d.ts +114 -32
- 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 +43 -36
- package/dist/esm/api/action-types-api.js +27 -20
- package/dist/esm/api/actions-api.d.ts +6 -6
- package/dist/esm/api/app-connections-api.d.ts +28 -27
- package/dist/esm/api/app-connections-api.js +25 -25
- 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 +14 -14
- package/dist/esm/api/payments-api.d.ts +1 -1
- package/dist/esm/api/triggers-api.d.ts +22 -20
- package/dist/esm/api/triggers-api.js +12 -12
- package/dist/esm/api/users-api.d.ts +24 -18
- package/dist/esm/api/users-api.js +14 -7
- package/dist/esm/api/workflows-api.d.ts +114 -32
- 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/{api-v1-action-types-post-request-form-draft-inner.d.ts → create-action-type-request-form-draft-inner.d.ts} +18 -12
- package/dist/esm/models/{api-v1-action-types-post-request-form-draft-inner.js → create-action-type-request-form-draft-inner.js} +1 -1
- package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.d.ts → create-action-type-request-icon-draft.d.ts} +5 -5
- package/dist/{models/api-v1-action-types-post-request.d.ts → esm/models/create-action-type-request.d.ts} +34 -22
- package/dist/{models/retrieve-action-type404-response.d.ts → esm/models/create-action-type422-response.d.ts} +5 -5
- package/dist/esm/models/{api-v1-app-connections-post-request.d.ts → create-app-connection-request.d.ts} +6 -6
- package/dist/esm/models/create-workflow201-response.d.ts +262 -0
- package/dist/{models/clone-workflow201-response.js → esm/models/create-workflow201-response.js} +5 -4
- package/dist/esm/models/delete-action-type200-response.d.ts +24 -0
- package/dist/esm/models/delete-action-type200-response.js +14 -0
- package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
- package/dist/esm/models/evaluate-expression-request.js +14 -0
- package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/esm/models/evaluate-expression200-response.js +14 -0
- package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/esm/models/export-configuration200-response-configuration.js +14 -0
- package/dist/esm/models/export-configuration200-response.d.ts +25 -0
- package/dist/esm/models/export-configuration200-response.js +14 -0
- package/dist/esm/models/import-configuration201-response.d.ts +6 -0
- package/dist/esm/models/index.d.ts +19 -8
- package/dist/esm/models/index.js +19 -8
- package/dist/{models/retrieve-installed-app200-response.d.ts → esm/models/install-app201-response.d.ts} +19 -19
- package/dist/esm/models/install-app201-response.js +14 -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/{models/retrieve-workflow200-response.d.ts → esm/models/list-workflows200-response-collection-inner.d.ts} +60 -68
- package/dist/esm/models/{retrieve-workflow200-response.js → list-workflows200-response-collection-inner.js} +1 -1
- package/dist/esm/models/list-workflows200-response.d.ts +32 -0
- package/dist/esm/models/list-workflows200-response.js +14 -0
- 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/update-account-request-action-type-categories-inner-icon.d.ts +36 -0
- 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/{api-v1-action-types-post-request-form-draft-inner.d.ts → create-action-type-request-form-draft-inner.d.ts} +18 -12
- package/dist/models/{api-v1-action-types-post-request-form-draft-inner.js → create-action-type-request-form-draft-inner.js} +2 -2
- package/dist/models/{api-v1-action-types-post-request-icon-draft.d.ts → create-action-type-request-icon-draft.d.ts} +5 -5
- package/dist/{esm/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.d.ts} +34 -22
- package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.d.ts} +5 -5
- package/dist/models/{api-v1-app-connections-post-request.d.ts → create-app-connection-request.d.ts} +6 -6
- package/dist/models/create-workflow201-response.d.ts +262 -0
- package/dist/models/create-workflow201-response.js +24 -0
- package/dist/models/delete-action-type200-response.d.ts +24 -0
- package/dist/models/delete-action-type200-response.js +15 -0
- package/dist/models/evaluate-expression-request.d.ts +32 -0
- package/dist/models/evaluate-expression-request.js +15 -0
- package/dist/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/models/evaluate-expression200-response.js +15 -0
- package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/models/export-configuration200-response-configuration.js +15 -0
- package/dist/models/export-configuration200-response.d.ts +25 -0
- package/dist/models/export-configuration200-response.js +15 -0
- package/dist/models/import-configuration201-response.d.ts +6 -0
- package/dist/models/index.d.ts +19 -8
- package/dist/models/index.js +19 -8
- package/dist/{esm/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.d.ts} +19 -19
- package/dist/models/install-app201-response.js +15 -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/{esm/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.d.ts} +60 -68
- package/dist/models/{retrieve-workflow200-response.js → list-workflows200-response-collection-inner.js} +2 -2
- package/dist/models/list-workflows200-response.d.ts +32 -0
- package/dist/models/list-workflows200-response.js +15 -0
- 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/models/update-account-request-action-type-categories-inner-icon.d.ts +36 -0
- 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/models/create-action-type-request-icon-draft.ts +42 -0
- package/models/create-action-type-request.ts +129 -0
- package/models/create-action-type422-response.ts +42 -0
- package/models/create-app-connection-request.ts +48 -0
- 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/models/create-workflow201-response.ts +266 -0
- package/models/delete-action-type200-response.ts +30 -0
- package/models/delete-workflow200-response-one-of.ts +30 -0
- 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/models/install-app201-response.ts +126 -0
- 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/models/list-installed-apps200-response-collection-inner.ts +120 -0
- 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/esm/models/clone-workflow201-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -47
- 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/models/clone-workflow201-response.d.ts +0 -183
- /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 → create-action-type-request-icon-draft.js} +0 -0
- /package/dist/esm/models/{api-v1-app-connections-post-request.js → create-action-type-request.js} +0 -0
- /package/dist/esm/models/{retrieve-action-type404-response.js → create-action-type422-response.js} +0 -0
- /package/dist/esm/models/{retrieve-installed-app200-response.js → create-app-connection-request.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 → create-action-type-request-icon-draft.js} +0 -0
- /package/dist/models/{api-v1-app-connections-post-request.js → create-action-type-request.js} +0 -0
- /package/dist/models/{retrieve-action-type404-response.js → create-action-type422-response.js} +0 -0
- /package/dist/models/{retrieve-installed-app200-response.js → create-app-connection-request.js} +0 -0
|
@@ -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 {
|
|
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 {
|
|
28
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
27
29
|
* @param {*} [options] Override http request option.
|
|
28
30
|
* @throws {RequiredError}
|
|
29
31
|
*/
|
|
30
|
-
|
|
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 {
|
|
94
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
92
95
|
* @param {*} [options] Override http request option.
|
|
93
96
|
* @throws {RequiredError}
|
|
94
97
|
*/
|
|
95
|
-
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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 {
|
|
160
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
157
161
|
* @param {*} [options] Override http request option.
|
|
158
162
|
* @throws {RequiredError}
|
|
159
163
|
*/
|
|
160
|
-
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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 {
|
|
227
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
223
228
|
* @param {*} [options] Override http request option.
|
|
224
229
|
* @throws {RequiredError}
|
|
225
230
|
* @memberof ActionTypesApiInterface
|
|
226
231
|
*/
|
|
227
|
-
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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 {
|
|
302
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
297
303
|
* @param {*} [options] Override http request option.
|
|
298
304
|
* @throws {RequiredError}
|
|
299
305
|
* @memberof ActionTypesApi
|
|
300
306
|
*/
|
|
301
|
-
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
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<
|
|
365
|
+
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any, {}>>;
|
|
359
366
|
}
|
|
@@ -35,11 +35,11 @@ export const ActionTypesApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary Create action type
|
|
38
|
-
* @param {
|
|
38
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
createActionType: (createActionTypeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
43
43
|
const localVarPath = `/api/v1/action_types`;
|
|
44
44
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
45
45
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -57,7 +57,7 @@ export const ActionTypesApiAxiosParamCreator = function (configuration) {
|
|
|
57
57
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58
58
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59
59
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
60
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
60
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createActionTypeRequest, localVarRequestOptions, configuration);
|
|
61
61
|
return {
|
|
62
62
|
url: toPathString(localVarUrlObj),
|
|
63
63
|
options: localVarRequestOptions,
|
|
@@ -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);
|
|
@@ -278,16 +282,16 @@ export const ActionTypesApiFp = function (configuration) {
|
|
|
278
282
|
/**
|
|
279
283
|
*
|
|
280
284
|
* @summary Create action type
|
|
281
|
-
* @param {
|
|
285
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
282
286
|
* @param {*} [options] Override http request option.
|
|
283
287
|
* @throws {RequiredError}
|
|
284
288
|
*/
|
|
285
|
-
|
|
289
|
+
createActionType(createActionTypeRequest, options) {
|
|
286
290
|
var _a, _b, _c;
|
|
287
291
|
return __awaiter(this, void 0, void 0, function* () {
|
|
288
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
292
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createActionType(createActionTypeRequest, options);
|
|
289
293
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
290
|
-
const operationBasePath = (_c = (_b = operationServerMap['ActionTypesApi.
|
|
294
|
+
const operationBasePath = (_c = (_b = operationServerMap['ActionTypesApi.createActionType']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
291
295
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
292
296
|
});
|
|
293
297
|
},
|
|
@@ -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);
|
|
@@ -402,12 +407,12 @@ export const ActionTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
402
407
|
/**
|
|
403
408
|
*
|
|
404
409
|
* @summary Create action type
|
|
405
|
-
* @param {
|
|
410
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
406
411
|
* @param {*} [options] Override http request option.
|
|
407
412
|
* @throws {RequiredError}
|
|
408
413
|
*/
|
|
409
|
-
|
|
410
|
-
return localVarFp.
|
|
414
|
+
createActionType(createActionTypeRequest, options) {
|
|
415
|
+
return localVarFp.createActionType(createActionTypeRequest, options).then((request) => request(axios, basePath));
|
|
411
416
|
},
|
|
412
417
|
/**
|
|
413
418
|
*
|
|
@@ -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
|
*
|
|
@@ -484,13 +490,13 @@ export class ActionTypesApi extends BaseAPI {
|
|
|
484
490
|
/**
|
|
485
491
|
*
|
|
486
492
|
* @summary Create action type
|
|
487
|
-
* @param {
|
|
493
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
488
494
|
* @param {*} [options] Override http request option.
|
|
489
495
|
* @throws {RequiredError}
|
|
490
496
|
* @memberof ActionTypesApi
|
|
491
497
|
*/
|
|
492
|
-
|
|
493
|
-
return ActionTypesApiFp(this.configuration).
|
|
498
|
+
createActionType(createActionTypeRequest, options) {
|
|
499
|
+
return ActionTypesApiFp(this.configuration).createActionType(createActionTypeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
494
500
|
}
|
|
495
501
|
/**
|
|
496
502
|
*
|
|
@@ -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
|
*
|
|
@@ -353,7 +353,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
353
353
|
* @throws {RequiredError}
|
|
354
354
|
* @memberof ActionsApi
|
|
355
355
|
*/
|
|
356
|
-
listActions(startingAfter?: string, endingBefore?: string, limit?: number, status?: string, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
356
|
+
listActions(startingAfter?: string, endingBefore?: string, limit?: number, status?: string, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
357
357
|
/**
|
|
358
358
|
*
|
|
359
359
|
* @summary List completed actions
|
|
@@ -367,7 +367,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
367
367
|
* @throws {RequiredError}
|
|
368
368
|
* @memberof ActionsApi
|
|
369
369
|
*/
|
|
370
|
-
listCompletedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
370
|
+
listCompletedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
373
373
|
* @summary List failed actions
|
|
@@ -381,7 +381,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
* @memberof ActionsApi
|
|
383
383
|
*/
|
|
384
|
-
listFailedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
384
|
+
listFailedActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
385
385
|
/**
|
|
386
386
|
*
|
|
387
387
|
* @summary List scheduled actions
|
|
@@ -395,7 +395,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
395
395
|
* @throws {RequiredError}
|
|
396
396
|
* @memberof ActionsApi
|
|
397
397
|
*/
|
|
398
|
-
listScheduledActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
398
|
+
listScheduledActions(status: string, startingAfter?: string, endingBefore?: string, limit?: number, executionId?: string, workflowId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
399
399
|
/**
|
|
400
400
|
*
|
|
401
401
|
* @summary List workflow actions
|
|
@@ -407,7 +407,7 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
407
407
|
* @throws {RequiredError}
|
|
408
408
|
* @memberof ActionsApi
|
|
409
409
|
*/
|
|
410
|
-
listWorkflowActions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any>>;
|
|
410
|
+
listWorkflowActions(workflowId: string, startingAfter?: string, endingBefore?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActions200Response, any, {}>>;
|
|
411
411
|
/**
|
|
412
412
|
*
|
|
413
413
|
* @summary Retry action
|
|
@@ -417,5 +417,5 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
417
417
|
* @throws {RequiredError}
|
|
418
418
|
* @memberof ActionsApi
|
|
419
419
|
*/
|
|
420
|
-
retryAction(hashid: string, retryActionRequest?: RetryActionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
420
|
+
retryAction(hashid: string, retryActionRequest?: RetryActionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
|
|
421
421
|
}
|