@gooddata/api-client-tiger 11.27.0-alpha.4 → 11.27.0-alpha.5
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/api-client-tiger.d.ts +4112 -2317
- package/esm/endpoints/genAI/index.d.ts +2 -1
- package/esm/endpoints/genAI/index.d.ts.map +1 -1
- package/esm/endpoints/genAI/index.js +2 -1
- package/esm/endpoints/genAI/index.js.map +1 -1
- package/esm/generated/afm-rest-api/api.d.ts +4 -338
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +2 -349
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/ai-json-api/api.d.ts +1412 -0
- package/esm/generated/ai-json-api/api.d.ts.map +1 -0
- package/esm/generated/ai-json-api/api.js +914 -0
- package/esm/generated/ai-json-api/api.js.map +1 -0
- package/esm/generated/ai-json-api/base.d.ts +43 -0
- package/esm/generated/ai-json-api/base.d.ts.map +1 -0
- package/esm/generated/ai-json-api/base.js +33 -0
- package/esm/generated/ai-json-api/base.js.map +1 -0
- package/esm/generated/ai-json-api/common.d.ts +66 -0
- package/esm/generated/ai-json-api/common.d.ts.map +1 -0
- package/esm/generated/ai-json-api/common.js +122 -0
- package/esm/generated/ai-json-api/common.js.map +1 -0
- package/esm/generated/ai-json-api/configuration.d.ts +75 -0
- package/esm/generated/ai-json-api/configuration.d.ts.map +1 -0
- package/esm/generated/ai-json-api/configuration.js +72 -0
- package/esm/generated/ai-json-api/configuration.js.map +1 -0
- package/esm/generated/ai-json-api/index.d.ts +14 -0
- package/esm/generated/ai-json-api/index.d.ts.map +1 -0
- package/esm/generated/ai-json-api/index.js +16 -0
- package/esm/generated/ai-json-api/index.js.map +1 -0
- package/esm/generated/auth-json-api/api.d.ts +511 -0
- package/esm/generated/auth-json-api/api.d.ts.map +1 -1
- package/esm/generated/auth-json-api/api.js +650 -0
- package/esm/generated/auth-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/api.d.ts +2281 -2110
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +2345 -2219
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/index.d.ts +3 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +6 -1
- package/esm/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -85,6 +85,87 @@ export class ActionsApi extends BaseAPI {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
// AuthenticationApi FP - AuthenticationApiAxiosParamCreator
|
|
88
|
+
/**
|
|
89
|
+
* Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
90
|
+
* @summary Create a user
|
|
91
|
+
* @param {AuthUser} authUser
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
94
|
+
* @throws {RequiredError}
|
|
95
|
+
*/
|
|
96
|
+
export async function AuthenticationApiAxiosParamCreator_CreateUser(authUser, options = {}, configuration) {
|
|
97
|
+
// verify required parameter 'authUser' is not null or undefined
|
|
98
|
+
assertParamExists('createUser', 'authUser', authUser);
|
|
99
|
+
const localVarPath = `/api/v1/auth/users`;
|
|
100
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
|
+
let baseOptions;
|
|
103
|
+
if (configuration) {
|
|
104
|
+
baseOptions = configuration.baseOptions;
|
|
105
|
+
}
|
|
106
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
107
|
+
const localVarHeaderParameter = {};
|
|
108
|
+
const localVarQueryParameter = {};
|
|
109
|
+
const consumes = [
|
|
110
|
+
'application/json'
|
|
111
|
+
];
|
|
112
|
+
// use application/json if present, otherwise fallback to the first one
|
|
113
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
114
|
+
? 'application/json'
|
|
115
|
+
: consumes[0];
|
|
116
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
118
|
+
localVarRequestOptions.headers = {
|
|
119
|
+
...localVarHeaderParameter,
|
|
120
|
+
...headersFromBaseOptions,
|
|
121
|
+
...options.headers,
|
|
122
|
+
};
|
|
123
|
+
const needsSerialization = typeof authUser !== "string" ||
|
|
124
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
125
|
+
localVarRequestOptions.data = needsSerialization
|
|
126
|
+
? JSON.stringify(authUser !== undefined ? authUser : {})
|
|
127
|
+
: authUser || "";
|
|
128
|
+
return {
|
|
129
|
+
url: toPathString(localVarUrlObj),
|
|
130
|
+
options: localVarRequestOptions,
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
// AuthenticationApi FP - AuthenticationApiAxiosParamCreator
|
|
134
|
+
/**
|
|
135
|
+
* Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
136
|
+
* @summary Delete a user
|
|
137
|
+
* @param {string} userEmail
|
|
138
|
+
* @param {*} [options] Override http request option.
|
|
139
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
export async function AuthenticationApiAxiosParamCreator_DeleteUser(userEmail, options = {}, configuration) {
|
|
143
|
+
// verify required parameter 'userEmail' is not null or undefined
|
|
144
|
+
assertParamExists('deleteUser', 'userEmail', userEmail);
|
|
145
|
+
const localVarPath = `/api/v1/auth/users/{userEmail}`
|
|
146
|
+
.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
|
|
147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
149
|
+
let baseOptions;
|
|
150
|
+
if (configuration) {
|
|
151
|
+
baseOptions = configuration.baseOptions;
|
|
152
|
+
}
|
|
153
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
154
|
+
const localVarHeaderParameter = {};
|
|
155
|
+
const localVarQueryParameter = {};
|
|
156
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
157
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
158
|
+
localVarRequestOptions.headers = {
|
|
159
|
+
...localVarHeaderParameter,
|
|
160
|
+
...headersFromBaseOptions,
|
|
161
|
+
...options.headers,
|
|
162
|
+
};
|
|
163
|
+
return {
|
|
164
|
+
url: toPathString(localVarUrlObj),
|
|
165
|
+
options: localVarRequestOptions,
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
// AuthenticationApi FP - AuthenticationApiAxiosParamCreator
|
|
88
169
|
/**
|
|
89
170
|
* Returns a Profile including Organization and Current User Information.
|
|
90
171
|
* @summary Get Profile
|
|
@@ -115,6 +196,152 @@ export async function AuthenticationApiAxiosParamCreator_GetProfile(options = {}
|
|
|
115
196
|
options: localVarRequestOptions,
|
|
116
197
|
};
|
|
117
198
|
}
|
|
199
|
+
// AuthenticationApi FP - AuthenticationApiAxiosParamCreator
|
|
200
|
+
/**
|
|
201
|
+
* Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
202
|
+
* @summary Get a user
|
|
203
|
+
* @param {string} userEmail
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
export async function AuthenticationApiAxiosParamCreator_GetUser(userEmail, options = {}, configuration) {
|
|
209
|
+
// verify required parameter 'userEmail' is not null or undefined
|
|
210
|
+
assertParamExists('getUser', 'userEmail', userEmail);
|
|
211
|
+
const localVarPath = `/api/v1/auth/users/{userEmail}`
|
|
212
|
+
.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
|
|
213
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
214
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
215
|
+
let baseOptions;
|
|
216
|
+
if (configuration) {
|
|
217
|
+
baseOptions = configuration.baseOptions;
|
|
218
|
+
}
|
|
219
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
220
|
+
const localVarHeaderParameter = {};
|
|
221
|
+
const localVarQueryParameter = {};
|
|
222
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
223
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
224
|
+
localVarRequestOptions.headers = {
|
|
225
|
+
...localVarHeaderParameter,
|
|
226
|
+
...headersFromBaseOptions,
|
|
227
|
+
...options.headers,
|
|
228
|
+
};
|
|
229
|
+
return {
|
|
230
|
+
url: toPathString(localVarUrlObj),
|
|
231
|
+
options: localVarRequestOptions,
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
// AuthenticationApi FP - AuthenticationApiAxiosParamCreator
|
|
235
|
+
/**
|
|
236
|
+
* Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
237
|
+
* @summary Get all users
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
export async function AuthenticationApiAxiosParamCreator_GetUsers(options = {}, configuration) {
|
|
243
|
+
const localVarPath = `/api/v1/auth/users`;
|
|
244
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
245
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
246
|
+
let baseOptions;
|
|
247
|
+
if (configuration) {
|
|
248
|
+
baseOptions = configuration.baseOptions;
|
|
249
|
+
}
|
|
250
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
251
|
+
const localVarHeaderParameter = {};
|
|
252
|
+
const localVarQueryParameter = {};
|
|
253
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
254
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
255
|
+
localVarRequestOptions.headers = {
|
|
256
|
+
...localVarHeaderParameter,
|
|
257
|
+
...headersFromBaseOptions,
|
|
258
|
+
...options.headers,
|
|
259
|
+
};
|
|
260
|
+
return {
|
|
261
|
+
url: toPathString(localVarUrlObj),
|
|
262
|
+
options: localVarRequestOptions,
|
|
263
|
+
};
|
|
264
|
+
}
|
|
265
|
+
// AuthenticationApi FP - AuthenticationApiAxiosParamCreator
|
|
266
|
+
/**
|
|
267
|
+
* Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
268
|
+
* @summary Update a user
|
|
269
|
+
* @param {string} userEmail
|
|
270
|
+
* @param {AuthUser} authUser
|
|
271
|
+
* @param {*} [options] Override http request option.
|
|
272
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
export async function AuthenticationApiAxiosParamCreator_UpdateUser(userEmail, authUser, options = {}, configuration) {
|
|
276
|
+
// verify required parameter 'userEmail' is not null or undefined
|
|
277
|
+
assertParamExists('updateUser', 'userEmail', userEmail);
|
|
278
|
+
// verify required parameter 'authUser' is not null or undefined
|
|
279
|
+
assertParamExists('updateUser', 'authUser', authUser);
|
|
280
|
+
const localVarPath = `/api/v1/auth/users/{userEmail}`
|
|
281
|
+
.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
|
|
282
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
283
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
284
|
+
let baseOptions;
|
|
285
|
+
if (configuration) {
|
|
286
|
+
baseOptions = configuration.baseOptions;
|
|
287
|
+
}
|
|
288
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
289
|
+
const localVarHeaderParameter = {};
|
|
290
|
+
const localVarQueryParameter = {};
|
|
291
|
+
const consumes = [
|
|
292
|
+
'application/json'
|
|
293
|
+
];
|
|
294
|
+
// use application/json if present, otherwise fallback to the first one
|
|
295
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
296
|
+
? 'application/json'
|
|
297
|
+
: consumes[0];
|
|
298
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
299
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
300
|
+
localVarRequestOptions.headers = {
|
|
301
|
+
...localVarHeaderParameter,
|
|
302
|
+
...headersFromBaseOptions,
|
|
303
|
+
...options.headers,
|
|
304
|
+
};
|
|
305
|
+
const needsSerialization = typeof authUser !== "string" ||
|
|
306
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
307
|
+
localVarRequestOptions.data = needsSerialization
|
|
308
|
+
? JSON.stringify(authUser !== undefined ? authUser : {})
|
|
309
|
+
: authUser || "";
|
|
310
|
+
return {
|
|
311
|
+
url: toPathString(localVarUrlObj),
|
|
312
|
+
options: localVarRequestOptions,
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
// AuthenticationApi Api FP
|
|
316
|
+
/**
|
|
317
|
+
* Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
318
|
+
* @summary Create a user
|
|
319
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
320
|
+
* @param {string} basePath Base path.
|
|
321
|
+
* @param {AuthenticationApiCreateUserRequest} requestParameters Request parameters.
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
export async function AuthenticationApi_CreateUser(axios, basePath, requestParameters, options, configuration) {
|
|
327
|
+
const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_CreateUser(requestParameters.authUser, options || {}, configuration);
|
|
328
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
329
|
+
}
|
|
330
|
+
// AuthenticationApi Api FP
|
|
331
|
+
/**
|
|
332
|
+
* Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
333
|
+
* @summary Delete a user
|
|
334
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
335
|
+
* @param {string} basePath Base path.
|
|
336
|
+
* @param {AuthenticationApiDeleteUserRequest} requestParameters Request parameters.
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
339
|
+
* @throws {RequiredError}
|
|
340
|
+
*/
|
|
341
|
+
export async function AuthenticationApi_DeleteUser(axios, basePath, requestParameters, options, configuration) {
|
|
342
|
+
const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_DeleteUser(requestParameters.userEmail, options || {}, configuration);
|
|
343
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
344
|
+
}
|
|
118
345
|
// AuthenticationApi Api FP
|
|
119
346
|
/**
|
|
120
347
|
* Returns a Profile including Organization and Current User Information.
|
|
@@ -129,6 +356,50 @@ export async function AuthenticationApi_GetProfile(axios, basePath, options, con
|
|
|
129
356
|
const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_GetProfile(options || {}, configuration);
|
|
130
357
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
131
358
|
}
|
|
359
|
+
// AuthenticationApi Api FP
|
|
360
|
+
/**
|
|
361
|
+
* Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
362
|
+
* @summary Get a user
|
|
363
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
364
|
+
* @param {string} basePath Base path.
|
|
365
|
+
* @param {AuthenticationApiGetUserRequest} requestParameters Request parameters.
|
|
366
|
+
* @param {*} [options] Override http request option.
|
|
367
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
368
|
+
* @throws {RequiredError}
|
|
369
|
+
*/
|
|
370
|
+
export async function AuthenticationApi_GetUser(axios, basePath, requestParameters, options, configuration) {
|
|
371
|
+
const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_GetUser(requestParameters.userEmail, options || {}, configuration);
|
|
372
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
373
|
+
}
|
|
374
|
+
// AuthenticationApi Api FP
|
|
375
|
+
/**
|
|
376
|
+
* Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
377
|
+
* @summary Get all users
|
|
378
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
379
|
+
* @param {string} basePath Base path.
|
|
380
|
+
* @param {*} [options] Override http request option.
|
|
381
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
382
|
+
* @throws {RequiredError}
|
|
383
|
+
*/
|
|
384
|
+
export async function AuthenticationApi_GetUsers(axios, basePath, options, configuration) {
|
|
385
|
+
const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_GetUsers(options || {}, configuration);
|
|
386
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
387
|
+
}
|
|
388
|
+
// AuthenticationApi Api FP
|
|
389
|
+
/**
|
|
390
|
+
* Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
391
|
+
* @summary Update a user
|
|
392
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
393
|
+
* @param {string} basePath Base path.
|
|
394
|
+
* @param {AuthenticationApiUpdateUserRequest} requestParameters Request parameters.
|
|
395
|
+
* @param {*} [options] Override http request option.
|
|
396
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
397
|
+
* @throws {RequiredError}
|
|
398
|
+
*/
|
|
399
|
+
export async function AuthenticationApi_UpdateUser(axios, basePath, requestParameters, options, configuration) {
|
|
400
|
+
const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_UpdateUser(requestParameters.userEmail, requestParameters.authUser, options || {}, configuration);
|
|
401
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
402
|
+
}
|
|
132
403
|
/**
|
|
133
404
|
* AuthenticationApi - object-oriented interface
|
|
134
405
|
* @export
|
|
@@ -136,6 +407,28 @@ export async function AuthenticationApi_GetProfile(axios, basePath, options, con
|
|
|
136
407
|
* @extends {BaseAPI}
|
|
137
408
|
*/
|
|
138
409
|
export class AuthenticationApi extends BaseAPI {
|
|
410
|
+
/**
|
|
411
|
+
* Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
412
|
+
* @summary Create a user
|
|
413
|
+
* @param {AuthenticationApiCreateUserRequest} requestParameters Request parameters.
|
|
414
|
+
* @param {*} [options] Override http request option.
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
* @memberof AuthenticationApi
|
|
417
|
+
*/
|
|
418
|
+
createUser(requestParameters, options) {
|
|
419
|
+
return AuthenticationApi_CreateUser(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
420
|
+
}
|
|
421
|
+
/**
|
|
422
|
+
* Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
423
|
+
* @summary Delete a user
|
|
424
|
+
* @param {AuthenticationApiDeleteUserRequest} requestParameters Request parameters.
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
* @memberof AuthenticationApi
|
|
428
|
+
*/
|
|
429
|
+
deleteUser(requestParameters, options) {
|
|
430
|
+
return AuthenticationApi_DeleteUser(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
431
|
+
}
|
|
139
432
|
/**
|
|
140
433
|
* Returns a Profile including Organization and Current User Information.
|
|
141
434
|
* @summary Get Profile
|
|
@@ -146,6 +439,119 @@ export class AuthenticationApi extends BaseAPI {
|
|
|
146
439
|
getProfile(options) {
|
|
147
440
|
return AuthenticationApi_GetProfile(this.axios, this.basePath, options, this.configuration);
|
|
148
441
|
}
|
|
442
|
+
/**
|
|
443
|
+
* Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
444
|
+
* @summary Get a user
|
|
445
|
+
* @param {AuthenticationApiGetUserRequest} requestParameters Request parameters.
|
|
446
|
+
* @param {*} [options] Override http request option.
|
|
447
|
+
* @throws {RequiredError}
|
|
448
|
+
* @memberof AuthenticationApi
|
|
449
|
+
*/
|
|
450
|
+
getUser(requestParameters, options) {
|
|
451
|
+
return AuthenticationApi_GetUser(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
455
|
+
* @summary Get all users
|
|
456
|
+
* @param {*} [options] Override http request option.
|
|
457
|
+
* @throws {RequiredError}
|
|
458
|
+
* @memberof AuthenticationApi
|
|
459
|
+
*/
|
|
460
|
+
getUsers(options) {
|
|
461
|
+
return AuthenticationApi_GetUsers(this.axios, this.basePath, options, this.configuration);
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
465
|
+
* @summary Update a user
|
|
466
|
+
* @param {AuthenticationApiUpdateUserRequest} requestParameters Request parameters.
|
|
467
|
+
* @param {*} [options] Override http request option.
|
|
468
|
+
* @throws {RequiredError}
|
|
469
|
+
* @memberof AuthenticationApi
|
|
470
|
+
*/
|
|
471
|
+
updateUser(requestParameters, options) {
|
|
472
|
+
return AuthenticationApi_UpdateUser(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
// UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
|
|
476
|
+
/**
|
|
477
|
+
* Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
478
|
+
* @summary Create a user
|
|
479
|
+
* @param {AuthUser} authUser
|
|
480
|
+
* @param {*} [options] Override http request option.
|
|
481
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
482
|
+
* @throws {RequiredError}
|
|
483
|
+
*/
|
|
484
|
+
export async function UserAuthorizationApiAxiosParamCreator_CreateUser(authUser, options = {}, configuration) {
|
|
485
|
+
// verify required parameter 'authUser' is not null or undefined
|
|
486
|
+
assertParamExists('createUser', 'authUser', authUser);
|
|
487
|
+
const localVarPath = `/api/v1/auth/users`;
|
|
488
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
489
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
490
|
+
let baseOptions;
|
|
491
|
+
if (configuration) {
|
|
492
|
+
baseOptions = configuration.baseOptions;
|
|
493
|
+
}
|
|
494
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
495
|
+
const localVarHeaderParameter = {};
|
|
496
|
+
const localVarQueryParameter = {};
|
|
497
|
+
const consumes = [
|
|
498
|
+
'application/json'
|
|
499
|
+
];
|
|
500
|
+
// use application/json if present, otherwise fallback to the first one
|
|
501
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
502
|
+
? 'application/json'
|
|
503
|
+
: consumes[0];
|
|
504
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
505
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
506
|
+
localVarRequestOptions.headers = {
|
|
507
|
+
...localVarHeaderParameter,
|
|
508
|
+
...headersFromBaseOptions,
|
|
509
|
+
...options.headers,
|
|
510
|
+
};
|
|
511
|
+
const needsSerialization = typeof authUser !== "string" ||
|
|
512
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
513
|
+
localVarRequestOptions.data = needsSerialization
|
|
514
|
+
? JSON.stringify(authUser !== undefined ? authUser : {})
|
|
515
|
+
: authUser || "";
|
|
516
|
+
return {
|
|
517
|
+
url: toPathString(localVarUrlObj),
|
|
518
|
+
options: localVarRequestOptions,
|
|
519
|
+
};
|
|
520
|
+
}
|
|
521
|
+
// UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
|
|
522
|
+
/**
|
|
523
|
+
* Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
524
|
+
* @summary Delete a user
|
|
525
|
+
* @param {string} userEmail
|
|
526
|
+
* @param {*} [options] Override http request option.
|
|
527
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
528
|
+
* @throws {RequiredError}
|
|
529
|
+
*/
|
|
530
|
+
export async function UserAuthorizationApiAxiosParamCreator_DeleteUser(userEmail, options = {}, configuration) {
|
|
531
|
+
// verify required parameter 'userEmail' is not null or undefined
|
|
532
|
+
assertParamExists('deleteUser', 'userEmail', userEmail);
|
|
533
|
+
const localVarPath = `/api/v1/auth/users/{userEmail}`
|
|
534
|
+
.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
|
|
535
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
536
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
537
|
+
let baseOptions;
|
|
538
|
+
if (configuration) {
|
|
539
|
+
baseOptions = configuration.baseOptions;
|
|
540
|
+
}
|
|
541
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
542
|
+
const localVarHeaderParameter = {};
|
|
543
|
+
const localVarQueryParameter = {};
|
|
544
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
545
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
546
|
+
localVarRequestOptions.headers = {
|
|
547
|
+
...localVarHeaderParameter,
|
|
548
|
+
...headersFromBaseOptions,
|
|
549
|
+
...options.headers,
|
|
550
|
+
};
|
|
551
|
+
return {
|
|
552
|
+
url: toPathString(localVarUrlObj),
|
|
553
|
+
options: localVarRequestOptions,
|
|
554
|
+
};
|
|
149
555
|
}
|
|
150
556
|
// UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
|
|
151
557
|
/**
|
|
@@ -179,6 +585,72 @@ export async function UserAuthorizationApiAxiosParamCreator_GetProfile(options =
|
|
|
179
585
|
};
|
|
180
586
|
}
|
|
181
587
|
// UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
|
|
588
|
+
/**
|
|
589
|
+
* Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
590
|
+
* @summary Get a user
|
|
591
|
+
* @param {string} userEmail
|
|
592
|
+
* @param {*} [options] Override http request option.
|
|
593
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
594
|
+
* @throws {RequiredError}
|
|
595
|
+
*/
|
|
596
|
+
export async function UserAuthorizationApiAxiosParamCreator_GetUser(userEmail, options = {}, configuration) {
|
|
597
|
+
// verify required parameter 'userEmail' is not null or undefined
|
|
598
|
+
assertParamExists('getUser', 'userEmail', userEmail);
|
|
599
|
+
const localVarPath = `/api/v1/auth/users/{userEmail}`
|
|
600
|
+
.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
|
|
601
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
602
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
603
|
+
let baseOptions;
|
|
604
|
+
if (configuration) {
|
|
605
|
+
baseOptions = configuration.baseOptions;
|
|
606
|
+
}
|
|
607
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
608
|
+
const localVarHeaderParameter = {};
|
|
609
|
+
const localVarQueryParameter = {};
|
|
610
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
611
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
612
|
+
localVarRequestOptions.headers = {
|
|
613
|
+
...localVarHeaderParameter,
|
|
614
|
+
...headersFromBaseOptions,
|
|
615
|
+
...options.headers,
|
|
616
|
+
};
|
|
617
|
+
return {
|
|
618
|
+
url: toPathString(localVarUrlObj),
|
|
619
|
+
options: localVarRequestOptions,
|
|
620
|
+
};
|
|
621
|
+
}
|
|
622
|
+
// UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
|
|
623
|
+
/**
|
|
624
|
+
* Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
625
|
+
* @summary Get all users
|
|
626
|
+
* @param {*} [options] Override http request option.
|
|
627
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
628
|
+
* @throws {RequiredError}
|
|
629
|
+
*/
|
|
630
|
+
export async function UserAuthorizationApiAxiosParamCreator_GetUsers(options = {}, configuration) {
|
|
631
|
+
const localVarPath = `/api/v1/auth/users`;
|
|
632
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
633
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
634
|
+
let baseOptions;
|
|
635
|
+
if (configuration) {
|
|
636
|
+
baseOptions = configuration.baseOptions;
|
|
637
|
+
}
|
|
638
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
639
|
+
const localVarHeaderParameter = {};
|
|
640
|
+
const localVarQueryParameter = {};
|
|
641
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
642
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
643
|
+
localVarRequestOptions.headers = {
|
|
644
|
+
...localVarHeaderParameter,
|
|
645
|
+
...headersFromBaseOptions,
|
|
646
|
+
...options.headers,
|
|
647
|
+
};
|
|
648
|
+
return {
|
|
649
|
+
url: toPathString(localVarUrlObj),
|
|
650
|
+
options: localVarRequestOptions,
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
// UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
|
|
182
654
|
/**
|
|
183
655
|
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
184
656
|
* @summary Invite User
|
|
@@ -224,6 +696,86 @@ export async function UserAuthorizationApiAxiosParamCreator_ProcessInvitation(in
|
|
|
224
696
|
options: localVarRequestOptions,
|
|
225
697
|
};
|
|
226
698
|
}
|
|
699
|
+
// UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
|
|
700
|
+
/**
|
|
701
|
+
* Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
702
|
+
* @summary Update a user
|
|
703
|
+
* @param {string} userEmail
|
|
704
|
+
* @param {AuthUser} authUser
|
|
705
|
+
* @param {*} [options] Override http request option.
|
|
706
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
707
|
+
* @throws {RequiredError}
|
|
708
|
+
*/
|
|
709
|
+
export async function UserAuthorizationApiAxiosParamCreator_UpdateUser(userEmail, authUser, options = {}, configuration) {
|
|
710
|
+
// verify required parameter 'userEmail' is not null or undefined
|
|
711
|
+
assertParamExists('updateUser', 'userEmail', userEmail);
|
|
712
|
+
// verify required parameter 'authUser' is not null or undefined
|
|
713
|
+
assertParamExists('updateUser', 'authUser', authUser);
|
|
714
|
+
const localVarPath = `/api/v1/auth/users/{userEmail}`
|
|
715
|
+
.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
|
|
716
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
717
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
718
|
+
let baseOptions;
|
|
719
|
+
if (configuration) {
|
|
720
|
+
baseOptions = configuration.baseOptions;
|
|
721
|
+
}
|
|
722
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
723
|
+
const localVarHeaderParameter = {};
|
|
724
|
+
const localVarQueryParameter = {};
|
|
725
|
+
const consumes = [
|
|
726
|
+
'application/json'
|
|
727
|
+
];
|
|
728
|
+
// use application/json if present, otherwise fallback to the first one
|
|
729
|
+
localVarHeaderParameter['Content-Type'] = consumes.includes('application/json')
|
|
730
|
+
? 'application/json'
|
|
731
|
+
: consumes[0];
|
|
732
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
733
|
+
const headersFromBaseOptions = baseOptions?.headers ? baseOptions.headers : {};
|
|
734
|
+
localVarRequestOptions.headers = {
|
|
735
|
+
...localVarHeaderParameter,
|
|
736
|
+
...headersFromBaseOptions,
|
|
737
|
+
...options.headers,
|
|
738
|
+
};
|
|
739
|
+
const needsSerialization = typeof authUser !== "string" ||
|
|
740
|
+
localVarRequestOptions.headers["Content-Type"] === "application/json";
|
|
741
|
+
localVarRequestOptions.data = needsSerialization
|
|
742
|
+
? JSON.stringify(authUser !== undefined ? authUser : {})
|
|
743
|
+
: authUser || "";
|
|
744
|
+
return {
|
|
745
|
+
url: toPathString(localVarUrlObj),
|
|
746
|
+
options: localVarRequestOptions,
|
|
747
|
+
};
|
|
748
|
+
}
|
|
749
|
+
// UserAuthorizationApi Api FP
|
|
750
|
+
/**
|
|
751
|
+
* Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
752
|
+
* @summary Create a user
|
|
753
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
754
|
+
* @param {string} basePath Base path.
|
|
755
|
+
* @param {UserAuthorizationApiCreateUserRequest} requestParameters Request parameters.
|
|
756
|
+
* @param {*} [options] Override http request option.
|
|
757
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
export async function UserAuthorizationApi_CreateUser(axios, basePath, requestParameters, options, configuration) {
|
|
761
|
+
const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_CreateUser(requestParameters.authUser, options || {}, configuration);
|
|
762
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
763
|
+
}
|
|
764
|
+
// UserAuthorizationApi Api FP
|
|
765
|
+
/**
|
|
766
|
+
* Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
767
|
+
* @summary Delete a user
|
|
768
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
769
|
+
* @param {string} basePath Base path.
|
|
770
|
+
* @param {UserAuthorizationApiDeleteUserRequest} requestParameters Request parameters.
|
|
771
|
+
* @param {*} [options] Override http request option.
|
|
772
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
773
|
+
* @throws {RequiredError}
|
|
774
|
+
*/
|
|
775
|
+
export async function UserAuthorizationApi_DeleteUser(axios, basePath, requestParameters, options, configuration) {
|
|
776
|
+
const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_DeleteUser(requestParameters.userEmail, options || {}, configuration);
|
|
777
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
778
|
+
}
|
|
227
779
|
// UserAuthorizationApi Api FP
|
|
228
780
|
/**
|
|
229
781
|
* Returns a Profile including Organization and Current User Information.
|
|
@@ -239,6 +791,35 @@ export async function UserAuthorizationApi_GetProfile(axios, basePath, options,
|
|
|
239
791
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
240
792
|
}
|
|
241
793
|
// UserAuthorizationApi Api FP
|
|
794
|
+
/**
|
|
795
|
+
* Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
796
|
+
* @summary Get a user
|
|
797
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
798
|
+
* @param {string} basePath Base path.
|
|
799
|
+
* @param {UserAuthorizationApiGetUserRequest} requestParameters Request parameters.
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
802
|
+
* @throws {RequiredError}
|
|
803
|
+
*/
|
|
804
|
+
export async function UserAuthorizationApi_GetUser(axios, basePath, requestParameters, options, configuration) {
|
|
805
|
+
const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_GetUser(requestParameters.userEmail, options || {}, configuration);
|
|
806
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
807
|
+
}
|
|
808
|
+
// UserAuthorizationApi Api FP
|
|
809
|
+
/**
|
|
810
|
+
* Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
811
|
+
* @summary Get all users
|
|
812
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
813
|
+
* @param {string} basePath Base path.
|
|
814
|
+
* @param {*} [options] Override http request option.
|
|
815
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
816
|
+
* @throws {RequiredError}
|
|
817
|
+
*/
|
|
818
|
+
export async function UserAuthorizationApi_GetUsers(axios, basePath, options, configuration) {
|
|
819
|
+
const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_GetUsers(options || {}, configuration);
|
|
820
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
821
|
+
}
|
|
822
|
+
// UserAuthorizationApi Api FP
|
|
242
823
|
/**
|
|
243
824
|
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
244
825
|
* @summary Invite User
|
|
@@ -253,6 +834,21 @@ export async function UserAuthorizationApi_ProcessInvitation(axios, basePath, re
|
|
|
253
834
|
const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_ProcessInvitation(requestParameters.invitation, options || {}, configuration);
|
|
254
835
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
255
836
|
}
|
|
837
|
+
// UserAuthorizationApi Api FP
|
|
838
|
+
/**
|
|
839
|
+
* Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
840
|
+
* @summary Update a user
|
|
841
|
+
* @param {AxiosInstance} axios Axios instance.
|
|
842
|
+
* @param {string} basePath Base path.
|
|
843
|
+
* @param {UserAuthorizationApiUpdateUserRequest} requestParameters Request parameters.
|
|
844
|
+
* @param {*} [options] Override http request option.
|
|
845
|
+
* @param {Configuration} [configuration] Optional configuration.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
*/
|
|
848
|
+
export async function UserAuthorizationApi_UpdateUser(axios, basePath, requestParameters, options, configuration) {
|
|
849
|
+
const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_UpdateUser(requestParameters.userEmail, requestParameters.authUser, options || {}, configuration);
|
|
850
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
|
|
851
|
+
}
|
|
256
852
|
/**
|
|
257
853
|
* UserAuthorizationApi - object-oriented interface
|
|
258
854
|
* @export
|
|
@@ -260,6 +856,28 @@ export async function UserAuthorizationApi_ProcessInvitation(axios, basePath, re
|
|
|
260
856
|
* @extends {BaseAPI}
|
|
261
857
|
*/
|
|
262
858
|
export class UserAuthorizationApi extends BaseAPI {
|
|
859
|
+
/**
|
|
860
|
+
* Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
861
|
+
* @summary Create a user
|
|
862
|
+
* @param {UserAuthorizationApiCreateUserRequest} requestParameters Request parameters.
|
|
863
|
+
* @param {*} [options] Override http request option.
|
|
864
|
+
* @throws {RequiredError}
|
|
865
|
+
* @memberof UserAuthorizationApi
|
|
866
|
+
*/
|
|
867
|
+
createUser(requestParameters, options) {
|
|
868
|
+
return UserAuthorizationApi_CreateUser(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
872
|
+
* @summary Delete a user
|
|
873
|
+
* @param {UserAuthorizationApiDeleteUserRequest} requestParameters Request parameters.
|
|
874
|
+
* @param {*} [options] Override http request option.
|
|
875
|
+
* @throws {RequiredError}
|
|
876
|
+
* @memberof UserAuthorizationApi
|
|
877
|
+
*/
|
|
878
|
+
deleteUser(requestParameters, options) {
|
|
879
|
+
return UserAuthorizationApi_DeleteUser(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
880
|
+
}
|
|
263
881
|
/**
|
|
264
882
|
* Returns a Profile including Organization and Current User Information.
|
|
265
883
|
* @summary Get Profile
|
|
@@ -270,6 +888,27 @@ export class UserAuthorizationApi extends BaseAPI {
|
|
|
270
888
|
getProfile(options) {
|
|
271
889
|
return UserAuthorizationApi_GetProfile(this.axios, this.basePath, options, this.configuration);
|
|
272
890
|
}
|
|
891
|
+
/**
|
|
892
|
+
* Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
893
|
+
* @summary Get a user
|
|
894
|
+
* @param {UserAuthorizationApiGetUserRequest} requestParameters Request parameters.
|
|
895
|
+
* @param {*} [options] Override http request option.
|
|
896
|
+
* @throws {RequiredError}
|
|
897
|
+
* @memberof UserAuthorizationApi
|
|
898
|
+
*/
|
|
899
|
+
getUser(requestParameters, options) {
|
|
900
|
+
return UserAuthorizationApi_GetUser(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
901
|
+
}
|
|
902
|
+
/**
|
|
903
|
+
* Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
904
|
+
* @summary Get all users
|
|
905
|
+
* @param {*} [options] Override http request option.
|
|
906
|
+
* @throws {RequiredError}
|
|
907
|
+
* @memberof UserAuthorizationApi
|
|
908
|
+
*/
|
|
909
|
+
getUsers(options) {
|
|
910
|
+
return UserAuthorizationApi_GetUsers(this.axios, this.basePath, options, this.configuration);
|
|
911
|
+
}
|
|
273
912
|
/**
|
|
274
913
|
* Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
|
|
275
914
|
* @summary Invite User
|
|
@@ -281,5 +920,16 @@ export class UserAuthorizationApi extends BaseAPI {
|
|
|
281
920
|
processInvitation(requestParameters, options) {
|
|
282
921
|
return UserAuthorizationApi_ProcessInvitation(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
283
922
|
}
|
|
923
|
+
/**
|
|
924
|
+
* Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
|
|
925
|
+
* @summary Update a user
|
|
926
|
+
* @param {UserAuthorizationApiUpdateUserRequest} requestParameters Request parameters.
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
* @memberof UserAuthorizationApi
|
|
930
|
+
*/
|
|
931
|
+
updateUser(requestParameters, options) {
|
|
932
|
+
return UserAuthorizationApi_UpdateUser(this.axios, this.basePath, requestParameters, options, this.configuration);
|
|
933
|
+
}
|
|
284
934
|
}
|
|
285
935
|
//# sourceMappingURL=api.js.map
|