@gooddata/api-client-tiger 11.5.0-alpha.4 → 11.5.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.
Files changed (38) 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 +543 -513
  4. package/esm/execution.d.ts +1 -1
  5. package/esm/execution.d.ts.map +1 -1
  6. package/esm/execution.js +1 -0
  7. package/esm/execution.js.map +1 -1
  8. package/esm/executionResult.d.ts +1 -1
  9. package/esm/executionResult.d.ts.map +1 -1
  10. package/esm/executionResult.js +1 -0
  11. package/esm/executionResult.js.map +1 -1
  12. package/esm/generated/afm-rest-api/api.d.ts +68 -42
  13. package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
  14. package/esm/generated/afm-rest-api/api.js +0 -23
  15. package/esm/generated/afm-rest-api/api.js.map +1 -1
  16. package/esm/generated/afm-rest-api/openapi-spec.json +102 -59
  17. package/esm/generated/auth-json-api/api.d.ts +0 -551
  18. package/esm/generated/auth-json-api/api.d.ts.map +1 -1
  19. package/esm/generated/auth-json-api/api.js +0 -696
  20. package/esm/generated/auth-json-api/api.js.map +1 -1
  21. package/esm/generated/auth-json-api/openapi-spec.json +0 -166
  22. package/esm/generated/automation-json-api/api.d.ts +1 -0
  23. package/esm/generated/automation-json-api/api.d.ts.map +1 -1
  24. package/esm/generated/automation-json-api/api.js.map +1 -1
  25. package/esm/generated/automation-json-api/openapi-spec.json +1 -0
  26. package/esm/generated/metadata-json-api/api.d.ts +412 -408
  27. package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
  28. package/esm/generated/metadata-json-api/api.js +66 -68
  29. package/esm/generated/metadata-json-api/api.js.map +1 -1
  30. package/esm/generated/metadata-json-api/openapi-spec.json +5984 -6053
  31. package/esm/generated/result-json-api/base.d.ts.map +1 -1
  32. package/esm/generated/result-json-api/base.js +1 -1
  33. package/esm/generated/result-json-api/base.js.map +1 -1
  34. package/esm/generated/result-json-api/openapi-spec.json +1 -1
  35. package/esm/index.d.ts +1 -1
  36. package/esm/index.d.ts.map +1 -1
  37. package/esm/index.js.map +1 -1
  38. package/package.json +4 -4
