@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,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
|
}
|
|
@@ -35,11 +35,11 @@ export const AppConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
37
|
* @summary Create app connection
|
|
38
|
-
* @param {
|
|
38
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
createAppConnection: (createAppConnectionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
43
43
|
const localVarPath = `/api/v1/app_connections`;
|
|
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 AppConnectionsApiAxiosParamCreator = 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(createAppConnectionRequest, localVarRequestOptions, configuration);
|
|
61
61
|
return {
|
|
62
62
|
url: toPathString(localVarUrlObj),
|
|
63
63
|
options: localVarRequestOptions,
|
|
@@ -187,11 +187,11 @@ export const AppConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
187
187
|
*
|
|
188
188
|
* @summary Update app connection
|
|
189
189
|
* @param {string} id System-generated unique identifier
|
|
190
|
-
* @param {
|
|
190
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
191
191
|
* @param {*} [options] Override http request option.
|
|
192
192
|
* @throws {RequiredError}
|
|
193
193
|
*/
|
|
194
|
-
updateAppConnection: (id,
|
|
194
|
+
updateAppConnection: (id, createAppConnectionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
195
195
|
// verify required parameter 'id' is not null or undefined
|
|
196
196
|
assertParamExists('updateAppConnection', 'id', id);
|
|
197
197
|
const localVarPath = `/api/v1/app_connections/{id}`
|
|
@@ -212,7 +212,7 @@ export const AppConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
213
213
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
214
214
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
215
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
215
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createAppConnectionRequest, localVarRequestOptions, configuration);
|
|
216
216
|
return {
|
|
217
217
|
url: toPathString(localVarUrlObj),
|
|
218
218
|
options: localVarRequestOptions,
|
|
@@ -230,16 +230,16 @@ export const AppConnectionsApiFp = function (configuration) {
|
|
|
230
230
|
/**
|
|
231
231
|
*
|
|
232
232
|
* @summary Create app connection
|
|
233
|
-
* @param {
|
|
233
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
234
234
|
* @param {*} [options] Override http request option.
|
|
235
235
|
* @throws {RequiredError}
|
|
236
236
|
*/
|
|
237
|
-
|
|
237
|
+
createAppConnection(createAppConnectionRequest, options) {
|
|
238
238
|
var _a, _b, _c;
|
|
239
239
|
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
240
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createAppConnection(createAppConnectionRequest, options);
|
|
241
241
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
242
|
-
const operationBasePath = (_c = (_b = operationServerMap['AppConnectionsApi.
|
|
242
|
+
const operationBasePath = (_c = (_b = operationServerMap['AppConnectionsApi.createAppConnection']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
243
243
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
244
244
|
});
|
|
245
245
|
},
|
|
@@ -301,14 +301,14 @@ export const AppConnectionsApiFp = function (configuration) {
|
|
|
301
301
|
*
|
|
302
302
|
* @summary Update app connection
|
|
303
303
|
* @param {string} id System-generated unique identifier
|
|
304
|
-
* @param {
|
|
304
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
305
305
|
* @param {*} [options] Override http request option.
|
|
306
306
|
* @throws {RequiredError}
|
|
307
307
|
*/
|
|
308
|
-
updateAppConnection(id,
|
|
308
|
+
updateAppConnection(id, createAppConnectionRequest, options) {
|
|
309
309
|
var _a, _b, _c;
|
|
310
310
|
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAppConnection(id,
|
|
311
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAppConnection(id, createAppConnectionRequest, options);
|
|
312
312
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
313
313
|
const operationBasePath = (_c = (_b = operationServerMap['AppConnectionsApi.updateAppConnection']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
314
314
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -326,12 +326,12 @@ export const AppConnectionsApiFactory = function (configuration, basePath, axios
|
|
|
326
326
|
/**
|
|
327
327
|
*
|
|
328
328
|
* @summary Create app connection
|
|
329
|
-
* @param {
|
|
329
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
330
330
|
* @param {*} [options] Override http request option.
|
|
331
331
|
* @throws {RequiredError}
|
|
332
332
|
*/
|
|
333
|
-
|
|
334
|
-
return localVarFp.
|
|
333
|
+
createAppConnection(createAppConnectionRequest, options) {
|
|
334
|
+
return localVarFp.createAppConnection(createAppConnectionRequest, options).then((request) => request(axios, basePath));
|
|
335
335
|
},
|
|
336
336
|
/**
|
|
337
337
|
*
|
|
@@ -373,12 +373,12 @@ export const AppConnectionsApiFactory = function (configuration, basePath, axios
|
|
|
373
373
|
*
|
|
374
374
|
* @summary Update app connection
|
|
375
375
|
* @param {string} id System-generated unique identifier
|
|
376
|
-
* @param {
|
|
376
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
380
|
-
updateAppConnection(id,
|
|
381
|
-
return localVarFp.updateAppConnection(id,
|
|
380
|
+
updateAppConnection(id, createAppConnectionRequest, options) {
|
|
381
|
+
return localVarFp.updateAppConnection(id, createAppConnectionRequest, options).then((request) => request(axios, basePath));
|
|
382
382
|
},
|
|
383
383
|
};
|
|
384
384
|
};
|
|
@@ -392,13 +392,13 @@ export class AppConnectionsApi extends BaseAPI {
|
|
|
392
392
|
/**
|
|
393
393
|
*
|
|
394
394
|
* @summary Create app connection
|
|
395
|
-
* @param {
|
|
395
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
396
396
|
* @param {*} [options] Override http request option.
|
|
397
397
|
* @throws {RequiredError}
|
|
398
398
|
* @memberof AppConnectionsApi
|
|
399
399
|
*/
|
|
400
|
-
|
|
401
|
-
return AppConnectionsApiFp(this.configuration).
|
|
400
|
+
createAppConnection(createAppConnectionRequest, options) {
|
|
401
|
+
return AppConnectionsApiFp(this.configuration).createAppConnection(createAppConnectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
402
402
|
}
|
|
403
403
|
/**
|
|
404
404
|
*
|
|
@@ -443,12 +443,12 @@ export class AppConnectionsApi extends BaseAPI {
|
|
|
443
443
|
*
|
|
444
444
|
* @summary Update app connection
|
|
445
445
|
* @param {string} id System-generated unique identifier
|
|
446
|
-
* @param {
|
|
446
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
447
447
|
* @param {*} [options] Override http request option.
|
|
448
448
|
* @throws {RequiredError}
|
|
449
449
|
* @memberof AppConnectionsApi
|
|
450
450
|
*/
|
|
451
|
-
updateAppConnection(id,
|
|
452
|
-
return AppConnectionsApiFp(this.configuration).updateAppConnection(id,
|
|
451
|
+
updateAppConnection(id, createAppConnectionRequest, options) {
|
|
452
|
+
return AppConnectionsApiFp(this.configuration).updateAppConnection(id, createAppConnectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
453
453
|
}
|
|
454
454
|
}
|
|
@@ -12,9 +12,9 @@
|
|
|
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 { InstallApp201Response } from '../models';
|
|
15
16
|
import { InstallAppRequest } from '../models';
|
|
16
17
|
import { ListInstalledApps200Response } from '../models';
|
|
17
|
-
import { RetrieveInstalledApp200Response } from '../models';
|
|
18
18
|
import { UpdateInstalledAppRequest } from '../models';
|
|
19
19
|
/**
|
|
20
20
|
* InstalledAppsApi - axios parameter creator
|
|
@@ -66,7 +66,7 @@ export declare const InstalledAppsApiFp: (configuration?: Configuration) => {
|
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
69
|
+
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallApp201Response>>;
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @summary List installed apps
|
|
@@ -81,7 +81,7 @@ export declare const InstalledAppsApiFp: (configuration?: Configuration) => {
|
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
84
|
+
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallApp201Response>>;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @summary Update installed app
|
|
@@ -90,7 +90,7 @@ export declare const InstalledAppsApiFp: (configuration?: Configuration) => {
|
|
|
90
90
|
* @param {*} [options] Override http request option.
|
|
91
91
|
* @throws {RequiredError}
|
|
92
92
|
*/
|
|
93
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
93
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstallApp201Response>>;
|
|
94
94
|
};
|
|
95
95
|
/**
|
|
96
96
|
* InstalledAppsApi - factory interface
|
|
@@ -104,7 +104,7 @@ export declare const InstalledAppsApiFactory: (configuration?: Configuration, ba
|
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
106
106
|
*/
|
|
107
|
-
installApp(installAppRequest?: InstallAppRequest, options?: any): AxiosPromise<
|
|
107
|
+
installApp(installAppRequest?: InstallAppRequest, options?: any): AxiosPromise<InstallApp201Response>;
|
|
108
108
|
/**
|
|
109
109
|
*
|
|
110
110
|
* @summary List installed apps
|
|
@@ -119,7 +119,7 @@ export declare const InstalledAppsApiFactory: (configuration?: Configuration, ba
|
|
|
119
119
|
* @param {*} [options] Override http request option.
|
|
120
120
|
* @throws {RequiredError}
|
|
121
121
|
*/
|
|
122
|
-
retrieveInstalledApp(appIdentifier: string, options?: any): AxiosPromise<
|
|
122
|
+
retrieveInstalledApp(appIdentifier: string, options?: any): AxiosPromise<InstallApp201Response>;
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
125
|
* @summary Update installed app
|
|
@@ -128,7 +128,7 @@ export declare const InstalledAppsApiFactory: (configuration?: Configuration, ba
|
|
|
128
128
|
* @param {*} [options] Override http request option.
|
|
129
129
|
* @throws {RequiredError}
|
|
130
130
|
*/
|
|
131
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: any): AxiosPromise<
|
|
131
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: any): AxiosPromise<InstallApp201Response>;
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
134
|
* InstalledAppsApi - interface
|
|
@@ -144,7 +144,7 @@ export interface InstalledAppsApiInterface {
|
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
* @memberof InstalledAppsApiInterface
|
|
146
146
|
*/
|
|
147
|
-
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
147
|
+
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<InstallApp201Response>;
|
|
148
148
|
/**
|
|
149
149
|
*
|
|
150
150
|
* @summary List installed apps
|
|
@@ -161,7 +161,7 @@ export interface InstalledAppsApiInterface {
|
|
|
161
161
|
* @throws {RequiredError}
|
|
162
162
|
* @memberof InstalledAppsApiInterface
|
|
163
163
|
*/
|
|
164
|
-
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
164
|
+
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): AxiosPromise<InstallApp201Response>;
|
|
165
165
|
/**
|
|
166
166
|
*
|
|
167
167
|
* @summary Update installed app
|
|
@@ -171,7 +171,7 @@ export interface InstalledAppsApiInterface {
|
|
|
171
171
|
* @throws {RequiredError}
|
|
172
172
|
* @memberof InstalledAppsApiInterface
|
|
173
173
|
*/
|
|
174
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
174
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<InstallApp201Response>;
|
|
175
175
|
}
|
|
176
176
|
/**
|
|
177
177
|
* InstalledAppsApi - object-oriented interface
|
|
@@ -188,7 +188,7 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
188
188
|
* @throws {RequiredError}
|
|
189
189
|
* @memberof InstalledAppsApi
|
|
190
190
|
*/
|
|
191
|
-
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
191
|
+
installApp(installAppRequest?: InstallAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any>>;
|
|
192
192
|
/**
|
|
193
193
|
*
|
|
194
194
|
* @summary List installed apps
|
|
@@ -205,7 +205,7 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
205
205
|
* @throws {RequiredError}
|
|
206
206
|
* @memberof InstalledAppsApi
|
|
207
207
|
*/
|
|
208
|
-
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
208
|
+
retrieveInstalledApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any>>;
|
|
209
209
|
/**
|
|
210
210
|
*
|
|
211
211
|
* @summary Update installed app
|
|
@@ -215,5 +215,5 @@ export declare class InstalledAppsApi extends BaseAPI implements InstalledAppsAp
|
|
|
215
215
|
* @throws {RequiredError}
|
|
216
216
|
* @memberof InstalledAppsApi
|
|
217
217
|
*/
|
|
218
|
-
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
218
|
+
updateInstalledApp(appIdentifier: string, updateInstalledAppRequest?: UpdateInstalledAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstallApp201Response, any>>;
|
|
219
219
|
}
|
|
@@ -12,7 +12,9 @@
|
|
|
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 { DeleteActionType200Response } from '../models';
|
|
15
16
|
import { ListTriggers200Response } from '../models';
|
|
17
|
+
import { ListTriggers200ResponseCollectionInner } from '../models';
|
|
16
18
|
import { UpdateActionTypeRequest } from '../models';
|
|
17
19
|
/**
|
|
18
20
|
* TriggersApi - axios parameter creator
|
|
@@ -67,7 +69,7 @@ export declare const TriggersApiFp: (configuration?: Configuration) => {
|
|
|
67
69
|
* @param {*} [options] Override http request option.
|
|
68
70
|
* @throws {RequiredError}
|
|
69
71
|
*/
|
|
70
|
-
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
72
|
+
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteActionType200Response>>;
|
|
71
73
|
/**
|
|
72
74
|
*
|
|
73
75
|
* @summary List triggers
|
|
@@ -85,7 +87,7 @@ export declare const TriggersApiFp: (configuration?: Configuration) => {
|
|
|
85
87
|
* @param {*} [options] Override http request option.
|
|
86
88
|
* @throws {RequiredError}
|
|
87
89
|
*/
|
|
88
|
-
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
90
|
+
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTriggers200ResponseCollectionInner>>;
|
|
89
91
|
/**
|
|
90
92
|
*
|
|
91
93
|
* @summary Update trigger
|
|
@@ -94,7 +96,7 @@ export declare const TriggersApiFp: (configuration?: Configuration) => {
|
|
|
94
96
|
* @param {*} [options] Override http request option.
|
|
95
97
|
* @throws {RequiredError}
|
|
96
98
|
*/
|
|
97
|
-
updateTrigger(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
99
|
+
updateTrigger(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTriggers200ResponseCollectionInner>>;
|
|
98
100
|
};
|
|
99
101
|
/**
|
|
100
102
|
* TriggersApi - factory interface
|
|
@@ -108,7 +110,7 @@ export declare const TriggersApiFactory: (configuration?: Configuration, basePat
|
|
|
108
110
|
* @param {*} [options] Override http request option.
|
|
109
111
|
* @throws {RequiredError}
|
|
110
112
|
*/
|
|
111
|
-
deleteTrigger(id: string, options?: any): AxiosPromise<
|
|
113
|
+
deleteTrigger(id: string, options?: any): AxiosPromise<DeleteActionType200Response>;
|
|
112
114
|
/**
|
|
113
115
|
*
|
|
114
116
|
* @summary List triggers
|
|
@@ -126,7 +128,7 @@ export declare const TriggersApiFactory: (configuration?: Configuration, basePat
|
|
|
126
128
|
* @param {*} [options] Override http request option.
|
|
127
129
|
* @throws {RequiredError}
|
|
128
130
|
*/
|
|
129
|
-
retrieveTrigger(id: string, options?: any): AxiosPromise<
|
|
131
|
+
retrieveTrigger(id: string, options?: any): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
130
132
|
/**
|
|
131
133
|
*
|
|
132
134
|
* @summary Update trigger
|
|
@@ -135,7 +137,7 @@ export declare const TriggersApiFactory: (configuration?: Configuration, basePat
|
|
|
135
137
|
* @param {*} [options] Override http request option.
|
|
136
138
|
* @throws {RequiredError}
|
|
137
139
|
*/
|
|
138
|
-
updateTrigger(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: any): AxiosPromise<
|
|
140
|
+
updateTrigger(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: any): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
139
141
|
};
|
|
140
142
|
/**
|
|
141
143
|
* TriggersApi - interface
|
|
@@ -151,7 +153,7 @@ export interface TriggersApiInterface {
|
|
|
151
153
|
* @throws {RequiredError}
|
|
152
154
|
* @memberof TriggersApiInterface
|
|
153
155
|
*/
|
|
154
|
-
deleteTrigger(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
156
|
+
deleteTrigger(id: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteActionType200Response>;
|
|
155
157
|
/**
|
|
156
158
|
*
|
|
157
159
|
* @summary List triggers
|
|
@@ -171,7 +173,7 @@ export interface TriggersApiInterface {
|
|
|
171
173
|
* @throws {RequiredError}
|
|
172
174
|
* @memberof TriggersApiInterface
|
|
173
175
|
*/
|
|
174
|
-
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
176
|
+
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
175
177
|
/**
|
|
176
178
|
*
|
|
177
179
|
* @summary Update trigger
|
|
@@ -181,7 +183,7 @@ export interface TriggersApiInterface {
|
|
|
181
183
|
* @throws {RequiredError}
|
|
182
184
|
* @memberof TriggersApiInterface
|
|
183
185
|
*/
|
|
184
|
-
updateTrigger(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
186
|
+
updateTrigger(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTriggers200ResponseCollectionInner>;
|
|
185
187
|
}
|
|
186
188
|
/**
|
|
187
189
|
* TriggersApi - object-oriented interface
|
|
@@ -198,7 +200,7 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
198
200
|
* @throws {RequiredError}
|
|
199
201
|
* @memberof TriggersApi
|
|
200
202
|
*/
|
|
201
|
-
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
203
|
+
deleteTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteActionType200Response, any>>;
|
|
202
204
|
/**
|
|
203
205
|
*
|
|
204
206
|
* @summary List triggers
|
|
@@ -218,7 +220,7 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
218
220
|
* @throws {RequiredError}
|
|
219
221
|
* @memberof TriggersApi
|
|
220
222
|
*/
|
|
221
|
-
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
223
|
+
retrieveTrigger(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200ResponseCollectionInner, any>>;
|
|
222
224
|
/**
|
|
223
225
|
*
|
|
224
226
|
* @summary Update trigger
|
|
@@ -228,5 +230,5 @@ export declare class TriggersApi extends BaseAPI implements TriggersApiInterface
|
|
|
228
230
|
* @throws {RequiredError}
|
|
229
231
|
* @memberof TriggersApi
|
|
230
232
|
*/
|
|
231
|
-
updateTrigger(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
233
|
+
updateTrigger(id: string, updateActionTypeRequest?: UpdateActionTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTriggers200ResponseCollectionInner, any>>;
|
|
232
234
|
}
|