@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
|
@@ -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,
|
|
@@ -136,10 +136,11 @@ const ActionTypesApiAxiosParamCreator = function (configuration) {
|
|
|
136
136
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
137
137
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
138
138
|
* @param {number} [limit] Number of items to return (max 100)
|
|
139
|
+
* @param {string} [category] Filter by category (matches primary or secondary)
|
|
139
140
|
* @param {*} [options] Override http request option.
|
|
140
141
|
* @throws {RequiredError}
|
|
141
142
|
*/
|
|
142
|
-
listActionTypes: (startingAfter, endingBefore, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
listActionTypes: (startingAfter, endingBefore, limit, category, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
143
144
|
const localVarPath = `/api/v1/action_types`;
|
|
144
145
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
145
146
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -162,6 +163,9 @@ const ActionTypesApiAxiosParamCreator = function (configuration) {
|
|
|
162
163
|
if (limit !== undefined) {
|
|
163
164
|
localVarQueryParameter['limit'] = limit;
|
|
164
165
|
}
|
|
166
|
+
if (category !== undefined) {
|
|
167
|
+
localVarQueryParameter['category'] = category;
|
|
168
|
+
}
|
|
165
169
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
166
170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
171
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -282,16 +286,16 @@ const ActionTypesApiFp = function (configuration) {
|
|
|
282
286
|
/**
|
|
283
287
|
*
|
|
284
288
|
* @summary Create action type
|
|
285
|
-
* @param {
|
|
289
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
286
290
|
* @param {*} [options] Override http request option.
|
|
287
291
|
* @throws {RequiredError}
|
|
288
292
|
*/
|
|
289
|
-
|
|
293
|
+
createActionType(createActionTypeRequest, options) {
|
|
290
294
|
var _a, _b, _c;
|
|
291
295
|
return __awaiter(this, void 0, void 0, function* () {
|
|
292
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
296
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createActionType(createActionTypeRequest, options);
|
|
293
297
|
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.
|
|
298
|
+
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
299
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
296
300
|
});
|
|
297
301
|
},
|
|
@@ -333,13 +337,14 @@ const ActionTypesApiFp = function (configuration) {
|
|
|
333
337
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
334
338
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
335
339
|
* @param {number} [limit] Number of items to return (max 100)
|
|
340
|
+
* @param {string} [category] Filter by category (matches primary or secondary)
|
|
336
341
|
* @param {*} [options] Override http request option.
|
|
337
342
|
* @throws {RequiredError}
|
|
338
343
|
*/
|
|
339
|
-
listActionTypes(startingAfter, endingBefore, limit, options) {
|
|
344
|
+
listActionTypes(startingAfter, endingBefore, limit, category, options) {
|
|
340
345
|
var _a, _b, _c;
|
|
341
346
|
return __awaiter(this, void 0, void 0, function* () {
|
|
342
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listActionTypes(startingAfter, endingBefore, limit, options);
|
|
347
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listActionTypes(startingAfter, endingBefore, limit, category, options);
|
|
343
348
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
344
349
|
const operationBasePath = (_c = (_b = base_1.operationServerMap['ActionTypesApi.listActionTypes']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
345
350
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -407,12 +412,12 @@ const ActionTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
407
412
|
/**
|
|
408
413
|
*
|
|
409
414
|
* @summary Create action type
|
|
410
|
-
* @param {
|
|
415
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
411
416
|
* @param {*} [options] Override http request option.
|
|
412
417
|
* @throws {RequiredError}
|
|
413
418
|
*/
|
|
414
|
-
|
|
415
|
-
return localVarFp.
|
|
419
|
+
createActionType(createActionTypeRequest, options) {
|
|
420
|
+
return localVarFp.createActionType(createActionTypeRequest, options).then((request) => request(axios, basePath));
|
|
416
421
|
},
|
|
417
422
|
/**
|
|
418
423
|
*
|
|
@@ -440,11 +445,12 @@ const ActionTypesApiFactory = function (configuration, basePath, axios) {
|
|
|
440
445
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
441
446
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
442
447
|
* @param {number} [limit] Number of items to return (max 100)
|
|
448
|
+
* @param {string} [category] Filter by category (matches primary or secondary)
|
|
443
449
|
* @param {*} [options] Override http request option.
|
|
444
450
|
* @throws {RequiredError}
|
|
445
451
|
*/
|
|
446
|
-
listActionTypes(startingAfter, endingBefore, limit, options) {
|
|
447
|
-
return localVarFp.listActionTypes(startingAfter, endingBefore, limit, options).then((request) => request(axios, basePath));
|
|
452
|
+
listActionTypes(startingAfter, endingBefore, limit, category, options) {
|
|
453
|
+
return localVarFp.listActionTypes(startingAfter, endingBefore, limit, category, options).then((request) => request(axios, basePath));
|
|
448
454
|
},
|
|
449
455
|
/**
|
|
450
456
|
*
|
|
@@ -490,13 +496,13 @@ class ActionTypesApi extends base_1.BaseAPI {
|
|
|
490
496
|
/**
|
|
491
497
|
*
|
|
492
498
|
* @summary Create action type
|
|
493
|
-
* @param {
|
|
499
|
+
* @param {CreateActionTypeRequest} [createActionTypeRequest]
|
|
494
500
|
* @param {*} [options] Override http request option.
|
|
495
501
|
* @throws {RequiredError}
|
|
496
502
|
* @memberof ActionTypesApi
|
|
497
503
|
*/
|
|
498
|
-
|
|
499
|
-
return (0, exports.ActionTypesApiFp)(this.configuration).
|
|
504
|
+
createActionType(createActionTypeRequest, options) {
|
|
505
|
+
return (0, exports.ActionTypesApiFp)(this.configuration).createActionType(createActionTypeRequest, options).then((request) => request(this.axios, this.basePath));
|
|
500
506
|
}
|
|
501
507
|
/**
|
|
502
508
|
*
|
|
@@ -526,12 +532,13 @@ class ActionTypesApi extends base_1.BaseAPI {
|
|
|
526
532
|
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
527
533
|
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
528
534
|
* @param {number} [limit] Number of items to return (max 100)
|
|
535
|
+
* @param {string} [category] Filter by category (matches primary or secondary)
|
|
529
536
|
* @param {*} [options] Override http request option.
|
|
530
537
|
* @throws {RequiredError}
|
|
531
538
|
* @memberof ActionTypesApi
|
|
532
539
|
*/
|
|
533
|
-
listActionTypes(startingAfter, endingBefore, limit, options) {
|
|
534
|
-
return (0, exports.ActionTypesApiFp)(this.configuration).listActionTypes(startingAfter, endingBefore, limit, options).then((request) => request(this.axios, this.basePath));
|
|
540
|
+
listActionTypes(startingAfter, endingBefore, limit, category, options) {
|
|
541
|
+
return (0, exports.ActionTypesApiFp)(this.configuration).listActionTypes(startingAfter, endingBefore, limit, category, options).then((request) => request(this.axios, this.basePath));
|
|
535
542
|
}
|
|
536
543
|
/**
|
|
537
544
|
*
|
|
@@ -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
|
}
|
|
@@ -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
|
|
@@ -271,7 +272,7 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
271
272
|
* @throws {RequiredError}
|
|
272
273
|
* @memberof AppConnectionsApi
|
|
273
274
|
*/
|
|
274
|
-
listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200Response, any>>;
|
|
275
|
+
listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200Response, any, {}>>;
|
|
275
276
|
/**
|
|
276
277
|
*
|
|
277
278
|
* @summary Retrieve app connection
|
|
@@ -281,15 +282,15 @@ export declare class AppConnectionsApi extends BaseAPI implements AppConnections
|
|
|
281
282
|
* @throws {RequiredError}
|
|
282
283
|
* @memberof AppConnectionsApi
|
|
283
284
|
*/
|
|
284
|
-
retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any>>;
|
|
285
|
+
retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAppConnections200ResponseCollectionInner, any, {}>>;
|
|
285
286
|
/**
|
|
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
|
}
|
|
@@ -38,11 +38,11 @@ const AppConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @summary Create app connection
|
|
41
|
-
* @param {
|
|
41
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
42
42
|
* @param {*} [options] Override http request option.
|
|
43
43
|
* @throws {RequiredError}
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
createAppConnection: (createAppConnectionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
46
46
|
const localVarPath = `/api/v1/app_connections`;
|
|
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 AppConnectionsApiAxiosParamCreator = 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)(createAppConnectionRequest, localVarRequestOptions, configuration);
|
|
64
64
|
return {
|
|
65
65
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
66
66
|
options: localVarRequestOptions,
|
|
@@ -190,11 +190,11 @@ const AppConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
190
190
|
*
|
|
191
191
|
* @summary Update app connection
|
|
192
192
|
* @param {string} id System-generated unique identifier
|
|
193
|
-
* @param {
|
|
193
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
194
194
|
* @param {*} [options] Override http request option.
|
|
195
195
|
* @throws {RequiredError}
|
|
196
196
|
*/
|
|
197
|
-
updateAppConnection: (id,
|
|
197
|
+
updateAppConnection: (id, createAppConnectionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
198
198
|
// verify required parameter 'id' is not null or undefined
|
|
199
199
|
(0, common_1.assertParamExists)('updateAppConnection', 'id', id);
|
|
200
200
|
const localVarPath = `/api/v1/app_connections/{id}`
|
|
@@ -215,7 +215,7 @@ const AppConnectionsApiAxiosParamCreator = function (configuration) {
|
|
|
215
215
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
216
216
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
217
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
218
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
218
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createAppConnectionRequest, localVarRequestOptions, configuration);
|
|
219
219
|
return {
|
|
220
220
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
221
221
|
options: localVarRequestOptions,
|
|
@@ -234,16 +234,16 @@ const AppConnectionsApiFp = function (configuration) {
|
|
|
234
234
|
/**
|
|
235
235
|
*
|
|
236
236
|
* @summary Create app connection
|
|
237
|
-
* @param {
|
|
237
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
*/
|
|
241
|
-
|
|
241
|
+
createAppConnection(createAppConnectionRequest, options) {
|
|
242
242
|
var _a, _b, _c;
|
|
243
243
|
return __awaiter(this, void 0, void 0, function* () {
|
|
244
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
244
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createAppConnection(createAppConnectionRequest, options);
|
|
245
245
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
246
|
-
const operationBasePath = (_c = (_b = base_1.operationServerMap['AppConnectionsApi.
|
|
246
|
+
const operationBasePath = (_c = (_b = base_1.operationServerMap['AppConnectionsApi.createAppConnection']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
247
247
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
248
248
|
});
|
|
249
249
|
},
|
|
@@ -305,14 +305,14 @@ const AppConnectionsApiFp = function (configuration) {
|
|
|
305
305
|
*
|
|
306
306
|
* @summary Update app connection
|
|
307
307
|
* @param {string} id System-generated unique identifier
|
|
308
|
-
* @param {
|
|
308
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
309
309
|
* @param {*} [options] Override http request option.
|
|
310
310
|
* @throws {RequiredError}
|
|
311
311
|
*/
|
|
312
|
-
updateAppConnection(id,
|
|
312
|
+
updateAppConnection(id, createAppConnectionRequest, options) {
|
|
313
313
|
var _a, _b, _c;
|
|
314
314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
315
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAppConnection(id,
|
|
315
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateAppConnection(id, createAppConnectionRequest, options);
|
|
316
316
|
const index = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
317
317
|
const operationBasePath = (_c = (_b = base_1.operationServerMap['AppConnectionsApi.updateAppConnection']) === null || _b === void 0 ? void 0 : _b[index]) === null || _c === void 0 ? void 0 : _c.url;
|
|
318
318
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
@@ -331,12 +331,12 @@ const AppConnectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
331
331
|
/**
|
|
332
332
|
*
|
|
333
333
|
* @summary Create app connection
|
|
334
|
-
* @param {
|
|
334
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
337
337
|
*/
|
|
338
|
-
|
|
339
|
-
return localVarFp.
|
|
338
|
+
createAppConnection(createAppConnectionRequest, options) {
|
|
339
|
+
return localVarFp.createAppConnection(createAppConnectionRequest, options).then((request) => request(axios, basePath));
|
|
340
340
|
},
|
|
341
341
|
/**
|
|
342
342
|
*
|
|
@@ -378,12 +378,12 @@ const AppConnectionsApiFactory = function (configuration, basePath, axios) {
|
|
|
378
378
|
*
|
|
379
379
|
* @summary Update app connection
|
|
380
380
|
* @param {string} id System-generated unique identifier
|
|
381
|
-
* @param {
|
|
381
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
382
382
|
* @param {*} [options] Override http request option.
|
|
383
383
|
* @throws {RequiredError}
|
|
384
384
|
*/
|
|
385
|
-
updateAppConnection(id,
|
|
386
|
-
return localVarFp.updateAppConnection(id,
|
|
385
|
+
updateAppConnection(id, createAppConnectionRequest, options) {
|
|
386
|
+
return localVarFp.updateAppConnection(id, createAppConnectionRequest, options).then((request) => request(axios, basePath));
|
|
387
387
|
},
|
|
388
388
|
};
|
|
389
389
|
};
|
|
@@ -398,13 +398,13 @@ class AppConnectionsApi extends base_1.BaseAPI {
|
|
|
398
398
|
/**
|
|
399
399
|
*
|
|
400
400
|
* @summary Create app connection
|
|
401
|
-
* @param {
|
|
401
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
402
402
|
* @param {*} [options] Override http request option.
|
|
403
403
|
* @throws {RequiredError}
|
|
404
404
|
* @memberof AppConnectionsApi
|
|
405
405
|
*/
|
|
406
|
-
|
|
407
|
-
return (0, exports.AppConnectionsApiFp)(this.configuration).
|
|
406
|
+
createAppConnection(createAppConnectionRequest, options) {
|
|
407
|
+
return (0, exports.AppConnectionsApiFp)(this.configuration).createAppConnection(createAppConnectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
410
|
*
|
|
@@ -449,13 +449,13 @@ class AppConnectionsApi extends base_1.BaseAPI {
|
|
|
449
449
|
*
|
|
450
450
|
* @summary Update app connection
|
|
451
451
|
* @param {string} id System-generated unique identifier
|
|
452
|
-
* @param {
|
|
452
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
453
453
|
* @param {*} [options] Override http request option.
|
|
454
454
|
* @throws {RequiredError}
|
|
455
455
|
* @memberof AppConnectionsApi
|
|
456
456
|
*/
|
|
457
|
-
updateAppConnection(id,
|
|
458
|
-
return (0, exports.AppConnectionsApiFp)(this.configuration).updateAppConnection(id,
|
|
457
|
+
updateAppConnection(id, createAppConnectionRequest, options) {
|
|
458
|
+
return (0, exports.AppConnectionsApiFp)(this.configuration).updateAppConnection(id, createAppConnectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
exports.AppConnectionsApi = AppConnectionsApi;
|
|
@@ -120,7 +120,7 @@ export declare class AvailableAppsApi extends BaseAPI implements AvailableAppsAp
|
|
|
120
120
|
* @throws {RequiredError}
|
|
121
121
|
* @memberof AvailableAppsApi
|
|
122
122
|
*/
|
|
123
|
-
listAvailableApps(excludeInstalled?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAvailableApps200Response, any>>;
|
|
123
|
+
listAvailableApps(excludeInstalled?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAvailableApps200Response, any, {}>>;
|
|
124
124
|
/**
|
|
125
125
|
*
|
|
126
126
|
* @summary Retrieve available app
|
|
@@ -129,5 +129,5 @@ export declare class AvailableAppsApi extends BaseAPI implements AvailableAppsAp
|
|
|
129
129
|
* @throws {RequiredError}
|
|
130
130
|
* @memberof AvailableAppsApi
|
|
131
131
|
*/
|
|
132
|
-
retrieveAvailableApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAvailableApp200Response, any>>;
|
|
132
|
+
retrieveAvailableApp(appIdentifier: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrieveAvailableApp200Response, any, {}>>;
|
|
133
133
|
}
|