@@ -126,76 +126,6 @@ export class ActionsApi extends BaseAPI {
126
126
  */
127
127
  export const AuthenticationApiAxiosParamCreator = function (configuration) {
128
128
  return {
129
- /**
130
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
131
- * @summary Create a user
132
- * @param {AuthUser} authUser
133
- * @param {*} [options] Override http request option.
134
- * @throws {RequiredError}
135
- */
136
- createUser: async (authUser, options = {}) => {
137
- // verify required parameter 'authUser' is not null or undefined
138
- assertParamExists("createUser", "authUser", authUser);
139
- const localVarPath = `/api/v1/auth/users`;
140
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
141
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
142
- let baseOptions;
143
- if (configuration) {
144
- baseOptions = configuration.baseOptions;
145
- }
146
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
147
- const localVarHeaderParameter = {};
148
- const localVarQueryParameter = {};
149
- localVarHeaderParameter["Content-Type"] = "application/json";
150
- setSearchParams(localVarUrlObj, localVarQueryParameter);
151
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
152
- localVarRequestOptions.headers = {
153
- ...localVarHeaderParameter,
154
- ...headersFromBaseOptions,
155
- ...options.headers,
156
- };
157
- const needsSerialization = typeof authUser !== "string" ||
158
- localVarRequestOptions.headers["Content-Type"] === "application/json";
159
- localVarRequestOptions.data = needsSerialization
160
- ? JSON.stringify(authUser !== undefined ? authUser : {})
161
- : authUser || "";
162
- return {
163
- url: toPathString(localVarUrlObj),
164
- options: localVarRequestOptions,
165
- };
166
- },
167
- /**
168
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
169
- * @summary Delete a user
170
- * @param {string} userEmail
171
- * @param {*} [options] Override http request option.
172
- * @throws {RequiredError}
173
- */
174
- deleteUser: async (userEmail, options = {}) => {
175
- // verify required parameter 'userEmail' is not null or undefined
176
- assertParamExists("deleteUser", "userEmail", userEmail);
177
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
178
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
179
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
180
- let baseOptions;
181
- if (configuration) {
182
- baseOptions = configuration.baseOptions;
183
- }
184
- const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
185
- const localVarHeaderParameter = {};
186
- const localVarQueryParameter = {};
187
- setSearchParams(localVarUrlObj, localVarQueryParameter);
188
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
189
- localVarRequestOptions.headers = {
190
- ...localVarHeaderParameter,
191
- ...headersFromBaseOptions,
192
- ...options.headers,
193
- };
194
- return {
195
- url: toPathString(localVarUrlObj),
196
- options: localVarRequestOptions,
197
- };
198
- },
199
129
  /**
200
130
  * Returns a Profile including Organization and Current User Information.
201
131
  * @summary Get Profile
@@ -225,108 +155,6 @@ export const AuthenticationApiAxiosParamCreator = function (configuration) {
225
155
  options: localVarRequestOptions,
226
156
  };
227
157
  },
228
- /**
229
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
230
- * @summary Get a user
231
- * @param {string} userEmail
232
- * @param {*} [options] Override http request option.
233
- * @throws {RequiredError}
234
- */
235
- getUser: async (userEmail, options = {}) => {
236
- // verify required parameter 'userEmail' is not null or undefined
237
- assertParamExists("getUser", "userEmail", userEmail);
238
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
239
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
240
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
241
- let baseOptions;
242
- if (configuration) {
243
- baseOptions = configuration.baseOptions;
244
- }
245
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
246
- const localVarHeaderParameter = {};
247
- const localVarQueryParameter = {};
248
- setSearchParams(localVarUrlObj, localVarQueryParameter);
249
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
250
- localVarRequestOptions.headers = {
251
- ...localVarHeaderParameter,
252
- ...headersFromBaseOptions,
253
- ...options.headers,
254
- };
255
- return {
256
- url: toPathString(localVarUrlObj),
257
- options: localVarRequestOptions,
258
- };
259
- },
260
- /**
261
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
262
- * @summary Get all users
263
- * @param {*} [options] Override http request option.
264
- * @throws {RequiredError}
265
- */
266
- getUsers: async (options = {}) => {
267
- const localVarPath = `/api/v1/auth/users`;
268
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
269
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
270
- let baseOptions;
271
- if (configuration) {
272
- baseOptions = configuration.baseOptions;
273
- }
274
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
275
- const localVarHeaderParameter = {};
276
- const localVarQueryParameter = {};
277
- setSearchParams(localVarUrlObj, localVarQueryParameter);
278
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
279
- localVarRequestOptions.headers = {
280
- ...localVarHeaderParameter,
281
- ...headersFromBaseOptions,
282
- ...options.headers,
283
- };
284
- return {
285
- url: toPathString(localVarUrlObj),
286
- options: localVarRequestOptions,
287
- };
288
- },
289
- /**
290
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
291
- * @summary Update a user
292
- * @param {string} userEmail
293
- * @param {AuthUser} authUser
294
- * @param {*} [options] Override http request option.
295
- * @throws {RequiredError}
296
- */
297
- updateUser: async (userEmail, authUser, options = {}) => {
298
- // verify required parameter 'userEmail' is not null or undefined
299
- assertParamExists("updateUser", "userEmail", userEmail);
300
- // verify required parameter 'authUser' is not null or undefined
301
- assertParamExists("updateUser", "authUser", authUser);
302
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
303
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
304
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
305
- let baseOptions;
306
- if (configuration) {
307
- baseOptions = configuration.baseOptions;
308
- }
309
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
310
- const localVarHeaderParameter = {};
311
- const localVarQueryParameter = {};
312
- localVarHeaderParameter["Content-Type"] = "application/json";
313
- setSearchParams(localVarUrlObj, localVarQueryParameter);
314
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
315
- localVarRequestOptions.headers = {
316
- ...localVarHeaderParameter,
317
- ...headersFromBaseOptions,
318
- ...options.headers,
319
- };
320
- const needsSerialization = typeof authUser !== "string" ||
321
- localVarRequestOptions.headers["Content-Type"] === "application/json";
322
- localVarRequestOptions.data = needsSerialization
323
- ? JSON.stringify(authUser !== undefined ? authUser : {})
324
- : authUser || "";
325
- return {
326
- url: toPathString(localVarUrlObj),
327
- options: localVarRequestOptions,
328
- };
329
- },
330
158
  };
331
159
  };
332
160
  /**
@@ -336,28 +164,6 @@ export const AuthenticationApiAxiosParamCreator = function (configuration) {
336
164
  export const AuthenticationApiFp = function (configuration) {
337
165
  const localVarAxiosParamCreator = AuthenticationApiAxiosParamCreator(configuration);
338
166
  return {
339
- /**
340
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
341
- * @summary Create a user
342
- * @param {AuthUser} authUser
343
- * @param {*} [options] Override http request option.
344
- * @throws {RequiredError}
345
- */
346
- async createUser(authUser, options) {
347
- const localVarAxiosArgs = await localVarAxiosParamCreator.createUser(authUser, options);
348
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
349
- },
350
- /**
351
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
352
- * @summary Delete a user
353
- * @param {string} userEmail
354
- * @param {*} [options] Override http request option.
355
- * @throws {RequiredError}
356
- */
357
- async deleteUser(userEmail, options) {
358
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(userEmail, options);
359
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
- },
361
167
  /**
362
168
  * Returns a Profile including Organization and Current User Information.
363
169
  * @summary Get Profile
@@ -368,39 +174,6 @@ export const AuthenticationApiFp = function (configuration) {
368
174
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProfile(options);
369
175
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
370
176
  },
371
- /**
372
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
373
- * @summary Get a user
374
- * @param {string} userEmail
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- */
378
- async getUser(userEmail, options) {
379
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(userEmail, options);
380
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
381
- },
382
- /**
383
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
384
- * @summary Get all users
385
- * @param {*} [options] Override http request option.
386
- * @throws {RequiredError}
387
- */
388
- async getUsers(options) {
389
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUsers(options);
390
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
391
- },
392
- /**
393
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
394
- * @summary Update a user
395
- * @param {string} userEmail
396
- * @param {AuthUser} authUser
397
- * @param {*} [options] Override http request option.
398
- * @throws {RequiredError}
399
- */
400
- async updateUser(userEmail, authUser, options) {
401
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(userEmail, authUser, options);
402
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
403
- },
404
177
  };
