@gooddata/api-client-tiger 11.27.0-alpha.2 → 11.27.0-alpha.4

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.
Files changed (36) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.js +1 -1
  3. package/esm/api-client-tiger.d.ts +6528 -6256
  4. package/esm/endpoints/automation/index.d.ts +1 -1
  5. package/esm/endpoints/automation/index.d.ts.map +1 -1
  6. package/esm/endpoints/automation/index.js +1 -1
  7. package/esm/endpoints/automation/index.js.map +1 -1
  8. package/esm/endpoints/entitiesObjects/index.d.ts +1 -1
  9. package/esm/endpoints/entitiesObjects/index.d.ts.map +1 -1
  10. package/esm/endpoints/entitiesObjects/index.js +2 -0
  11. package/esm/endpoints/entitiesObjects/index.js.map +1 -1
  12. package/esm/generated/afm-rest-api/api.d.ts +346 -8
  13. package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
  14. package/esm/generated/afm-rest-api/api.js +347 -0
  15. package/esm/generated/afm-rest-api/api.js.map +1 -1
  16. package/esm/generated/auth-json-api/api.d.ts +0 -511
  17. package/esm/generated/auth-json-api/api.d.ts.map +1 -1
  18. package/esm/generated/auth-json-api/api.js +0 -650
  19. package/esm/generated/auth-json-api/api.js.map +1 -1
  20. package/esm/generated/automation-json-api/api.d.ts +35 -1
  21. package/esm/generated/automation-json-api/api.d.ts.map +1 -1
  22. package/esm/generated/automation-json-api/api.js.map +1 -1
  23. package/esm/generated/export-json-api/api.d.ts +9 -0
  24. package/esm/generated/export-json-api/api.d.ts.map +1 -1
  25. package/esm/generated/export-json-api/api.js.map +1 -1
  26. package/esm/generated/metadata-json-api/api.d.ts +7093 -7087
  27. package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
  28. package/esm/generated/metadata-json-api/api.js +8987 -8993
  29. package/esm/generated/metadata-json-api/api.js.map +1 -1
  30. package/esm/generated/result-json-api/base.d.ts.map +1 -1
  31. package/esm/generated/result-json-api/base.js +1 -1
  32. package/esm/generated/result-json-api/base.js.map +1 -1
  33. package/esm/index.d.ts +1 -1
  34. package/esm/index.d.ts.map +1 -1
  35. package/esm/index.js.map +1 -1
  36. package/package.json +5 -5
@@ -85,87 +85,6 @@ 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
169
88
  /**
170
89
  * Returns a Profile including Organization and Current User Information.
171
90
  * @summary Get Profile
@@ -196,152 +115,6 @@ export async function AuthenticationApiAxiosParamCreator_GetProfile(options = {}
196
115
  options: localVarRequestOptions,
197
116
  };
198
117
  }
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
- }
345
118
  // AuthenticationApi Api FP
346
119
  /**
347
120
  * Returns a Profile including Organization and Current User Information.
@@ -356,50 +129,6 @@ export async function AuthenticationApi_GetProfile(axios, basePath, options, con
356
129
  const localVarAxiosArgs = await AuthenticationApiAxiosParamCreator_GetProfile(options || {}, configuration);
357
130
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
358
131
  }
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
- }
403
132
  /**
404
133
  * AuthenticationApi - object-oriented interface
405
134
  * @export
@@ -407,28 +136,6 @@ export async function AuthenticationApi_UpdateUser(axios, basePath, requestParam
407
136
  * @extends {BaseAPI}
408
137
  */
409
138
  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
- }
432
139
  /**
433
140
  * Returns a Profile including Organization and Current User Information.
434
141
  * @summary Get Profile
@@ -439,119 +146,6 @@ export class AuthenticationApi extends BaseAPI {
439
146
  getProfile(options) {
440
147
  return AuthenticationApi_GetProfile(this.axios, this.basePath, options, this.configuration);
441
148
  }
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
- };
555
149
  }
556
150
  // UserAuthorizationApi FP - UserAuthorizationApiAxiosParamCreator
557
151
  /**
@@ -585,72 +179,6 @@ export async function UserAuthorizationApiAxiosParamCreator_GetProfile(options =
585
179
  };
586
180
  }
587
181
  // 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
654
182
  /**
655
183
  * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
656
184
  * @summary Invite User
@@ -696,86 +224,6 @@ export async function UserAuthorizationApiAxiosParamCreator_ProcessInvitation(in
696
224
  options: localVarRequestOptions,
697
225
  };
698
226
  }
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
- }
779
227
  // UserAuthorizationApi Api FP
780
228
  /**
781
229
  * Returns a Profile including Organization and Current User Information.
@@ -791,35 +239,6 @@ export async function UserAuthorizationApi_GetProfile(axios, basePath, options,
791
239
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
792
240
  }
793
241
  // 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
823
242
  /**
824
243
  * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
825
244
  * @summary Invite User
@@ -834,21 +253,6 @@ export async function UserAuthorizationApi_ProcessInvitation(axios, basePath, re
834
253
  const localVarAxiosArgs = await UserAuthorizationApiAxiosParamCreator_ProcessInvitation(requestParameters.invitation, options || {}, configuration);
835
254
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, basePath);
836
255
  }
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
- }
852
256
  /**
853
257
  * UserAuthorizationApi - object-oriented interface
854
258
  * @export
@@ -856,28 +260,6 @@ export async function UserAuthorizationApi_UpdateUser(axios, basePath, requestPa
856
260
  * @extends {BaseAPI}
857
261
  */
858
262
  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
- }
881
263
  /**
882
264
  * Returns a Profile including Organization and Current User Information.
883
265
  * @summary Get Profile
@@ -888,27 +270,6 @@ export class UserAuthorizationApi extends BaseAPI {
888
270
  getProfile(options) {
889
271
  return UserAuthorizationApi_GetProfile(this.axios, this.basePath, options, this.configuration);
890
272
  }
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
- }
912
273
  /**
913
274
  * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
914
275
  * @summary Invite User
@@ -920,16 +281,5 @@ export class UserAuthorizationApi extends BaseAPI {
920
281
  processInvitation(requestParameters, options) {
921
282
  return UserAuthorizationApi_ProcessInvitation(this.axios, this.basePath, requestParameters, options, this.configuration);
922
283
  }
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
- }
934
284
  }
935
285
  //# sourceMappingURL=api.js.map