sailpoint-api-client 1.0.1
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/beta/.openapi-generator/FILES +11 -0
- package/beta/.openapi-generator/VERSION +1 -0
- package/beta/.openapi-generator-ignore +23 -0
- package/beta/README.md +45 -0
- package/beta/api.ts +63833 -0
- package/beta/base.ts +71 -0
- package/beta/common.ts +141 -0
- package/beta/configuration.ts +101 -0
- package/beta/git_push.sh +57 -0
- package/beta/index.ts +17 -0
- package/beta/package.json +35 -0
- package/beta/tsconfig.json +21 -0
- package/cc/.openapi-generator/FILES +11 -0
- package/cc/.openapi-generator/VERSION +1 -0
- package/cc/.openapi-generator-ignore +23 -0
- package/cc/README.md +45 -0
- package/cc/api.ts +2028 -0
- package/cc/base.ts +71 -0
- package/cc/common.ts +141 -0
- package/cc/configuration.ts +101 -0
- package/cc/git_push.sh +57 -0
- package/cc/index.ts +17 -0
- package/cc/package.json +35 -0
- package/cc/tsconfig.json +21 -0
- package/configuration.ts +217 -0
- package/dist/beta/api.d.ts +44076 -0
- package/dist/beta/api.js +42294 -0
- package/dist/beta/api.js.map +1 -0
- package/dist/beta/base.d.ts +55 -0
- package/dist/beta/base.js +83 -0
- package/dist/beta/base.js.map +1 -0
- package/dist/beta/common.d.ts +65 -0
- package/dist/beta/common.js +247 -0
- package/dist/beta/common.js.map +1 -0
- package/dist/beta/configuration.d.ts +83 -0
- package/dist/beta/configuration.js +45 -0
- package/dist/beta/configuration.js.map +1 -0
- package/dist/beta/index.d.ts +12 -0
- package/dist/beta/index.js +31 -0
- package/dist/beta/index.js.map +1 -0
- package/dist/cc/api.d.ts +1163 -0
- package/dist/cc/api.js +2047 -0
- package/dist/cc/api.js.map +1 -0
- package/dist/cc/base.d.ts +55 -0
- package/dist/cc/base.js +83 -0
- package/dist/cc/base.js.map +1 -0
- package/dist/cc/common.d.ts +65 -0
- package/dist/cc/common.js +247 -0
- package/dist/cc/common.js.map +1 -0
- package/dist/cc/configuration.d.ts +83 -0
- package/dist/cc/configuration.js +45 -0
- package/dist/cc/configuration.js.map +1 -0
- package/dist/cc/index.d.ts +12 -0
- package/dist/cc/index.js +31 -0
- package/dist/cc/index.js.map +1 -0
- package/dist/configuration.d.ts +147 -0
- package/dist/configuration.js +126 -0
- package/dist/configuration.js.map +1 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -0
- package/dist/paginator.d.ts +41 -0
- package/dist/paginator.js +126 -0
- package/dist/paginator.js.map +1 -0
- package/dist/v2/api.d.ts +1359 -0
- package/dist/v2/api.js +1239 -0
- package/dist/v2/api.js.map +1 -0
- package/dist/v2/base.d.ts +55 -0
- package/dist/v2/base.js +83 -0
- package/dist/v2/base.js.map +1 -0
- package/dist/v2/common.d.ts +65 -0
- package/dist/v2/common.js +247 -0
- package/dist/v2/common.js.map +1 -0
- package/dist/v2/configuration.d.ts +83 -0
- package/dist/v2/configuration.js +45 -0
- package/dist/v2/configuration.js.map +1 -0
- package/dist/v2/index.d.ts +12 -0
- package/dist/v2/index.js +31 -0
- package/dist/v2/index.js.map +1 -0
- package/dist/v3/api.d.ts +23657 -0
- package/dist/v3/api.js +18302 -0
- package/dist/v3/api.js.map +1 -0
- package/dist/v3/base.d.ts +55 -0
- package/dist/v3/base.js +83 -0
- package/dist/v3/base.js.map +1 -0
- package/dist/v3/common.d.ts +65 -0
- package/dist/v3/common.js +247 -0
- package/dist/v3/common.js.map +1 -0
- package/dist/v3/configuration.d.ts +83 -0
- package/dist/v3/configuration.js +45 -0
- package/dist/v3/configuration.js.map +1 -0
- package/dist/v3/index.d.ts +12 -0
- package/dist/v3/index.js +31 -0
- package/dist/v3/index.js.map +1 -0
- package/index.ts +33 -0
- package/package.json +39 -0
- package/paginator.ts +99 -0
- package/readme.md +53 -0
- package/tsconfig.json +22 -0
- package/v2/.openapi-generator/FILES +11 -0
- package/v2/.openapi-generator/VERSION +1 -0
- package/v2/.openapi-generator-ignore +23 -0
- package/v2/README.md +45 -0
- package/v2/api.ts +1900 -0
- package/v2/base.ts +71 -0
- package/v2/common.ts +141 -0
- package/v2/configuration.ts +101 -0
- package/v2/git_push.sh +57 -0
- package/v2/index.ts +17 -0
- package/v2/package.json +35 -0
- package/v2/tsconfig.json +21 -0
- package/v3/.openapi-generator/FILES +11 -0
- package/v3/.openapi-generator/VERSION +1 -0
- package/v3/.openapi-generator-ignore +23 -0
- package/v3/README.md +45 -0
- package/v3/api.ts +32081 -0
- package/v3/base.ts +71 -0
- package/v3/common.ts +141 -0
- package/v3/configuration.ts +101 -0
- package/v3/git_push.sh +57 -0
- package/v3/index.ts +17 -0
- package/v3/package.json +35 -0
- package/v3/tsconfig.json +21 -0
package/cc/api.ts
ADDED
|
@@ -0,0 +1,2028 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* IdentityNow cc (private) APIs
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
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 { Configuration } from '../configuration';
|
|
17
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface CreateApplicationRequestCC
|
|
28
|
+
*/
|
|
29
|
+
export interface CreateApplicationRequestCC {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateApplicationRequestCC
|
|
34
|
+
*/
|
|
35
|
+
'name'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateApplicationRequestCC
|
|
40
|
+
*/
|
|
41
|
+
'description'?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @export
|
|
46
|
+
* @interface CreateConnectorRequestCC
|
|
47
|
+
*/
|
|
48
|
+
export interface CreateConnectorRequestCC {
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CreateConnectorRequestCC
|
|
53
|
+
*/
|
|
54
|
+
'name'?: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CreateConnectorRequestCC
|
|
59
|
+
*/
|
|
60
|
+
'description'?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CreateConnectorRequestCC
|
|
65
|
+
*/
|
|
66
|
+
'className'?: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof CreateConnectorRequestCC
|
|
71
|
+
*/
|
|
72
|
+
'directConnect'?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof CreateConnectorRequestCC
|
|
77
|
+
*/
|
|
78
|
+
'status'?: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @export
|
|
83
|
+
* @interface ImportConnectorConfigRequestCC
|
|
84
|
+
*/
|
|
85
|
+
export interface ImportConnectorConfigRequestCC {
|
|
86
|
+
/**
|
|
87
|
+
* This is the connector config zip bundle which gets uploaded.
|
|
88
|
+
* @type {any}
|
|
89
|
+
* @memberof ImportConnectorConfigRequestCC
|
|
90
|
+
*/
|
|
91
|
+
'file'?: any;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @export
|
|
96
|
+
* @interface LoadAccountsRequestCC
|
|
97
|
+
*/
|
|
98
|
+
export interface LoadAccountsRequestCC {
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {boolean}
|
|
102
|
+
* @memberof LoadAccountsRequestCC
|
|
103
|
+
*/
|
|
104
|
+
'disableOptimization'?: boolean;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {any}
|
|
108
|
+
* @memberof LoadAccountsRequestCC
|
|
109
|
+
*/
|
|
110
|
+
'file'?: any;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @export
|
|
115
|
+
* @interface UpdateApplicationRequestCC
|
|
116
|
+
*/
|
|
117
|
+
export interface UpdateApplicationRequestCC {
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof UpdateApplicationRequestCC
|
|
122
|
+
*/
|
|
123
|
+
'description'?: string;
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @export
|
|
128
|
+
* @interface UpdateUserPermissionsRequestCC
|
|
129
|
+
*/
|
|
130
|
+
export interface UpdateUserPermissionsRequestCC {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof UpdateUserPermissionsRequestCC
|
|
135
|
+
*/
|
|
136
|
+
'ids'?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Indicates if user should be an IDN Admin. \"0\" for false, \"1\" for true.
|
|
139
|
+
* @type {string}
|
|
140
|
+
* @memberof UpdateUserPermissionsRequestCC
|
|
141
|
+
*/
|
|
142
|
+
'isAdmin'?: string;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {string}
|
|
146
|
+
* @memberof UpdateUserPermissionsRequestCC
|
|
147
|
+
*/
|
|
148
|
+
'adminType'?: UpdateUserPermissionsRequestCCAdminTypeEnum;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export const UpdateUserPermissionsRequestCCAdminTypeEnum = {
|
|
152
|
+
Admin: 'ADMIN',
|
|
153
|
+
CertAdmin: 'CERT_ADMIN',
|
|
154
|
+
Helpdesk: 'HELPDESK',
|
|
155
|
+
ReportAdmin: 'REPORT_ADMIN',
|
|
156
|
+
RoleAdmin: 'ROLE_ADMIN',
|
|
157
|
+
RoleSubadmin: 'ROLE_SUBADMIN',
|
|
158
|
+
SourceAdmin: 'SOURCE_ADMIN',
|
|
159
|
+
SourceSubadmin: 'SOURCE_SUBADMIN'
|
|
160
|
+
} as const;
|
|
161
|
+
|
|
162
|
+
export type UpdateUserPermissionsRequestCCAdminTypeEnum = typeof UpdateUserPermissionsRequestCCAdminTypeEnum[keyof typeof UpdateUserPermissionsRequestCCAdminTypeEnum];
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* AccountsCCApi - axios parameter creator
|
|
167
|
+
* @export
|
|
168
|
+
*/
|
|
169
|
+
export const AccountsCCApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
170
|
+
return {
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @summary List Accounts
|
|
174
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
listAccounts: async (axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
178
|
+
const localVarPath = `/cc/api/account/list`;
|
|
179
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
180
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
181
|
+
let baseOptions;
|
|
182
|
+
if (configuration) {
|
|
183
|
+
baseOptions = configuration.baseOptions;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
187
|
+
const localVarHeaderParameter = {} as any;
|
|
188
|
+
const localVarQueryParameter = {} as any;
|
|
189
|
+
|
|
190
|
+
// authentication oauth2 required
|
|
191
|
+
// oauth required
|
|
192
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
193
|
+
|
|
194
|
+
// authentication oauth2 required
|
|
195
|
+
// oauth required
|
|
196
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
202
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
203
|
+
|
|
204
|
+
return {
|
|
205
|
+
url: toPathString(localVarUrlObj),
|
|
206
|
+
axiosOptions: localVarRequestOptions,
|
|
207
|
+
};
|
|
208
|
+
},
|
|
209
|
+
/**
|
|
210
|
+
*
|
|
211
|
+
* @summary Remove Account
|
|
212
|
+
* @param {string} [id]
|
|
213
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
214
|
+
* @throws {RequiredError}
|
|
215
|
+
*/
|
|
216
|
+
removeAccount: async (id?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
217
|
+
const localVarPath = `/cc/api/account/remove/:id`
|
|
218
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
219
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
220
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
221
|
+
let baseOptions;
|
|
222
|
+
if (configuration) {
|
|
223
|
+
baseOptions = configuration.baseOptions;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
227
|
+
const localVarHeaderParameter = {} as any;
|
|
228
|
+
const localVarQueryParameter = {} as any;
|
|
229
|
+
|
|
230
|
+
// authentication oauth2 required
|
|
231
|
+
// oauth required
|
|
232
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
233
|
+
|
|
234
|
+
// authentication oauth2 required
|
|
235
|
+
// oauth required
|
|
236
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
241
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
242
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
243
|
+
|
|
244
|
+
return {
|
|
245
|
+
url: toPathString(localVarUrlObj),
|
|
246
|
+
axiosOptions: localVarRequestOptions,
|
|
247
|
+
};
|
|
248
|
+
},
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* AccountsCCApi - functional programming interface
|
|
254
|
+
* @export
|
|
255
|
+
*/
|
|
256
|
+
export const AccountsCCApiFp = function(configuration?: Configuration) {
|
|
257
|
+
const localVarAxiosParamCreator = AccountsCCApiAxiosParamCreator(configuration)
|
|
258
|
+
return {
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @summary List Accounts
|
|
262
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
263
|
+
* @throws {RequiredError}
|
|
264
|
+
*/
|
|
265
|
+
async listAccounts(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
266
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAccounts(axiosOptions);
|
|
267
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
268
|
+
},
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* @summary Remove Account
|
|
272
|
+
* @param {string} [id]
|
|
273
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
*/
|
|
276
|
+
async removeAccount(id?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
277
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeAccount(id, axiosOptions);
|
|
278
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
279
|
+
},
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* AccountsCCApi - factory interface
|
|
285
|
+
* @export
|
|
286
|
+
*/
|
|
287
|
+
export const AccountsCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
288
|
+
const localVarFp = AccountsCCApiFp(configuration)
|
|
289
|
+
return {
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @summary List Accounts
|
|
293
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
294
|
+
* @throws {RequiredError}
|
|
295
|
+
*/
|
|
296
|
+
listAccounts(axiosOptions?: any): AxiosPromise<void> {
|
|
297
|
+
return localVarFp.listAccounts(axiosOptions).then((request) => request(axios, basePath));
|
|
298
|
+
},
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @summary Remove Account
|
|
302
|
+
* @param {string} [id]
|
|
303
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
304
|
+
* @throws {RequiredError}
|
|
305
|
+
*/
|
|
306
|
+
removeAccount(id?: string, axiosOptions?: any): AxiosPromise<void> {
|
|
307
|
+
return localVarFp.removeAccount(id, axiosOptions).then((request) => request(axios, basePath));
|
|
308
|
+
},
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Request parameters for removeAccount operation in AccountsCCApi.
|
|
314
|
+
* @export
|
|
315
|
+
* @interface AccountsCCApiRemoveAccountRequest
|
|
316
|
+
*/
|
|
317
|
+
export interface AccountsCCApiRemoveAccountRequest {
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof AccountsCCApiRemoveAccount
|
|
322
|
+
*/
|
|
323
|
+
readonly id?: string
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* AccountsCCApi - object-oriented interface
|
|
328
|
+
* @export
|
|
329
|
+
* @class AccountsCCApi
|
|
330
|
+
* @extends {BaseAPI}
|
|
331
|
+
*/
|
|
332
|
+
export class AccountsCCApi extends BaseAPI {
|
|
333
|
+
/**
|
|
334
|
+
*
|
|
335
|
+
* @summary List Accounts
|
|
336
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
* @memberof AccountsCCApi
|
|
339
|
+
*/
|
|
340
|
+
public listAccounts(axiosOptions?: AxiosRequestConfig) {
|
|
341
|
+
return AccountsCCApiFp(this.configuration).listAccounts(axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @summary Remove Account
|
|
347
|
+
* @param {AccountsCCApiRemoveAccountRequest} requestParameters Request parameters.
|
|
348
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
349
|
+
* @throws {RequiredError}
|
|
350
|
+
* @memberof AccountsCCApi
|
|
351
|
+
*/
|
|
352
|
+
public removeAccount(requestParameters: AccountsCCApiRemoveAccountRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
353
|
+
return AccountsCCApiFp(this.configuration).removeAccount(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* ApplicationsCCApi - axios parameter creator
|
|
360
|
+
* @export
|
|
361
|
+
*/
|
|
362
|
+
export const ApplicationsCCApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
363
|
+
return {
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @summary Create Application
|
|
367
|
+
* @param {CreateApplicationRequestCC} [createApplicationRequestCC]
|
|
368
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
createApplication: async (createApplicationRequestCC?: CreateApplicationRequestCC, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
372
|
+
const localVarPath = `/cc/api/app/create`;
|
|
373
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
374
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
375
|
+
let baseOptions;
|
|
376
|
+
if (configuration) {
|
|
377
|
+
baseOptions = configuration.baseOptions;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
381
|
+
const localVarHeaderParameter = {} as any;
|
|
382
|
+
const localVarQueryParameter = {} as any;
|
|
383
|
+
|
|
384
|
+
// authentication oauth2 required
|
|
385
|
+
// oauth required
|
|
386
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
387
|
+
|
|
388
|
+
// authentication oauth2 required
|
|
389
|
+
// oauth required
|
|
390
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
395
|
+
|
|
396
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
397
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
398
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
399
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createApplicationRequestCC, localVarRequestOptions, configuration)
|
|
400
|
+
|
|
401
|
+
return {
|
|
402
|
+
url: toPathString(localVarUrlObj),
|
|
403
|
+
axiosOptions: localVarRequestOptions,
|
|
404
|
+
};
|
|
405
|
+
},
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @summary Delete Application
|
|
409
|
+
* @param {string} [id]
|
|
410
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
deleteApplication: async (id?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
414
|
+
const localVarPath = `/cc/api/app/delete/:id`
|
|
415
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
416
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
417
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
418
|
+
let baseOptions;
|
|
419
|
+
if (configuration) {
|
|
420
|
+
baseOptions = configuration.baseOptions;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
424
|
+
const localVarHeaderParameter = {} as any;
|
|
425
|
+
const localVarQueryParameter = {} as any;
|
|
426
|
+
|
|
427
|
+
// authentication oauth2 required
|
|
428
|
+
// oauth required
|
|
429
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
430
|
+
|
|
431
|
+
// authentication oauth2 required
|
|
432
|
+
// oauth required
|
|
433
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
438
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
439
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
440
|
+
|
|
441
|
+
return {
|
|
442
|
+
url: toPathString(localVarUrlObj),
|
|
443
|
+
axiosOptions: localVarRequestOptions,
|
|
444
|
+
};
|
|
445
|
+
},
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @summary Get Single Application
|
|
449
|
+
* @param {string} [id]
|
|
450
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
451
|
+
* @throws {RequiredError}
|
|
452
|
+
*/
|
|
453
|
+
getApplication: async (id?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
454
|
+
const localVarPath = `/cc/api/app/get/:id`
|
|
455
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
456
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
457
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
458
|
+
let baseOptions;
|
|
459
|
+
if (configuration) {
|
|
460
|
+
baseOptions = configuration.baseOptions;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
464
|
+
const localVarHeaderParameter = {} as any;
|
|
465
|
+
const localVarQueryParameter = {} as any;
|
|
466
|
+
|
|
467
|
+
// authentication oauth2 required
|
|
468
|
+
// oauth required
|
|
469
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
470
|
+
|
|
471
|
+
// authentication oauth2 required
|
|
472
|
+
// oauth required
|
|
473
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
478
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
479
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
480
|
+
|
|
481
|
+
return {
|
|
482
|
+
url: toPathString(localVarUrlObj),
|
|
483
|
+
axiosOptions: localVarRequestOptions,
|
|
484
|
+
};
|
|
485
|
+
},
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @summary Get Access Profiles for Application
|
|
489
|
+
* @param {string} [id]
|
|
490
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
491
|
+
* @throws {RequiredError}
|
|
492
|
+
*/
|
|
493
|
+
getApplicationAccessProfiles: async (id?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
494
|
+
const localVarPath = `/cc/api/app/getAccessProfiles/:id`
|
|
495
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
496
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
497
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
498
|
+
let baseOptions;
|
|
499
|
+
if (configuration) {
|
|
500
|
+
baseOptions = configuration.baseOptions;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
504
|
+
const localVarHeaderParameter = {} as any;
|
|
505
|
+
const localVarQueryParameter = {} as any;
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
510
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
511
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
512
|
+
|
|
513
|
+
return {
|
|
514
|
+
url: toPathString(localVarUrlObj),
|
|
515
|
+
axiosOptions: localVarRequestOptions,
|
|
516
|
+
};
|
|
517
|
+
},
|
|
518
|
+
/**
|
|
519
|
+
*
|
|
520
|
+
* @summary List Applications
|
|
521
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
522
|
+
* @throws {RequiredError}
|
|
523
|
+
*/
|
|
524
|
+
listApplications: async (axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
525
|
+
const localVarPath = `/cc/api/app`;
|
|
526
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
527
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
528
|
+
let baseOptions;
|
|
529
|
+
if (configuration) {
|
|
530
|
+
baseOptions = configuration.baseOptions;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
534
|
+
const localVarHeaderParameter = {} as any;
|
|
535
|
+
const localVarQueryParameter = {} as any;
|
|
536
|
+
|
|
537
|
+
// authentication oauth2 required
|
|
538
|
+
// oauth required
|
|
539
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
540
|
+
|
|
541
|
+
// authentication oauth2 required
|
|
542
|
+
// oauth required
|
|
543
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
548
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
549
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
550
|
+
|
|
551
|
+
return {
|
|
552
|
+
url: toPathString(localVarUrlObj),
|
|
553
|
+
axiosOptions: localVarRequestOptions,
|
|
554
|
+
};
|
|
555
|
+
},
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @summary Update Application
|
|
559
|
+
* @param {string} [id]
|
|
560
|
+
* @param {UpdateApplicationRequestCC} [updateApplicationRequestCC]
|
|
561
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
562
|
+
* @throws {RequiredError}
|
|
563
|
+
*/
|
|
564
|
+
updateApplication: async (id?: string, updateApplicationRequestCC?: UpdateApplicationRequestCC, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
565
|
+
const localVarPath = `/cc/api/app/update/:id`
|
|
566
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
567
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
568
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
569
|
+
let baseOptions;
|
|
570
|
+
if (configuration) {
|
|
571
|
+
baseOptions = configuration.baseOptions;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
575
|
+
const localVarHeaderParameter = {} as any;
|
|
576
|
+
const localVarQueryParameter = {} as any;
|
|
577
|
+
|
|
578
|
+
// authentication oauth2 required
|
|
579
|
+
// oauth required
|
|
580
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
581
|
+
|
|
582
|
+
// authentication oauth2 required
|
|
583
|
+
// oauth required
|
|
584
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
589
|
+
|
|
590
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
591
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
592
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
593
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateApplicationRequestCC, localVarRequestOptions, configuration)
|
|
594
|
+
|
|
595
|
+
return {
|
|
596
|
+
url: toPathString(localVarUrlObj),
|
|
597
|
+
axiosOptions: localVarRequestOptions,
|
|
598
|
+
};
|
|
599
|
+
},
|
|
600
|
+
}
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* ApplicationsCCApi - functional programming interface
|
|
605
|
+
* @export
|
|
606
|
+
*/
|
|
607
|
+
export const ApplicationsCCApiFp = function(configuration?: Configuration) {
|
|
608
|
+
const localVarAxiosParamCreator = ApplicationsCCApiAxiosParamCreator(configuration)
|
|
609
|
+
return {
|
|
610
|
+
/**
|
|
611
|
+
*
|
|
612
|
+
* @summary Create Application
|
|
613
|
+
* @param {CreateApplicationRequestCC} [createApplicationRequestCC]
|
|
614
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
615
|
+
* @throws {RequiredError}
|
|
616
|
+
*/
|
|
617
|
+
async createApplication(createApplicationRequestCC?: CreateApplicationRequestCC, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
618
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplication(createApplicationRequestCC, axiosOptions);
|
|
619
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
620
|
+
},
|
|
621
|
+
/**
|
|
622
|
+
*
|
|
623
|
+
* @summary Delete Application
|
|
624
|
+
* @param {string} [id]
|
|
625
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
626
|
+
* @throws {RequiredError}
|
|
627
|
+
*/
|
|
628
|
+
async deleteApplication(id?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
629
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplication(id, axiosOptions);
|
|
630
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
631
|
+
},
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @summary Get Single Application
|
|
635
|
+
* @param {string} [id]
|
|
636
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
637
|
+
* @throws {RequiredError}
|
|
638
|
+
*/
|
|
639
|
+
async getApplication(id?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
640
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getApplication(id, axiosOptions);
|
|
641
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
642
|
+
},
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @summary Get Access Profiles for Application
|
|
646
|
+
* @param {string} [id]
|
|
647
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
648
|
+
* @throws {RequiredError}
|
|
649
|
+
*/
|
|
650
|
+
async getApplicationAccessProfiles(id?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationAccessProfiles(id, axiosOptions);
|
|
652
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
653
|
+
},
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @summary List Applications
|
|
657
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
658
|
+
* @throws {RequiredError}
|
|
659
|
+
*/
|
|
660
|
+
async listApplications(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplications(axiosOptions);
|
|
662
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
663
|
+
},
|
|
664
|
+
/**
|
|
665
|
+
*
|
|
666
|
+
* @summary Update Application
|
|
667
|
+
* @param {string} [id]
|
|
668
|
+
* @param {UpdateApplicationRequestCC} [updateApplicationRequestCC]
|
|
669
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
670
|
+
* @throws {RequiredError}
|
|
671
|
+
*/
|
|
672
|
+
async updateApplication(id?: string, updateApplicationRequestCC?: UpdateApplicationRequestCC, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateApplication(id, updateApplicationRequestCC, axiosOptions);
|
|
674
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
675
|
+
},
|
|
676
|
+
}
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* ApplicationsCCApi - factory interface
|
|
681
|
+
* @export
|
|
682
|
+
*/
|
|
683
|
+
export const ApplicationsCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
684
|
+
const localVarFp = ApplicationsCCApiFp(configuration)
|
|
685
|
+
return {
|
|
686
|
+
/**
|
|
687
|
+
*
|
|
688
|
+
* @summary Create Application
|
|
689
|
+
* @param {CreateApplicationRequestCC} [createApplicationRequestCC]
|
|
690
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
createApplication(createApplicationRequestCC?: CreateApplicationRequestCC, axiosOptions?: any): AxiosPromise<void> {
|
|
694
|
+
return localVarFp.createApplication(createApplicationRequestCC, axiosOptions).then((request) => request(axios, basePath));
|
|
695
|
+
},
|
|
696
|
+
/**
|
|
697
|
+
*
|
|
698
|
+
* @summary Delete Application
|
|
699
|
+
* @param {string} [id]
|
|
700
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
701
|
+
* @throws {RequiredError}
|
|
702
|
+
*/
|
|
703
|
+
deleteApplication(id?: string, axiosOptions?: any): AxiosPromise<void> {
|
|
704
|
+
return localVarFp.deleteApplication(id, axiosOptions).then((request) => request(axios, basePath));
|
|
705
|
+
},
|
|
706
|
+
/**
|
|
707
|
+
*
|
|
708
|
+
* @summary Get Single Application
|
|
709
|
+
* @param {string} [id]
|
|
710
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
711
|
+
* @throws {RequiredError}
|
|
712
|
+
*/
|
|
713
|
+
getApplication(id?: string, axiosOptions?: any): AxiosPromise<void> {
|
|
714
|
+
return localVarFp.getApplication(id, axiosOptions).then((request) => request(axios, basePath));
|
|
715
|
+
},
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @summary Get Access Profiles for Application
|
|
719
|
+
* @param {string} [id]
|
|
720
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
721
|
+
* @throws {RequiredError}
|
|
722
|
+
*/
|
|
723
|
+
getApplicationAccessProfiles(id?: string, axiosOptions?: any): AxiosPromise<void> {
|
|
724
|
+
return localVarFp.getApplicationAccessProfiles(id, axiosOptions).then((request) => request(axios, basePath));
|
|
725
|
+
},
|
|
726
|
+
/**
|
|
727
|
+
*
|
|
728
|
+
* @summary List Applications
|
|
729
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
listApplications(axiosOptions?: any): AxiosPromise<void> {
|
|
733
|
+
return localVarFp.listApplications(axiosOptions).then((request) => request(axios, basePath));
|
|
734
|
+
},
|
|
735
|
+
/**
|
|
736
|
+
*
|
|
737
|
+
* @summary Update Application
|
|
738
|
+
* @param {string} [id]
|
|
739
|
+
* @param {UpdateApplicationRequestCC} [updateApplicationRequestCC]
|
|
740
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
741
|
+
* @throws {RequiredError}
|
|
742
|
+
*/
|
|
743
|
+
updateApplication(id?: string, updateApplicationRequestCC?: UpdateApplicationRequestCC, axiosOptions?: any): AxiosPromise<void> {
|
|
744
|
+
return localVarFp.updateApplication(id, updateApplicationRequestCC, axiosOptions).then((request) => request(axios, basePath));
|
|
745
|
+
},
|
|
746
|
+
};
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Request parameters for createApplication operation in ApplicationsCCApi.
|
|
751
|
+
* @export
|
|
752
|
+
* @interface ApplicationsCCApiCreateApplicationRequest
|
|
753
|
+
*/
|
|
754
|
+
export interface ApplicationsCCApiCreateApplicationRequest {
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @type {CreateApplicationRequestCC}
|
|
758
|
+
* @memberof ApplicationsCCApiCreateApplication
|
|
759
|
+
*/
|
|
760
|
+
readonly createApplicationRequestCC?: CreateApplicationRequestCC
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* Request parameters for deleteApplication operation in ApplicationsCCApi.
|
|
765
|
+
* @export
|
|
766
|
+
* @interface ApplicationsCCApiDeleteApplicationRequest
|
|
767
|
+
*/
|
|
768
|
+
export interface ApplicationsCCApiDeleteApplicationRequest {
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @type {string}
|
|
772
|
+
* @memberof ApplicationsCCApiDeleteApplication
|
|
773
|
+
*/
|
|
774
|
+
readonly id?: string
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Request parameters for getApplication operation in ApplicationsCCApi.
|
|
779
|
+
* @export
|
|
780
|
+
* @interface ApplicationsCCApiGetApplicationRequest
|
|
781
|
+
*/
|
|
782
|
+
export interface ApplicationsCCApiGetApplicationRequest {
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {string}
|
|
786
|
+
* @memberof ApplicationsCCApiGetApplication
|
|
787
|
+
*/
|
|
788
|
+
readonly id?: string
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Request parameters for getApplicationAccessProfiles operation in ApplicationsCCApi.
|
|
793
|
+
* @export
|
|
794
|
+
* @interface ApplicationsCCApiGetApplicationAccessProfilesRequest
|
|
795
|
+
*/
|
|
796
|
+
export interface ApplicationsCCApiGetApplicationAccessProfilesRequest {
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {string}
|
|
800
|
+
* @memberof ApplicationsCCApiGetApplicationAccessProfiles
|
|
801
|
+
*/
|
|
802
|
+
readonly id?: string
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* Request parameters for updateApplication operation in ApplicationsCCApi.
|
|
807
|
+
* @export
|
|
808
|
+
* @interface ApplicationsCCApiUpdateApplicationRequest
|
|
809
|
+
*/
|
|
810
|
+
export interface ApplicationsCCApiUpdateApplicationRequest {
|
|
811
|
+
/**
|
|
812
|
+
*
|
|
813
|
+
* @type {string}
|
|
814
|
+
* @memberof ApplicationsCCApiUpdateApplication
|
|
815
|
+
*/
|
|
816
|
+
readonly id?: string
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @type {UpdateApplicationRequestCC}
|
|
821
|
+
* @memberof ApplicationsCCApiUpdateApplication
|
|
822
|
+
*/
|
|
823
|
+
readonly updateApplicationRequestCC?: UpdateApplicationRequestCC
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* ApplicationsCCApi - object-oriented interface
|
|
828
|
+
* @export
|
|
829
|
+
* @class ApplicationsCCApi
|
|
830
|
+
* @extends {BaseAPI}
|
|
831
|
+
*/
|
|
832
|
+
export class ApplicationsCCApi extends BaseAPI {
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @summary Create Application
|
|
836
|
+
* @param {ApplicationsCCApiCreateApplicationRequest} requestParameters Request parameters.
|
|
837
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
838
|
+
* @throws {RequiredError}
|
|
839
|
+
* @memberof ApplicationsCCApi
|
|
840
|
+
*/
|
|
841
|
+
public createApplication(requestParameters: ApplicationsCCApiCreateApplicationRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
842
|
+
return ApplicationsCCApiFp(this.configuration).createApplication(requestParameters.createApplicationRequestCC, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @summary Delete Application
|
|
848
|
+
* @param {ApplicationsCCApiDeleteApplicationRequest} requestParameters Request parameters.
|
|
849
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
850
|
+
* @throws {RequiredError}
|
|
851
|
+
* @memberof ApplicationsCCApi
|
|
852
|
+
*/
|
|
853
|
+
public deleteApplication(requestParameters: ApplicationsCCApiDeleteApplicationRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
854
|
+
return ApplicationsCCApiFp(this.configuration).deleteApplication(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @summary Get Single Application
|
|
860
|
+
* @param {ApplicationsCCApiGetApplicationRequest} requestParameters Request parameters.
|
|
861
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
862
|
+
* @throws {RequiredError}
|
|
863
|
+
* @memberof ApplicationsCCApi
|
|
864
|
+
*/
|
|
865
|
+
public getApplication(requestParameters: ApplicationsCCApiGetApplicationRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
866
|
+
return ApplicationsCCApiFp(this.configuration).getApplication(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @summary Get Access Profiles for Application
|
|
872
|
+
* @param {ApplicationsCCApiGetApplicationAccessProfilesRequest} requestParameters Request parameters.
|
|
873
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
874
|
+
* @throws {RequiredError}
|
|
875
|
+
* @memberof ApplicationsCCApi
|
|
876
|
+
*/
|
|
877
|
+
public getApplicationAccessProfiles(requestParameters: ApplicationsCCApiGetApplicationAccessProfilesRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
878
|
+
return ApplicationsCCApiFp(this.configuration).getApplicationAccessProfiles(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @summary List Applications
|
|
884
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
885
|
+
* @throws {RequiredError}
|
|
886
|
+
* @memberof ApplicationsCCApi
|
|
887
|
+
*/
|
|
888
|
+
public listApplications(axiosOptions?: AxiosRequestConfig) {
|
|
889
|
+
return ApplicationsCCApiFp(this.configuration).listApplications(axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
*
|
|
894
|
+
* @summary Update Application
|
|
895
|
+
* @param {ApplicationsCCApiUpdateApplicationRequest} requestParameters Request parameters.
|
|
896
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
897
|
+
* @throws {RequiredError}
|
|
898
|
+
* @memberof ApplicationsCCApi
|
|
899
|
+
*/
|
|
900
|
+
public updateApplication(requestParameters: ApplicationsCCApiUpdateApplicationRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
901
|
+
return ApplicationsCCApiFp(this.configuration).updateApplication(requestParameters.id, requestParameters.updateApplicationRequestCC, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* ConnectorsCCApi - axios parameter creator
|
|
908
|
+
* @export
|
|
909
|
+
*/
|
|
910
|
+
export const ConnectorsCCApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
911
|
+
return {
|
|
912
|
+
/**
|
|
913
|
+
*
|
|
914
|
+
* @summary Create Connector
|
|
915
|
+
* @param {string} [contentType]
|
|
916
|
+
* @param {string} [name]
|
|
917
|
+
* @param {string} [description]
|
|
918
|
+
* @param {string} [className]
|
|
919
|
+
* @param {boolean} [directConnect]
|
|
920
|
+
* @param {string} [status]
|
|
921
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
922
|
+
* @throws {RequiredError}
|
|
923
|
+
*/
|
|
924
|
+
createConnector: async (contentType?: string, name?: string, description?: string, className?: string, directConnect?: boolean, status?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
925
|
+
const localVarPath = `/cc/api/connector/create`;
|
|
926
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
927
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
928
|
+
let baseOptions;
|
|
929
|
+
if (configuration) {
|
|
930
|
+
baseOptions = configuration.baseOptions;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
934
|
+
const localVarHeaderParameter = {} as any;
|
|
935
|
+
const localVarQueryParameter = {} as any;
|
|
936
|
+
const localVarFormParams = new URLSearchParams();
|
|
937
|
+
|
|
938
|
+
// authentication oauth2 required
|
|
939
|
+
// oauth required
|
|
940
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
941
|
+
|
|
942
|
+
// authentication oauth2 required
|
|
943
|
+
// oauth required
|
|
944
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
945
|
+
|
|
946
|
+
if (contentType !== undefined && contentType !== null) {
|
|
947
|
+
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
if (name !== undefined) {
|
|
952
|
+
localVarFormParams.set('name', name as any);
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
if (description !== undefined) {
|
|
956
|
+
localVarFormParams.set('description', description as any);
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
if (className !== undefined) {
|
|
960
|
+
localVarFormParams.set('className', className as any);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
if (directConnect !== undefined) {
|
|
964
|
+
localVarFormParams.set('directConnect', directConnect as any);
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
if (status !== undefined) {
|
|
968
|
+
localVarFormParams.set('status', status as any);
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
|
|
972
|
+
localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
973
|
+
|
|
974
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
975
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
976
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
977
|
+
localVarRequestOptions.data = localVarFormParams.toString();
|
|
978
|
+
|
|
979
|
+
return {
|
|
980
|
+
url: toPathString(localVarUrlObj),
|
|
981
|
+
axiosOptions: localVarRequestOptions,
|
|
982
|
+
};
|
|
983
|
+
},
|
|
984
|
+
/**
|
|
985
|
+
*
|
|
986
|
+
* @summary Delete Connector
|
|
987
|
+
* @param {string} id
|
|
988
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
989
|
+
* @throws {RequiredError}
|
|
990
|
+
*/
|
|
991
|
+
deleteConnector: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
992
|
+
// verify required parameter 'id' is not null or undefined
|
|
993
|
+
assertParamExists('deleteConnector', 'id', id)
|
|
994
|
+
const localVarPath = `/cc/api/connector/delete/{id}`
|
|
995
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
996
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
997
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
998
|
+
let baseOptions;
|
|
999
|
+
if (configuration) {
|
|
1000
|
+
baseOptions = configuration.baseOptions;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
1004
|
+
const localVarHeaderParameter = {} as any;
|
|
1005
|
+
const localVarQueryParameter = {} as any;
|
|
1006
|
+
|
|
1007
|
+
// authentication oauth2 required
|
|
1008
|
+
// oauth required
|
|
1009
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1010
|
+
|
|
1011
|
+
// authentication oauth2 required
|
|
1012
|
+
// oauth required
|
|
1013
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1018
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1019
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1020
|
+
|
|
1021
|
+
return {
|
|
1022
|
+
url: toPathString(localVarUrlObj),
|
|
1023
|
+
axiosOptions: localVarRequestOptions,
|
|
1024
|
+
};
|
|
1025
|
+
},
|
|
1026
|
+
/**
|
|
1027
|
+
*
|
|
1028
|
+
* @summary Export Connector Config
|
|
1029
|
+
* @param {string} id
|
|
1030
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1031
|
+
* @throws {RequiredError}
|
|
1032
|
+
*/
|
|
1033
|
+
exportConnectorConfig: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1034
|
+
// verify required parameter 'id' is not null or undefined
|
|
1035
|
+
assertParamExists('exportConnectorConfig', 'id', id)
|
|
1036
|
+
const localVarPath = `/cc/api/connector/export/{id}`
|
|
1037
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1038
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1039
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1040
|
+
let baseOptions;
|
|
1041
|
+
if (configuration) {
|
|
1042
|
+
baseOptions = configuration.baseOptions;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
1046
|
+
const localVarHeaderParameter = {} as any;
|
|
1047
|
+
const localVarQueryParameter = {} as any;
|
|
1048
|
+
|
|
1049
|
+
// authentication oauth2 required
|
|
1050
|
+
// oauth required
|
|
1051
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1052
|
+
|
|
1053
|
+
// authentication oauth2 required
|
|
1054
|
+
// oauth required
|
|
1055
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1056
|
+
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1060
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1061
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1062
|
+
|
|
1063
|
+
return {
|
|
1064
|
+
url: toPathString(localVarUrlObj),
|
|
1065
|
+
axiosOptions: localVarRequestOptions,
|
|
1066
|
+
};
|
|
1067
|
+
},
|
|
1068
|
+
/**
|
|
1069
|
+
*
|
|
1070
|
+
* @summary Import Connector Config
|
|
1071
|
+
* @param {string} id
|
|
1072
|
+
* @param {any} [file] This is the connector config zip bundle which gets uploaded.
|
|
1073
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1074
|
+
* @throws {RequiredError}
|
|
1075
|
+
*/
|
|
1076
|
+
importConnectorConfig: async (id: string, file?: any, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1077
|
+
// verify required parameter 'id' is not null or undefined
|
|
1078
|
+
assertParamExists('importConnectorConfig', 'id', id)
|
|
1079
|
+
const localVarPath = `/cc/api/connector/import/{id}`
|
|
1080
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1081
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1082
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1083
|
+
let baseOptions;
|
|
1084
|
+
if (configuration) {
|
|
1085
|
+
baseOptions = configuration.baseOptions;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
1089
|
+
const localVarHeaderParameter = {} as any;
|
|
1090
|
+
const localVarQueryParameter = {} as any;
|
|
1091
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1092
|
+
|
|
1093
|
+
// authentication oauth2 required
|
|
1094
|
+
// oauth required
|
|
1095
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1096
|
+
|
|
1097
|
+
// authentication oauth2 required
|
|
1098
|
+
// oauth required
|
|
1099
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
if (file !== undefined) {
|
|
1103
|
+
localVarFormParams.append('file', file as any);
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1108
|
+
|
|
1109
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1110
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1111
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1112
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
1113
|
+
|
|
1114
|
+
return {
|
|
1115
|
+
url: toPathString(localVarUrlObj),
|
|
1116
|
+
axiosOptions: localVarRequestOptions,
|
|
1117
|
+
};
|
|
1118
|
+
},
|
|
1119
|
+
/**
|
|
1120
|
+
*
|
|
1121
|
+
* @summary List Connectors
|
|
1122
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1123
|
+
* @throws {RequiredError}
|
|
1124
|
+
*/
|
|
1125
|
+
listConnectors: async (axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1126
|
+
const localVarPath = `/cc/api/connector/list`;
|
|
1127
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1128
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1129
|
+
let baseOptions;
|
|
1130
|
+
if (configuration) {
|
|
1131
|
+
baseOptions = configuration.baseOptions;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
1135
|
+
const localVarHeaderParameter = {} as any;
|
|
1136
|
+
const localVarQueryParameter = {} as any;
|
|
1137
|
+
|
|
1138
|
+
// authentication oauth2 required
|
|
1139
|
+
// oauth required
|
|
1140
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1141
|
+
|
|
1142
|
+
// authentication oauth2 required
|
|
1143
|
+
// oauth required
|
|
1144
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
|
|
1148
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1149
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1150
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1151
|
+
|
|
1152
|
+
return {
|
|
1153
|
+
url: toPathString(localVarUrlObj),
|
|
1154
|
+
axiosOptions: localVarRequestOptions,
|
|
1155
|
+
};
|
|
1156
|
+
},
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* ConnectorsCCApi - functional programming interface
|
|
1162
|
+
* @export
|
|
1163
|
+
*/
|
|
1164
|
+
export const ConnectorsCCApiFp = function(configuration?: Configuration) {
|
|
1165
|
+
const localVarAxiosParamCreator = ConnectorsCCApiAxiosParamCreator(configuration)
|
|
1166
|
+
return {
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @summary Create Connector
|
|
1170
|
+
* @param {string} [contentType]
|
|
1171
|
+
* @param {string} [name]
|
|
1172
|
+
* @param {string} [description]
|
|
1173
|
+
* @param {string} [className]
|
|
1174
|
+
* @param {boolean} [directConnect]
|
|
1175
|
+
* @param {string} [status]
|
|
1176
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1177
|
+
* @throws {RequiredError}
|
|
1178
|
+
*/
|
|
1179
|
+
async createConnector(contentType?: string, name?: string, description?: string, className?: string, directConnect?: boolean, status?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1180
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createConnector(contentType, name, description, className, directConnect, status, axiosOptions);
|
|
1181
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1182
|
+
},
|
|
1183
|
+
/**
|
|
1184
|
+
*
|
|
1185
|
+
* @summary Delete Connector
|
|
1186
|
+
* @param {string} id
|
|
1187
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1188
|
+
* @throws {RequiredError}
|
|
1189
|
+
*/
|
|
1190
|
+
async deleteConnector(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1191
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteConnector(id, axiosOptions);
|
|
1192
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1193
|
+
},
|
|
1194
|
+
/**
|
|
1195
|
+
*
|
|
1196
|
+
* @summary Export Connector Config
|
|
1197
|
+
* @param {string} id
|
|
1198
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1199
|
+
* @throws {RequiredError}
|
|
1200
|
+
*/
|
|
1201
|
+
async exportConnectorConfig(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1202
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportConnectorConfig(id, axiosOptions);
|
|
1203
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1204
|
+
},
|
|
1205
|
+
/**
|
|
1206
|
+
*
|
|
1207
|
+
* @summary Import Connector Config
|
|
1208
|
+
* @param {string} id
|
|
1209
|
+
* @param {any} [file] This is the connector config zip bundle which gets uploaded.
|
|
1210
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1211
|
+
* @throws {RequiredError}
|
|
1212
|
+
*/
|
|
1213
|
+
async importConnectorConfig(id: string, file?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1214
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.importConnectorConfig(id, file, axiosOptions);
|
|
1215
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1216
|
+
},
|
|
1217
|
+
/**
|
|
1218
|
+
*
|
|
1219
|
+
* @summary List Connectors
|
|
1220
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1221
|
+
* @throws {RequiredError}
|
|
1222
|
+
*/
|
|
1223
|
+
async listConnectors(axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1224
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listConnectors(axiosOptions);
|
|
1225
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1226
|
+
},
|
|
1227
|
+
}
|
|
1228
|
+
};
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* ConnectorsCCApi - factory interface
|
|
1232
|
+
* @export
|
|
1233
|
+
*/
|
|
1234
|
+
export const ConnectorsCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1235
|
+
const localVarFp = ConnectorsCCApiFp(configuration)
|
|
1236
|
+
return {
|
|
1237
|
+
/**
|
|
1238
|
+
*
|
|
1239
|
+
* @summary Create Connector
|
|
1240
|
+
* @param {string} [contentType]
|
|
1241
|
+
* @param {string} [name]
|
|
1242
|
+
* @param {string} [description]
|
|
1243
|
+
* @param {string} [className]
|
|
1244
|
+
* @param {boolean} [directConnect]
|
|
1245
|
+
* @param {string} [status]
|
|
1246
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1247
|
+
* @throws {RequiredError}
|
|
1248
|
+
*/
|
|
1249
|
+
createConnector(contentType?: string, name?: string, description?: string, className?: string, directConnect?: boolean, status?: string, axiosOptions?: any): AxiosPromise<void> {
|
|
1250
|
+
return localVarFp.createConnector(contentType, name, description, className, directConnect, status, axiosOptions).then((request) => request(axios, basePath));
|
|
1251
|
+
},
|
|
1252
|
+
/**
|
|
1253
|
+
*
|
|
1254
|
+
* @summary Delete Connector
|
|
1255
|
+
* @param {string} id
|
|
1256
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1257
|
+
* @throws {RequiredError}
|
|
1258
|
+
*/
|
|
1259
|
+
deleteConnector(id: string, axiosOptions?: any): AxiosPromise<void> {
|
|
1260
|
+
return localVarFp.deleteConnector(id, axiosOptions).then((request) => request(axios, basePath));
|
|
1261
|
+
},
|
|
1262
|
+
/**
|
|
1263
|
+
*
|
|
1264
|
+
* @summary Export Connector Config
|
|
1265
|
+
* @param {string} id
|
|
1266
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1267
|
+
* @throws {RequiredError}
|
|
1268
|
+
*/
|
|
1269
|
+
exportConnectorConfig(id: string, axiosOptions?: any): AxiosPromise<void> {
|
|
1270
|
+
return localVarFp.exportConnectorConfig(id, axiosOptions).then((request) => request(axios, basePath));
|
|
1271
|
+
},
|
|
1272
|
+
/**
|
|
1273
|
+
*
|
|
1274
|
+
* @summary Import Connector Config
|
|
1275
|
+
* @param {string} id
|
|
1276
|
+
* @param {any} [file] This is the connector config zip bundle which gets uploaded.
|
|
1277
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1278
|
+
* @throws {RequiredError}
|
|
1279
|
+
*/
|
|
1280
|
+
importConnectorConfig(id: string, file?: any, axiosOptions?: any): AxiosPromise<void> {
|
|
1281
|
+
return localVarFp.importConnectorConfig(id, file, axiosOptions).then((request) => request(axios, basePath));
|
|
1282
|
+
},
|
|
1283
|
+
/**
|
|
1284
|
+
*
|
|
1285
|
+
* @summary List Connectors
|
|
1286
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1287
|
+
* @throws {RequiredError}
|
|
1288
|
+
*/
|
|
1289
|
+
listConnectors(axiosOptions?: any): AxiosPromise<void> {
|
|
1290
|
+
return localVarFp.listConnectors(axiosOptions).then((request) => request(axios, basePath));
|
|
1291
|
+
},
|
|
1292
|
+
};
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* Request parameters for createConnector operation in ConnectorsCCApi.
|
|
1297
|
+
* @export
|
|
1298
|
+
* @interface ConnectorsCCApiCreateConnectorRequest
|
|
1299
|
+
*/
|
|
1300
|
+
export interface ConnectorsCCApiCreateConnectorRequest {
|
|
1301
|
+
/**
|
|
1302
|
+
*
|
|
1303
|
+
* @type {string}
|
|
1304
|
+
* @memberof ConnectorsCCApiCreateConnector
|
|
1305
|
+
*/
|
|
1306
|
+
readonly contentType?: string
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
*
|
|
1310
|
+
* @type {string}
|
|
1311
|
+
* @memberof ConnectorsCCApiCreateConnector
|
|
1312
|
+
*/
|
|
1313
|
+
readonly name?: string
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
*
|
|
1317
|
+
* @type {string}
|
|
1318
|
+
* @memberof ConnectorsCCApiCreateConnector
|
|
1319
|
+
*/
|
|
1320
|
+
readonly description?: string
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
*
|
|
1324
|
+
* @type {string}
|
|
1325
|
+
* @memberof ConnectorsCCApiCreateConnector
|
|
1326
|
+
*/
|
|
1327
|
+
readonly className?: string
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
*
|
|
1331
|
+
* @type {boolean}
|
|
1332
|
+
* @memberof ConnectorsCCApiCreateConnector
|
|
1333
|
+
*/
|
|
1334
|
+
readonly directConnect?: boolean
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @type {string}
|
|
1339
|
+
* @memberof ConnectorsCCApiCreateConnector
|
|
1340
|
+
*/
|
|
1341
|
+
readonly status?: string
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Request parameters for deleteConnector operation in ConnectorsCCApi.
|
|
1346
|
+
* @export
|
|
1347
|
+
* @interface ConnectorsCCApiDeleteConnectorRequest
|
|
1348
|
+
*/
|
|
1349
|
+
export interface ConnectorsCCApiDeleteConnectorRequest {
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
* @type {string}
|
|
1353
|
+
* @memberof ConnectorsCCApiDeleteConnector
|
|
1354
|
+
*/
|
|
1355
|
+
readonly id: string
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* Request parameters for exportConnectorConfig operation in ConnectorsCCApi.
|
|
1360
|
+
* @export
|
|
1361
|
+
* @interface ConnectorsCCApiExportConnectorConfigRequest
|
|
1362
|
+
*/
|
|
1363
|
+
export interface ConnectorsCCApiExportConnectorConfigRequest {
|
|
1364
|
+
/**
|
|
1365
|
+
*
|
|
1366
|
+
* @type {string}
|
|
1367
|
+
* @memberof ConnectorsCCApiExportConnectorConfig
|
|
1368
|
+
*/
|
|
1369
|
+
readonly id: string
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* Request parameters for importConnectorConfig operation in ConnectorsCCApi.
|
|
1374
|
+
* @export
|
|
1375
|
+
* @interface ConnectorsCCApiImportConnectorConfigRequest
|
|
1376
|
+
*/
|
|
1377
|
+
export interface ConnectorsCCApiImportConnectorConfigRequest {
|
|
1378
|
+
/**
|
|
1379
|
+
*
|
|
1380
|
+
* @type {string}
|
|
1381
|
+
* @memberof ConnectorsCCApiImportConnectorConfig
|
|
1382
|
+
*/
|
|
1383
|
+
readonly id: string
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* This is the connector config zip bundle which gets uploaded.
|
|
1387
|
+
* @type {any}
|
|
1388
|
+
* @memberof ConnectorsCCApiImportConnectorConfig
|
|
1389
|
+
*/
|
|
1390
|
+
readonly file?: any
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* ConnectorsCCApi - object-oriented interface
|
|
1395
|
+
* @export
|
|
1396
|
+
* @class ConnectorsCCApi
|
|
1397
|
+
* @extends {BaseAPI}
|
|
1398
|
+
*/
|
|
1399
|
+
export class ConnectorsCCApi extends BaseAPI {
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @summary Create Connector
|
|
1403
|
+
* @param {ConnectorsCCApiCreateConnectorRequest} requestParameters Request parameters.
|
|
1404
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1405
|
+
* @throws {RequiredError}
|
|
1406
|
+
* @memberof ConnectorsCCApi
|
|
1407
|
+
*/
|
|
1408
|
+
public createConnector(requestParameters: ConnectorsCCApiCreateConnectorRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
1409
|
+
return ConnectorsCCApiFp(this.configuration).createConnector(requestParameters.contentType, requestParameters.name, requestParameters.description, requestParameters.className, requestParameters.directConnect, requestParameters.status, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @summary Delete Connector
|
|
1415
|
+
* @param {ConnectorsCCApiDeleteConnectorRequest} requestParameters Request parameters.
|
|
1416
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1417
|
+
* @throws {RequiredError}
|
|
1418
|
+
* @memberof ConnectorsCCApi
|
|
1419
|
+
*/
|
|
1420
|
+
public deleteConnector(requestParameters: ConnectorsCCApiDeleteConnectorRequest, axiosOptions?: AxiosRequestConfig) {
|
|
1421
|
+
return ConnectorsCCApiFp(this.configuration).deleteConnector(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
*
|
|
1426
|
+
* @summary Export Connector Config
|
|
1427
|
+
* @param {ConnectorsCCApiExportConnectorConfigRequest} requestParameters Request parameters.
|
|
1428
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1429
|
+
* @throws {RequiredError}
|
|
1430
|
+
* @memberof ConnectorsCCApi
|
|
1431
|
+
*/
|
|
1432
|
+
public exportConnectorConfig(requestParameters: ConnectorsCCApiExportConnectorConfigRequest, axiosOptions?: AxiosRequestConfig) {
|
|
1433
|
+
return ConnectorsCCApiFp(this.configuration).exportConnectorConfig(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
*
|
|
1438
|
+
* @summary Import Connector Config
|
|
1439
|
+
* @param {ConnectorsCCApiImportConnectorConfigRequest} requestParameters Request parameters.
|
|
1440
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1441
|
+
* @throws {RequiredError}
|
|
1442
|
+
* @memberof ConnectorsCCApi
|
|
1443
|
+
*/
|
|
1444
|
+
public importConnectorConfig(requestParameters: ConnectorsCCApiImportConnectorConfigRequest, axiosOptions?: AxiosRequestConfig) {
|
|
1445
|
+
return ConnectorsCCApiFp(this.configuration).importConnectorConfig(requestParameters.id, requestParameters.file, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
*
|
|
1450
|
+
* @summary List Connectors
|
|
1451
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1452
|
+
* @throws {RequiredError}
|
|
1453
|
+
* @memberof ConnectorsCCApi
|
|
1454
|
+
*/
|
|
1455
|
+
public listConnectors(axiosOptions?: AxiosRequestConfig) {
|
|
1456
|
+
return ConnectorsCCApiFp(this.configuration).listConnectors(axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* SourcesAccountsCCApi - axios parameter creator
|
|
1463
|
+
* @export
|
|
1464
|
+
*/
|
|
1465
|
+
export const SourcesAccountsCCApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1466
|
+
return {
|
|
1467
|
+
/**
|
|
1468
|
+
* Exports a CSV of the accounts for a particular source.
|
|
1469
|
+
* @summary Export Account Feed
|
|
1470
|
+
* @param {string} id
|
|
1471
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1472
|
+
* @throws {RequiredError}
|
|
1473
|
+
*/
|
|
1474
|
+
exportAccountFeed: async (id: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1475
|
+
// verify required parameter 'id' is not null or undefined
|
|
1476
|
+
assertParamExists('exportAccountFeed', 'id', id)
|
|
1477
|
+
const localVarPath = `/cc/api/source/exportAccountFeed/{id}`
|
|
1478
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1479
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1480
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1481
|
+
let baseOptions;
|
|
1482
|
+
if (configuration) {
|
|
1483
|
+
baseOptions = configuration.baseOptions;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...axiosOptions};
|
|
1487
|
+
const localVarHeaderParameter = {} as any;
|
|
1488
|
+
const localVarQueryParameter = {} as any;
|
|
1489
|
+
|
|
1490
|
+
// authentication oauth2 required
|
|
1491
|
+
// oauth required
|
|
1492
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1493
|
+
|
|
1494
|
+
// authentication oauth2 required
|
|
1495
|
+
// oauth required
|
|
1496
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1497
|
+
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1501
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1502
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1503
|
+
|
|
1504
|
+
return {
|
|
1505
|
+
url: toPathString(localVarUrlObj),
|
|
1506
|
+
axiosOptions: localVarRequestOptions,
|
|
1507
|
+
};
|
|
1508
|
+
},
|
|
1509
|
+
}
|
|
1510
|
+
};
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* SourcesAccountsCCApi - functional programming interface
|
|
1514
|
+
* @export
|
|
1515
|
+
*/
|
|
1516
|
+
export const SourcesAccountsCCApiFp = function(configuration?: Configuration) {
|
|
1517
|
+
const localVarAxiosParamCreator = SourcesAccountsCCApiAxiosParamCreator(configuration)
|
|
1518
|
+
return {
|
|
1519
|
+
/**
|
|
1520
|
+
* Exports a CSV of the accounts for a particular source.
|
|
1521
|
+
* @summary Export Account Feed
|
|
1522
|
+
* @param {string} id
|
|
1523
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1524
|
+
* @throws {RequiredError}
|
|
1525
|
+
*/
|
|
1526
|
+
async exportAccountFeed(id: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportAccountFeed(id, axiosOptions);
|
|
1528
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1529
|
+
},
|
|
1530
|
+
}
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* SourcesAccountsCCApi - factory interface
|
|
1535
|
+
* @export
|
|
1536
|
+
*/
|
|
1537
|
+
export const SourcesAccountsCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1538
|
+
const localVarFp = SourcesAccountsCCApiFp(configuration)
|
|
1539
|
+
return {
|
|
1540
|
+
/**
|
|
1541
|
+
* Exports a CSV of the accounts for a particular source.
|
|
1542
|
+
* @summary Export Account Feed
|
|
1543
|
+
* @param {string} id
|
|
1544
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1545
|
+
* @throws {RequiredError}
|
|
1546
|
+
*/
|
|
1547
|
+
exportAccountFeed(id: string, axiosOptions?: any): AxiosPromise<void> {
|
|
1548
|
+
return localVarFp.exportAccountFeed(id, axiosOptions).then((request) => request(axios, basePath));
|
|
1549
|
+
},
|
|
1550
|
+
};
|
|
1551
|
+
};
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* Request parameters for exportAccountFeed operation in SourcesAccountsCCApi.
|
|
1555
|
+
* @export
|
|
1556
|
+
* @interface SourcesAccountsCCApiExportAccountFeedRequest
|
|
1557
|
+
*/
|
|
1558
|
+
export interface SourcesAccountsCCApiExportAccountFeedRequest {
|
|
1559
|
+
/**
|
|
1560
|
+
*
|
|
1561
|
+
* @type {string}
|
|
1562
|
+
* @memberof SourcesAccountsCCApiExportAccountFeed
|
|
1563
|
+
*/
|
|
1564
|
+
readonly id: string
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
/**
|
|
1568
|
+
* SourcesAccountsCCApi - object-oriented interface
|
|
1569
|
+
* @export
|
|
1570
|
+
* @class SourcesAccountsCCApi
|
|
1571
|
+
* @extends {BaseAPI}
|
|
1572
|
+
*/
|
|
1573
|
+
export class SourcesAccountsCCApi extends BaseAPI {
|
|
1574
|
+
/**
|
|
1575
|
+
* Exports a CSV of the accounts for a particular source.
|
|
1576
|
+
* @summary Export Account Feed
|
|
1577
|
+
* @param {SourcesAccountsCCApiExportAccountFeedRequest} requestParameters Request parameters.
|
|
1578
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1579
|
+
* @throws {RequiredError}
|
|
1580
|
+
* @memberof SourcesAccountsCCApi
|
|
1581
|
+
*/
|
|
1582
|
+
public exportAccountFeed(requestParameters: SourcesAccountsCCApiExportAccountFeedRequest, axiosOptions?: AxiosRequestConfig) {
|
|
1583
|
+
return SourcesAccountsCCApiFp(this.configuration).exportAccountFeed(requestParameters.id, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* SourcesAggregationCCApi - axios parameter creator
|
|
1590
|
+
* @export
|
|
1591
|
+
*/
|
|
1592
|
+
export const SourcesAggregationCCApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1593
|
+
return {
|
|
1594
|
+
/**
|
|
1595
|
+
* Aggregates a delimited file for the given source. This only works for file-based sources.
|
|
1596
|
+
* @summary Account Aggregation (File)
|
|
1597
|
+
* @param {string} id
|
|
1598
|
+
* @param {string} [contentType]
|
|
1599
|
+
* @param {boolean} [disableOptimization]
|
|
1600
|
+
* @param {any} [file]
|
|
1601
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1602
|
+
* @throws {RequiredError}
|
|
1603
|
+
*/
|
|
1604
|
+
loadAccounts: async (id: string, contentType?: string, disableOptimization?: boolean, file?: any, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1605
|
+
// verify required parameter 'id' is not null or undefined
|
|
1606
|
+
assertParamExists('loadAccounts', 'id', id)
|
|
1607
|
+
const localVarPath = `/cc/api/source/loadAccounts/{id}`
|
|
1608
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
1609
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1610
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1611
|
+
let baseOptions;
|
|
1612
|
+
if (configuration) {
|
|
1613
|
+
baseOptions = configuration.baseOptions;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
1617
|
+
const localVarHeaderParameter = {} as any;
|
|
1618
|
+
const localVarQueryParameter = {} as any;
|
|
1619
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
1620
|
+
|
|
1621
|
+
// authentication oauth2 required
|
|
1622
|
+
// oauth required
|
|
1623
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1624
|
+
|
|
1625
|
+
// authentication oauth2 required
|
|
1626
|
+
// oauth required
|
|
1627
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1628
|
+
|
|
1629
|
+
if (contentType !== undefined && contentType !== null) {
|
|
1630
|
+
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
if (disableOptimization !== undefined) {
|
|
1635
|
+
localVarFormParams.append('disableOptimization', disableOptimization as any);
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
if (file !== undefined) {
|
|
1639
|
+
localVarFormParams.append('file', file as any);
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
|
|
1643
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1644
|
+
|
|
1645
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1646
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1647
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1648
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
1649
|
+
|
|
1650
|
+
return {
|
|
1651
|
+
url: toPathString(localVarUrlObj),
|
|
1652
|
+
axiosOptions: localVarRequestOptions,
|
|
1653
|
+
};
|
|
1654
|
+
},
|
|
1655
|
+
}
|
|
1656
|
+
};
|
|
1657
|
+
|
|
1658
|
+
/**
|
|
1659
|
+
* SourcesAggregationCCApi - functional programming interface
|
|
1660
|
+
* @export
|
|
1661
|
+
*/
|
|
1662
|
+
export const SourcesAggregationCCApiFp = function(configuration?: Configuration) {
|
|
1663
|
+
const localVarAxiosParamCreator = SourcesAggregationCCApiAxiosParamCreator(configuration)
|
|
1664
|
+
return {
|
|
1665
|
+
/**
|
|
1666
|
+
* Aggregates a delimited file for the given source. This only works for file-based sources.
|
|
1667
|
+
* @summary Account Aggregation (File)
|
|
1668
|
+
* @param {string} id
|
|
1669
|
+
* @param {string} [contentType]
|
|
1670
|
+
* @param {boolean} [disableOptimization]
|
|
1671
|
+
* @param {any} [file]
|
|
1672
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1673
|
+
* @throws {RequiredError}
|
|
1674
|
+
*/
|
|
1675
|
+
async loadAccounts(id: string, contentType?: string, disableOptimization?: boolean, file?: any, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.loadAccounts(id, contentType, disableOptimization, file, axiosOptions);
|
|
1677
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1678
|
+
},
|
|
1679
|
+
}
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* SourcesAggregationCCApi - factory interface
|
|
1684
|
+
* @export
|
|
1685
|
+
*/
|
|
1686
|
+
export const SourcesAggregationCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1687
|
+
const localVarFp = SourcesAggregationCCApiFp(configuration)
|
|
1688
|
+
return {
|
|
1689
|
+
/**
|
|
1690
|
+
* Aggregates a delimited file for the given source. This only works for file-based sources.
|
|
1691
|
+
* @summary Account Aggregation (File)
|
|
1692
|
+
* @param {string} id
|
|
1693
|
+
* @param {string} [contentType]
|
|
1694
|
+
* @param {boolean} [disableOptimization]
|
|
1695
|
+
* @param {any} [file]
|
|
1696
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1697
|
+
* @throws {RequiredError}
|
|
1698
|
+
*/
|
|
1699
|
+
loadAccounts(id: string, contentType?: string, disableOptimization?: boolean, file?: any, axiosOptions?: any): AxiosPromise<void> {
|
|
1700
|
+
return localVarFp.loadAccounts(id, contentType, disableOptimization, file, axiosOptions).then((request) => request(axios, basePath));
|
|
1701
|
+
},
|
|
1702
|
+
};
|
|
1703
|
+
};
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* Request parameters for loadAccounts operation in SourcesAggregationCCApi.
|
|
1707
|
+
* @export
|
|
1708
|
+
* @interface SourcesAggregationCCApiLoadAccountsRequest
|
|
1709
|
+
*/
|
|
1710
|
+
export interface SourcesAggregationCCApiLoadAccountsRequest {
|
|
1711
|
+
/**
|
|
1712
|
+
*
|
|
1713
|
+
* @type {string}
|
|
1714
|
+
* @memberof SourcesAggregationCCApiLoadAccounts
|
|
1715
|
+
*/
|
|
1716
|
+
readonly id: string
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
*
|
|
1720
|
+
* @type {string}
|
|
1721
|
+
* @memberof SourcesAggregationCCApiLoadAccounts
|
|
1722
|
+
*/
|
|
1723
|
+
readonly contentType?: string
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
*
|
|
1727
|
+
* @type {boolean}
|
|
1728
|
+
* @memberof SourcesAggregationCCApiLoadAccounts
|
|
1729
|
+
*/
|
|
1730
|
+
readonly disableOptimization?: boolean
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
*
|
|
1734
|
+
* @type {any}
|
|
1735
|
+
* @memberof SourcesAggregationCCApiLoadAccounts
|
|
1736
|
+
*/
|
|
1737
|
+
readonly file?: any
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* SourcesAggregationCCApi - object-oriented interface
|
|
1742
|
+
* @export
|
|
1743
|
+
* @class SourcesAggregationCCApi
|
|
1744
|
+
* @extends {BaseAPI}
|
|
1745
|
+
*/
|
|
1746
|
+
export class SourcesAggregationCCApi extends BaseAPI {
|
|
1747
|
+
/**
|
|
1748
|
+
* Aggregates a delimited file for the given source. This only works for file-based sources.
|
|
1749
|
+
* @summary Account Aggregation (File)
|
|
1750
|
+
* @param {SourcesAggregationCCApiLoadAccountsRequest} requestParameters Request parameters.
|
|
1751
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1752
|
+
* @throws {RequiredError}
|
|
1753
|
+
* @memberof SourcesAggregationCCApi
|
|
1754
|
+
*/
|
|
1755
|
+
public loadAccounts(requestParameters: SourcesAggregationCCApiLoadAccountsRequest, axiosOptions?: AxiosRequestConfig) {
|
|
1756
|
+
return SourcesAggregationCCApiFp(this.configuration).loadAccounts(requestParameters.id, requestParameters.contentType, requestParameters.disableOptimization, requestParameters.file, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
/**
|
|
1762
|
+
* SystemCCApi - axios parameter creator
|
|
1763
|
+
* @export
|
|
1764
|
+
*/
|
|
1765
|
+
export const SystemCCApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1766
|
+
return {
|
|
1767
|
+
/**
|
|
1768
|
+
* This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
|
|
1769
|
+
* @summary Refresh Identities
|
|
1770
|
+
* @param {string} [contentType]
|
|
1771
|
+
* @param {string} [body]
|
|
1772
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1773
|
+
* @throws {RequiredError}
|
|
1774
|
+
*/
|
|
1775
|
+
refreshIdentities: async (contentType?: string, body?: string, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1776
|
+
const localVarPath = `/cc/api/system/refreshIdentities`;
|
|
1777
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1778
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1779
|
+
let baseOptions;
|
|
1780
|
+
if (configuration) {
|
|
1781
|
+
baseOptions = configuration.baseOptions;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
1785
|
+
const localVarHeaderParameter = {} as any;
|
|
1786
|
+
const localVarQueryParameter = {} as any;
|
|
1787
|
+
|
|
1788
|
+
// authentication oauth2 required
|
|
1789
|
+
// oauth required
|
|
1790
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1791
|
+
|
|
1792
|
+
// authentication oauth2 required
|
|
1793
|
+
// oauth required
|
|
1794
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1795
|
+
|
|
1796
|
+
if (contentType !== undefined && contentType !== null) {
|
|
1797
|
+
localVarHeaderParameter['Content-Type'] = String(contentType);
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1803
|
+
|
|
1804
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1805
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1806
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1807
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
1808
|
+
|
|
1809
|
+
return {
|
|
1810
|
+
url: toPathString(localVarUrlObj),
|
|
1811
|
+
axiosOptions: localVarRequestOptions,
|
|
1812
|
+
};
|
|
1813
|
+
},
|
|
1814
|
+
}
|
|
1815
|
+
};
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* SystemCCApi - functional programming interface
|
|
1819
|
+
* @export
|
|
1820
|
+
*/
|
|
1821
|
+
export const SystemCCApiFp = function(configuration?: Configuration) {
|
|
1822
|
+
const localVarAxiosParamCreator = SystemCCApiAxiosParamCreator(configuration)
|
|
1823
|
+
return {
|
|
1824
|
+
/**
|
|
1825
|
+
* This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
|
|
1826
|
+
* @summary Refresh Identities
|
|
1827
|
+
* @param {string} [contentType]
|
|
1828
|
+
* @param {string} [body]
|
|
1829
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1830
|
+
* @throws {RequiredError}
|
|
1831
|
+
*/
|
|
1832
|
+
async refreshIdentities(contentType?: string, body?: string, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1833
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.refreshIdentities(contentType, body, axiosOptions);
|
|
1834
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1835
|
+
},
|
|
1836
|
+
}
|
|
1837
|
+
};
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* SystemCCApi - factory interface
|
|
1841
|
+
* @export
|
|
1842
|
+
*/
|
|
1843
|
+
export const SystemCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1844
|
+
const localVarFp = SystemCCApiFp(configuration)
|
|
1845
|
+
return {
|
|
1846
|
+
/**
|
|
1847
|
+
* This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
|
|
1848
|
+
* @summary Refresh Identities
|
|
1849
|
+
* @param {string} [contentType]
|
|
1850
|
+
* @param {string} [body]
|
|
1851
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1852
|
+
* @throws {RequiredError}
|
|
1853
|
+
*/
|
|
1854
|
+
refreshIdentities(contentType?: string, body?: string, axiosOptions?: any): AxiosPromise<void> {
|
|
1855
|
+
return localVarFp.refreshIdentities(contentType, body, axiosOptions).then((request) => request(axios, basePath));
|
|
1856
|
+
},
|
|
1857
|
+
};
|
|
1858
|
+
};
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* Request parameters for refreshIdentities operation in SystemCCApi.
|
|
1862
|
+
* @export
|
|
1863
|
+
* @interface SystemCCApiRefreshIdentitiesRequest
|
|
1864
|
+
*/
|
|
1865
|
+
export interface SystemCCApiRefreshIdentitiesRequest {
|
|
1866
|
+
/**
|
|
1867
|
+
*
|
|
1868
|
+
* @type {string}
|
|
1869
|
+
* @memberof SystemCCApiRefreshIdentities
|
|
1870
|
+
*/
|
|
1871
|
+
readonly contentType?: string
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
*
|
|
1875
|
+
* @type {string}
|
|
1876
|
+
* @memberof SystemCCApiRefreshIdentities
|
|
1877
|
+
*/
|
|
1878
|
+
readonly body?: string
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* SystemCCApi - object-oriented interface
|
|
1883
|
+
* @export
|
|
1884
|
+
* @class SystemCCApi
|
|
1885
|
+
* @extends {BaseAPI}
|
|
1886
|
+
*/
|
|
1887
|
+
export class SystemCCApi extends BaseAPI {
|
|
1888
|
+
/**
|
|
1889
|
+
* This kicks off an identity refresh for a specified set of identity attributes. This can be a long running process. IdentityNow has pre-scheduled versions of this task at set intervals and events already, so only run this when directed by SailPoint. _Note: If the identities specified by the filter do not exist, a full identity refresh will be run. Use with caution._ Refresh Arguments: | Key | Description | |-----------------------|----------------------------------------------------| | correlateEntitlements | Analyzes entitlements, access profiles, and roles. | | promoteAttributes | Calculates identity attributes. | | refreshManagerStatus | Calculates manager correlation and manager status. | | synchronizeAttributes | Performs attribute sync provisioning. | | pruneIdentities | Removes any identities which don\'t have accounts. | | provision | Provisions any assigned roles or access profiles. |
|
|
1890
|
+
* @summary Refresh Identities
|
|
1891
|
+
* @param {SystemCCApiRefreshIdentitiesRequest} requestParameters Request parameters.
|
|
1892
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1893
|
+
* @throws {RequiredError}
|
|
1894
|
+
* @memberof SystemCCApi
|
|
1895
|
+
*/
|
|
1896
|
+
public refreshIdentities(requestParameters: SystemCCApiRefreshIdentitiesRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
1897
|
+
return SystemCCApiFp(this.configuration).refreshIdentities(requestParameters.contentType, requestParameters.body, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* UserCCApi - axios parameter creator
|
|
1904
|
+
* @export
|
|
1905
|
+
*/
|
|
1906
|
+
export const UserCCApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1907
|
+
return {
|
|
1908
|
+
/**
|
|
1909
|
+
*
|
|
1910
|
+
* @summary Update User Permissions
|
|
1911
|
+
* @param {UpdateUserPermissionsRequestCC} [updateUserPermissionsRequestCC]
|
|
1912
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1913
|
+
* @throws {RequiredError}
|
|
1914
|
+
*/
|
|
1915
|
+
updateUserPermissions: async (updateUserPermissionsRequestCC?: UpdateUserPermissionsRequestCC, axiosOptions: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1916
|
+
const localVarPath = `/cc/api/user/updatePermissions`;
|
|
1917
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1918
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1919
|
+
let baseOptions;
|
|
1920
|
+
if (configuration) {
|
|
1921
|
+
baseOptions = configuration.baseOptions;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...axiosOptions};
|
|
1925
|
+
const localVarHeaderParameter = {} as any;
|
|
1926
|
+
const localVarQueryParameter = {} as any;
|
|
1927
|
+
|
|
1928
|
+
// authentication oauth2 required
|
|
1929
|
+
// oauth required
|
|
1930
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1931
|
+
|
|
1932
|
+
// authentication oauth2 required
|
|
1933
|
+
// oauth required
|
|
1934
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", [], configuration)
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
|
|
1938
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1939
|
+
|
|
1940
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1941
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1942
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...axiosOptions.headers};
|
|
1943
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateUserPermissionsRequestCC, localVarRequestOptions, configuration)
|
|
1944
|
+
|
|
1945
|
+
return {
|
|
1946
|
+
url: toPathString(localVarUrlObj),
|
|
1947
|
+
axiosOptions: localVarRequestOptions,
|
|
1948
|
+
};
|
|
1949
|
+
},
|
|
1950
|
+
}
|
|
1951
|
+
};
|
|
1952
|
+
|
|
1953
|
+
/**
|
|
1954
|
+
* UserCCApi - functional programming interface
|
|
1955
|
+
* @export
|
|
1956
|
+
*/
|
|
1957
|
+
export const UserCCApiFp = function(configuration?: Configuration) {
|
|
1958
|
+
const localVarAxiosParamCreator = UserCCApiAxiosParamCreator(configuration)
|
|
1959
|
+
return {
|
|
1960
|
+
/**
|
|
1961
|
+
*
|
|
1962
|
+
* @summary Update User Permissions
|
|
1963
|
+
* @param {UpdateUserPermissionsRequestCC} [updateUserPermissionsRequestCC]
|
|
1964
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1965
|
+
* @throws {RequiredError}
|
|
1966
|
+
*/
|
|
1967
|
+
async updateUserPermissions(updateUserPermissionsRequestCC?: UpdateUserPermissionsRequestCC, axiosOptions?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserPermissions(updateUserPermissionsRequestCC, axiosOptions);
|
|
1969
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1970
|
+
},
|
|
1971
|
+
}
|
|
1972
|
+
};
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
* UserCCApi - factory interface
|
|
1976
|
+
* @export
|
|
1977
|
+
*/
|
|
1978
|
+
export const UserCCApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1979
|
+
const localVarFp = UserCCApiFp(configuration)
|
|
1980
|
+
return {
|
|
1981
|
+
/**
|
|
1982
|
+
*
|
|
1983
|
+
* @summary Update User Permissions
|
|
1984
|
+
* @param {UpdateUserPermissionsRequestCC} [updateUserPermissionsRequestCC]
|
|
1985
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
1986
|
+
* @throws {RequiredError}
|
|
1987
|
+
*/
|
|
1988
|
+
updateUserPermissions(updateUserPermissionsRequestCC?: UpdateUserPermissionsRequestCC, axiosOptions?: any): AxiosPromise<void> {
|
|
1989
|
+
return localVarFp.updateUserPermissions(updateUserPermissionsRequestCC, axiosOptions).then((request) => request(axios, basePath));
|
|
1990
|
+
},
|
|
1991
|
+
};
|
|
1992
|
+
};
|
|
1993
|
+
|
|
1994
|
+
/**
|
|
1995
|
+
* Request parameters for updateUserPermissions operation in UserCCApi.
|
|
1996
|
+
* @export
|
|
1997
|
+
* @interface UserCCApiUpdateUserPermissionsRequest
|
|
1998
|
+
*/
|
|
1999
|
+
export interface UserCCApiUpdateUserPermissionsRequest {
|
|
2000
|
+
/**
|
|
2001
|
+
*
|
|
2002
|
+
* @type {UpdateUserPermissionsRequestCC}
|
|
2003
|
+
* @memberof UserCCApiUpdateUserPermissions
|
|
2004
|
+
*/
|
|
2005
|
+
readonly updateUserPermissionsRequestCC?: UpdateUserPermissionsRequestCC
|
|
2006
|
+
}
|
|
2007
|
+
|
|
2008
|
+
/**
|
|
2009
|
+
* UserCCApi - object-oriented interface
|
|
2010
|
+
* @export
|
|
2011
|
+
* @class UserCCApi
|
|
2012
|
+
* @extends {BaseAPI}
|
|
2013
|
+
*/
|
|
2014
|
+
export class UserCCApi extends BaseAPI {
|
|
2015
|
+
/**
|
|
2016
|
+
*
|
|
2017
|
+
* @summary Update User Permissions
|
|
2018
|
+
* @param {UserCCApiUpdateUserPermissionsRequest} requestParameters Request parameters.
|
|
2019
|
+
* @param {*} [axiosOptions] Override http request option.
|
|
2020
|
+
* @throws {RequiredError}
|
|
2021
|
+
* @memberof UserCCApi
|
|
2022
|
+
*/
|
|
2023
|
+
public updateUserPermissions(requestParameters: UserCCApiUpdateUserPermissionsRequest = {}, axiosOptions?: AxiosRequestConfig) {
|
|
2024
|
+
return UserCCApiFp(this.configuration).updateUserPermissions(requestParameters.updateUserPermissionsRequestCC, axiosOptions).then((request) => request(this.axios, this.basePath));
|
|
2025
|
+
}
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2028
|
+
|