405
178
  };
406
179
  /**
@@ -410,30 +183,6 @@ export const AuthenticationApiFp = function (configuration) {
410
183
  export const AuthenticationApiFactory = function (configuration, basePath, axios) {
411
184
  const localVarFp = AuthenticationApiFp(configuration);
412
185
  return {
413
- /**
414
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
415
- * @summary Create a user
416
- * @param {AuthenticationApiCreateUserRequest} requestParameters Request parameters.
417
- * @param {*} [options] Override http request option.
418
- * @throws {RequiredError}
419
- */
420
- createUser(requestParameters, options) {
421
- return localVarFp
422
- .createUser(requestParameters.authUser, options)
423
- .then((request) => request(axios, basePath));
424
- },
425
- /**
426
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
427
- * @summary Delete a user
428
- * @param {AuthenticationApiDeleteUserRequest} requestParameters Request parameters.
429
- * @param {*} [options] Override http request option.
430
- * @throws {RequiredError}
431
- */
432
- deleteUser(requestParameters, options) {
433
- return localVarFp
434
- .deleteUser(requestParameters.userEmail, options)
435
- .then((request) => request(axios, basePath));
436
- },
437
186
  /**
438
187
  * Returns a Profile including Organization and Current User Information.
439
188
  * @summary Get Profile
@@ -443,39 +192,6 @@ export const AuthenticationApiFactory = function (configuration, basePath, axios
443
192
  getProfile(options) {
444
193
  return localVarFp.getProfile(options).then((request) => request(axios, basePath));
445
194
  },
446
- /**
447
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
448
- * @summary Get a user
449
- * @param {AuthenticationApiGetUserRequest} requestParameters Request parameters.
450
- * @param {*} [options] Override http request option.
451
- * @throws {RequiredError}
452
- */
453
- getUser(requestParameters, options) {
454
- return localVarFp
455
- .getUser(requestParameters.userEmail, options)
456
- .then((request) => request(axios, basePath));
457
- },
458
- /**
459
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
460
- * @summary Get all users
461
- * @param {*} [options] Override http request option.
462
- * @throws {RequiredError}
463
- */
464
- getUsers(options) {
465
- return localVarFp.getUsers(options).then((request) => request(axios, basePath));
466
- },
467
- /**
468
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
469
- * @summary Update a user
470
- * @param {AuthenticationApiUpdateUserRequest} requestParameters Request parameters.
471
- * @param {*} [options] Override http request option.
472
- * @throws {RequiredError}
473
- */
474
- updateUser(requestParameters, options) {
475
- return localVarFp
476
- .updateUser(requestParameters.userEmail, requestParameters.authUser, options)
477
- .then((request) => request(axios, basePath));
478
- },
479
195
  };
