@embedworkflow/sdk 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/push-tag.yaml +34 -0
- package/.openapi-generator/FILES +87 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +2 -2
- package/api/accounts-api.ts +540 -0
- package/api/action-types-api.ts +697 -0
- package/api/actions-api.ts +786 -0
- package/api/app-connections-api.ts +556 -0
- package/api/available-apps-api.ts +239 -0
- package/api/data-fields-api.ts +404 -0
- package/api/events-api.ts +172 -0
- package/api/executions-api.ts +361 -0
- package/api/installed-apps-api.ts +410 -0
- package/api/payments-api.ts +172 -0
- package/api/triggers-api.ts +437 -0
- package/api/users-api.ts +531 -0
- package/api/workflows-api.ts +1302 -0
- package/api.ts +30 -0
- package/base.ts +86 -0
- package/common.ts +150 -0
- package/configuration.ts +110 -0
- package/dist/api/accounts-api.d.ts +124 -3
- package/dist/api/accounts-api.js +182 -1
- package/dist/api/action-types-api.d.ts +16 -11
- package/dist/api/action-types-api.js +14 -7
- package/dist/api/actions-api.d.ts +6 -6
- package/dist/api/app-connections-api.d.ts +5 -5
- package/dist/api/available-apps-api.d.ts +2 -2
- package/dist/api/data-fields-api.d.ts +46 -2
- package/dist/api/data-fields-api.js +68 -0
- package/dist/api/events-api.d.ts +1 -1
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/installed-apps-api.d.ts +4 -4
- package/dist/api/payments-api.d.ts +1 -1
- package/dist/api/triggers-api.d.ts +14 -14
- package/dist/api/triggers-api.js +12 -12
- package/dist/api/users-api.d.ts +14 -9
- package/dist/api/users-api.js +14 -7
- package/dist/api/workflows-api.d.ts +96 -15
- package/dist/api/workflows-api.js +125 -8
- package/dist/common.d.ts +1 -1
- package/dist/esm/api/accounts-api.d.ts +124 -3
- package/dist/esm/api/accounts-api.js +181 -0
- package/dist/esm/api/action-types-api.d.ts +16 -11
- package/dist/esm/api/action-types-api.js +14 -7
- package/dist/esm/api/actions-api.d.ts +6 -6
- package/dist/esm/api/app-connections-api.d.ts +5 -5
- package/dist/esm/api/available-apps-api.d.ts +2 -2
- package/dist/esm/api/data-fields-api.d.ts +46 -2
- package/dist/esm/api/data-fields-api.js +69 -1
- package/dist/esm/api/events-api.d.ts +1 -1
- package/dist/esm/api/executions-api.d.ts +3 -3
- package/dist/esm/api/installed-apps-api.d.ts +4 -4
- package/dist/esm/api/payments-api.d.ts +1 -1
- package/dist/esm/api/triggers-api.d.ts +14 -14
- package/dist/esm/api/triggers-api.js +12 -12
- package/dist/esm/api/users-api.d.ts +14 -9
- package/dist/esm/api/users-api.js +14 -7
- package/dist/esm/api/workflows-api.d.ts +96 -15
- package/dist/esm/api/workflows-api.js +124 -7
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/models/catch-hook-request.d.ts +25 -0
- package/dist/esm/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/esm/models/create-action-type-request.d.ts +12 -0
- package/dist/esm/models/create-workflow201-response.d.ts +58 -11
- package/dist/esm/models/create-workflow201-response.js +4 -0
- package/dist/esm/models/evaluate-expression-request.d.ts +32 -0
- package/dist/esm/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/esm/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/esm/models/export-configuration200-response.d.ts +25 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/esm/models/list-action-types200-response-collection-inner.js +9 -0
- package/dist/esm/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/esm/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/esm/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/esm/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/esm/models/retrieve-account-usage200-response.js +14 -0
- package/dist/esm/models/retrieve-account200-response.d.ts +19 -1
- package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.d.ts → update-account-request-action-type-categories-inner-icon.d.ts} +10 -10
- package/dist/esm/models/update-account-request-action-type-categories-inner-icon.js +14 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/esm/models/update-account-request-action-type-categories-inner.js +14 -0
- package/dist/esm/models/update-account-request.d.ts +13 -0
- package/dist/esm/models/update-action-type-request.d.ts +12 -0
- package/dist/esm/models/update-trigger-request.d.ts +30 -0
- package/dist/esm/models/update-trigger-request.js +14 -0
- package/dist/esm/models/update-workflow-request.d.ts +7 -1
- package/dist/esm/models/upsert-user-request.d.ts +6 -0
- package/dist/models/catch-hook-request.d.ts +25 -0
- package/dist/models/create-action-type-request-form-draft-inner.d.ts +6 -0
- package/dist/models/create-action-type-request.d.ts +12 -0
- package/dist/models/create-workflow201-response.d.ts +58 -11
- package/dist/models/create-workflow201-response.js +5 -1
- package/dist/models/evaluate-expression-request.d.ts +32 -0
- package/dist/models/evaluate-expression200-response.d.ts +24 -0
- package/dist/models/export-configuration200-response-configuration.d.ts +16 -0
- package/dist/models/export-configuration200-response.d.ts +25 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-action-types200-response-collection-inner.d.ts +58 -0
- package/dist/models/list-action-types200-response-collection-inner.js +10 -1
- package/dist/models/list-data-fields200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-triggers200-response-collection-inner.d.ts +18 -0
- package/dist/models/list-users200-response-collection-inner.d.ts +6 -6
- package/dist/models/list-workflows200-response-collection-inner.d.ts +29 -5
- package/dist/models/retrieve-account-usage200-response.d.ts +60 -0
- package/dist/models/retrieve-account-usage200-response.js +15 -0
- package/dist/models/retrieve-account200-response.d.ts +19 -1
- package/dist/{esm/models/retrieve-action-type404-response.d.ts → models/update-account-request-action-type-categories-inner-icon.d.ts} +12 -12
- package/dist/models/update-account-request-action-type-categories-inner-icon.js +15 -0
- package/dist/models/update-account-request-action-type-categories-inner.d.ts +43 -0
- package/dist/models/update-account-request-action-type-categories-inner.js +15 -0
- package/dist/models/update-account-request.d.ts +13 -0
- package/dist/models/update-action-type-request.d.ts +12 -0
- package/dist/models/update-trigger-request.d.ts +30 -0
- package/dist/models/update-trigger-request.js +15 -0
- package/dist/models/update-workflow-request.d.ts +7 -1
- package/dist/models/upsert-user-request.d.ts +6 -0
- package/git_push.sh +57 -0
- package/index.ts +111 -0
- package/models/catch-hook-request.ts +32 -0
- package/models/create-action-type-request-form-draft-inner.ts +88 -0
- package/{dist/models/api-v1-action-types-post-request-icon-draft.d.ts → models/create-action-type-request-icon-draft.ts} +12 -6
- package/{dist/models/api-v1-action-types-post-request.d.ts → models/create-action-type-request.ts} +49 -25
- package/{dist/models/retrieve-action-type404-response.d.ts → models/create-action-type422-response.ts} +13 -7
- package/{dist/esm/models/api-v1-app-connections-post-request.d.ts → models/create-app-connection-request.ts} +14 -8
- package/models/create-user-token-request.ts +38 -0
- package/models/create-user-token200-response.ts +30 -0
- package/models/create-workflow-request-template-draft-nodes-inner.ts +138 -0
- package/models/create-workflow-request-template-draft.ts +39 -0
- package/models/create-workflow-request.ts +75 -0
- package/{dist/esm/models/retrieve-workflow200-response.d.ts → models/create-workflow201-response.ts} +111 -60
- package/models/delete-action-type200-response.ts +30 -0
- package/{dist/esm/models/api-v1-action-types-post-request-form-draft-inner.js → models/delete-workflow200-response-one-of.ts} +18 -13
- package/models/delete-workflow200-response-one-of1.ts +30 -0
- package/models/delete-workflow200-response.ts +30 -0
- package/models/discard-workflow-draft-request.ts +36 -0
- package/models/evaluate-expression-request.ts +36 -0
- package/models/evaluate-expression200-response.ts +30 -0
- package/models/execute-workflow-request.ts +50 -0
- package/models/execute-workflow201-response.ts +126 -0
- package/models/export-configuration200-response-configuration.ts +23 -0
- package/models/export-configuration200-response.ts +33 -0
- package/models/import-configuration-request-schema.ts +24 -0
- package/models/import-configuration-request.ts +50 -0
- package/models/import-configuration201-response.ts +60 -0
- package/models/index.ts +70 -0
- package/models/install-app-request.ts +36 -0
- package/{dist/models/retrieve-installed-app200-response.d.ts → models/install-app201-response.ts} +28 -24
- package/models/list-action-types200-response-collection-inner.ts +325 -0
- package/models/list-action-types200-response-meta.ts +42 -0
- package/models/list-action-types200-response.ts +42 -0
- package/models/list-actions200-response-collection-inner.ts +150 -0
- package/models/list-actions200-response.ts +42 -0
- package/models/list-app-connections200-response-collection-inner.ts +72 -0
- package/models/list-app-connections200-response.ts +42 -0
- package/models/list-available-apps200-response-collection-inner.ts +72 -0
- package/models/list-available-apps200-response.ts +42 -0
- package/{dist/esm/models/clone-workflow201-response.js → models/list-data-fields-type-parameter.ts} +11 -5
- package/models/list-data-fields200-response-collection-inner.ts +108 -0
- package/models/list-data-fields200-response.ts +42 -0
- package/models/list-events200-response-collection-inner.ts +84 -0
- package/models/list-events200-response.ts +42 -0
- package/{dist/esm/models/retrieve-installed-app200-response.d.ts → models/list-installed-apps200-response-collection-inner.ts} +26 -28
- package/models/list-installed-apps200-response.ts +42 -0
- package/models/list-triggers200-response-collection-inner.ts +126 -0
- package/models/list-triggers200-response.ts +42 -0
- package/models/list-users200-response-collection-inner.ts +90 -0
- package/models/list-users200-response.ts +42 -0
- package/models/list-workflow-executions200-response.ts +42 -0
- package/models/list-workflow-versions200-response-collection-inner.ts +66 -0
- package/models/list-workflow-versions200-response.ts +42 -0
- package/{dist/models/retrieve-workflow200-response.d.ts → models/list-workflows200-response-collection-inner.ts} +76 -79
- package/models/list-workflows200-response.ts +42 -0
- package/models/publish-workflow-request.ts +30 -0
- package/models/retrieve-account-usage200-response.ts +66 -0
- package/models/retrieve-account200-response.ts +114 -0
- package/models/retrieve-available-app200-response.ts +78 -0
- package/models/retrieve-execution200-response.ts +138 -0
- package/models/retry-action-request.ts +38 -0
- package/models/stop-executions-request.ts +38 -0
- package/models/trigger-workflow-request.ts +54 -0
- package/models/update-account-request-action-type-categories-inner-icon.ts +42 -0
- package/models/update-account-request-action-type-categories-inner.ts +51 -0
- package/models/update-account-request-user-data-schema-inner.ts +54 -0
- package/models/update-account-request.ts +96 -0
- package/models/update-action-type-request.ts +48 -0
- package/models/update-installed-app-request.ts +30 -0
- package/models/update-trigger-request.ts +36 -0
- package/models/update-workflow-request.ts +93 -0
- package/models/upsert-user-request.ts +54 -0
- package/package.json +4 -6
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +18 -0
- package/dist/esm/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/esm/models/api-v1-action-types-post-request.d.ts +0 -105
- package/dist/esm/models/clone-workflow201-response.d.ts +0 -183
- package/dist/esm/models/retrieve-workflow200-response.js +0 -17
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.d.ts +0 -75
- package/dist/models/api-v1-action-types-post-request-form-draft-inner.js +0 -28
- package/dist/models/api-v1-app-connections-post-request.d.ts +0 -42
- package/dist/models/clone-workflow201-response.d.ts +0 -183
- package/dist/models/clone-workflow201-response.js +0 -20
- package/dist/models/retrieve-workflow200-response.js +0 -20
- /package/dist/esm/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/esm/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/esm/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/esm/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/esm/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request-icon-draft.js → catch-hook-request.js} +0 -0
- /package/dist/models/{api-v1-action-types-post-request.js → evaluate-expression-request.js} +0 -0
- /package/dist/models/{api-v1-app-connections-post-request.js → evaluate-expression200-response.js} +0 -0
- /package/dist/models/{retrieve-action-type404-response.js → export-configuration200-response-configuration.js} +0 -0
- /package/dist/models/{retrieve-installed-app200-response.js → export-configuration200-response.js} +0 -0
|
@@ -0,0 +1,556 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* API V1
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import type { Configuration } from '../configuration';
|
|
17
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
18
|
+
import globalAxios from 'axios';
|
|
19
|
+
// Some imports not used depending on template conditions
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
24
|
+
// @ts-ignore
|
|
25
|
+
import { CreateActionType422Response } from '../models';
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { CreateAppConnectionRequest } from '../models';
|
|
28
|
+
// @ts-ignore
|
|
29
|
+
import { DeleteActionType200Response } from '../models';
|
|
30
|
+
// @ts-ignore
|
|
31
|
+
import { ListAppConnections200Response } from '../models';
|
|
32
|
+
// @ts-ignore
|
|
33
|
+
import { ListAppConnections200ResponseCollectionInner } from '../models';
|
|
34
|
+
/**
|
|
35
|
+
* AppConnectionsApi - axios parameter creator
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
export const AppConnectionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39
|
+
return {
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @summary Create app connection
|
|
43
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
44
|
+
* @param {*} [options] Override http request option.
|
|
45
|
+
* @throws {RequiredError}
|
|
46
|
+
*/
|
|
47
|
+
createAppConnection: async (createAppConnectionRequest?: CreateAppConnectionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
|
+
const localVarPath = `/api/v1/app_connections`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
57
|
+
const localVarHeaderParameter = {} as any;
|
|
58
|
+
const localVarQueryParameter = {} as any;
|
|
59
|
+
|
|
60
|
+
// authentication bearer required
|
|
61
|
+
// http bearer authentication required
|
|
62
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
67
|
+
|
|
68
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
71
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createAppConnectionRequest, localVarRequestOptions, configuration)
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
url: toPathString(localVarUrlObj),
|
|
75
|
+
options: localVarRequestOptions,
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @summary Delete app connection
|
|
81
|
+
* @param {string} id System-generated unique identifier
|
|
82
|
+
* @param {string} [userKey] Unique user identifier
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
deleteAppConnection: async (id: string, userKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
87
|
+
// verify required parameter 'id' is not null or undefined
|
|
88
|
+
assertParamExists('deleteAppConnection', 'id', id)
|
|
89
|
+
const localVarPath = `/api/v1/app_connections/{id}`
|
|
90
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
91
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
92
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
93
|
+
let baseOptions;
|
|
94
|
+
if (configuration) {
|
|
95
|
+
baseOptions = configuration.baseOptions;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
99
|
+
const localVarHeaderParameter = {} as any;
|
|
100
|
+
const localVarQueryParameter = {} as any;
|
|
101
|
+
|
|
102
|
+
// authentication bearer required
|
|
103
|
+
// http bearer authentication required
|
|
104
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
105
|
+
|
|
106
|
+
if (userKey !== undefined) {
|
|
107
|
+
localVarQueryParameter['user_key'] = userKey;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
113
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
114
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
115
|
+
|
|
116
|
+
return {
|
|
117
|
+
url: toPathString(localVarUrlObj),
|
|
118
|
+
options: localVarRequestOptions,
|
|
119
|
+
};
|
|
120
|
+
},
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary List app connections
|
|
124
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
125
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
126
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
127
|
+
* @param {string} [userKey] Unique user identifier
|
|
128
|
+
* @param {string} [appType] Filter results by app type
|
|
129
|
+
* @param {*} [options] Override http request option.
|
|
130
|
+
* @throws {RequiredError}
|
|
131
|
+
*/
|
|
132
|
+
listAppConnections: async (startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
133
|
+
const localVarPath = `/api/v1/app_connections`;
|
|
134
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
135
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
136
|
+
let baseOptions;
|
|
137
|
+
if (configuration) {
|
|
138
|
+
baseOptions = configuration.baseOptions;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
142
|
+
const localVarHeaderParameter = {} as any;
|
|
143
|
+
const localVarQueryParameter = {} as any;
|
|
144
|
+
|
|
145
|
+
// authentication bearer required
|
|
146
|
+
// http bearer authentication required
|
|
147
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
148
|
+
|
|
149
|
+
if (startingAfter !== undefined) {
|
|
150
|
+
localVarQueryParameter['starting_after'] = startingAfter;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
if (endingBefore !== undefined) {
|
|
154
|
+
localVarQueryParameter['ending_before'] = endingBefore;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
if (limit !== undefined) {
|
|
158
|
+
localVarQueryParameter['limit'] = limit;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if (userKey !== undefined) {
|
|
162
|
+
localVarQueryParameter['user_key'] = userKey;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (appType !== undefined) {
|
|
166
|
+
localVarQueryParameter['app_type'] = appType;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
173
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
174
|
+
|
|
175
|
+
return {
|
|
176
|
+
url: toPathString(localVarUrlObj),
|
|
177
|
+
options: localVarRequestOptions,
|
|
178
|
+
};
|
|
179
|
+
},
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary Retrieve app connection
|
|
183
|
+
* @param {string} id System-generated unique identifier
|
|
184
|
+
* @param {string} [userKey] Unique user identifier
|
|
185
|
+
* @param {*} [options] Override http request option.
|
|
186
|
+
* @throws {RequiredError}
|
|
187
|
+
*/
|
|
188
|
+
retrieveAppConnection: async (id: string, userKey?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
189
|
+
// verify required parameter 'id' is not null or undefined
|
|
190
|
+
assertParamExists('retrieveAppConnection', 'id', id)
|
|
191
|
+
const localVarPath = `/api/v1/app_connections/{id}`
|
|
192
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
195
|
+
let baseOptions;
|
|
196
|
+
if (configuration) {
|
|
197
|
+
baseOptions = configuration.baseOptions;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
201
|
+
const localVarHeaderParameter = {} as any;
|
|
202
|
+
const localVarQueryParameter = {} as any;
|
|
203
|
+
|
|
204
|
+
// authentication bearer required
|
|
205
|
+
// http bearer authentication required
|
|
206
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
207
|
+
|
|
208
|
+
if (userKey !== undefined) {
|
|
209
|
+
localVarQueryParameter['user_key'] = userKey;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
215
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
216
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
217
|
+
|
|
218
|
+
return {
|
|
219
|
+
url: toPathString(localVarUrlObj),
|
|
220
|
+
options: localVarRequestOptions,
|
|
221
|
+
};
|
|
222
|
+
},
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @summary Update app connection
|
|
226
|
+
* @param {string} id System-generated unique identifier
|
|
227
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
228
|
+
* @param {*} [options] Override http request option.
|
|
229
|
+
* @throws {RequiredError}
|
|
230
|
+
*/
|
|
231
|
+
updateAppConnection: async (id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
232
|
+
// verify required parameter 'id' is not null or undefined
|
|
233
|
+
assertParamExists('updateAppConnection', 'id', id)
|
|
234
|
+
const localVarPath = `/api/v1/app_connections/{id}`
|
|
235
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
236
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
237
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
238
|
+
let baseOptions;
|
|
239
|
+
if (configuration) {
|
|
240
|
+
baseOptions = configuration.baseOptions;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
244
|
+
const localVarHeaderParameter = {} as any;
|
|
245
|
+
const localVarQueryParameter = {} as any;
|
|
246
|
+
|
|
247
|
+
// authentication bearer required
|
|
248
|
+
// http bearer authentication required
|
|
249
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
254
|
+
|
|
255
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
256
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
257
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
258
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createAppConnectionRequest, localVarRequestOptions, configuration)
|
|
259
|
+
|
|
260
|
+
return {
|
|
261
|
+
url: toPathString(localVarUrlObj),
|
|
262
|
+
options: localVarRequestOptions,
|
|
263
|
+
};
|
|
264
|
+
},
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* AppConnectionsApi - functional programming interface
|
|
270
|
+
* @export
|
|
271
|
+
*/
|
|
272
|
+
export const AppConnectionsApiFp = function(configuration?: Configuration) {
|
|
273
|
+
const localVarAxiosParamCreator = AppConnectionsApiAxiosParamCreator(configuration)
|
|
274
|
+
return {
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @summary Create app connection
|
|
278
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
279
|
+
* @param {*} [options] Override http request option.
|
|
280
|
+
* @throws {RequiredError}
|
|
281
|
+
*/
|
|
282
|
+
async createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAppConnections200ResponseCollectionInner>> {
|
|
283
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createAppConnection(createAppConnectionRequest, options);
|
|
284
|
+
const index = configuration?.serverIndex ?? 0;
|
|
285
|
+
const operationBasePath = operationServerMap['AppConnectionsApi.createAppConnection']?.[index]?.url;
|
|
286
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
287
|
+
},
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @summary Delete app connection
|
|
291
|
+
* @param {string} id System-generated unique identifier
|
|
292
|
+
* @param {string} [userKey] Unique user identifier
|
|
293
|
+
* @param {*} [options] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
async deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteActionType200Response>> {
|
|
297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteAppConnection(id, userKey, options);
|
|
298
|
+
const index = configuration?.serverIndex ?? 0;
|
|
299
|
+
const operationBasePath = operationServerMap['AppConnectionsApi.deleteAppConnection']?.[index]?.url;
|
|
300
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
301
|
+
},
|
|
302
|
+
/**
|
|
303
|
+
*
|
|
304
|
+
* @summary List app connections
|
|
305
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
306
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
307
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
308
|
+
* @param {string} [userKey] Unique user identifier
|
|
309
|
+
* @param {string} [appType] Filter results by app type
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
async listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAppConnections200Response>> {
|
|
314
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAppConnections(startingAfter, endingBefore, limit, userKey, appType, options);
|
|
315
|
+
const index = configuration?.serverIndex ?? 0;
|
|
316
|
+
const operationBasePath = operationServerMap['AppConnectionsApi.listAppConnections']?.[index]?.url;
|
|
317
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
318
|
+
},
|
|
319
|
+
/**
|
|
320
|
+
*
|
|
321
|
+
* @summary Retrieve app connection
|
|
322
|
+
* @param {string} id System-generated unique identifier
|
|
323
|
+
* @param {string} [userKey] Unique user identifier
|
|
324
|
+
* @param {*} [options] Override http request option.
|
|
325
|
+
* @throws {RequiredError}
|
|
326
|
+
*/
|
|
327
|
+
async retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAppConnections200ResponseCollectionInner>> {
|
|
328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.retrieveAppConnection(id, userKey, options);
|
|
329
|
+
const index = configuration?.serverIndex ?? 0;
|
|
330
|
+
const operationBasePath = operationServerMap['AppConnectionsApi.retrieveAppConnection']?.[index]?.url;
|
|
331
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
332
|
+
},
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @summary Update app connection
|
|
336
|
+
* @param {string} id System-generated unique identifier
|
|
337
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
338
|
+
* @param {*} [options] Override http request option.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
async updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListAppConnections200ResponseCollectionInner>> {
|
|
342
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateAppConnection(id, createAppConnectionRequest, options);
|
|
343
|
+
const index = configuration?.serverIndex ?? 0;
|
|
344
|
+
const operationBasePath = operationServerMap['AppConnectionsApi.updateAppConnection']?.[index]?.url;
|
|
345
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
346
|
+
},
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* AppConnectionsApi - factory interface
|
|
352
|
+
* @export
|
|
353
|
+
*/
|
|
354
|
+
export const AppConnectionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
355
|
+
const localVarFp = AppConnectionsApiFp(configuration)
|
|
356
|
+
return {
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @summary Create app connection
|
|
360
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
361
|
+
* @param {*} [options] Override http request option.
|
|
362
|
+
* @throws {RequiredError}
|
|
363
|
+
*/
|
|
364
|
+
createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: any): AxiosPromise<ListAppConnections200ResponseCollectionInner> {
|
|
365
|
+
return localVarFp.createAppConnection(createAppConnectionRequest, options).then((request) => request(axios, basePath));
|
|
366
|
+
},
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @summary Delete app connection
|
|
370
|
+
* @param {string} id System-generated unique identifier
|
|
371
|
+
* @param {string} [userKey] Unique user identifier
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
deleteAppConnection(id: string, userKey?: string, options?: any): AxiosPromise<DeleteActionType200Response> {
|
|
376
|
+
return localVarFp.deleteAppConnection(id, userKey, options).then((request) => request(axios, basePath));
|
|
377
|
+
},
|
|
378
|
+
/**
|
|
379
|
+
*
|
|
380
|
+
* @summary List app connections
|
|
381
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
382
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
383
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
384
|
+
* @param {string} [userKey] Unique user identifier
|
|
385
|
+
* @param {string} [appType] Filter results by app type
|
|
386
|
+
* @param {*} [options] Override http request option.
|
|
387
|
+
* @throws {RequiredError}
|
|
388
|
+
*/
|
|
389
|
+
listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: any): AxiosPromise<ListAppConnections200Response> {
|
|
390
|
+
return localVarFp.listAppConnections(startingAfter, endingBefore, limit, userKey, appType, options).then((request) => request(axios, basePath));
|
|
391
|
+
},
|
|
392
|
+
/**
|
|
393
|
+
*
|
|
394
|
+
* @summary Retrieve app connection
|
|
395
|
+
* @param {string} id System-generated unique identifier
|
|
396
|
+
* @param {string} [userKey] Unique user identifier
|
|
397
|
+
* @param {*} [options] Override http request option.
|
|
398
|
+
* @throws {RequiredError}
|
|
399
|
+
*/
|
|
400
|
+
retrieveAppConnection(id: string, userKey?: string, options?: any): AxiosPromise<ListAppConnections200ResponseCollectionInner> {
|
|
401
|
+
return localVarFp.retrieveAppConnection(id, userKey, options).then((request) => request(axios, basePath));
|
|
402
|
+
},
|
|
403
|
+
/**
|
|
404
|
+
*
|
|
405
|
+
* @summary Update app connection
|
|
406
|
+
* @param {string} id System-generated unique identifier
|
|
407
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
408
|
+
* @param {*} [options] Override http request option.
|
|
409
|
+
* @throws {RequiredError}
|
|
410
|
+
*/
|
|
411
|
+
updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: any): AxiosPromise<ListAppConnections200ResponseCollectionInner> {
|
|
412
|
+
return localVarFp.updateAppConnection(id, createAppConnectionRequest, options).then((request) => request(axios, basePath));
|
|
413
|
+
},
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* AppConnectionsApi - interface
|
|
419
|
+
* @export
|
|
420
|
+
* @interface AppConnectionsApi
|
|
421
|
+
*/
|
|
422
|
+
export interface AppConnectionsApiInterface {
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @summary Create app connection
|
|
426
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
* @memberof AppConnectionsApiInterface
|
|
430
|
+
*/
|
|
431
|
+
createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListAppConnections200ResponseCollectionInner>;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @summary Delete app connection
|
|
436
|
+
* @param {string} id System-generated unique identifier
|
|
437
|
+
* @param {string} [userKey] Unique user identifier
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
* @memberof AppConnectionsApiInterface
|
|
441
|
+
*/
|
|
442
|
+
deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<DeleteActionType200Response>;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @summary List app connections
|
|
447
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
448
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
449
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
450
|
+
* @param {string} [userKey] Unique user identifier
|
|
451
|
+
* @param {string} [appType] Filter results by app type
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
* @memberof AppConnectionsApiInterface
|
|
455
|
+
*/
|
|
456
|
+
listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListAppConnections200Response>;
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
*
|
|
460
|
+
* @summary Retrieve app connection
|
|
461
|
+
* @param {string} id System-generated unique identifier
|
|
462
|
+
* @param {string} [userKey] Unique user identifier
|
|
463
|
+
* @param {*} [options] Override http request option.
|
|
464
|
+
* @throws {RequiredError}
|
|
465
|
+
* @memberof AppConnectionsApiInterface
|
|
466
|
+
*/
|
|
467
|
+
retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig): AxiosPromise<ListAppConnections200ResponseCollectionInner>;
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* @summary Update app connection
|
|
472
|
+
* @param {string} id System-generated unique identifier
|
|
473
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
* @memberof AppConnectionsApiInterface
|
|
477
|
+
*/
|
|
478
|
+
updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListAppConnections200ResponseCollectionInner>;
|
|
479
|
+
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* AppConnectionsApi - object-oriented interface
|
|
484
|
+
* @export
|
|
485
|
+
* @class AppConnectionsApi
|
|
486
|
+
* @extends {BaseAPI}
|
|
487
|
+
*/
|
|
488
|
+
export class AppConnectionsApi extends BaseAPI implements AppConnectionsApiInterface {
|
|
489
|
+
/**
|
|
490
|
+
*
|
|
491
|
+
* @summary Create app connection
|
|
492
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
493
|
+
* @param {*} [options] Override http request option.
|
|
494
|
+
* @throws {RequiredError}
|
|
495
|
+
* @memberof AppConnectionsApi
|
|
496
|
+
*/
|
|
497
|
+
public createAppConnection(createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig) {
|
|
498
|
+
return AppConnectionsApiFp(this.configuration).createAppConnection(createAppConnectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
*
|
|
503
|
+
* @summary Delete app connection
|
|
504
|
+
* @param {string} id System-generated unique identifier
|
|
505
|
+
* @param {string} [userKey] Unique user identifier
|
|
506
|
+
* @param {*} [options] Override http request option.
|
|
507
|
+
* @throws {RequiredError}
|
|
508
|
+
* @memberof AppConnectionsApi
|
|
509
|
+
*/
|
|
510
|
+
public deleteAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig) {
|
|
511
|
+
return AppConnectionsApiFp(this.configuration).deleteAppConnection(id, userKey, options).then((request) => request(this.axios, this.basePath));
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @summary List app connections
|
|
517
|
+
* @param {string} [startingAfter] Cursor for pagination - return results after this ID
|
|
518
|
+
* @param {string} [endingBefore] Cursor for pagination - return results before this ID
|
|
519
|
+
* @param {number} [limit] Number of items to return (max 100)
|
|
520
|
+
* @param {string} [userKey] Unique user identifier
|
|
521
|
+
* @param {string} [appType] Filter results by app type
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
* @memberof AppConnectionsApi
|
|
525
|
+
*/
|
|
526
|
+
public listAppConnections(startingAfter?: string, endingBefore?: string, limit?: number, userKey?: string, appType?: string, options?: RawAxiosRequestConfig) {
|
|
527
|
+
return AppConnectionsApiFp(this.configuration).listAppConnections(startingAfter, endingBefore, limit, userKey, appType, options).then((request) => request(this.axios, this.basePath));
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @summary Retrieve app connection
|
|
533
|
+
* @param {string} id System-generated unique identifier
|
|
534
|
+
* @param {string} [userKey] Unique user identifier
|
|
535
|
+
* @param {*} [options] Override http request option.
|
|
536
|
+
* @throws {RequiredError}
|
|
537
|
+
* @memberof AppConnectionsApi
|
|
538
|
+
*/
|
|
539
|
+
public retrieveAppConnection(id: string, userKey?: string, options?: RawAxiosRequestConfig) {
|
|
540
|
+
return AppConnectionsApiFp(this.configuration).retrieveAppConnection(id, userKey, options).then((request) => request(this.axios, this.basePath));
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @summary Update app connection
|
|
546
|
+
* @param {string} id System-generated unique identifier
|
|
547
|
+
* @param {CreateAppConnectionRequest} [createAppConnectionRequest]
|
|
548
|
+
* @param {*} [options] Override http request option.
|
|
549
|
+
* @throws {RequiredError}
|
|
550
|
+
* @memberof AppConnectionsApi
|
|
551
|
+
*/
|
|
552
|
+
public updateAppConnection(id: string, createAppConnectionRequest?: CreateAppConnectionRequest, options?: RawAxiosRequestConfig) {
|
|
553
|
+
return AppConnectionsApiFp(this.configuration).updateAppConnection(id, createAppConnectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
|