@embedworkflow/sdk 1.0.0 → 1.1.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/dist/api/action-types-api.d.ts +33 -31
- package/dist/api/action-types-api.js +13 -13
- package/dist/api/app-connections-api.d.ts +26 -25
- package/dist/api/app-connections-api.js +25 -25
- package/dist/api/installed-apps-api.d.ts +13 -13
- package/dist/api/triggers-api.d.ts +14 -12
- package/dist/api/users-api.d.ts +13 -12
- package/dist/api/workflows-api.d.ts +27 -26
- package/dist/esm/api/action-types-api.d.ts +33 -31
- package/dist/esm/api/action-types-api.js +13 -13
- package/dist/esm/api/app-connections-api.d.ts +26 -25
- package/dist/esm/api/app-connections-api.js +25 -25
- package/dist/esm/api/installed-apps-api.d.ts +13 -13
- package/dist/esm/api/triggers-api.d.ts +14 -12
- package/dist/esm/api/users-api.d.ts +13 -12
- package/dist/esm/api/workflows-api.d.ts +27 -26
- package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +75 -0
- package/dist/esm/models/create-action-type-request-form-draft-inner.js +25 -0
- package/dist/esm/models/create-action-type-request-icon-draft.d.ts +36 -0
- package/dist/esm/models/create-action-type-request-icon-draft.js +14 -0
- package/dist/esm/models/create-action-type-request.d.ts +105 -0
- package/dist/esm/models/create-action-type-request.js +14 -0
- package/dist/esm/models/create-action-type422-response.d.ts +36 -0
- package/dist/esm/models/create-action-type422-response.js +14 -0
- package/dist/esm/models/create-app-connection-request.d.ts +42 -0
- package/dist/esm/models/create-app-connection-request.js +14 -0
- package/dist/esm/models/create-workflow201-response.d.ts +215 -0
- package/dist/esm/models/create-workflow201-response.js +17 -0
- 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/import-configuration201-response.d.ts +6 -0
- package/dist/esm/models/index.d.ts +10 -8
- package/dist/esm/models/index.js +10 -8
- package/dist/esm/models/install-app201-response.d.ts +122 -0
- package/dist/esm/models/install-app201-response.js +14 -0
- package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +183 -0
- package/dist/esm/models/list-workflows200-response-collection-inner.js +17 -0
- package/dist/esm/models/list-workflows200-response.d.ts +32 -0
- package/dist/esm/models/list-workflows200-response.js +14 -0
- package/dist/models/create-action-type-request-form-draft-inner.d.ts +75 -0
- package/dist/models/create-action-type-request-form-draft-inner.js +28 -0
- package/dist/models/create-action-type-request-icon-draft.d.ts +36 -0
- package/dist/models/create-action-type-request-icon-draft.js +15 -0
- package/dist/models/create-action-type-request.d.ts +105 -0
- package/dist/models/create-action-type-request.js +15 -0
- package/dist/models/create-action-type422-response.d.ts +36 -0
- package/dist/models/create-action-type422-response.js +15 -0
- package/dist/models/create-app-connection-request.d.ts +42 -0
- package/dist/models/create-app-connection-request.js +15 -0
- package/dist/models/create-workflow201-response.d.ts +215 -0
- package/dist/models/create-workflow201-response.js +20 -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/import-configuration201-response.d.ts +6 -0
- package/dist/models/index.d.ts +10 -8
- package/dist/models/index.js +10 -8
- package/dist/models/install-app201-response.d.ts +122 -0
- package/dist/models/install-app201-response.js +15 -0
- package/dist/models/list-workflows200-response-collection-inner.d.ts +183 -0
- package/dist/models/list-workflows200-response-collection-inner.js +20 -0
- package/dist/models/list-workflows200-response.d.ts +32 -0
- package/dist/models/list-workflows200-response.js +15 -0
- package/package.json +1 -1
|
@@ -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
|
|
@@ -88,11 +90,11 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
|
|
|
88
90
|
/**
|
|
89
91
|
*
|
|
90
92
|
* @summary Create action type
|
|
91
|
-
* @param {
|
|
93
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
92
94
|
* @param {*} [options] Override http request option.
|
|
93
95
|
* @throws {RequiredError}
|
|
94
96
|
*/
|
|
95
|
-
|
|
97
|
+
createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
|
|
96
98
|
/**
|
|
97
99
|
*
|
|
98
100
|
* @summary Delete action type
|
|
@@ -100,7 +102,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
|
|
|
100
102
|
* @param {*} [options] Override http request option.
|
|
101
103
|
* @throws {RequiredError}
|
|
102
104
|
*/
|
|
103
|
-
deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
105
|
+
deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteActionType200Response>>;
|
|
104
106
|
/**
|
|
105
107
|
*
|
|
106
108
|
* @summary Discard action type draft
|
|
@@ -108,7 +110,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
|
|
|
108
110
|
* @param {*} [options] Override http request option.
|
|
109
111
|
* @throws {RequiredError}
|
|
110
112
|
*/
|
|
111
|
-
discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
113
|
+
discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
|
|
112
114
|
/**
|
|
113
115
|
*
|
|
114
116
|
* @summary List action types
|
|
@@ -126,7 +128,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
|
|
|
126
128
|
* @param {*} [options] Override http request option.
|
|
127
129
|
* @throws {RequiredError}
|
|
128
130
|
*/
|
|
129
|
-
publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
131
|
+
publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
|
|
130
132
|
/**
|
|
131
133
|
*
|
|
132
134
|
* @summary Retrieve action type
|
|
@@ -134,7 +136,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
|
|
|
134
136
|
* @param {*} [options] Override http request option.
|
|
135
137
|
* @throws {RequiredError}
|
|
136
138
|
*/
|
|
137
|
-
retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
139
|
+
retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
|
|
138
140
|
/**
|
|
139
141
|
*
|
|
140
142
|
* @summary Update action type
|
|
@@ -143,7 +145,7 @@ export declare const ActionTypesApiFp: (configuration?: Configuration) => {
|
|
|
143
145
|
* @param {*} [options] Override http request option.
|
|
144
146
|
* @throws {RequiredError}
|
|
145
147
|
*/
|
|
146
|
-
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
148
|
+
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionTypes200ResponseCollectionInner>>;
|
|
147
149
|
};
|
|
148
150
|
/**
|
|
149
151
|
* ActionTypesApi - factory interface
|
|
@@ -153,11 +155,11 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
|
|
|
153
155
|
/**
|
|
154
156
|
*
|
|
155
157
|
* @summary Create action type
|
|
156
|
-
* @param {
|
|
158
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
157
159
|
* @param {*} [options] Override http request option.
|
|
158
160
|
* @throws {RequiredError}
|
|
159
161
|
*/
|
|
160
|
-
|
|
162
|
+
createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
161
163
|
/**
|
|
162
164
|
*
|
|
163
165
|
* @summary Delete action type
|
|
@@ -165,7 +167,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
|
|
|
165
167
|
* @param {*} [options] Override http request option.
|
|
166
168
|
* @throws {RequiredError}
|
|
167
169
|
*/
|
|
168
|
-
deleteActionType(id: string, options?: any): AxiosPromise<
|
|
170
|
+
deleteActionType(id: string, options?: any): AxiosPromise<DeleteActionType200Response>;
|
|
169
171
|
/**
|
|
170
172
|
*
|
|
171
173
|
* @summary Discard action type draft
|
|
@@ -173,7 +175,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
|
|
|
173
175
|
* @param {*} [options] Override http request option.
|
|
174
176
|
* @throws {RequiredError}
|
|
175
177
|
*/
|
|
176
|
-
discardActionTypeDraft(id: string, options?: any): AxiosPromise<
|
|
178
|
+
discardActionTypeDraft(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
177
179
|
/**
|
|
178
180
|
*
|
|
179
181
|
* @summary List action types
|
|
@@ -191,7 +193,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
|
|
|
191
193
|
* @param {*} [options] Override http request option.
|
|
192
194
|
* @throws {RequiredError}
|
|
193
195
|
*/
|
|
194
|
-
publishActionType(id: string, options?: any): AxiosPromise<
|
|
196
|
+
publishActionType(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
195
197
|
/**
|
|
196
198
|
*
|
|
197
199
|
* @summary Retrieve action type
|
|
@@ -199,7 +201,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
|
|
|
199
201
|
* @param {*} [options] Override http request option.
|
|
200
202
|
* @throws {RequiredError}
|
|
201
203
|
*/
|
|
202
|
-
retrieveActionType(id: string, options?: any): AxiosPromise<
|
|
204
|
+
retrieveActionType(id: string, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
203
205
|
/**
|
|
204
206
|
*
|
|
205
207
|
* @summary Update action type
|
|
@@ -208,7 +210,7 @@ export declare const ActionTypesApiFactory: (configuration?: Configuration, base
|
|
|
208
210
|
* @param {*} [options] Override http request option.
|
|
209
211
|
* @throws {RequiredError}
|
|
210
212
|
*/
|
|
211
|
-
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: any): AxiosPromise<
|
|
213
|
+
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: any): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
212
214
|
};
|
|
213
215
|
/**
|
|
214
216
|
* ActionTypesApi - interface
|
|
@@ -219,12 +221,12 @@ export interface ActionTypesApiInterface {
|
|
|
219
221
|
/**
|
|
220
222
|
*
|
|
221
223
|
* @summary Create action type
|
|
222
|
-
* @param {
|
|
224
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
223
225
|
* @param {*} [options] Override http request option.
|
|
224
226
|
* @throws {RequiredError}
|
|
225
227
|
* @memberof ActionTypesApiInterface
|
|
226
228
|
*/
|
|
227
|
-
|
|
229
|
+
createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
228
230
|
/**
|
|
229
231
|
*
|
|
230
232
|
* @summary Delete action type
|
|
@@ -233,7 +235,7 @@ export interface ActionTypesApiInterface {
|
|
|
233
235
|
* @throws {RequiredError}
|
|
234
236
|
* @memberof ActionTypesApiInterface
|
|
235
237
|
*/
|
|
236
|
-
deleteActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
238
|
+
deleteActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteActionType200Response>;
|
|
237
239
|
/**
|
|
238
240
|
*
|
|
239
241
|
* @summary Discard action type draft
|
|
@@ -242,7 +244,7 @@ export interface ActionTypesApiInterface {
|
|
|
242
244
|
* @throws {RequiredError}
|
|
243
245
|
* @memberof ActionTypesApiInterface
|
|
244
246
|
*/
|
|
245
|
-
discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
247
|
+
discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
246
248
|
/**
|
|
247
249
|
*
|
|
248
250
|
* @summary List action types
|
|
@@ -262,7 +264,7 @@ export interface ActionTypesApiInterface {
|
|
|
262
264
|
* @throws {RequiredError}
|
|
263
265
|
* @memberof ActionTypesApiInterface
|
|
264
266
|
*/
|
|
265
|
-
publishActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
267
|
+
publishActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
266
268
|
/**
|
|
267
269
|
*
|
|
268
270
|
* @summary Retrieve action type
|
|
@@ -271,7 +273,7 @@ export interface ActionTypesApiInterface {
|
|
|
271
273
|
* @throws {RequiredError}
|
|
272
274
|
* @memberof ActionTypesApiInterface
|
|
273
275
|
*/
|
|
274
|
-
retrieveActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
276
|
+
retrieveActionType(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
275
277
|
/**
|
|
276
278
|
*
|
|
277
279
|
* @summary Update action type
|
|
@@ -281,7 +283,7 @@ export interface ActionTypesApiInterface {
|
|
|
281
283
|
* @throws {RequiredError}
|
|
282
284
|
* @memberof ActionTypesApiInterface
|
|
283
285
|
*/
|
|
284
|
-
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
286
|
+
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListActionTypes200ResponseCollectionInner>;
|
|
285
287
|
}
|
|
286
288
|
/**
|
|
287
289
|
* ActionTypesApi - object-oriented interface
|
|
@@ -293,12 +295,12 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
|
|
|
293
295
|
/**
|
|
294
296
|
*
|
|
295
297
|
* @summary Create action type
|
|
296
|
-
* @param {
|
|
298
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
297
299
|
* @param {*} [options] Override http request option.
|
|
298
300
|
* @throws {RequiredError}
|
|
299
301
|
* @memberof ActionTypesApi
|
|
300
302
|
*/
|
|
301
|
-
|
|
303
|
+
createActionType(createActionTypeRequest?: CreateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
|
|
302
304
|
/**
|
|
303
305
|
*
|
|
304
306
|
* @summary Delete action type
|
|
@@ -307,7 +309,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
|
|
|
307
309
|
* @throws {RequiredError}
|
|
308
310
|
* @memberof ActionTypesApi
|
|
309
311
|
*/
|
|
310
|
-
deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
312
|
+
deleteActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any>>;
|
|
311
313
|
/**
|
|
312
314
|
*
|
|
313
315
|
* @summary Discard action type draft
|
|
@@ -316,7 +318,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
|
|
|
316
318
|
* @throws {RequiredError}
|
|
317
319
|
* @memberof ActionTypesApi
|
|
318
320
|
*/
|
|
319
|
-
discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
321
|
+
discardActionTypeDraft(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
|
|
320
322
|
/**
|
|
321
323
|
*
|
|
322
324
|
* @summary List action types
|
|
@@ -336,7 +338,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
|
|
|
336
338
|
* @throws {RequiredError}
|
|
337
339
|
* @memberof ActionTypesApi
|
|
338
340
|
*/
|
|
339
|
-
publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
341
|
+
publishActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
|
|
340
342
|
/**
|
|
341
343
|
*
|
|
342
344
|
* @summary Retrieve action type
|
|
@@ -345,7 +347,7 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
|
|
|
345
347
|
* @throws {RequiredError}
|
|
346
348
|
* @memberof ActionTypesApi
|
|
347
349
|
*/
|
|
348
|
-
retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
350
|
+
retrieveActionType(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
|
|
349
351
|
/**
|
|
350
352
|
*
|
|
351
353
|
* @summary Update action type
|
|
@@ -355,5 +357,5 @@ export declare class ActionTypesApi extends BaseAPI implements ActionTypesApiInt
|
|
|
355
357
|
* @throws {RequiredError}
|
|
356
358
|
* @memberof ActionTypesApi
|
|
357
359
|
*/
|
|
358
|
-
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
360
|
+
updateActionType(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionTypes200ResponseCollectionInner, any>>;
|
|
359
361
|
}
|
|
@@ -38,11 +38,11 @@ const ActionTypesApiAxiosParamCreator = function (configuration) {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Create action type
|
|
41
|
-
* @param {
|
|
41
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
createActionType: (createActionTypeRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
46
46
|
const localVarPath = `/api/v1/action_types`;
|
|
47
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
48
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -60,7 +60,7 @@ const ActionTypesApiAxiosParamCreator = function (configuration) {
|
|
|
60
60
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
61
61
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62
62
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
63
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
63
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createActionTypeRequest, localVarRequestOptions, configuration);
|
|
64
64
|
return {
|
|
65
65
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
66
66
|
options: localVarRequestOptions,
|
|
@@ -282,16 +282,16 @@ const ActionTypesApiFp = function (configuration) {
|
|
|
282
282
|
/**
|
|
283
283
|
*
|
|
284
284
|
* @summary Create action type
|
|
285
|
-
* @param {
|
|
285
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
287
287
|
* @throws {RequiredError}
|
|
288
288
|
*/
|
|
289
|
-
|
|
289
|
+
createActionType(createActionTypeRequest, options) {
|
|
290
290
|
var _a, _b, _c;
|
|
291
291
|
return __awaiter(this, void 0, void 0, function* () {
|
|
292
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
292
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createActionType(createActionTypeRequest, options);
|
|
293
293
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
294
|
-
const operationBasePath = (_c = (_b = base_1.operationServerMap['ActionTypesApi.
|
|
294
|
+
const operationBasePath = (_c = (_b = base_1.operationServerMap['ActionTypesApi.createActionType']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
295
295
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
296
296
|
});
|
|
297
297
|
},
|
|
@@ -407,12 +407,12 @@ const ActionTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
407
407
|
/**
|
|
408
408
|
*
|
|
409
409
|
* @summary Create action type
|
|
410
|
-
* @param {
|
|
410
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
411
411
|
* @param {*} [options] Override http request option.
|
|
412
412
|
* @throws {RequiredError}
|
|
413
413
|
*/
|
|
414
|
-
|
|
415
|
-
return localVarFp.
|
|
414
|
+
createActionType(createActionTypeRequest, options) {
|
|
415
|
+
return localVarFp.createActionType(createActionTypeRequest, options).then((request) => request(axios, basePath));
|
|
416
416
|
},
|
|
417
417
|
/**
|
|
418
418
|
*
|
|
@@ -490,13 +490,13 @@ class ActionTypesApi extends base_1.BaseAPI {
|
|
|
490
490
|
/**
|
|
491
491
|
*
|
|
492
492
|
* @summary Create action type
|
|
493
|
-
* @param {
|
|
493
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
494
494
|
* @param {*} [options] Override http request option.
|
|
495
495
|
* @throws {RequiredError}
|
|
496
496
|
* @memberof ActionTypesApi
|
|
497
497
|
*/
|
|
498
|
-
|
|
499
|
-
return (0, exports.ActionTypesApiFp)(this.configuration).
|
|
498
|
+
createActionType(createActionTypeRequest, options) {
|
|
499
|
+
return (0, exports.ActionTypesApiFp)(this.configuration).createActionType(createActionTypeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
500
500
|
}
|
|
501
501
|
/**
|
|
502
502
|
*
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import {
|
|
15
|
+
import { CreateAppConnectionRequest } from '../models';
|
|
16
|
+
import { DeleteActionType200Response } from '../models';
|
|
16
17
|
import { ListAppConnections200Response } from '../models';
|
|
17
18
|
import { ListAppConnections200ResponseCollectionInner } from '../models';
|
|
18
19
|
/**
|
|
@@ -23,11 +24,11 @@ export declare const AppConnectionsApiAxiosParamCreator: (configuration?: Config
|
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
25
26
|
* @summary Create app connection
|
|
26
|
-
* @param {
|
|
27
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
27
28
|
* @param {*} [options] Override http request option.
|
|
28
29
|
* @throws {RequiredError}
|
|
29
30
|
*/
|
|
30
|
-
|
|
31
|
+
createAppConnection: (createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
33
34
|
* @summary Delete app connection
|
|
@@ -62,11 +63,11 @@ export declare const AppConnectionsApiAxiosParamCreator: (configuration?: Config
|
|
|
62
63
|
*
|
|
63
64
|
* @summary Update app connection
|
|
64
65
|
* @param {string} id System-generated unique identifier
|
|
65
|
-
* @param {
|
|
66
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
66
67
|
* @param {*} [options] Override http request option.
|
|
67
68
|
* @throws {RequiredError}
|
|
68
69
|
*/
|
|
69
|
-
updateAppConnection: (id: string,
|
|
70
|
+
updateAppConnection: (id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
71
|
};
|
|
71
72
|
/**
|
|
72
73
|
* AppConnectionsApi - functional programming interface
|
|
@@ -76,11 +77,11 @@ export declare const AppConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
76
77
|
/**
|
|
77
78
|
*
|
|
78
79
|
* @summary Create app connection
|
|
79
|
-
* @param {
|
|
80
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
80
81
|
* @param {*} [options] Override http request option.
|
|
81
82
|
* @throws {RequiredError}
|
|
82
83
|
*/
|
|
83
|
-
|
|
84
|
+
createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAppConnections200ResponseCollectionInner>>;
|
|
84
85
|
/**
|
|
85
86
|
*
|
|
86
87
|
* @summary Delete app connection
|
|
@@ -89,7 +90,7 @@ export declare const AppConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
89
90
|
* @param {*} [options] Override http request option.
|
|
90
91
|
* @throws {RequiredError}
|
|
91
92
|
*/
|
|
92
|
-
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
93
|
+
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteActionType200Response>>;
|
|
93
94
|
/**
|
|
94
95
|
*
|
|
95
96
|
* @summary List app connections
|
|
@@ -115,11 +116,11 @@ export declare const AppConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
115
116
|
*
|
|
116
117
|
* @summary Update app connection
|
|
117
118
|
* @param {string} id System-generated unique identifier
|
|
118
|
-
* @param {
|
|
119
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
119
120
|
* @param {*} [options] Override http request option.
|
|
120
121
|
* @throws {RequiredError}
|
|
121
122
|
*/
|
|
122
|
-
updateAppConnection(id: string,
|
|
123
|
+
updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAppConnections200ResponseCollectionInner>>;
|
|
123
124
|
};
|
|
124
125
|
/**
|
|
125
126
|
* AppConnectionsApi - factory interface
|
|
@@ -129,11 +130,11 @@ export declare const AppConnectionsApiFactory: (configuration?: Configuration, b
|
|
|
129
130
|
/**
|
|
130
131
|
*
|
|
131
132
|
* @summary Create app connection
|
|
132
|
-
* @param {
|
|
133
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
133
134
|
* @param {*} [options] Override http request option.
|
|
134
135
|
* @throws {RequiredError}
|
|
135
136
|
*/
|
|
136
|
-
|
|
137
|
+
createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: any): AxiosPromise<ListAppConnections200ResponseCollectionInner>;
|
|
137
138
|
/**
|
|
138
139
|
*
|
|
139
140
|
* @summary Delete app connection
|
|
@@ -142,7 +143,7 @@ export declare const AppConnectionsApiFactory: (configuration?: Configuration, b
|
|
|
142
143
|
* @param {*} [options] Override http request option.
|
|
143
144
|
* @throws {RequiredError}
|
|
144
145
|
*/
|
|
145
|
-
deleteAppConnection(id: string, userKey?: string, options?: any): AxiosPromise<
|
|
146
|
+
deleteAppConnection(id: string, userKey?: string, options?: any): AxiosPromise<DeleteActionType200Response>;
|
|
146
147
|
/**
|
|
147
148
|
*
|
|
148
149
|
* @summary List app connections
|
|
@@ -168,11 +169,11 @@ export declare const AppConnectionsApiFactory: (configuration?: Configuration, b
|
|
|
168
169
|
*
|
|
169
170
|
* @summary Update app connection
|
|
170
171
|
* @param {string} id System-generated unique identifier
|
|
171
|
-
* @param {
|
|
172
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
172
173
|
* @param {*} [options] Override http request option.
|
|
173
174
|
* @throws {RequiredError}
|
|
174
175
|
*/
|
|
175
|
-
updateAppConnection(id: string,
|
|
176
|
+
updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: any): AxiosPromise<ListAppConnections200ResponseCollectionInner>;
|
|
176
177
|
};
|
|
177
178
|
/**
|
|
178
179
|
* AppConnectionsApi - interface
|
|
@@ -183,12 +184,12 @@ export interface AppConnectionsApiInterface {
|
|
|
183
184
|
/**
|
|
184
185
|
*
|
|
185
186
|
* @summary Create app connection
|
|
186
|
-
* @param {
|
|
187
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
187
188
|
* @param {*} [options] Override http request option.
|
|
188
189
|
* @throws {RequiredError}
|
|
189
190
|
* @memberof AppConnectionsApiInterface
|
|
190
191
|
*/
|
|
191
|
-
|
|
192
|
+
createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListAppConnections200ResponseCollectionInner>;
|
|
192
193
|
/**
|
|
193
194
|
*
|
|
194
195
|
* @summary Delete app connection
|
|
@@ -198,7 +199,7 @@ export interface AppConnectionsApiInterface {
|
|
|
198
199
|
* @throws {RequiredError}
|
|
199
200
|
* @memberof AppConnectionsApiInterface
|
|
200
201
|
*/
|
|
201
|
-
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
202
|
+
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteActionType200Response>;
|
|
202
203
|
/**
|
|
203
204
|
*
|
|
204
205
|
* @summary List app connections
|
|
@@ -226,12 +227,12 @@ export interface AppConnectionsApiInterface {
|
|
|
226
227
|
*
|
|
227
228
|
* @summary Update app connection
|
|
228
229
|
* @param {string} id System-generated unique identifier
|
|
229
|
-
* @param {
|
|
230
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
230
231
|
* @param {*} [options] Override http request option.
|
|
231
232
|
* @throws {RequiredError}
|
|
232
233
|
* @memberof AppConnectionsApiInterface
|
|
233
234
|
*/
|
|
234
|
-
updateAppConnection(id: string,
|
|
235
|
+
updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListAppConnections200ResponseCollectionInner>;
|
|
235
236
|
}
|
|
236
237
|
/**
|
|
237
238
|
* AppConnectionsApi - object-oriented interface
|
|
@@ -243,12 +244,12 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
243
244
|
/**
|
|
244
245
|
*
|
|
245
246
|
* @summary Create app connection
|
|
246
|
-
* @param {
|
|
247
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
247
248
|
* @param {*} [options] Override http request option.
|
|
248
249
|
* @throws {RequiredError}
|
|
249
250
|
* @memberof AppConnectionsApi
|
|
250
251
|
*/
|
|
251
|
-
|
|
252
|
+
createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
|
|
252
253
|
/**
|
|
253
254
|
*
|
|
254
255
|
* @summary Delete app connection
|
|
@@ -258,7 +259,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
258
259
|
* @throws {RequiredError}
|
|
259
260
|
* @memberof AppConnectionsApi
|
|
260
261
|
*/
|
|
261
|
-
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
262
|
+
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any>>;
|
|
262
263
|
/**
|
|
263
264
|
*
|
|
264
265
|
* @summary List app connections
|
|
@@ -286,10 +287,10 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
286
287
|
*
|
|
287
288
|
* @summary Update app connection
|
|
288
289
|
* @param {string} id System-generated unique identifier
|
|
289
|
-
* @param {
|
|
290
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
290
291
|
* @param {*} [options] Override http request option.
|
|
291
292
|
* @throws {RequiredError}
|
|
292
293
|
* @memberof AppConnectionsApi
|
|
293
294
|
*/
|
|
294
|
-
updateAppConnection(id: string,
|
|
295
|
+
updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
|
|
295
296
|
}
|