480
196
  };
481
197
  /**
@@ -485,32 +201,6 @@ export const AuthenticationApiFactory = function (configuration, basePath, axios
485
201
  * @extends {BaseAPI}
486
202
  */
487
203
  export class AuthenticationApi extends BaseAPI {
488
- /**
489
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
490
- * @summary Create a user
491
- * @param {AuthenticationApiCreateUserRequest} requestParameters Request parameters.
492
- * @param {*} [options] Override http request option.
493
- * @throws {RequiredError}
494
- * @memberof AuthenticationApi
495
- */
496
- createUser(requestParameters, options) {
497
- return AuthenticationApiFp(this.configuration)
498
- .createUser(requestParameters.authUser, options)
499
- .then((request) => request(this.axios, this.basePath));
500
- }
501
- /**
502
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
503
- * @summary Delete a user
504
- * @param {AuthenticationApiDeleteUserRequest} requestParameters Request parameters.
505
- * @param {*} [options] Override http request option.
506
- * @throws {RequiredError}
507
- * @memberof AuthenticationApi
508
- */
509
- deleteUser(requestParameters, options) {
510
- return AuthenticationApiFp(this.configuration)
511
- .deleteUser(requestParameters.userEmail, options)
512
- .then((request) => request(this.axios, this.basePath));
513
- }
514
204
  /**
515
205
  * Returns a Profile including Organization and Current User Information.
516
206
  * @summary Get Profile
@@ -523,44 +213,6 @@ export class AuthenticationApi extends BaseAPI {
523
213
  .getProfile(options)
524
214
  .then((request) => request(this.axios, this.basePath));
525
215
  }
526
- /**
527
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
528
- * @summary Get a user
529
- * @param {AuthenticationApiGetUserRequest} requestParameters Request parameters.
530
- * @param {*} [options] Override http request option.
531
- * @throws {RequiredError}
532
- * @memberof AuthenticationApi
533
- */
534
- getUser(requestParameters, options) {
535
- return AuthenticationApiFp(this.configuration)
536
- .getUser(requestParameters.userEmail, options)
537
- .then((request) => request(this.axios, this.basePath));
538
- }
539
- /**
540
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
541
- * @summary Get all users
542
- * @param {*} [options] Override http request option.
543
- * @throws {RequiredError}
544
- * @memberof AuthenticationApi
545
- */
546
- getUsers(options) {
547
- return AuthenticationApiFp(this.configuration)
548
- .getUsers(options)
549
- .then((request) => request(this.axios, this.basePath));
550
- }
551
- /**
552
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
553
- * @summary Update a user
554
- * @param {AuthenticationApiUpdateUserRequest} requestParameters Request parameters.
555
- * @param {*} [options] Override http request option.
556
- * @throws {RequiredError}
557
- * @memberof AuthenticationApi
558
- */
559
- updateUser(requestParameters, options) {
560
- return AuthenticationApiFp(this.configuration)
561
- .updateUser(requestParameters.userEmail, requestParameters.authUser, options)
562
- .then((request) => request(this.axios, this.basePath));
563
- }
564
216
  }
565
217
  /**
566
218
  * UserAuthorizationApi - axios parameter creator
@@ -568,76 +220,6 @@ export class AuthenticationApi extends BaseAPI {
568
220
  */
569
221
  export const UserAuthorizationApiAxiosParamCreator = function (configuration) {
570
222
  return {
571
- /**
572
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
573
- * @summary Create a user
574
- * @param {AuthUser} authUser
575
- * @param {*} [options] Override http request option.
576
- * @throws {RequiredError}
577
- */
578
- createUser: async (authUser, options = {}) => {
579
- // verify required parameter 'authUser' is not null or undefined
580
- assertParamExists("createUser", "authUser", authUser);
581
- const localVarPath = `/api/v1/auth/users`;
582
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
583
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
584
- let baseOptions;
585
- if (configuration) {
586
- baseOptions = configuration.baseOptions;
587
- }
588
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
589
- const localVarHeaderParameter = {};
590
- const localVarQueryParameter = {};
591
- localVarHeaderParameter["Content-Type"] = "application/json";
592
- setSearchParams(localVarUrlObj, localVarQueryParameter);
593
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
594
- localVarRequestOptions.headers = {
595
- ...localVarHeaderParameter,
596
- ...headersFromBaseOptions,
597
- ...options.headers,
598
- };
599
- const needsSerialization = typeof authUser !== "string" ||
600
- localVarRequestOptions.headers["Content-Type"] === "application/json";
601
- localVarRequestOptions.data = needsSerialization
602
- ? JSON.stringify(authUser !== undefined ? authUser : {})
603
- : authUser || "";
604
- return {
605
- url: toPathString(localVarUrlObj),
606
- options: localVarRequestOptions,
607
- };
608
- },
609
- /**
610
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
611
- * @summary Delete a user
612
- * @param {string} userEmail
613
- * @param {*} [options] Override http request option.
614
- * @throws {RequiredError}
615
- */
616
- deleteUser: async (userEmail, options = {}) => {
617
- // verify required parameter 'userEmail' is not null or undefined
618
- assertParamExists("deleteUser", "userEmail", userEmail);
619
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
620
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
621
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
622
- let baseOptions;
623
- if (configuration) {
624
- baseOptions = configuration.baseOptions;
625
- }
626
- const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
627
- const localVarHeaderParameter = {};
628
- const localVarQueryParameter = {};
629
- setSearchParams(localVarUrlObj, localVarQueryParameter);
630
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
631
- localVarRequestOptions.headers = {
632
- ...localVarHeaderParameter,
633
- ...headersFromBaseOptions,
634
- ...options.headers,
635
- };
636
- return {
637
- url: toPathString(localVarUrlObj),
638
- options: localVarRequestOptions,
639
- };
640
- },
641
223
  /**
642
224
  * Returns a Profile including Organization and Current User Information.
643
225
  * @summary Get Profile
@@ -667,67 +249,6 @@ export const UserAuthorizationApiAxiosParamCreator = function (configuration) {
667
249
  options: localVarRequestOptions,
668
250
  };
669
251
  },
670
- /**
671
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
672
- * @summary Get a user
673
- * @param {string} userEmail
674
- * @param {*} [options] Override http request option.
675
- * @throws {RequiredError}
676
- */
677
- getUser: async (userEmail, options = {}) => {
678
- // verify required parameter 'userEmail' is not null or undefined
679
- assertParamExists("getUser", "userEmail", userEmail);
680
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
681
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
682
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
683
- let baseOptions;
684
- if (configuration) {
685
- baseOptions = configuration.baseOptions;
686
- }
687
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
688
- const localVarHeaderParameter = {};
689
- const localVarQueryParameter = {};
690
- setSearchParams(localVarUrlObj, localVarQueryParameter);
691
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
692
- localVarRequestOptions.headers = {
693
- ...localVarHeaderParameter,
694
- ...headersFromBaseOptions,
695
- ...options.headers,
696
- };
697
- return {
698
- url: toPathString(localVarUrlObj),
699
- options: localVarRequestOptions,
700
- };
701
- },
702
- /**
703
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
704
- * @summary Get all users
705
- * @param {*} [options] Override http request option.
706
- * @throws {RequiredError}
707
- */
708
- getUsers: async (options = {}) => {
709
- const localVarPath = `/api/v1/auth/users`;
710
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
711
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
712
- let baseOptions;
713
- if (configuration) {
714
- baseOptions = configuration.baseOptions;
715
- }
716
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
717
- const localVarHeaderParameter = {};
718
- const localVarQueryParameter = {};
719
- setSearchParams(localVarUrlObj, localVarQueryParameter);
720
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
721
- localVarRequestOptions.headers = {
722
- ...localVarHeaderParameter,
723
- ...headersFromBaseOptions,
724
- ...options.headers,
725
- };
726
- return {
727
- url: toPathString(localVarUrlObj),
728
- options: localVarRequestOptions,
729
- };
730
- },
731
252
  /**
732
253
  * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
733
254
  * @summary Invite User
@@ -766,47 +287,6 @@ export const UserAuthorizationApiAxiosParamCreator = function (configuration) {
766
287
  options: localVarRequestOptions,
767
288
  };
768
289
  },
769
- /**
770
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
771
- * @summary Update a user
772
- * @param {string} userEmail
773
- * @param {AuthUser} authUser
774
- * @param {*} [options] Override http request option.
775
- * @throws {RequiredError}
776
- */
777
- updateUser: async (userEmail, authUser, options = {}) => {
778
- // verify required parameter 'userEmail' is not null or undefined
779
- assertParamExists("updateUser", "userEmail", userEmail);
780
- // verify required parameter 'authUser' is not null or undefined
781
- assertParamExists("updateUser", "authUser", authUser);
782
- const localVarPath = `/api/v1/auth/users/{userEmail}`.replace(`{${"userEmail"}}`, encodeURIComponent(String(userEmail)));
783
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
784
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
785
- let baseOptions;
786
- if (configuration) {
787
- baseOptions = configuration.baseOptions;
788
- }
789
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
790
- const localVarHeaderParameter = {};
791
- const localVarQueryParameter = {};
792
- localVarHeaderParameter["Content-Type"] = "application/json";
793
- setSearchParams(localVarUrlObj, localVarQueryParameter);
794
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
795
- localVarRequestOptions.headers = {
796
- ...localVarHeaderParameter,
797
- ...headersFromBaseOptions,
798
- ...options.headers,
799
- };
800
- const needsSerialization = typeof authUser !== "string" ||
801
- localVarRequestOptions.headers["Content-Type"] === "application/json";
802
- localVarRequestOptions.data = needsSerialization
803
- ? JSON.stringify(authUser !== undefined ? authUser : {})
804
- : authUser || "";
805
- return {
806
- url: toPathString(localVarUrlObj),
807
- options: localVarRequestOptions,
808
- };
809
- },
810
290
  };
811
291
  };
812
292
  /**
@@ -816,28 +296,6 @@ export const UserAuthorizationApiAxiosParamCreator = function (configuration) {
816
296
  export const UserAuthorizationApiFp = function (configuration) {
817
297
  const localVarAxiosParamCreator = UserAuthorizationApiAxiosParamCreator(configuration);
818
298
  return {
819
- /**
820
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
821
- * @summary Create a user
822
- * @param {AuthUser} authUser
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- */
826
- async createUser(authUser, options) {
827
- const localVarAxiosArgs = await localVarAxiosParamCreator.createUser(authUser, options);
828
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
829
- },
830
- /**
831
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
832
- * @summary Delete a user
833
- * @param {string} userEmail
834
- * @param {*} [options] Override http request option.
835
- * @throws {RequiredError}
836
- */
837
- async deleteUser(userEmail, options) {
838
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUser(userEmail, options);
839
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
840
- },
841
299
  /**
842
300
  * Returns a Profile including Organization and Current User Information.
843
301
  * @summary Get Profile
@@ -848,27 +306,6 @@ export const UserAuthorizationApiFp = function (configuration) {
848
306
  const localVarAxiosArgs = await localVarAxiosParamCreator.getProfile(options);
849
307
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
850
308
  },
851
- /**
852
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
853
- * @summary Get a user
854
- * @param {string} userEmail
855
- * @param {*} [options] Override http request option.
856
- * @throws {RequiredError}
857
- */
858
- async getUser(userEmail, options) {
859
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(userEmail, options);
860
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
861
- },
862
- /**
863
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
864
- * @summary Get all users
865
- * @param {*} [options] Override http request option.
866
- * @throws {RequiredError}
867
- */
868
- async getUsers(options) {
869
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUsers(options);
870
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
871
- },
872
309
  /**
873
310
  * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
874
311
  * @summary Invite User
@@ -880,18 +317,6 @@ export const UserAuthorizationApiFp = function (configuration) {
880
317
  const localVarAxiosArgs = await localVarAxiosParamCreator.processInvitation(invitation, options);
881
318
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
882
319
  },
883
- /**
884
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
885
- * @summary Update a user
886
- * @param {string} userEmail
887
- * @param {AuthUser} authUser
888
- * @param {*} [options] Override http request option.
889
- * @throws {RequiredError}
890
- */
891
- async updateUser(userEmail, authUser, options) {
892
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateUser(userEmail, authUser, options);
893
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
894
- },
895
320
  };
896
321
  };
897
322
  /**
@@ -901,30 +326,6 @@ export const UserAuthorizationApiFp = function (configuration) {
901
326
  export const UserAuthorizationApiFactory = function (configuration, basePath, axios) {
902
327
  const localVarFp = UserAuthorizationApiFp(configuration);
903
328
  return {
904
- /**
905
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
906
- * @summary Create a user
907
- * @param {UserAuthorizationApiCreateUserRequest} requestParameters Request parameters.
908
- * @param {*} [options] Override http request option.
909
- * @throws {RequiredError}
910
- */
911
- createUser(requestParameters, options) {
912
- return localVarFp
913
- .createUser(requestParameters.authUser, options)
914
- .then((request) => request(axios, basePath));
915
- },
916
- /**
917
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
918
- * @summary Delete a user
919
- * @param {UserAuthorizationApiDeleteUserRequest} requestParameters Request parameters.
920
- * @param {*} [options] Override http request option.
921
- * @throws {RequiredError}
922
- */
923
- deleteUser(requestParameters, options) {
924
- return localVarFp
925
- .deleteUser(requestParameters.userEmail, options)
926
- .then((request) => request(axios, basePath));
927
- },
928
329
  /**
929
330
  * Returns a Profile including Organization and Current User Information.
930
331
  * @summary Get Profile
@@ -934,27 +335,6 @@ export const UserAuthorizationApiFactory = function (configuration, basePath, ax
934
335
  getProfile(options) {
935
336
  return localVarFp.getProfile(options).then((request) => request(axios, basePath));
936
337
  },
937
- /**
938
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
939
- * @summary Get a user
940
- * @param {UserAuthorizationApiGetUserRequest} requestParameters Request parameters.
941
- * @param {*} [options] Override http request option.
942
- * @throws {RequiredError}
943
- */
944
- getUser(requestParameters, options) {
945
- return localVarFp
946
- .getUser(requestParameters.userEmail, options)
947
- .then((request) => request(axios, basePath));
948
- },
949
- /**
950
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
951
- * @summary Get all users
952
- * @param {*} [options] Override http request option.
953
- * @throws {RequiredError}
954
- */
955
- getUsers(options) {
956
- return localVarFp.getUsers(options).then((request) => request(axios, basePath));
957
- },
958
338
  /**
959
339
  * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
960
340
  * @summary Invite User
@@ -967,18 +347,6 @@ export const UserAuthorizationApiFactory = function (configuration, basePath, ax
967
347
  .processInvitation(requestParameters.invitation, options)
968
348
  .then((request) => request(axios, basePath));
969
349
  },
970
- /**
971
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
972
- * @summary Update a user
973
- * @param {UserAuthorizationApiUpdateUserRequest} requestParameters Request parameters.
974
- * @param {*} [options] Override http request option.
975
- * @throws {RequiredError}
976
- */
977
- updateUser(requestParameters, options) {
978
- return localVarFp
979
- .updateUser(requestParameters.userEmail, requestParameters.authUser, options)
980
- .then((request) => request(axios, basePath));
981
- },
982
350
  };
983
351
  };
984
352
  /**
@@ -988,32 +356,6 @@ export const UserAuthorizationApiFactory = function (configuration, basePath, ax
988
356
  * @extends {BaseAPI}
989
357
  */
990
358
  export class UserAuthorizationApi extends BaseAPI {
991
- /**
992
- * Create a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
993
- * @summary Create a user
994
- * @param {UserAuthorizationApiCreateUserRequest} requestParameters Request parameters.
995
- * @param {*} [options] Override http request option.
996
- * @throws {RequiredError}
997
- * @memberof UserAuthorizationApi
998
- */
999
- createUser(requestParameters, options) {
1000
- return UserAuthorizationApiFp(this.configuration)
1001
- .createUser(requestParameters.authUser, options)
1002
- .then((request) => request(this.axios, this.basePath));
1003
- }
1004
- /**
1005
- * Delete a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
1006
- * @summary Delete a user
1007
- * @param {UserAuthorizationApiDeleteUserRequest} requestParameters Request parameters.
1008
- * @param {*} [options] Override http request option.
1009
- * @throws {RequiredError}
1010
- * @memberof UserAuthorizationApi
1011
- */
1012
- deleteUser(requestParameters, options) {
1013
- return UserAuthorizationApiFp(this.configuration)
1014
- .deleteUser(requestParameters.userEmail, options)
1015
- .then((request) => request(this.axios, this.basePath));
1016
- }
1017
359
  /**
1018
360
  * Returns a Profile including Organization and Current User Information.
1019
361
  * @summary Get Profile
@@ -1026,31 +368,6 @@ export class UserAuthorizationApi extends BaseAPI {
1026
368
  .getProfile(options)
1027
369
  .then((request) => request(this.axios, this.basePath));
1028
370
  }
1029
- /**
1030
- * Get a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
1031
- * @summary Get a user
1032
- * @param {UserAuthorizationApiGetUserRequest} requestParameters Request parameters.
1033
- * @param {*} [options] Override http request option.
1034
- * @throws {RequiredError}
1035
- * @memberof UserAuthorizationApi
1036
- */
1037
- getUser(requestParameters, options) {
1038
- return UserAuthorizationApiFp(this.configuration)
1039
- .getUser(requestParameters.userEmail, options)
1040
- .then((request) => request(this.axios, this.basePath));
1041
- }
1042
- /**
1043
- * Get all users - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
1044
- * @summary Get all users
1045
- * @param {*} [options] Override http request option.
1046
- * @throws {RequiredError}
1047
- * @memberof UserAuthorizationApi
1048
- */
1049
- getUsers(options) {
1050
- return UserAuthorizationApiFp(this.configuration)
1051
- .getUsers(options)
1052
- .then((request) => request(this.axios, this.basePath));
1053
- }
1054
371
  /**
1055
372
  * Puts a new invitation requirement into the invitation generator queue. This is a GoodData Cloud specific endpoint.
1056
373
  * @summary Invite User
@@ -1064,18 +381,5 @@ export class UserAuthorizationApi extends BaseAPI {
1064
381
  .processInvitation(requestParameters.invitation, options)
1065
382
  .then((request) => request(this.axios, this.basePath));
1066
383
  }
1067
- /**
1068
- * Update a user - dedicated endpoint for user management in the internal OIDC provider. GoodData.CN specific
1069
- * @summary Update a user
1070
- * @param {UserAuthorizationApiUpdateUserRequest} requestParameters Request parameters.
1071
- * @param {*} [options] Override http request option.
1072
- * @throws {RequiredError}
1073
- * @memberof UserAuthorizationApi
1074
- */
1075
- updateUser(requestParameters, options) {
1076
- return UserAuthorizationApiFp(this.configuration)
1077
- .updateUser(requestParameters.userEmail, requestParameters.authUser, options)
1078
- .then((request) => request(this.axios, this.basePath));
1079
- }
1080
384
  }
1081
385
  //# sourceMappingURL=api.js.map