keycloak-api 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +79 -0
  2. package/dist/account/components.cjs +26 -88
  3. package/dist/account/components.d.mts +32 -547
  4. package/dist/account/components.d.mts.map +1 -1
  5. package/dist/account/components.mjs +7 -69
  6. package/dist/account/schemas.cjs +72 -270
  7. package/dist/account/schemas.d.mts +3 -3
  8. package/dist/account/schemas.d.mts.map +1 -1
  9. package/dist/account/schemas.mjs +1 -183
  10. package/dist/account/types.d.mts +197 -820
  11. package/dist/account/types.d.mts.map +1 -1
  12. package/dist/admin/components.cjs +526 -588
  13. package/dist/admin/components.d.mts +1769 -6465
  14. package/dist/admin/components.d.mts.map +1 -1
  15. package/dist/admin/components.mjs +113 -175
  16. package/dist/admin/schemas.cjs +2928 -7511
  17. package/dist/admin/schemas.d.mts +15807 -1703
  18. package/dist/admin/schemas.d.mts.map +1 -1
  19. package/dist/admin/schemas.mjs +1 -4790
  20. package/dist/admin/types.cjs +13 -57
  21. package/dist/admin/types.d.mts +8584 -21398
  22. package/dist/admin/types.d.mts.map +1 -1
  23. package/dist/admin/types.mjs +1 -49
  24. package/dist/fetcher-aq8636lm.cjs +65 -0
  25. package/dist/fetcher-caoilmfh.d.ts +38 -0
  26. package/dist/fetcher-caoilmfh.d.ts.map +1 -0
  27. package/dist/fetcher-letfyywe.js +65 -0
  28. package/dist/index.cjs +19 -18758
  29. package/dist/index.d.ts +28078 -27708
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.mjs +8 -18727
  32. package/dist/schemas-abkntf15.js +7543 -0
  33. package/dist/schemas-c8nj5m3b.cjs +10490 -0
  34. package/dist/schemas-jfivc3px.cjs +349 -0
  35. package/dist/schemas-mx94q7di.js +258 -0
  36. package/dist/types-fb17fnxy.cjs +73 -0
  37. package/dist/types-pvupsyob.js +63 -0
  38. package/package.json +9 -10
@@ -1,74 +1,12 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
 
3
- function notEmpty(value) {
4
- return value !== null && value !== undefined;
5
- }
6
- function compactObject(obj) {
7
- return Object.fromEntries(Object.entries(obj).filter(([, value])=>notEmpty(value)));
8
- }
9
-
10
- async function client({ url, method, body, headers, pathParams, queryParams, signal, baseUrl = "", token = null, fetchImpl = fetch }) {
11
- try {
12
- const requestHeaders = compactObject({
13
- "Content-Type": "application/json",
14
- Authorization: token ? `Bearer ${token}` : undefined,
15
- Accept: "application/json",
16
- ...headers
17
- });
18
- /**
19
- * As the fetch API is being used, when multipart/form-data is specified
20
- * the Content-Type header must be deleted so that the browser can set
21
- * the correct boundary.
22
- * https://developer.mozilla.org/en-US/docs/Web/API/FormData/Using_FormData_Objects#sending_files_using_a_formdata_object
23
- */ if (requestHeaders["Content-Type"]?.toLowerCase().includes("multipart/form-data")) {
24
- delete requestHeaders["Content-Type"];
25
- }
26
- const payload = body instanceof FormData ? body : requestHeaders["Content-Type"] === "application/json" ? JSON.stringify(body) : body;
27
- const fullUrl = `${baseUrl}${resolveUrl(url, queryParams, pathParams)}`;
28
- const response = await fetchImpl(fullUrl, {
29
- signal,
30
- method: method.toUpperCase(),
31
- body: payload,
32
- headers: requestHeaders
33
- });
34
- if (!response.ok) {
35
- let error;
36
- try {
37
- error = await response.json();
38
- } catch (e) {
39
- error = {
40
- status: "unknown",
41
- payload: e instanceof Error ? `Unexpected error (${e.message})` : "Unexpected error"
42
- };
43
- }
44
- throw error;
45
- }
46
- if (response.headers?.get("content-type")?.includes("json")) {
47
- return await response.json();
48
- } else {
49
- // if it is not a json response, assume it is a blob and cast it to TData
50
- return await response.text();
51
- }
52
- } catch (e) {
53
- const errorObject = {
54
- name: "unknown",
55
- message: e instanceof Error ? `Network error (${e.message})` : "Network error",
56
- stack: e
57
- };
58
- throw errorObject;
59
- }
60
- }
61
- const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
62
- let query = new URLSearchParams(queryParams).toString();
63
- if (query) query = `?${query}`;
64
- return url.replace(/\{\w*\}/g, (key)=>pathParams[key.slice(1, -1)] ?? "") + query;
65
- };
3
+ var fetcher = require('../fetcher-aq8636lm.cjs');
66
4
 
67
5
  /**
68
6
  * @summary Get accessible realms Returns a list of accessible realms. The list is filtered based on what realms the caller is allowed to view.
69
7
  * @link /admin/realms
70
8
  */ async function gETAdminRealms({ queryParams, config } = {}) {
71
- const { client: request = client, ...requestConfig } = config ?? {};
9
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
72
10
  const data = await request({
73
11
  method: "GET",
74
12
  url: `/admin/realms`,
@@ -85,7 +23,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
85
23
  * @description Realm name must be unique.
86
24
  * @link /admin/realms
87
25
  */ async function pOSTAdminRealms({ body, config } = {}) {
88
- const { client: request = client, ...requestConfig } = config ?? {};
26
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
89
27
  const data = await request({
90
28
  method: "POST",
91
29
  url: `/admin/realms`,
@@ -101,7 +39,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
101
39
  * @summary Get the top-level representation of the realm It will not include nested information like User and Client representations.
102
40
  * @link /admin/realms/{realm}
103
41
  */ async function gETAdminRealmsRealm({ pathParams, config } = {}) {
104
- const { client: request = client, ...requestConfig } = config ?? {};
42
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
105
43
  if (!pathParams.realm) {
106
44
  throw new Error(`Missing required path parameter: realm`);
107
45
  }
@@ -120,7 +58,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
120
58
  * @description This will only update top-level attributes of the realm.
121
59
  * @link /admin/realms/{realm}
122
60
  */ async function pUTAdminRealmsRealm({ pathParams, body, config } = {}) {
123
- const { client: request = client, ...requestConfig } = config ?? {};
61
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
124
62
  if (!pathParams.realm) {
125
63
  throw new Error(`Missing required path parameter: realm`);
126
64
  }
@@ -139,7 +77,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
139
77
  * @summary Delete the realm
140
78
  * @link /admin/realms/{realm}
141
79
  */ async function dELETEAdminRealmsRealm({ pathParams, config } = {}) {
142
- const { client: request = client, ...requestConfig } = config ?? {};
80
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
143
81
  if (!pathParams.realm) {
144
82
  throw new Error(`Missing required path parameter: realm`);
145
83
  }
@@ -157,7 +95,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
157
95
  * @summary Get admin events Returns all admin events, or filters events based on URL query parameters listed here
158
96
  * @link /admin/realms/{realm}/admin-events
159
97
  */ async function gETAdminRealmsRealmAdminEvents({ pathParams, queryParams, config } = {}) {
160
- const { client: request = client, ...requestConfig } = config ?? {};
98
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
161
99
  if (!pathParams.realm) {
162
100
  throw new Error(`Missing required path parameter: realm`);
163
101
  }
@@ -176,7 +114,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
176
114
  * @summary Delete all admin events
177
115
  * @link /admin/realms/{realm}/admin-events
178
116
  */ async function dELETEAdminRealmsRealmAdminEvents({ pathParams, config } = {}) {
179
- const { client: request = client, ...requestConfig } = config ?? {};
117
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
180
118
  if (!pathParams.realm) {
181
119
  throw new Error(`Missing required path parameter: realm`);
182
120
  }
@@ -194,7 +132,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
194
132
  * @summary Clear any user login failures for all users This can release temporary disabled users
195
133
  * @link /admin/realms/{realm}/attack-detection/brute-force/users
196
134
  */ async function dELETEAdminRealmsRealmAttackDetectionBruteForceUsers({ pathParams, config } = {}) {
197
- const { client: request = client, ...requestConfig } = config ?? {};
135
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
198
136
  if (!pathParams.realm) {
199
137
  throw new Error(`Missing required path parameter: realm`);
200
138
  }
@@ -212,7 +150,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
212
150
  * @summary Get status of a username in brute force detection
213
151
  * @link /admin/realms/{realm}/attack-detection/brute-force/users/{userId}
214
152
  */ async function gETAdminRealmsRealmAttackDetectionBruteForceUsersUserId({ pathParams, config } = {}) {
215
- const { client: request = client, ...requestConfig } = config ?? {};
153
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
216
154
  if (!pathParams.realm) {
217
155
  throw new Error(`Missing required path parameter: realm`);
218
156
  }
@@ -233,7 +171,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
233
171
  * @summary Clear any user login failures for the user This can release temporary disabled user
234
172
  * @link /admin/realms/{realm}/attack-detection/brute-force/users/{userId}
235
173
  */ async function dELETEAdminRealmsRealmAttackDetectionBruteForceUsersUserId({ pathParams, config } = {}) {
236
- const { client: request = client, ...requestConfig } = config ?? {};
174
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
237
175
  if (!pathParams.realm) {
238
176
  throw new Error(`Missing required path parameter: realm`);
239
177
  }
@@ -254,7 +192,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
254
192
  * @summary Get authenticator providers Returns a stream of authenticator providers.
255
193
  * @link /admin/realms/{realm}/authentication/authenticator-providers
256
194
  */ async function gETAdminRealmsRealmAuthenticationAuthenticatorProviders({ pathParams, config } = {}) {
257
- const { client: request = client, ...requestConfig } = config ?? {};
195
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
258
196
  if (!pathParams.realm) {
259
197
  throw new Error(`Missing required path parameter: realm`);
260
198
  }
@@ -272,7 +210,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
272
210
  * @summary Get client authenticator providers Returns a stream of client authenticator providers.
273
211
  * @link /admin/realms/{realm}/authentication/client-authenticator-providers
274
212
  */ async function gETAdminRealmsRealmAuthenticationClientAuthenticatorProviders({ pathParams, config } = {}) {
275
- const { client: request = client, ...requestConfig } = config ?? {};
213
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
276
214
  if (!pathParams.realm) {
277
215
  throw new Error(`Missing required path parameter: realm`);
278
216
  }
@@ -291,7 +229,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
291
229
  * @deprecated
292
230
  * @link /admin/realms/{realm}/authentication/config
293
231
  */ async function pOSTAdminRealmsRealmAuthenticationConfig({ pathParams, body, config } = {}) {
294
- const { client: request = client, ...requestConfig } = config ?? {};
232
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
295
233
  if (!pathParams.realm) {
296
234
  throw new Error(`Missing required path parameter: realm`);
297
235
  }
@@ -310,7 +248,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
310
248
  * @summary Get authenticator provider's configuration description
311
249
  * @link /admin/realms/{realm}/authentication/config-description/{providerId}
312
250
  */ async function gETAdminRealmsRealmAuthenticationConfigDescriptionProviderId({ pathParams, config } = {}) {
313
- const { client: request = client, ...requestConfig } = config ?? {};
251
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
314
252
  if (!pathParams.realm) {
315
253
  throw new Error(`Missing required path parameter: realm`);
316
254
  }
@@ -331,7 +269,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
331
269
  * @summary Get authenticator configuration
332
270
  * @link /admin/realms/{realm}/authentication/config/{id}
333
271
  */ async function gETAdminRealmsRealmAuthenticationConfigId({ pathParams, config } = {}) {
334
- const { client: request = client, ...requestConfig } = config ?? {};
272
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
335
273
  if (!pathParams.realm) {
336
274
  throw new Error(`Missing required path parameter: realm`);
337
275
  }
@@ -352,7 +290,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
352
290
  * @summary Update authenticator configuration
353
291
  * @link /admin/realms/{realm}/authentication/config/{id}
354
292
  */ async function pUTAdminRealmsRealmAuthenticationConfigId({ pathParams, body, config } = {}) {
355
- const { client: request = client, ...requestConfig } = config ?? {};
293
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
356
294
  if (!pathParams.realm) {
357
295
  throw new Error(`Missing required path parameter: realm`);
358
296
  }
@@ -374,7 +312,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
374
312
  * @summary Delete authenticator configuration
375
313
  * @link /admin/realms/{realm}/authentication/config/{id}
376
314
  */ async function dELETEAdminRealmsRealmAuthenticationConfigId({ pathParams, config } = {}) {
377
- const { client: request = client, ...requestConfig } = config ?? {};
315
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
378
316
  if (!pathParams.realm) {
379
317
  throw new Error(`Missing required path parameter: realm`);
380
318
  }
@@ -395,7 +333,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
395
333
  * @summary Add new authentication execution
396
334
  * @link /admin/realms/{realm}/authentication/executions
397
335
  */ async function pOSTAdminRealmsRealmAuthenticationExecutions({ pathParams, body, config } = {}) {
398
- const { client: request = client, ...requestConfig } = config ?? {};
336
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
399
337
  if (!pathParams.realm) {
400
338
  throw new Error(`Missing required path parameter: realm`);
401
339
  }
@@ -414,7 +352,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
414
352
  * @summary Get Single Execution
415
353
  * @link /admin/realms/{realm}/authentication/executions/{executionId}
416
354
  */ async function gETAdminRealmsRealmAuthenticationExecutionsExecutionId({ pathParams, config } = {}) {
417
- const { client: request = client, ...requestConfig } = config ?? {};
355
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
418
356
  if (!pathParams.realm) {
419
357
  throw new Error(`Missing required path parameter: realm`);
420
358
  }
@@ -435,7 +373,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
435
373
  * @summary Delete execution
436
374
  * @link /admin/realms/{realm}/authentication/executions/{executionId}
437
375
  */ async function dELETEAdminRealmsRealmAuthenticationExecutionsExecutionId({ pathParams, config } = {}) {
438
- const { client: request = client, ...requestConfig } = config ?? {};
376
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
439
377
  if (!pathParams.realm) {
440
378
  throw new Error(`Missing required path parameter: realm`);
441
379
  }
@@ -456,7 +394,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
456
394
  * @summary Update execution with new configuration
457
395
  * @link /admin/realms/{realm}/authentication/executions/{executionId}/config
458
396
  */ async function pOSTAdminRealmsRealmAuthenticationExecutionsExecutionIdConfig({ pathParams, body, config } = {}) {
459
- const { client: request = client, ...requestConfig } = config ?? {};
397
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
460
398
  if (!pathParams.realm) {
461
399
  throw new Error(`Missing required path parameter: realm`);
462
400
  }
@@ -479,7 +417,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
479
417
  * @deprecated
480
418
  * @link /admin/realms/{realm}/authentication/executions/{executionId}/config/{id}
481
419
  */ async function gETAdminRealmsRealmAuthenticationExecutionsExecutionIdConfigId({ pathParams, config } = {}) {
482
- const { client: request = client, ...requestConfig } = config ?? {};
420
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
483
421
  if (!pathParams.realm) {
484
422
  throw new Error(`Missing required path parameter: realm`);
485
423
  }
@@ -503,7 +441,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
503
441
  * @summary Lower execution's priority
504
442
  * @link /admin/realms/{realm}/authentication/executions/{executionId}/lower-priority
505
443
  */ async function pOSTAdminRealmsRealmAuthenticationExecutionsExecutionIdLowerPriority({ pathParams, config } = {}) {
506
- const { client: request = client, ...requestConfig } = config ?? {};
444
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
507
445
  if (!pathParams.realm) {
508
446
  throw new Error(`Missing required path parameter: realm`);
509
447
  }
@@ -524,7 +462,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
524
462
  * @summary Raise execution's priority
525
463
  * @link /admin/realms/{realm}/authentication/executions/{executionId}/raise-priority
526
464
  */ async function pOSTAdminRealmsRealmAuthenticationExecutionsExecutionIdRaisePriority({ pathParams, config } = {}) {
527
- const { client: request = client, ...requestConfig } = config ?? {};
465
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
528
466
  if (!pathParams.realm) {
529
467
  throw new Error(`Missing required path parameter: realm`);
530
468
  }
@@ -545,7 +483,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
545
483
  * @summary Get authentication flows Returns a stream of authentication flows.
546
484
  * @link /admin/realms/{realm}/authentication/flows
547
485
  */ async function gETAdminRealmsRealmAuthenticationFlows({ pathParams, config } = {}) {
548
- const { client: request = client, ...requestConfig } = config ?? {};
486
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
549
487
  if (!pathParams.realm) {
550
488
  throw new Error(`Missing required path parameter: realm`);
551
489
  }
@@ -563,7 +501,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
563
501
  * @summary Create a new authentication flow
564
502
  * @link /admin/realms/{realm}/authentication/flows
565
503
  */ async function pOSTAdminRealmsRealmAuthenticationFlows({ pathParams, body, config } = {}) {
566
- const { client: request = client, ...requestConfig } = config ?? {};
504
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
567
505
  if (!pathParams.realm) {
568
506
  throw new Error(`Missing required path parameter: realm`);
569
507
  }
@@ -582,7 +520,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
582
520
  * @summary Copy existing authentication flow under a new name The new name is given as 'newName' attribute of the passed JSON object
583
521
  * @link /admin/realms/{realm}/authentication/flows/{flowAlias}/copy
584
522
  */ async function pOSTAdminRealmsRealmAuthenticationFlowsFlowAliasCopy({ pathParams, body, config } = {}) {
585
- const { client: request = client, ...requestConfig } = config ?? {};
523
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
586
524
  if (!pathParams.realm) {
587
525
  throw new Error(`Missing required path parameter: realm`);
588
526
  }
@@ -604,7 +542,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
604
542
  * @summary Get authentication executions for a flow
605
543
  * @link /admin/realms/{realm}/authentication/flows/{flowAlias}/executions
606
544
  */ async function gETAdminRealmsRealmAuthenticationFlowsFlowAliasExecutions({ pathParams, config } = {}) {
607
- const { client: request = client, ...requestConfig } = config ?? {};
545
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
608
546
  if (!pathParams.realm) {
609
547
  throw new Error(`Missing required path parameter: realm`);
610
548
  }
@@ -625,7 +563,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
625
563
  * @summary Update authentication executions of a Flow
626
564
  * @link /admin/realms/{realm}/authentication/flows/{flowAlias}/executions
627
565
  */ async function pUTAdminRealmsRealmAuthenticationFlowsFlowAliasExecutions({ pathParams, body, config } = {}) {
628
- const { client: request = client, ...requestConfig } = config ?? {};
566
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
629
567
  if (!pathParams.realm) {
630
568
  throw new Error(`Missing required path parameter: realm`);
631
569
  }
@@ -647,7 +585,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
647
585
  * @summary Add new authentication execution to a flow
648
586
  * @link /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/execution
649
587
  */ async function pOSTAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsExecution({ pathParams, body, config } = {}) {
650
- const { client: request = client, ...requestConfig } = config ?? {};
588
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
651
589
  if (!pathParams.realm) {
652
590
  throw new Error(`Missing required path parameter: realm`);
653
591
  }
@@ -669,7 +607,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
669
607
  * @summary Add new flow with new execution to existing flow
670
608
  * @link /admin/realms/{realm}/authentication/flows/{flowAlias}/executions/flow
671
609
  */ async function pOSTAdminRealmsRealmAuthenticationFlowsFlowAliasExecutionsFlow({ pathParams, body, config } = {}) {
672
- const { client: request = client, ...requestConfig } = config ?? {};
610
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
673
611
  if (!pathParams.realm) {
674
612
  throw new Error(`Missing required path parameter: realm`);
675
613
  }
@@ -691,7 +629,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
691
629
  * @summary Get authentication flow for id
692
630
  * @link /admin/realms/{realm}/authentication/flows/{id}
693
631
  */ async function gETAdminRealmsRealmAuthenticationFlowsId({ pathParams, config } = {}) {
694
- const { client: request = client, ...requestConfig } = config ?? {};
632
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
695
633
  if (!pathParams.realm) {
696
634
  throw new Error(`Missing required path parameter: realm`);
697
635
  }
@@ -712,7 +650,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
712
650
  * @summary Update an authentication flow
713
651
  * @link /admin/realms/{realm}/authentication/flows/{id}
714
652
  */ async function pUTAdminRealmsRealmAuthenticationFlowsId({ pathParams, body, config } = {}) {
715
- const { client: request = client, ...requestConfig } = config ?? {};
653
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
716
654
  if (!pathParams.realm) {
717
655
  throw new Error(`Missing required path parameter: realm`);
718
656
  }
@@ -734,7 +672,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
734
672
  * @summary Delete an authentication flow
735
673
  * @link /admin/realms/{realm}/authentication/flows/{id}
736
674
  */ async function dELETEAdminRealmsRealmAuthenticationFlowsId({ pathParams, config } = {}) {
737
- const { client: request = client, ...requestConfig } = config ?? {};
675
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
738
676
  if (!pathParams.realm) {
739
677
  throw new Error(`Missing required path parameter: realm`);
740
678
  }
@@ -755,7 +693,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
755
693
  * @summary Get form action providers Returns a stream of form action providers.
756
694
  * @link /admin/realms/{realm}/authentication/form-action-providers
757
695
  */ async function gETAdminRealmsRealmAuthenticationFormActionProviders({ pathParams, config } = {}) {
758
- const { client: request = client, ...requestConfig } = config ?? {};
696
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
759
697
  if (!pathParams.realm) {
760
698
  throw new Error(`Missing required path parameter: realm`);
761
699
  }
@@ -773,7 +711,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
773
711
  * @summary Get form providers Returns a stream of form providers.
774
712
  * @link /admin/realms/{realm}/authentication/form-providers
775
713
  */ async function gETAdminRealmsRealmAuthenticationFormProviders({ pathParams, config } = {}) {
776
- const { client: request = client, ...requestConfig } = config ?? {};
714
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
777
715
  if (!pathParams.realm) {
778
716
  throw new Error(`Missing required path parameter: realm`);
779
717
  }
@@ -791,7 +729,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
791
729
  * @summary Get configuration descriptions for all clients
792
730
  * @link /admin/realms/{realm}/authentication/per-client-config-description
793
731
  */ async function gETAdminRealmsRealmAuthenticationPerClientConfigDescription({ pathParams, config } = {}) {
794
- const { client: request = client, ...requestConfig } = config ?? {};
732
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
795
733
  if (!pathParams.realm) {
796
734
  throw new Error(`Missing required path parameter: realm`);
797
735
  }
@@ -809,7 +747,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
809
747
  * @summary Register a new required actions
810
748
  * @link /admin/realms/{realm}/authentication/register-required-action
811
749
  */ async function pOSTAdminRealmsRealmAuthenticationRegisterRequiredAction({ pathParams, body, config } = {}) {
812
- const { client: request = client, ...requestConfig } = config ?? {};
750
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
813
751
  if (!pathParams.realm) {
814
752
  throw new Error(`Missing required path parameter: realm`);
815
753
  }
@@ -828,7 +766,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
828
766
  * @summary Get required actions Returns a stream of required actions.
829
767
  * @link /admin/realms/{realm}/authentication/required-actions
830
768
  */ async function gETAdminRealmsRealmAuthenticationRequiredActions({ pathParams, config } = {}) {
831
- const { client: request = client, ...requestConfig } = config ?? {};
769
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
832
770
  if (!pathParams.realm) {
833
771
  throw new Error(`Missing required path parameter: realm`);
834
772
  }
@@ -846,7 +784,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
846
784
  * @summary Get required action for alias
847
785
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}
848
786
  */ async function gETAdminRealmsRealmAuthenticationRequiredActionsAlias({ pathParams, config } = {}) {
849
- const { client: request = client, ...requestConfig } = config ?? {};
787
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
850
788
  if (!pathParams.realm) {
851
789
  throw new Error(`Missing required path parameter: realm`);
852
790
  }
@@ -867,7 +805,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
867
805
  * @summary Update required action
868
806
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}
869
807
  */ async function pUTAdminRealmsRealmAuthenticationRequiredActionsAlias({ pathParams, body, config } = {}) {
870
- const { client: request = client, ...requestConfig } = config ?? {};
808
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
871
809
  if (!pathParams.realm) {
872
810
  throw new Error(`Missing required path parameter: realm`);
873
811
  }
@@ -889,7 +827,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
889
827
  * @summary Delete required action
890
828
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}
891
829
  */ async function dELETEAdminRealmsRealmAuthenticationRequiredActionsAlias({ pathParams, config } = {}) {
892
- const { client: request = client, ...requestConfig } = config ?? {};
830
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
893
831
  if (!pathParams.realm) {
894
832
  throw new Error(`Missing required path parameter: realm`);
895
833
  }
@@ -910,7 +848,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
910
848
  * @summary Get RequiredAction configuration
911
849
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}/config
912
850
  */ async function gETAdminRealmsRealmAuthenticationRequiredActionsAliasConfig({ pathParams, config } = {}) {
913
- const { client: request = client, ...requestConfig } = config ?? {};
851
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
914
852
  if (!pathParams.realm) {
915
853
  throw new Error(`Missing required path parameter: realm`);
916
854
  }
@@ -931,7 +869,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
931
869
  * @summary Update RequiredAction configuration
932
870
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}/config
933
871
  */ async function pUTAdminRealmsRealmAuthenticationRequiredActionsAliasConfig({ pathParams, body, config } = {}) {
934
- const { client: request = client, ...requestConfig } = config ?? {};
872
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
935
873
  if (!pathParams.realm) {
936
874
  throw new Error(`Missing required path parameter: realm`);
937
875
  }
@@ -953,7 +891,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
953
891
  * @summary Delete RequiredAction configuration
954
892
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}/config
955
893
  */ async function dELETEAdminRealmsRealmAuthenticationRequiredActionsAliasConfig({ pathParams, config } = {}) {
956
- const { client: request = client, ...requestConfig } = config ?? {};
894
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
957
895
  if (!pathParams.realm) {
958
896
  throw new Error(`Missing required path parameter: realm`);
959
897
  }
@@ -974,7 +912,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
974
912
  * @summary Get RequiredAction provider configuration description
975
913
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}/config-description
976
914
  */ async function gETAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescription({ pathParams, config } = {}) {
977
- const { client: request = client, ...requestConfig } = config ?? {};
915
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
978
916
  if (!pathParams.realm) {
979
917
  throw new Error(`Missing required path parameter: realm`);
980
918
  }
@@ -995,7 +933,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
995
933
  * @summary Lower required action's priority
996
934
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority
997
935
  */ async function pOSTAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriority({ pathParams, config } = {}) {
998
- const { client: request = client, ...requestConfig } = config ?? {};
936
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
999
937
  if (!pathParams.realm) {
1000
938
  throw new Error(`Missing required path parameter: realm`);
1001
939
  }
@@ -1016,7 +954,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1016
954
  * @summary Raise required action's priority
1017
955
  * @link /admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority
1018
956
  */ async function pOSTAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriority({ pathParams, config } = {}) {
1019
- const { client: request = client, ...requestConfig } = config ?? {};
957
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1020
958
  if (!pathParams.realm) {
1021
959
  throw new Error(`Missing required path parameter: realm`);
1022
960
  }
@@ -1037,7 +975,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1037
975
  * @summary Get unregistered required actions Returns a stream of unregistered required actions.
1038
976
  * @link /admin/realms/{realm}/authentication/unregistered-required-actions
1039
977
  */ async function gETAdminRealmsRealmAuthenticationUnregisteredRequiredActions({ pathParams, config } = {}) {
1040
- const { client: request = client, ...requestConfig } = config ?? {};
978
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1041
979
  if (!pathParams.realm) {
1042
980
  throw new Error(`Missing required path parameter: realm`);
1043
981
  }
@@ -1055,7 +993,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1055
993
  * @summary Base path for importing clients under this realm.
1056
994
  * @link /admin/realms/{realm}/client-description-converter
1057
995
  */ async function pOSTAdminRealmsRealmClientDescriptionConverter({ pathParams, body, config } = {}) {
1058
- const { client: request = client, ...requestConfig } = config ?? {};
996
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1059
997
  if (!pathParams.realm) {
1060
998
  throw new Error(`Missing required path parameter: realm`);
1061
999
  }
@@ -1073,7 +1011,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1073
1011
  /**
1074
1012
  * @link /admin/realms/{realm}/client-policies/policies
1075
1013
  */ async function gETAdminRealmsRealmClientPoliciesPolicies({ pathParams, queryParams, config } = {}) {
1076
- const { client: request = client, ...requestConfig } = config ?? {};
1014
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1077
1015
  if (!pathParams.realm) {
1078
1016
  throw new Error(`Missing required path parameter: realm`);
1079
1017
  }
@@ -1091,7 +1029,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1091
1029
  /**
1092
1030
  * @link /admin/realms/{realm}/client-policies/policies
1093
1031
  */ async function pUTAdminRealmsRealmClientPoliciesPolicies({ pathParams, body, config } = {}) {
1094
- const { client: request = client, ...requestConfig } = config ?? {};
1032
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1095
1033
  if (!pathParams.realm) {
1096
1034
  throw new Error(`Missing required path parameter: realm`);
1097
1035
  }
@@ -1109,7 +1047,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1109
1047
  /**
1110
1048
  * @link /admin/realms/{realm}/client-policies/profiles
1111
1049
  */ async function gETAdminRealmsRealmClientPoliciesProfiles({ pathParams, queryParams, config } = {}) {
1112
- const { client: request = client, ...requestConfig } = config ?? {};
1050
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1113
1051
  if (!pathParams.realm) {
1114
1052
  throw new Error(`Missing required path parameter: realm`);
1115
1053
  }
@@ -1127,7 +1065,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1127
1065
  /**
1128
1066
  * @link /admin/realms/{realm}/client-policies/profiles
1129
1067
  */ async function pUTAdminRealmsRealmClientPoliciesProfiles({ pathParams, body, config } = {}) {
1130
- const { client: request = client, ...requestConfig } = config ?? {};
1068
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1131
1069
  if (!pathParams.realm) {
1132
1070
  throw new Error(`Missing required path parameter: realm`);
1133
1071
  }
@@ -1146,7 +1084,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1146
1084
  * @summary Base path for retrieve providers with the configProperties properly filled
1147
1085
  * @link /admin/realms/{realm}/client-registration-policy/providers
1148
1086
  */ async function gETAdminRealmsRealmClientRegistrationPolicyProviders({ pathParams, config } = {}) {
1149
- const { client: request = client, ...requestConfig } = config ?? {};
1087
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1150
1088
  if (!pathParams.realm) {
1151
1089
  throw new Error(`Missing required path parameter: realm`);
1152
1090
  }
@@ -1164,7 +1102,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1164
1102
  * @summary Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm
1165
1103
  * @link /admin/realms/{realm}/client-scopes
1166
1104
  */ async function gETAdminRealmsRealmClientScopes({ pathParams, config } = {}) {
1167
- const { client: request = client, ...requestConfig } = config ?? {};
1105
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1168
1106
  if (!pathParams.realm) {
1169
1107
  throw new Error(`Missing required path parameter: realm`);
1170
1108
  }
@@ -1182,7 +1120,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1182
1120
  * @summary Create a new client scope Client Scope’s name must be unique!
1183
1121
  * @link /admin/realms/{realm}/client-scopes
1184
1122
  */ async function pOSTAdminRealmsRealmClientScopes({ pathParams, body, config } = {}) {
1185
- const { client: request = client, ...requestConfig } = config ?? {};
1123
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1186
1124
  if (!pathParams.realm) {
1187
1125
  throw new Error(`Missing required path parameter: realm`);
1188
1126
  }
@@ -1202,7 +1140,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1202
1140
  * @description The key is the client id, the value is the number of sessions that currently are active with that client. Only clients that actually have a session associated with them will be in this map.
1203
1141
  * @link /admin/realms/{realm}/client-session-stats
1204
1142
  */ async function gETAdminRealmsRealmClientSessionStats({ pathParams, config } = {}) {
1205
- const { client: request = client, ...requestConfig } = config ?? {};
1143
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1206
1144
  if (!pathParams.realm) {
1207
1145
  throw new Error(`Missing required path parameter: realm`);
1208
1146
  }
@@ -1220,7 +1158,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1220
1158
  * @summary Get client scopes belonging to the realm Returns a list of client scopes belonging to the realm
1221
1159
  * @link /admin/realms/{realm}/client-templates
1222
1160
  */ async function gETAdminRealmsRealmClientTemplates({ pathParams, config } = {}) {
1223
- const { client: request = client, ...requestConfig } = config ?? {};
1161
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1224
1162
  if (!pathParams.realm) {
1225
1163
  throw new Error(`Missing required path parameter: realm`);
1226
1164
  }
@@ -1238,7 +1176,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1238
1176
  * @summary Create a new client scope Client Scope’s name must be unique!
1239
1177
  * @link /admin/realms/{realm}/client-templates
1240
1178
  */ async function pOSTAdminRealmsRealmClientTemplates({ pathParams, body, config } = {}) {
1241
- const { client: request = client, ...requestConfig } = config ?? {};
1179
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1242
1180
  if (!pathParams.realm) {
1243
1181
  throw new Error(`Missing required path parameter: realm`);
1244
1182
  }
@@ -1258,7 +1196,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1258
1196
  * @description This endpoint returns a list of both global and realm level client types and the attributes they set
1259
1197
  * @link /admin/realms/{realm}/client-types
1260
1198
  */ async function gETAdminRealmsRealmClientTypes({ pathParams, config } = {}) {
1261
- const { client: request = client, ...requestConfig } = config ?? {};
1199
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1262
1200
  if (!pathParams.realm) {
1263
1201
  throw new Error(`Missing required path parameter: realm`);
1264
1202
  }
@@ -1277,7 +1215,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1277
1215
  * @description This endpoint allows you to update a realm level client type
1278
1216
  * @link /admin/realms/{realm}/client-types
1279
1217
  */ async function pUTAdminRealmsRealmClientTypes({ pathParams, body, config } = {}) {
1280
- const { client: request = client, ...requestConfig } = config ?? {};
1218
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1281
1219
  if (!pathParams.realm) {
1282
1220
  throw new Error(`Missing required path parameter: realm`);
1283
1221
  }
@@ -1297,7 +1235,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1297
1235
  * @description If a client can’t be retrieved from the storage due to a problem with the underlying storage, it is silently removed from the returned list. This ensures that concurrent modifications to the list don’t prevent callers from retrieving this list.
1298
1236
  * @link /admin/realms/{realm}/clients
1299
1237
  */ async function gETAdminRealmsRealmClients({ pathParams, queryParams, config } = {}) {
1300
- const { client: request = client, ...requestConfig } = config ?? {};
1238
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1301
1239
  if (!pathParams.realm) {
1302
1240
  throw new Error(`Missing required path parameter: realm`);
1303
1241
  }
@@ -1316,7 +1254,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1316
1254
  * @summary Create a new client Client’s client_id must be unique!
1317
1255
  * @link /admin/realms/{realm}/clients
1318
1256
  */ async function pOSTAdminRealmsRealmClients({ pathParams, body, config } = {}) {
1319
- const { client: request = client, ...requestConfig } = config ?? {};
1257
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1320
1258
  if (!pathParams.realm) {
1321
1259
  throw new Error(`Missing required path parameter: realm`);
1322
1260
  }
@@ -1334,7 +1272,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1334
1272
  /**
1335
1273
  * @link /admin/realms/{realm}/clients-initial-access
1336
1274
  */ async function gETAdminRealmsRealmClientsInitialAccess({ pathParams, config } = {}) {
1337
- const { client: request = client, ...requestConfig } = config ?? {};
1275
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1338
1276
  if (!pathParams.realm) {
1339
1277
  throw new Error(`Missing required path parameter: realm`);
1340
1278
  }
@@ -1352,7 +1290,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1352
1290
  * @summary Create a new initial access token.
1353
1291
  * @link /admin/realms/{realm}/clients-initial-access
1354
1292
  */ async function pOSTAdminRealmsRealmClientsInitialAccess({ pathParams, body, config } = {}) {
1355
- const { client: request = client, ...requestConfig } = config ?? {};
1293
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1356
1294
  if (!pathParams.realm) {
1357
1295
  throw new Error(`Missing required path parameter: realm`);
1358
1296
  }
@@ -1370,7 +1308,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1370
1308
  /**
1371
1309
  * @link /admin/realms/{realm}/clients-initial-access/{id}
1372
1310
  */ async function dELETEAdminRealmsRealmClientsInitialAccessId({ pathParams, config } = {}) {
1373
- const { client: request = client, ...requestConfig } = config ?? {};
1311
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1374
1312
  if (!pathParams.realm) {
1375
1313
  throw new Error(`Missing required path parameter: realm`);
1376
1314
  }
@@ -1390,7 +1328,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1390
1328
  /**
1391
1329
  * @link /admin/realms/{realm}/components
1392
1330
  */ async function gETAdminRealmsRealmComponents({ pathParams, queryParams, config } = {}) {
1393
- const { client: request = client, ...requestConfig } = config ?? {};
1331
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1394
1332
  if (!pathParams.realm) {
1395
1333
  throw new Error(`Missing required path parameter: realm`);
1396
1334
  }
@@ -1408,7 +1346,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1408
1346
  /**
1409
1347
  * @link /admin/realms/{realm}/components
1410
1348
  */ async function pOSTAdminRealmsRealmComponents({ pathParams, body, config } = {}) {
1411
- const { client: request = client, ...requestConfig } = config ?? {};
1349
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1412
1350
  if (!pathParams.realm) {
1413
1351
  throw new Error(`Missing required path parameter: realm`);
1414
1352
  }
@@ -1426,7 +1364,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1426
1364
  /**
1427
1365
  * @link /admin/realms/{realm}/components/{id}
1428
1366
  */ async function gETAdminRealmsRealmComponentsId({ pathParams, config } = {}) {
1429
- const { client: request = client, ...requestConfig } = config ?? {};
1367
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1430
1368
  if (!pathParams.realm) {
1431
1369
  throw new Error(`Missing required path parameter: realm`);
1432
1370
  }
@@ -1446,7 +1384,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1446
1384
  /**
1447
1385
  * @link /admin/realms/{realm}/components/{id}
1448
1386
  */ async function pUTAdminRealmsRealmComponentsId({ pathParams, body, config } = {}) {
1449
- const { client: request = client, ...requestConfig } = config ?? {};
1387
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1450
1388
  if (!pathParams.realm) {
1451
1389
  throw new Error(`Missing required path parameter: realm`);
1452
1390
  }
@@ -1467,7 +1405,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1467
1405
  /**
1468
1406
  * @link /admin/realms/{realm}/components/{id}
1469
1407
  */ async function dELETEAdminRealmsRealmComponentsId({ pathParams, config } = {}) {
1470
- const { client: request = client, ...requestConfig } = config ?? {};
1408
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1471
1409
  if (!pathParams.realm) {
1472
1410
  throw new Error(`Missing required path parameter: realm`);
1473
1411
  }
@@ -1488,7 +1426,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1488
1426
  * @summary List of subcomponent types that are available to configure for a particular parent component.
1489
1427
  * @link /admin/realms/{realm}/components/{id}/sub-component-types
1490
1428
  */ async function gETAdminRealmsRealmComponentsIdSubComponentTypes({ pathParams, queryParams, config } = {}) {
1491
- const { client: request = client, ...requestConfig } = config ?? {};
1429
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1492
1430
  if (!pathParams.realm) {
1493
1431
  throw new Error(`Missing required path parameter: realm`);
1494
1432
  }
@@ -1509,7 +1447,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1509
1447
  /**
1510
1448
  * @link /admin/realms/{realm}/credential-registrators
1511
1449
  */ async function gETAdminRealmsRealmCredentialRegistrators({ pathParams, config } = {}) {
1512
- const { client: request = client, ...requestConfig } = config ?? {};
1450
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1513
1451
  if (!pathParams.realm) {
1514
1452
  throw new Error(`Missing required path parameter: realm`);
1515
1453
  }
@@ -1527,7 +1465,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1527
1465
  * @summary Get realm default client scopes. Only name and ids are returned.
1528
1466
  * @link /admin/realms/{realm}/default-default-client-scopes
1529
1467
  */ async function gETAdminRealmsRealmDefaultDefaultClientScopes({ pathParams, config } = {}) {
1530
- const { client: request = client, ...requestConfig } = config ?? {};
1468
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1531
1469
  if (!pathParams.realm) {
1532
1470
  throw new Error(`Missing required path parameter: realm`);
1533
1471
  }
@@ -1544,7 +1482,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1544
1482
  /**
1545
1483
  * @link /admin/realms/{realm}/default-default-client-scopes/{clientScopeId}
1546
1484
  */ async function pUTAdminRealmsRealmDefaultDefaultClientScopesClientScopeId({ pathParams, config } = {}) {
1547
- const { client: request = client, ...requestConfig } = config ?? {};
1485
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1548
1486
  if (!pathParams.realm) {
1549
1487
  throw new Error(`Missing required path parameter: realm`);
1550
1488
  }
@@ -1564,7 +1502,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1564
1502
  /**
1565
1503
  * @link /admin/realms/{realm}/default-default-client-scopes/{clientScopeId}
1566
1504
  */ async function dELETEAdminRealmsRealmDefaultDefaultClientScopesClientScopeId({ pathParams, config } = {}) {
1567
- const { client: request = client, ...requestConfig } = config ?? {};
1505
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1568
1506
  if (!pathParams.realm) {
1569
1507
  throw new Error(`Missing required path parameter: realm`);
1570
1508
  }
@@ -1585,7 +1523,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1585
1523
  * @summary Get group hierarchy. Only name and ids are returned.
1586
1524
  * @link /admin/realms/{realm}/default-groups
1587
1525
  */ async function gETAdminRealmsRealmDefaultGroups({ pathParams, config } = {}) {
1588
- const { client: request = client, ...requestConfig } = config ?? {};
1526
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1589
1527
  if (!pathParams.realm) {
1590
1528
  throw new Error(`Missing required path parameter: realm`);
1591
1529
  }
@@ -1602,7 +1540,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1602
1540
  /**
1603
1541
  * @link /admin/realms/{realm}/default-groups/{groupId}
1604
1542
  */ async function pUTAdminRealmsRealmDefaultGroupsGroupId({ pathParams, config } = {}) {
1605
- const { client: request = client, ...requestConfig } = config ?? {};
1543
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1606
1544
  if (!pathParams.realm) {
1607
1545
  throw new Error(`Missing required path parameter: realm`);
1608
1546
  }
@@ -1622,7 +1560,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1622
1560
  /**
1623
1561
  * @link /admin/realms/{realm}/default-groups/{groupId}
1624
1562
  */ async function dELETEAdminRealmsRealmDefaultGroupsGroupId({ pathParams, config } = {}) {
1625
- const { client: request = client, ...requestConfig } = config ?? {};
1563
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1626
1564
  if (!pathParams.realm) {
1627
1565
  throw new Error(`Missing required path parameter: realm`);
1628
1566
  }
@@ -1643,7 +1581,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1643
1581
  * @summary Get realm optional client scopes. Only name and ids are returned.
1644
1582
  * @link /admin/realms/{realm}/default-optional-client-scopes
1645
1583
  */ async function gETAdminRealmsRealmDefaultOptionalClientScopes({ pathParams, config } = {}) {
1646
- const { client: request = client, ...requestConfig } = config ?? {};
1584
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1647
1585
  if (!pathParams.realm) {
1648
1586
  throw new Error(`Missing required path parameter: realm`);
1649
1587
  }
@@ -1660,7 +1598,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1660
1598
  /**
1661
1599
  * @link /admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}
1662
1600
  */ async function pUTAdminRealmsRealmDefaultOptionalClientScopesClientScopeId({ pathParams, config } = {}) {
1663
- const { client: request = client, ...requestConfig } = config ?? {};
1601
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1664
1602
  if (!pathParams.realm) {
1665
1603
  throw new Error(`Missing required path parameter: realm`);
1666
1604
  }
@@ -1680,7 +1618,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1680
1618
  /**
1681
1619
  * @link /admin/realms/{realm}/default-optional-client-scopes/{clientScopeId}
1682
1620
  */ async function dELETEAdminRealmsRealmDefaultOptionalClientScopesClientScopeId({ pathParams, config } = {}) {
1683
- const { client: request = client, ...requestConfig } = config ?? {};
1621
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1684
1622
  if (!pathParams.realm) {
1685
1623
  throw new Error(`Missing required path parameter: realm`);
1686
1624
  }
@@ -1701,7 +1639,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1701
1639
  * @summary Get events Returns all events, or filters them based on URL query parameters listed here
1702
1640
  * @link /admin/realms/{realm}/events
1703
1641
  */ async function gETAdminRealmsRealmEvents({ pathParams, queryParams, config } = {}) {
1704
- const { client: request = client, ...requestConfig } = config ?? {};
1642
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1705
1643
  if (!pathParams.realm) {
1706
1644
  throw new Error(`Missing required path parameter: realm`);
1707
1645
  }
@@ -1720,7 +1658,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1720
1658
  * @summary Delete all events
1721
1659
  * @link /admin/realms/{realm}/events
1722
1660
  */ async function dELETEAdminRealmsRealmEvents({ pathParams, config } = {}) {
1723
- const { client: request = client, ...requestConfig } = config ?? {};
1661
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1724
1662
  if (!pathParams.realm) {
1725
1663
  throw new Error(`Missing required path parameter: realm`);
1726
1664
  }
@@ -1738,7 +1676,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1738
1676
  * @summary Get the events provider configuration Returns JSON object with events provider configuration
1739
1677
  * @link /admin/realms/{realm}/events/config
1740
1678
  */ async function gETAdminRealmsRealmEventsConfig({ pathParams, config } = {}) {
1741
- const { client: request = client, ...requestConfig } = config ?? {};
1679
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1742
1680
  if (!pathParams.realm) {
1743
1681
  throw new Error(`Missing required path parameter: realm`);
1744
1682
  }
@@ -1756,7 +1694,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1756
1694
  * @description Update the events provider Change the events provider and/or its configuration
1757
1695
  * @link /admin/realms/{realm}/events/config
1758
1696
  */ async function pUTAdminRealmsRealmEventsConfig({ pathParams, body, config } = {}) {
1759
- const { client: request = client, ...requestConfig } = config ?? {};
1697
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1760
1698
  if (!pathParams.realm) {
1761
1699
  throw new Error(`Missing required path parameter: realm`);
1762
1700
  }
@@ -1774,7 +1712,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1774
1712
  /**
1775
1713
  * @link /admin/realms/{realm}/group-by-path/{path}
1776
1714
  */ async function gETAdminRealmsRealmGroupByPathPath({ pathParams, config } = {}) {
1777
- const { client: request = client, ...requestConfig } = config ?? {};
1715
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1778
1716
  if (!pathParams.realm) {
1779
1717
  throw new Error(`Missing required path parameter: realm`);
1780
1718
  }
@@ -1795,7 +1733,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1795
1733
  * @summary Get group hierarchy. Only `name` and `id` are returned. `subGroups` are only returned when using the `search` or `q` parameter. If none of these parameters is provided, the top-level groups are returned without `subGroups` being filled.
1796
1734
  * @link /admin/realms/{realm}/groups
1797
1735
  */ async function gETAdminRealmsRealmGroups({ pathParams, queryParams, config } = {}) {
1798
- const { client: request = client, ...requestConfig } = config ?? {};
1736
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1799
1737
  if (!pathParams.realm) {
1800
1738
  throw new Error(`Missing required path parameter: realm`);
1801
1739
  }
@@ -1815,7 +1753,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1815
1753
  * @description This will update the group and set the parent if it exists. Create it and set the parent if the group doesn’t exist.
1816
1754
  * @link /admin/realms/{realm}/groups
1817
1755
  */ async function pOSTAdminRealmsRealmGroups({ pathParams, body, config } = {}) {
1818
- const { client: request = client, ...requestConfig } = config ?? {};
1756
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1819
1757
  if (!pathParams.realm) {
1820
1758
  throw new Error(`Missing required path parameter: realm`);
1821
1759
  }
@@ -1834,7 +1772,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1834
1772
  * @summary Returns the groups counts.
1835
1773
  * @link /admin/realms/{realm}/groups/count
1836
1774
  */ async function gETAdminRealmsRealmGroupsCount({ pathParams, queryParams, config } = {}) {
1837
- const { client: request = client, ...requestConfig } = config ?? {};
1775
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1838
1776
  if (!pathParams.realm) {
1839
1777
  throw new Error(`Missing required path parameter: realm`);
1840
1778
  }
@@ -1854,7 +1792,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1854
1792
  * @description Import identity provider from uploaded JSON file
1855
1793
  * @link /admin/realms/{realm}/identity-provider/import-config
1856
1794
  */ async function pOSTAdminRealmsRealmIdentityProviderImportConfig({ pathParams, body, config } = {}) {
1857
- const { client: request = client, ...requestConfig } = config ?? {};
1795
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1858
1796
  if (!pathParams.realm) {
1859
1797
  throw new Error(`Missing required path parameter: realm`);
1860
1798
  }
@@ -1873,7 +1811,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1873
1811
  * @summary List identity providers
1874
1812
  * @link /admin/realms/{realm}/identity-provider/instances
1875
1813
  */ async function gETAdminRealmsRealmIdentityProviderInstances({ pathParams, queryParams, config } = {}) {
1876
- const { client: request = client, ...requestConfig } = config ?? {};
1814
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1877
1815
  if (!pathParams.realm) {
1878
1816
  throw new Error(`Missing required path parameter: realm`);
1879
1817
  }
@@ -1892,7 +1830,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1892
1830
  * @summary Create a new identity provider
1893
1831
  * @link /admin/realms/{realm}/identity-provider/instances
1894
1832
  */ async function pOSTAdminRealmsRealmIdentityProviderInstances({ pathParams, body, config } = {}) {
1895
- const { client: request = client, ...requestConfig } = config ?? {};
1833
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1896
1834
  if (!pathParams.realm) {
1897
1835
  throw new Error(`Missing required path parameter: realm`);
1898
1836
  }
@@ -1911,7 +1849,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1911
1849
  * @summary Get the identity provider
1912
1850
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}
1913
1851
  */ async function gETAdminRealmsRealmIdentityProviderInstancesAlias({ pathParams, config } = {}) {
1914
- const { client: request = client, ...requestConfig } = config ?? {};
1852
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1915
1853
  if (!pathParams.realm) {
1916
1854
  throw new Error(`Missing required path parameter: realm`);
1917
1855
  }
@@ -1932,7 +1870,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1932
1870
  * @summary Update the identity provider
1933
1871
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}
1934
1872
  */ async function pUTAdminRealmsRealmIdentityProviderInstancesAlias({ pathParams, body, config } = {}) {
1935
- const { client: request = client, ...requestConfig } = config ?? {};
1873
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1936
1874
  if (!pathParams.realm) {
1937
1875
  throw new Error(`Missing required path parameter: realm`);
1938
1876
  }
@@ -1954,7 +1892,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1954
1892
  * @summary Delete the identity provider
1955
1893
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}
1956
1894
  */ async function dELETEAdminRealmsRealmIdentityProviderInstancesAlias({ pathParams, config } = {}) {
1957
- const { client: request = client, ...requestConfig } = config ?? {};
1895
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1958
1896
  if (!pathParams.realm) {
1959
1897
  throw new Error(`Missing required path parameter: realm`);
1960
1898
  }
@@ -1975,7 +1913,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1975
1913
  * @summary Export public broker configuration for identity provider
1976
1914
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/export
1977
1915
  */ async function gETAdminRealmsRealmIdentityProviderInstancesAliasExport({ pathParams, queryParams, config } = {}) {
1978
- const { client: request = client, ...requestConfig } = config ?? {};
1916
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
1979
1917
  if (!pathParams.realm) {
1980
1918
  throw new Error(`Missing required path parameter: realm`);
1981
1919
  }
@@ -1997,7 +1935,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
1997
1935
  * @summary Return object stating whether client Authorization permissions have been initialized or not and a reference
1998
1936
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions
1999
1937
  */ async function gETAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissions({ pathParams, config } = {}) {
2000
- const { client: request = client, ...requestConfig } = config ?? {};
1938
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2001
1939
  if (!pathParams.realm) {
2002
1940
  throw new Error(`Missing required path parameter: realm`);
2003
1941
  }
@@ -2018,7 +1956,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2018
1956
  * @summary Return object stating whether client Authorization permissions have been initialized or not and a reference
2019
1957
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/management/permissions
2020
1958
  */ async function pUTAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissions({ pathParams, body, config } = {}) {
2021
- const { client: request = client, ...requestConfig } = config ?? {};
1959
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2022
1960
  if (!pathParams.realm) {
2023
1961
  throw new Error(`Missing required path parameter: realm`);
2024
1962
  }
@@ -2040,7 +1978,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2040
1978
  * @summary Get mapper types for identity provider
2041
1979
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/mapper-types
2042
1980
  */ async function gETAdminRealmsRealmIdentityProviderInstancesAliasMapperTypes({ pathParams, config } = {}) {
2043
- const { client: request = client, ...requestConfig } = config ?? {};
1981
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2044
1982
  if (!pathParams.realm) {
2045
1983
  throw new Error(`Missing required path parameter: realm`);
2046
1984
  }
@@ -2061,7 +1999,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2061
1999
  * @summary Get mappers for identity provider
2062
2000
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/mappers
2063
2001
  */ async function gETAdminRealmsRealmIdentityProviderInstancesAliasMappers({ pathParams, config } = {}) {
2064
- const { client: request = client, ...requestConfig } = config ?? {};
2002
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2065
2003
  if (!pathParams.realm) {
2066
2004
  throw new Error(`Missing required path parameter: realm`);
2067
2005
  }
@@ -2082,7 +2020,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2082
2020
  * @summary Add a mapper to identity provider
2083
2021
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/mappers
2084
2022
  */ async function pOSTAdminRealmsRealmIdentityProviderInstancesAliasMappers({ pathParams, body, config } = {}) {
2085
- const { client: request = client, ...requestConfig } = config ?? {};
2023
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2086
2024
  if (!pathParams.realm) {
2087
2025
  throw new Error(`Missing required path parameter: realm`);
2088
2026
  }
@@ -2104,7 +2042,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2104
2042
  * @summary Get mapper by id for the identity provider
2105
2043
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}
2106
2044
  */ async function gETAdminRealmsRealmIdentityProviderInstancesAliasMappersId({ pathParams, config } = {}) {
2107
- const { client: request = client, ...requestConfig } = config ?? {};
2045
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2108
2046
  if (!pathParams.realm) {
2109
2047
  throw new Error(`Missing required path parameter: realm`);
2110
2048
  }
@@ -2128,7 +2066,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2128
2066
  * @summary Update a mapper for the identity provider
2129
2067
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}
2130
2068
  */ async function pUTAdminRealmsRealmIdentityProviderInstancesAliasMappersId({ pathParams, body, config } = {}) {
2131
- const { client: request = client, ...requestConfig } = config ?? {};
2069
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2132
2070
  if (!pathParams.realm) {
2133
2071
  throw new Error(`Missing required path parameter: realm`);
2134
2072
  }
@@ -2153,7 +2091,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2153
2091
  * @summary Delete a mapper for the identity provider
2154
2092
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/mappers/{id}
2155
2093
  */ async function dELETEAdminRealmsRealmIdentityProviderInstancesAliasMappersId({ pathParams, config } = {}) {
2156
- const { client: request = client, ...requestConfig } = config ?? {};
2094
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2157
2095
  if (!pathParams.realm) {
2158
2096
  throw new Error(`Missing required path parameter: realm`);
2159
2097
  }
@@ -2177,7 +2115,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2177
2115
  * @summary Reaload keys for the identity provider if the provider supports it, "true" is returned if reload was performed, "false" if not.
2178
2116
  * @link /admin/realms/{realm}/identity-provider/instances/{alias}/reload-keys
2179
2117
  */ async function gETAdminRealmsRealmIdentityProviderInstancesAliasReloadKeys({ pathParams, config } = {}) {
2180
- const { client: request = client, ...requestConfig } = config ?? {};
2118
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2181
2119
  if (!pathParams.realm) {
2182
2120
  throw new Error(`Missing required path parameter: realm`);
2183
2121
  }
@@ -2198,7 +2136,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2198
2136
  * @summary Uploads a certificate, prepares the jwks or public key associated, and returns the certificate representation.
2199
2137
  * @link /admin/realms/{realm}/identity-provider/upload-certificate
2200
2138
  */ async function pOSTAdminRealmsRealmIdentityProviderUploadCertificate({ pathParams, config } = {}) {
2201
- const { client: request = client, ...requestConfig } = config ?? {};
2139
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2202
2140
  if (!pathParams.realm) {
2203
2141
  throw new Error(`Missing required path parameter: realm`);
2204
2142
  }
@@ -2215,7 +2153,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2215
2153
  /**
2216
2154
  * @link /admin/realms/{realm}/keys
2217
2155
  */ async function gETAdminRealmsRealmKeys({ pathParams, config } = {}) {
2218
- const { client: request = client, ...requestConfig } = config ?? {};
2156
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2219
2157
  if (!pathParams.realm) {
2220
2158
  throw new Error(`Missing required path parameter: realm`);
2221
2159
  }
@@ -2232,7 +2170,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2232
2170
  /**
2233
2171
  * @link /admin/realms/{realm}/localization
2234
2172
  */ async function gETAdminRealmsRealmLocalization({ pathParams, config } = {}) {
2235
- const { client: request = client, ...requestConfig } = config ?? {};
2173
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2236
2174
  if (!pathParams.realm) {
2237
2175
  throw new Error(`Missing required path parameter: realm`);
2238
2176
  }
@@ -2249,7 +2187,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2249
2187
  /**
2250
2188
  * @link /admin/realms/{realm}/localization/{locale}
2251
2189
  */ async function gETAdminRealmsRealmLocalizationLocale({ pathParams, queryParams, config } = {}) {
2252
- const { client: request = client, ...requestConfig } = config ?? {};
2190
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2253
2191
  if (!pathParams.realm) {
2254
2192
  throw new Error(`Missing required path parameter: realm`);
2255
2193
  }
@@ -2271,7 +2209,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2271
2209
  * @summary Import localization from uploaded JSON file
2272
2210
  * @link /admin/realms/{realm}/localization/{locale}
2273
2211
  */ async function pOSTAdminRealmsRealmLocalizationLocale({ pathParams, body, config } = {}) {
2274
- const { client: request = client, ...requestConfig } = config ?? {};
2212
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2275
2213
  if (!pathParams.realm) {
2276
2214
  throw new Error(`Missing required path parameter: realm`);
2277
2215
  }
@@ -2292,7 +2230,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2292
2230
  /**
2293
2231
  * @link /admin/realms/{realm}/localization/{locale}
2294
2232
  */ async function dELETEAdminRealmsRealmLocalizationLocale({ pathParams, config } = {}) {
2295
- const { client: request = client, ...requestConfig } = config ?? {};
2233
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2296
2234
  if (!pathParams.realm) {
2297
2235
  throw new Error(`Missing required path parameter: realm`);
2298
2236
  }
@@ -2312,7 +2250,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2312
2250
  /**
2313
2251
  * @link /admin/realms/{realm}/localization/{locale}/{key}
2314
2252
  */ async function gETAdminRealmsRealmLocalizationLocaleKey({ pathParams, config } = {}) {
2315
- const { client: request = client, ...requestConfig } = config ?? {};
2253
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2316
2254
  if (!pathParams.realm) {
2317
2255
  throw new Error(`Missing required path parameter: realm`);
2318
2256
  }
@@ -2335,7 +2273,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2335
2273
  /**
2336
2274
  * @link /admin/realms/{realm}/localization/{locale}/{key}
2337
2275
  */ async function pUTAdminRealmsRealmLocalizationLocaleKey({ pathParams, config } = {}) {
2338
- const { client: request = client, ...requestConfig } = config ?? {};
2276
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2339
2277
  if (!pathParams.realm) {
2340
2278
  throw new Error(`Missing required path parameter: realm`);
2341
2279
  }
@@ -2358,7 +2296,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2358
2296
  /**
2359
2297
  * @link /admin/realms/{realm}/localization/{locale}/{key}
2360
2298
  */ async function dELETEAdminRealmsRealmLocalizationLocaleKey({ pathParams, config } = {}) {
2361
- const { client: request = client, ...requestConfig } = config ?? {};
2299
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2362
2300
  if (!pathParams.realm) {
2363
2301
  throw new Error(`Missing required path parameter: realm`);
2364
2302
  }
@@ -2383,7 +2321,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2383
2321
  * @description Any client that has an admin url will also be told to invalidate any sessions they have.
2384
2322
  * @link /admin/realms/{realm}/logout-all
2385
2323
  */ async function pOSTAdminRealmsRealmLogoutAll({ pathParams, config } = {}) {
2386
- const { client: request = client, ...requestConfig } = config ?? {};
2324
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2387
2325
  if (!pathParams.realm) {
2388
2326
  throw new Error(`Missing required path parameter: realm`);
2389
2327
  }
@@ -2401,7 +2339,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2401
2339
  * @summary Returns a paginated list of organizations filtered according to the specified parameters
2402
2340
  * @link /admin/realms/{realm}/organizations
2403
2341
  */ async function gETAdminRealmsRealmOrganizations({ pathParams, queryParams, config } = {}) {
2404
- const { client: request = client, ...requestConfig } = config ?? {};
2342
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2405
2343
  if (!pathParams.realm) {
2406
2344
  throw new Error(`Missing required path parameter: realm`);
2407
2345
  }
@@ -2420,7 +2358,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2420
2358
  * @summary Creates a new organization
2421
2359
  * @link /admin/realms/{realm}/organizations
2422
2360
  */ async function pOSTAdminRealmsRealmOrganizations({ pathParams, body, config } = {}) {
2423
- const { client: request = client, ...requestConfig } = config ?? {};
2361
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2424
2362
  if (!pathParams.realm) {
2425
2363
  throw new Error(`Missing required path parameter: realm`);
2426
2364
  }
@@ -2439,7 +2377,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2439
2377
  * @summary Returns the organizations counts.
2440
2378
  * @link /admin/realms/{realm}/organizations/count
2441
2379
  */ async function gETAdminRealmsRealmOrganizationsCount({ pathParams, queryParams, config } = {}) {
2442
- const { client: request = client, ...requestConfig } = config ?? {};
2380
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2443
2381
  if (!pathParams.realm) {
2444
2382
  throw new Error(`Missing required path parameter: realm`);
2445
2383
  }
@@ -2458,7 +2396,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2458
2396
  * @summary Partial export of existing realm into a JSON file.
2459
2397
  * @link /admin/realms/{realm}/partial-export
2460
2398
  */ async function pOSTAdminRealmsRealmPartialExport({ pathParams, queryParams, config } = {}) {
2461
- const { client: request = client, ...requestConfig } = config ?? {};
2399
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2462
2400
  if (!pathParams.realm) {
2463
2401
  throw new Error(`Missing required path parameter: realm`);
2464
2402
  }
@@ -2477,7 +2415,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2477
2415
  * @summary Partial import from a JSON file to an existing realm.
2478
2416
  * @link /admin/realms/{realm}/partialImport
2479
2417
  */ async function pOSTAdminRealmsRealmPartialImport({ pathParams, body, config } = {}) {
2480
- const { client: request = client, ...requestConfig } = config ?? {};
2418
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2481
2419
  if (!pathParams.realm) {
2482
2420
  throw new Error(`Missing required path parameter: realm`);
2483
2421
  }
@@ -2496,7 +2434,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2496
2434
  * @summary Push the realm's revocation policy to any client that has an admin url associated with it.
2497
2435
  * @link /admin/realms/{realm}/push-revocation
2498
2436
  */ async function pOSTAdminRealmsRealmPushRevocation({ pathParams, config } = {}) {
2499
- const { client: request = client, ...requestConfig } = config ?? {};
2437
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2500
2438
  if (!pathParams.realm) {
2501
2439
  throw new Error(`Missing required path parameter: realm`);
2502
2440
  }
@@ -2514,7 +2452,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2514
2452
  * @summary Get all roles for the realm or client
2515
2453
  * @link /admin/realms/{realm}/roles
2516
2454
  */ async function gETAdminRealmsRealmRoles({ pathParams, queryParams, config } = {}) {
2517
- const { client: request = client, ...requestConfig } = config ?? {};
2455
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2518
2456
  if (!pathParams.realm) {
2519
2457
  throw new Error(`Missing required path parameter: realm`);
2520
2458
  }
@@ -2533,7 +2471,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2533
2471
  * @summary Create a new role for the realm or client
2534
2472
  * @link /admin/realms/{realm}/roles
2535
2473
  */ async function pOSTAdminRealmsRealmRoles({ pathParams, body, config } = {}) {
2536
- const { client: request = client, ...requestConfig } = config ?? {};
2474
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2537
2475
  if (!pathParams.realm) {
2538
2476
  throw new Error(`Missing required path parameter: realm`);
2539
2477
  }
@@ -2553,7 +2491,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2553
2491
  * @description Any client that has an admin url will also be told to invalidate this particular session.
2554
2492
  * @link /admin/realms/{realm}/sessions/{session}
2555
2493
  */ async function dELETEAdminRealmsRealmSessionsSession({ pathParams, queryParams, config } = {}) {
2556
- const { client: request = client, ...requestConfig } = config ?? {};
2494
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2557
2495
  if (!pathParams.realm) {
2558
2496
  throw new Error(`Missing required path parameter: realm`);
2559
2497
  }
@@ -2576,7 +2514,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2576
2514
  * @deprecated
2577
2515
  * @link /admin/realms/{realm}/testSMTPConnection
2578
2516
  */ async function pOSTAdminRealmsRealmTestSMTPConnection({ pathParams, body, config } = {}) {
2579
- const { client: request = client, ...requestConfig } = config ?? {};
2517
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2580
2518
  if (!pathParams.realm) {
2581
2519
  throw new Error(`Missing required path parameter: realm`);
2582
2520
  }
@@ -2596,7 +2534,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2596
2534
  * @description Returns a stream of users. Note that the 'credentials' field in the returned UserRepresentation objects is typically not populated for performance reasons. If specific credential metadata is required, use the dedicated 'GET /admin/realms/{realm}/users/{user-id}/credentials' endpoint.
2597
2535
  * @link /admin/realms/{realm}/users
2598
2536
  */ async function gETAdminRealmsRealmUsers({ pathParams, queryParams, config } = {}) {
2599
- const { client: request = client, ...requestConfig } = config ?? {};
2537
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2600
2538
  if (!pathParams.realm) {
2601
2539
  throw new Error(`Missing required path parameter: realm`);
2602
2540
  }
@@ -2615,7 +2553,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2615
2553
  * @summary Create a new user Username must be unique.
2616
2554
  * @link /admin/realms/{realm}/users
2617
2555
  */ async function pOSTAdminRealmsRealmUsers({ pathParams, body, config } = {}) {
2618
- const { client: request = client, ...requestConfig } = config ?? {};
2556
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2619
2557
  if (!pathParams.realm) {
2620
2558
  throw new Error(`Missing required path parameter: realm`);
2621
2559
  }
@@ -2633,7 +2571,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2633
2571
  /**
2634
2572
  * @link /admin/realms/{realm}/users-management-permissions
2635
2573
  */ async function gETAdminRealmsRealmUsersManagementPermissions({ pathParams, config } = {}) {
2636
- const { client: request = client, ...requestConfig } = config ?? {};
2574
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2637
2575
  if (!pathParams.realm) {
2638
2576
  throw new Error(`Missing required path parameter: realm`);
2639
2577
  }
@@ -2650,7 +2588,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2650
2588
  /**
2651
2589
  * @link /admin/realms/{realm}/users-management-permissions
2652
2590
  */ async function pUTAdminRealmsRealmUsersManagementPermissions({ pathParams, body, config } = {}) {
2653
- const { client: request = client, ...requestConfig } = config ?? {};
2591
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2654
2592
  if (!pathParams.realm) {
2655
2593
  throw new Error(`Missing required path parameter: realm`);
2656
2594
  }
@@ -2670,7 +2608,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2670
2608
  * @description It can be called in three different ways. 1. Don’t specify any criteria and pass {@code null}. The number of all users within that realm will be returned. <p> 2. If {@code search} is specified other criteria such as {@code last} will be ignored even though you set them. The {@code search} string will be matched against the first and last name, the username and the email of a user. <p> 3. If {@code search} is unspecified but any of {@code last}, {@code first}, {@code email} or {@code username} those criteria are matched against their respective fields on a user entity. Combined with a logical and.
2671
2609
  * @link /admin/realms/{realm}/users/count
2672
2610
  */ async function gETAdminRealmsRealmUsersCount({ pathParams, queryParams, config } = {}) {
2673
- const { client: request = client, ...requestConfig } = config ?? {};
2611
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2674
2612
  if (!pathParams.realm) {
2675
2613
  throw new Error(`Missing required path parameter: realm`);
2676
2614
  }
@@ -2689,7 +2627,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2689
2627
  * @description Get the configuration for the user profile
2690
2628
  * @link /admin/realms/{realm}/users/profile
2691
2629
  */ async function gETAdminRealmsRealmUsersProfile({ pathParams, config } = {}) {
2692
- const { client: request = client, ...requestConfig } = config ?? {};
2630
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2693
2631
  if (!pathParams.realm) {
2694
2632
  throw new Error(`Missing required path parameter: realm`);
2695
2633
  }
@@ -2707,7 +2645,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2707
2645
  * @description Set the configuration for the user profile
2708
2646
  * @link /admin/realms/{realm}/users/profile
2709
2647
  */ async function pUTAdminRealmsRealmUsersProfile({ pathParams, body, config } = {}) {
2710
- const { client: request = client, ...requestConfig } = config ?? {};
2648
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2711
2649
  if (!pathParams.realm) {
2712
2650
  throw new Error(`Missing required path parameter: realm`);
2713
2651
  }
@@ -2726,7 +2664,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2726
2664
  * @description Get the UserProfileMetadata from the configuration
2727
2665
  * @link /admin/realms/{realm}/users/profile/metadata
2728
2666
  */ async function gETAdminRealmsRealmUsersProfileMetadata({ pathParams, config } = {}) {
2729
- const { client: request = client, ...requestConfig } = config ?? {};
2667
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2730
2668
  if (!pathParams.realm) {
2731
2669
  throw new Error(`Missing required path parameter: realm`);
2732
2670
  }
@@ -2745,7 +2683,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2745
2683
  * @description List workflows filtered by name and paginated using first and max parameters.
2746
2684
  * @link /admin/realms/{realm}/workflows
2747
2685
  */ async function gETAdminRealmsRealmWorkflows({ pathParams, queryParams, config } = {}) {
2748
- const { client: request = client, ...requestConfig } = config ?? {};
2686
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2749
2687
  if (!pathParams.realm) {
2750
2688
  throw new Error(`Missing required path parameter: realm`);
2751
2689
  }
@@ -2765,7 +2703,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2765
2703
  * @description Create a new workflow from the provided representation.
2766
2704
  * @link /admin/realms/{realm}/workflows
2767
2705
  */ async function pOSTAdminRealmsRealmWorkflows({ pathParams, body, config } = {}) {
2768
- const { client: request = client, ...requestConfig } = config ?? {};
2706
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2769
2707
  if (!pathParams.realm) {
2770
2708
  throw new Error(`Missing required path parameter: realm`);
2771
2709
  }
@@ -2785,7 +2723,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2785
2723
  * @description Migrate scheduled resources from one step to another step in the same or in a different workflow.
2786
2724
  * @link /admin/realms/{realm}/workflows/migrate
2787
2725
  */ async function pOSTAdminRealmsRealmWorkflowsMigrate({ pathParams, queryParams, config } = {}) {
2788
- const { client: request = client, ...requestConfig } = config ?? {};
2726
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2789
2727
  if (!pathParams.realm) {
2790
2728
  throw new Error(`Missing required path parameter: realm`);
2791
2729
  }
@@ -2805,7 +2743,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2805
2743
  * @description Get the workflow representation. Optionally exclude the workflow id from the response.
2806
2744
  * @link /admin/realms/{realm}/workflows/{id}
2807
2745
  */ async function gETAdminRealmsRealmWorkflowsId({ pathParams, queryParams, config } = {}) {
2808
- const { client: request = client, ...requestConfig } = config ?? {};
2746
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2809
2747
  if (!pathParams.realm) {
2810
2748
  throw new Error(`Missing required path parameter: realm`);
2811
2749
  }
@@ -2828,7 +2766,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2828
2766
  * @description Update the workflow configuration. This method does not update the workflow steps.
2829
2767
  * @link /admin/realms/{realm}/workflows/{id}
2830
2768
  */ async function pUTAdminRealmsRealmWorkflowsId({ pathParams, body, config } = {}) {
2831
- const { client: request = client, ...requestConfig } = config ?? {};
2769
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2832
2770
  if (!pathParams.realm) {
2833
2771
  throw new Error(`Missing required path parameter: realm`);
2834
2772
  }
@@ -2851,7 +2789,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2851
2789
  * @description Delete the workflow and its configuration.
2852
2790
  * @link /admin/realms/{realm}/workflows/{id}
2853
2791
  */ async function dELETEAdminRealmsRealmWorkflowsId({ pathParams, config } = {}) {
2854
- const { client: request = client, ...requestConfig } = config ?? {};
2792
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2855
2793
  if (!pathParams.realm) {
2856
2794
  throw new Error(`Missing required path parameter: realm`);
2857
2795
  }
@@ -2873,7 +2811,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2873
2811
  * @description Activate the workflow for the given resource type and identifier. Optionally schedule the first step using the notBefore parameter.
2874
2812
  * @link /admin/realms/{realm}/workflows/{id}/activate/{type}/{resourceId}
2875
2813
  */ async function pOSTAdminRealmsRealmWorkflowsIdActivateTypeResourceId({ pathParams, queryParams, config } = {}) {
2876
- const { client: request = client, ...requestConfig } = config ?? {};
2814
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2877
2815
  if (!pathParams.realm) {
2878
2816
  throw new Error(`Missing required path parameter: realm`);
2879
2817
  }
@@ -2902,7 +2840,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2902
2840
  * @description Deactivate the workflow for the given resource type and identifier.
2903
2841
  * @link /admin/realms/{realm}/workflows/{id}/deactivate/{type}/{resourceId}
2904
2842
  */ async function pOSTAdminRealmsRealmWorkflowsIdDeactivateTypeResourceId({ pathParams, config } = {}) {
2905
- const { client: request = client, ...requestConfig } = config ?? {};
2843
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2906
2844
  if (!pathParams.realm) {
2907
2845
  throw new Error(`Missing required path parameter: realm`);
2908
2846
  }
@@ -2929,7 +2867,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2929
2867
  * @summary Get representation of the client scope
2930
2868
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}
2931
2869
  */ async function gETAdminRealmsRealmClientScopesClientScopeId({ pathParams, config } = {}) {
2932
- const { client: request = client, ...requestConfig } = config ?? {};
2870
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2933
2871
  if (!pathParams.realm) {
2934
2872
  throw new Error(`Missing required path parameter: realm`);
2935
2873
  }
@@ -2950,7 +2888,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2950
2888
  * @summary Update the client scope
2951
2889
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}
2952
2890
  */ async function pUTAdminRealmsRealmClientScopesClientScopeId({ pathParams, body, config } = {}) {
2953
- const { client: request = client, ...requestConfig } = config ?? {};
2891
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2954
2892
  if (!pathParams.realm) {
2955
2893
  throw new Error(`Missing required path parameter: realm`);
2956
2894
  }
@@ -2972,7 +2910,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2972
2910
  * @summary Delete the client scope
2973
2911
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}
2974
2912
  */ async function dELETEAdminRealmsRealmClientScopesClientScopeId({ pathParams, config } = {}) {
2975
- const { client: request = client, ...requestConfig } = config ?? {};
2913
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2976
2914
  if (!pathParams.realm) {
2977
2915
  throw new Error(`Missing required path parameter: realm`);
2978
2916
  }
@@ -2993,7 +2931,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
2993
2931
  * @summary Create multiple mappers
2994
2932
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/protocol-mappers/add-models
2995
2933
  */ async function pOSTAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModels({ pathParams, body, config } = {}) {
2996
- const { client: request = client, ...requestConfig } = config ?? {};
2934
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
2997
2935
  if (!pathParams.realm) {
2998
2936
  throw new Error(`Missing required path parameter: realm`);
2999
2937
  }
@@ -3015,7 +2953,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3015
2953
  * @summary Get mappers
3016
2954
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/protocol-mappers/models
3017
2955
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModels({ pathParams, config } = {}) {
3018
- const { client: request = client, ...requestConfig } = config ?? {};
2956
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3019
2957
  if (!pathParams.realm) {
3020
2958
  throw new Error(`Missing required path parameter: realm`);
3021
2959
  }
@@ -3036,7 +2974,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3036
2974
  * @summary Create a mapper
3037
2975
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/protocol-mappers/models
3038
2976
  */ async function pOSTAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModels({ pathParams, body, config } = {}) {
3039
- const { client: request = client, ...requestConfig } = config ?? {};
2977
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3040
2978
  if (!pathParams.realm) {
3041
2979
  throw new Error(`Missing required path parameter: realm`);
3042
2980
  }
@@ -3058,7 +2996,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3058
2996
  * @summary Get mapper by id
3059
2997
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/protocol-mappers/models/{id}
3060
2998
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsId({ pathParams, config } = {}) {
3061
- const { client: request = client, ...requestConfig } = config ?? {};
2999
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3062
3000
  if (!pathParams.realm) {
3063
3001
  throw new Error(`Missing required path parameter: realm`);
3064
3002
  }
@@ -3082,7 +3020,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3082
3020
  * @summary Update the mapper
3083
3021
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/protocol-mappers/models/{id}
3084
3022
  */ async function pUTAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsId({ pathParams, body, config } = {}) {
3085
- const { client: request = client, ...requestConfig } = config ?? {};
3023
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3086
3024
  if (!pathParams.realm) {
3087
3025
  throw new Error(`Missing required path parameter: realm`);
3088
3026
  }
@@ -3107,7 +3045,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3107
3045
  * @summary Delete the mapper
3108
3046
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/protocol-mappers/models/{id}
3109
3047
  */ async function dELETEAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsId({ pathParams, config } = {}) {
3110
- const { client: request = client, ...requestConfig } = config ?? {};
3048
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3111
3049
  if (!pathParams.realm) {
3112
3050
  throw new Error(`Missing required path parameter: realm`);
3113
3051
  }
@@ -3131,7 +3069,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3131
3069
  * @summary Get mappers by name for a specific protocol
3132
3070
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/protocol-mappers/protocol/{protocol}
3133
3071
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocol({ pathParams, config } = {}) {
3134
- const { client: request = client, ...requestConfig } = config ?? {};
3072
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3135
3073
  if (!pathParams.realm) {
3136
3074
  throw new Error(`Missing required path parameter: realm`);
3137
3075
  }
@@ -3156,7 +3094,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3156
3094
  * @deprecated
3157
3095
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings
3158
3096
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdScopeMappings({ pathParams, config } = {}) {
3159
- const { client: request = client, ...requestConfig } = config ?? {};
3097
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3160
3098
  if (!pathParams.realm) {
3161
3099
  throw new Error(`Missing required path parameter: realm`);
3162
3100
  }
@@ -3177,7 +3115,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3177
3115
  * @summary Get the roles associated with a client's scope Returns roles for the client.
3178
3116
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/clients/{client}
3179
3117
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClient({ pathParams, config } = {}) {
3180
- const { client: request = client, ...requestConfig } = config ?? {};
3118
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3181
3119
  if (!pathParams.realm) {
3182
3120
  throw new Error(`Missing required path parameter: realm`);
3183
3121
  }
@@ -3201,7 +3139,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3201
3139
  * @summary Add client-level roles to the client's scope
3202
3140
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/clients/{client}
3203
3141
  */ async function pOSTAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClient({ pathParams, body, config } = {}) {
3204
- const { client: request = client, ...requestConfig } = config ?? {};
3142
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3205
3143
  if (!pathParams.realm) {
3206
3144
  throw new Error(`Missing required path parameter: realm`);
3207
3145
  }
@@ -3226,7 +3164,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3226
3164
  * @summary Remove client-level roles from the client's scope.
3227
3165
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/clients/{client}
3228
3166
  */ async function dELETEAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClient({ pathParams, body, config } = {}) {
3229
- const { client: request = client, ...requestConfig } = config ?? {};
3167
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3230
3168
  if (!pathParams.realm) {
3231
3169
  throw new Error(`Missing required path parameter: realm`);
3232
3170
  }
@@ -3251,7 +3189,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3251
3189
  * @summary The available client-level roles Returns the roles for the client that can be associated with the client's scope
3252
3190
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/clients/{client}/available
3253
3191
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailable({ pathParams, config } = {}) {
3254
- const { client: request = client, ...requestConfig } = config ?? {};
3192
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3255
3193
  if (!pathParams.realm) {
3256
3194
  throw new Error(`Missing required path parameter: realm`);
3257
3195
  }
@@ -3275,7 +3213,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3275
3213
  * @summary Get effective client roles Returns the roles for the client that are associated with the client's scope.
3276
3214
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/clients/{client}/composite
3277
3215
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientComposite({ pathParams, queryParams, config } = {}) {
3278
- const { client: request = client, ...requestConfig } = config ?? {};
3216
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3279
3217
  if (!pathParams.realm) {
3280
3218
  throw new Error(`Missing required path parameter: realm`);
3281
3219
  }
@@ -3300,7 +3238,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3300
3238
  * @summary Get realm-level roles associated with the client's scope
3301
3239
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/realm
3302
3240
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealm({ pathParams, config } = {}) {
3303
- const { client: request = client, ...requestConfig } = config ?? {};
3241
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3304
3242
  if (!pathParams.realm) {
3305
3243
  throw new Error(`Missing required path parameter: realm`);
3306
3244
  }
@@ -3321,7 +3259,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3321
3259
  * @summary Add a set of realm-level roles to the client's scope
3322
3260
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/realm
3323
3261
  */ async function pOSTAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealm({ pathParams, body, config } = {}) {
3324
- const { client: request = client, ...requestConfig } = config ?? {};
3262
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3325
3263
  if (!pathParams.realm) {
3326
3264
  throw new Error(`Missing required path parameter: realm`);
3327
3265
  }
@@ -3343,7 +3281,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3343
3281
  * @summary Remove a set of realm-level roles from the client's scope
3344
3282
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/realm
3345
3283
  */ async function dELETEAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealm({ pathParams, body, config } = {}) {
3346
- const { client: request = client, ...requestConfig } = config ?? {};
3284
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3347
3285
  if (!pathParams.realm) {
3348
3286
  throw new Error(`Missing required path parameter: realm`);
3349
3287
  }
@@ -3365,7 +3303,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3365
3303
  * @summary Get realm-level roles that are available to attach to this client's scope
3366
3304
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/realm/available
3367
3305
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmAvailable({ pathParams, config } = {}) {
3368
- const { client: request = client, ...requestConfig } = config ?? {};
3306
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3369
3307
  if (!pathParams.realm) {
3370
3308
  throw new Error(`Missing required path parameter: realm`);
3371
3309
  }
@@ -3387,7 +3325,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3387
3325
  * @description The method is really to show a comprehensive total view of realm-level roles associated with the client.
3388
3326
  * @link /admin/realms/{realm}/client-scopes/{clientScopeId}/scope-mappings/realm/composite
3389
3327
  */ async function gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealmComposite({ pathParams, queryParams, config } = {}) {
3390
- const { client: request = client, ...requestConfig } = config ?? {};
3328
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3391
3329
  if (!pathParams.realm) {
3392
3330
  throw new Error(`Missing required path parameter: realm`);
3393
3331
  }
@@ -3409,7 +3347,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3409
3347
  * @summary Get representation of the client scope
3410
3348
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}
3411
3349
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeId({ pathParams, config } = {}) {
3412
- const { client: request = client, ...requestConfig } = config ?? {};
3350
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3413
3351
  if (!pathParams.realm) {
3414
3352
  throw new Error(`Missing required path parameter: realm`);
3415
3353
  }
@@ -3430,7 +3368,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3430
3368
  * @summary Update the client scope
3431
3369
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}
3432
3370
  */ async function pUTAdminRealmsRealmClientTemplatesClientScopeId({ pathParams, body, config } = {}) {
3433
- const { client: request = client, ...requestConfig } = config ?? {};
3371
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3434
3372
  if (!pathParams.realm) {
3435
3373
  throw new Error(`Missing required path parameter: realm`);
3436
3374
  }
@@ -3452,7 +3390,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3452
3390
  * @summary Delete the client scope
3453
3391
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}
3454
3392
  */ async function dELETEAdminRealmsRealmClientTemplatesClientScopeId({ pathParams, config } = {}) {
3455
- const { client: request = client, ...requestConfig } = config ?? {};
3393
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3456
3394
  if (!pathParams.realm) {
3457
3395
  throw new Error(`Missing required path parameter: realm`);
3458
3396
  }
@@ -3473,7 +3411,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3473
3411
  * @summary Create multiple mappers
3474
3412
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/protocol-mappers/add-models
3475
3413
  */ async function pOSTAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModels({ pathParams, body, config } = {}) {
3476
- const { client: request = client, ...requestConfig } = config ?? {};
3414
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3477
3415
  if (!pathParams.realm) {
3478
3416
  throw new Error(`Missing required path parameter: realm`);
3479
3417
  }
@@ -3495,7 +3433,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3495
3433
  * @summary Get mappers
3496
3434
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/protocol-mappers/models
3497
3435
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModels({ pathParams, config } = {}) {
3498
- const { client: request = client, ...requestConfig } = config ?? {};
3436
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3499
3437
  if (!pathParams.realm) {
3500
3438
  throw new Error(`Missing required path parameter: realm`);
3501
3439
  }
@@ -3516,7 +3454,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3516
3454
  * @summary Create a mapper
3517
3455
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/protocol-mappers/models
3518
3456
  */ async function pOSTAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModels({ pathParams, body, config } = {}) {
3519
- const { client: request = client, ...requestConfig } = config ?? {};
3457
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3520
3458
  if (!pathParams.realm) {
3521
3459
  throw new Error(`Missing required path parameter: realm`);
3522
3460
  }
@@ -3538,7 +3476,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3538
3476
  * @summary Get mapper by id
3539
3477
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/protocol-mappers/models/{id}
3540
3478
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsId({ pathParams, config } = {}) {
3541
- const { client: request = client, ...requestConfig } = config ?? {};
3479
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3542
3480
  if (!pathParams.realm) {
3543
3481
  throw new Error(`Missing required path parameter: realm`);
3544
3482
  }
@@ -3562,7 +3500,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3562
3500
  * @summary Update the mapper
3563
3501
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/protocol-mappers/models/{id}
3564
3502
  */ async function pUTAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsId({ pathParams, body, config } = {}) {
3565
- const { client: request = client, ...requestConfig } = config ?? {};
3503
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3566
3504
  if (!pathParams.realm) {
3567
3505
  throw new Error(`Missing required path parameter: realm`);
3568
3506
  }
@@ -3587,7 +3525,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3587
3525
  * @summary Delete the mapper
3588
3526
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/protocol-mappers/models/{id}
3589
3527
  */ async function dELETEAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsId({ pathParams, config } = {}) {
3590
- const { client: request = client, ...requestConfig } = config ?? {};
3528
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3591
3529
  if (!pathParams.realm) {
3592
3530
  throw new Error(`Missing required path parameter: realm`);
3593
3531
  }
@@ -3611,7 +3549,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3611
3549
  * @summary Get mappers by name for a specific protocol
3612
3550
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/protocol-mappers/protocol/{protocol}
3613
3551
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersProtocolProtocol({ pathParams, config } = {}) {
3614
- const { client: request = client, ...requestConfig } = config ?? {};
3552
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3615
3553
  if (!pathParams.realm) {
3616
3554
  throw new Error(`Missing required path parameter: realm`);
3617
3555
  }
@@ -3636,7 +3574,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3636
3574
  * @deprecated
3637
3575
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings
3638
3576
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdScopeMappings({ pathParams, config } = {}) {
3639
- const { client: request = client, ...requestConfig } = config ?? {};
3577
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3640
3578
  if (!pathParams.realm) {
3641
3579
  throw new Error(`Missing required path parameter: realm`);
3642
3580
  }
@@ -3657,7 +3595,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3657
3595
  * @summary Get the roles associated with a client's scope Returns roles for the client.
3658
3596
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/clients/{client}
3659
3597
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClient({ pathParams, config } = {}) {
3660
- const { client: request = client, ...requestConfig } = config ?? {};
3598
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3661
3599
  if (!pathParams.realm) {
3662
3600
  throw new Error(`Missing required path parameter: realm`);
3663
3601
  }
@@ -3681,7 +3619,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3681
3619
  * @summary Add client-level roles to the client's scope
3682
3620
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/clients/{client}
3683
3621
  */ async function pOSTAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClient({ pathParams, body, config } = {}) {
3684
- const { client: request = client, ...requestConfig } = config ?? {};
3622
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3685
3623
  if (!pathParams.realm) {
3686
3624
  throw new Error(`Missing required path parameter: realm`);
3687
3625
  }
@@ -3706,7 +3644,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3706
3644
  * @summary Remove client-level roles from the client's scope.
3707
3645
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/clients/{client}
3708
3646
  */ async function dELETEAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClient({ pathParams, body, config } = {}) {
3709
- const { client: request = client, ...requestConfig } = config ?? {};
3647
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3710
3648
  if (!pathParams.realm) {
3711
3649
  throw new Error(`Missing required path parameter: realm`);
3712
3650
  }
@@ -3731,7 +3669,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3731
3669
  * @summary The available client-level roles Returns the roles for the client that can be associated with the client's scope
3732
3670
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/clients/{client}/available
3733
3671
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientAvailable({ pathParams, config } = {}) {
3734
- const { client: request = client, ...requestConfig } = config ?? {};
3672
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3735
3673
  if (!pathParams.realm) {
3736
3674
  throw new Error(`Missing required path parameter: realm`);
3737
3675
  }
@@ -3755,7 +3693,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3755
3693
  * @summary Get effective client roles Returns the roles for the client that are associated with the client's scope.
3756
3694
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/clients/{client}/composite
3757
3695
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClientComposite({ pathParams, queryParams, config } = {}) {
3758
- const { client: request = client, ...requestConfig } = config ?? {};
3696
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3759
3697
  if (!pathParams.realm) {
3760
3698
  throw new Error(`Missing required path parameter: realm`);
3761
3699
  }
@@ -3780,7 +3718,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3780
3718
  * @summary Get realm-level roles associated with the client's scope
3781
3719
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/realm
3782
3720
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealm({ pathParams, config } = {}) {
3783
- const { client: request = client, ...requestConfig } = config ?? {};
3721
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3784
3722
  if (!pathParams.realm) {
3785
3723
  throw new Error(`Missing required path parameter: realm`);
3786
3724
  }
@@ -3801,7 +3739,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3801
3739
  * @summary Add a set of realm-level roles to the client's scope
3802
3740
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/realm
3803
3741
  */ async function pOSTAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealm({ pathParams, body, config } = {}) {
3804
- const { client: request = client, ...requestConfig } = config ?? {};
3742
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3805
3743
  if (!pathParams.realm) {
3806
3744
  throw new Error(`Missing required path parameter: realm`);
3807
3745
  }
@@ -3823,7 +3761,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3823
3761
  * @summary Remove a set of realm-level roles from the client's scope
3824
3762
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/realm
3825
3763
  */ async function dELETEAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealm({ pathParams, body, config } = {}) {
3826
- const { client: request = client, ...requestConfig } = config ?? {};
3764
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3827
3765
  if (!pathParams.realm) {
3828
3766
  throw new Error(`Missing required path parameter: realm`);
3829
3767
  }
@@ -3845,7 +3783,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3845
3783
  * @summary Get realm-level roles that are available to attach to this client's scope
3846
3784
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/realm/available
3847
3785
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmAvailable({ pathParams, config } = {}) {
3848
- const { client: request = client, ...requestConfig } = config ?? {};
3786
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3849
3787
  if (!pathParams.realm) {
3850
3788
  throw new Error(`Missing required path parameter: realm`);
3851
3789
  }
@@ -3867,7 +3805,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3867
3805
  * @description The method is really to show a comprehensive total view of realm-level roles associated with the client.
3868
3806
  * @link /admin/realms/{realm}/client-templates/{clientScopeId}/scope-mappings/realm/composite
3869
3807
  */ async function gETAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsRealmComposite({ pathParams, queryParams, config } = {}) {
3870
- const { client: request = client, ...requestConfig } = config ?? {};
3808
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3871
3809
  if (!pathParams.realm) {
3872
3810
  throw new Error(`Missing required path parameter: realm`);
3873
3811
  }
@@ -3889,7 +3827,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3889
3827
  * @summary Get representation of the client
3890
3828
  * @link /admin/realms/{realm}/clients/{clientUuid}
3891
3829
  */ async function gETAdminRealmsRealmClientsClientUuid({ pathParams, config } = {}) {
3892
- const { client: request = client, ...requestConfig } = config ?? {};
3830
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3893
3831
  if (!pathParams.realm) {
3894
3832
  throw new Error(`Missing required path parameter: realm`);
3895
3833
  }
@@ -3910,7 +3848,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3910
3848
  * @summary Update the client
3911
3849
  * @link /admin/realms/{realm}/clients/{clientUuid}
3912
3850
  */ async function pUTAdminRealmsRealmClientsClientUuid({ pathParams, body, config } = {}) {
3913
- const { client: request = client, ...requestConfig } = config ?? {};
3851
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3914
3852
  if (!pathParams.realm) {
3915
3853
  throw new Error(`Missing required path parameter: realm`);
3916
3854
  }
@@ -3932,7 +3870,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3932
3870
  * @summary Delete the client
3933
3871
  * @link /admin/realms/{realm}/clients/{clientUuid}
3934
3872
  */ async function dELETEAdminRealmsRealmClientsClientUuid({ pathParams, config } = {}) {
3935
- const { client: request = client, ...requestConfig } = config ?? {};
3873
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3936
3874
  if (!pathParams.realm) {
3937
3875
  throw new Error(`Missing required path parameter: realm`);
3938
3876
  }
@@ -3952,7 +3890,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3952
3890
  /**
3953
3891
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server
3954
3892
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServer({ pathParams, config } = {}) {
3955
- const { client: request = client, ...requestConfig } = config ?? {};
3893
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3956
3894
  if (!pathParams.realm) {
3957
3895
  throw new Error(`Missing required path parameter: realm`);
3958
3896
  }
@@ -3972,7 +3910,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3972
3910
  /**
3973
3911
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server
3974
3912
  */ async function pUTAdminRealmsRealmClientsClientUuidAuthzResourceServer({ pathParams, body, config } = {}) {
3975
- const { client: request = client, ...requestConfig } = config ?? {};
3913
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3976
3914
  if (!pathParams.realm) {
3977
3915
  throw new Error(`Missing required path parameter: realm`);
3978
3916
  }
@@ -3993,7 +3931,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
3993
3931
  /**
3994
3932
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/import
3995
3933
  */ async function pOSTAdminRealmsRealmClientsClientUuidAuthzResourceServerImport({ pathParams, body, config } = {}) {
3996
- const { client: request = client, ...requestConfig } = config ?? {};
3934
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
3997
3935
  if (!pathParams.realm) {
3998
3936
  throw new Error(`Missing required path parameter: realm`);
3999
3937
  }
@@ -4014,7 +3952,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4014
3952
  /**
4015
3953
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/permission
4016
3954
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerPermission({ pathParams, queryParams, config } = {}) {
4017
- const { client: request = client, ...requestConfig } = config ?? {};
3955
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4018
3956
  if (!pathParams.realm) {
4019
3957
  throw new Error(`Missing required path parameter: realm`);
4020
3958
  }
@@ -4035,7 +3973,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4035
3973
  /**
4036
3974
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/permission
4037
3975
  */ async function pOSTAdminRealmsRealmClientsClientUuidAuthzResourceServerPermission({ pathParams, body, config } = {}) {
4038
- const { client: request = client, ...requestConfig } = config ?? {};
3976
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4039
3977
  if (!pathParams.realm) {
4040
3978
  throw new Error(`Missing required path parameter: realm`);
4041
3979
  }
@@ -4056,7 +3994,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4056
3994
  /**
4057
3995
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/permission/evaluate
4058
3996
  */ async function pOSTAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionEvaluate({ pathParams, body, config } = {}) {
4059
- const { client: request = client, ...requestConfig } = config ?? {};
3997
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4060
3998
  if (!pathParams.realm) {
4061
3999
  throw new Error(`Missing required path parameter: realm`);
4062
4000
  }
@@ -4077,7 +4015,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4077
4015
  /**
4078
4016
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/permission/providers
4079
4017
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionProviders({ pathParams, config } = {}) {
4080
- const { client: request = client, ...requestConfig } = config ?? {};
4018
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4081
4019
  if (!pathParams.realm) {
4082
4020
  throw new Error(`Missing required path parameter: realm`);
4083
4021
  }
@@ -4097,7 +4035,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4097
4035
  /**
4098
4036
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/permission/search
4099
4037
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerPermissionSearch({ pathParams, queryParams, config } = {}) {
4100
- const { client: request = client, ...requestConfig } = config ?? {};
4038
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4101
4039
  if (!pathParams.realm) {
4102
4040
  throw new Error(`Missing required path parameter: realm`);
4103
4041
  }
@@ -4118,7 +4056,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4118
4056
  /**
4119
4057
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/policy
4120
4058
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicy({ pathParams, queryParams, config } = {}) {
4121
- const { client: request = client, ...requestConfig } = config ?? {};
4059
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4122
4060
  if (!pathParams.realm) {
4123
4061
  throw new Error(`Missing required path parameter: realm`);
4124
4062
  }
@@ -4139,7 +4077,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4139
4077
  /**
4140
4078
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/policy
4141
4079
  */ async function pOSTAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicy({ pathParams, body, config } = {}) {
4142
- const { client: request = client, ...requestConfig } = config ?? {};
4080
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4143
4081
  if (!pathParams.realm) {
4144
4082
  throw new Error(`Missing required path parameter: realm`);
4145
4083
  }
@@ -4160,7 +4098,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4160
4098
  /**
4161
4099
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/policy/evaluate
4162
4100
  */ async function pOSTAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyEvaluate({ pathParams, body, config } = {}) {
4163
- const { client: request = client, ...requestConfig } = config ?? {};
4101
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4164
4102
  if (!pathParams.realm) {
4165
4103
  throw new Error(`Missing required path parameter: realm`);
4166
4104
  }
@@ -4181,7 +4119,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4181
4119
  /**
4182
4120
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/policy/providers
4183
4121
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicyProviders({ pathParams, config } = {}) {
4184
- const { client: request = client, ...requestConfig } = config ?? {};
4122
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4185
4123
  if (!pathParams.realm) {
4186
4124
  throw new Error(`Missing required path parameter: realm`);
4187
4125
  }
@@ -4201,7 +4139,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4201
4139
  /**
4202
4140
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/policy/search
4203
4141
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerPolicySearch({ pathParams, queryParams, config } = {}) {
4204
- const { client: request = client, ...requestConfig } = config ?? {};
4142
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4205
4143
  if (!pathParams.realm) {
4206
4144
  throw new Error(`Missing required path parameter: realm`);
4207
4145
  }
@@ -4222,7 +4160,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4222
4160
  /**
4223
4161
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource
4224
4162
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerResource({ pathParams, queryParams, config } = {}) {
4225
- const { client: request = client, ...requestConfig } = config ?? {};
4163
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4226
4164
  if (!pathParams.realm) {
4227
4165
  throw new Error(`Missing required path parameter: realm`);
4228
4166
  }
@@ -4243,7 +4181,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4243
4181
  /**
4244
4182
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource
4245
4183
  */ async function pOSTAdminRealmsRealmClientsClientUuidAuthzResourceServerResource({ pathParams, body, queryParams, config } = {}) {
4246
- const { client: request = client, ...requestConfig } = config ?? {};
4184
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4247
4185
  if (!pathParams.realm) {
4248
4186
  throw new Error(`Missing required path parameter: realm`);
4249
4187
  }
@@ -4265,7 +4203,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4265
4203
  /**
4266
4204
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource/search
4267
4205
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceSearch({ pathParams, queryParams, config } = {}) {
4268
- const { client: request = client, ...requestConfig } = config ?? {};
4206
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4269
4207
  if (!pathParams.realm) {
4270
4208
  throw new Error(`Missing required path parameter: realm`);
4271
4209
  }
@@ -4286,7 +4224,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4286
4224
  /**
4287
4225
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource/{resourceId}
4288
4226
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceId({ pathParams, queryParams, config } = {}) {
4289
- const { client: request = client, ...requestConfig } = config ?? {};
4227
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4290
4228
  if (!pathParams.realm) {
4291
4229
  throw new Error(`Missing required path parameter: realm`);
4292
4230
  }
@@ -4310,7 +4248,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4310
4248
  /**
4311
4249
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource/{resourceId}
4312
4250
  */ async function pUTAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceId({ pathParams, body, queryParams, config } = {}) {
4313
- const { client: request = client, ...requestConfig } = config ?? {};
4251
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4314
4252
  if (!pathParams.realm) {
4315
4253
  throw new Error(`Missing required path parameter: realm`);
4316
4254
  }
@@ -4335,7 +4273,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4335
4273
  /**
4336
4274
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource/{resourceId}
4337
4275
  */ async function dELETEAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceId({ pathParams, queryParams, config } = {}) {
4338
- const { client: request = client, ...requestConfig } = config ?? {};
4276
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4339
4277
  if (!pathParams.realm) {
4340
4278
  throw new Error(`Missing required path parameter: realm`);
4341
4279
  }
@@ -4359,7 +4297,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4359
4297
  /**
4360
4298
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource/{resourceId}/attributes
4361
4299
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdAttributes({ pathParams, queryParams, config } = {}) {
4362
- const { client: request = client, ...requestConfig } = config ?? {};
4300
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4363
4301
  if (!pathParams.realm) {
4364
4302
  throw new Error(`Missing required path parameter: realm`);
4365
4303
  }
@@ -4383,7 +4321,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4383
4321
  /**
4384
4322
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource/{resourceId}/permissions
4385
4323
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdPermissions({ pathParams, queryParams, config } = {}) {
4386
- const { client: request = client, ...requestConfig } = config ?? {};
4324
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4387
4325
  if (!pathParams.realm) {
4388
4326
  throw new Error(`Missing required path parameter: realm`);
4389
4327
  }
@@ -4407,7 +4345,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4407
4345
  /**
4408
4346
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/resource/{resourceId}/scopes
4409
4347
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerResourceResourceIdScopes({ pathParams, queryParams, config } = {}) {
4410
- const { client: request = client, ...requestConfig } = config ?? {};
4348
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4411
4349
  if (!pathParams.realm) {
4412
4350
  throw new Error(`Missing required path parameter: realm`);
4413
4351
  }
@@ -4431,7 +4369,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4431
4369
  /**
4432
4370
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/scope
4433
4371
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerScope({ pathParams, queryParams, config } = {}) {
4434
- const { client: request = client, ...requestConfig } = config ?? {};
4372
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4435
4373
  if (!pathParams.realm) {
4436
4374
  throw new Error(`Missing required path parameter: realm`);
4437
4375
  }
@@ -4452,7 +4390,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4452
4390
  /**
4453
4391
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/scope
4454
4392
  */ async function pOSTAdminRealmsRealmClientsClientUuidAuthzResourceServerScope({ pathParams, body, config } = {}) {
4455
- const { client: request = client, ...requestConfig } = config ?? {};
4393
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4456
4394
  if (!pathParams.realm) {
4457
4395
  throw new Error(`Missing required path parameter: realm`);
4458
4396
  }
@@ -4473,7 +4411,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4473
4411
  /**
4474
4412
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/scope/search
4475
4413
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeSearch({ pathParams, queryParams, config } = {}) {
4476
- const { client: request = client, ...requestConfig } = config ?? {};
4414
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4477
4415
  if (!pathParams.realm) {
4478
4416
  throw new Error(`Missing required path parameter: realm`);
4479
4417
  }
@@ -4494,7 +4432,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4494
4432
  /**
4495
4433
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/scope/{scopeId}
4496
4434
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeId({ pathParams, config } = {}) {
4497
- const { client: request = client, ...requestConfig } = config ?? {};
4435
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4498
4436
  if (!pathParams.realm) {
4499
4437
  throw new Error(`Missing required path parameter: realm`);
4500
4438
  }
@@ -4517,7 +4455,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4517
4455
  /**
4518
4456
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/scope/{scopeId}
4519
4457
  */ async function pUTAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeId({ pathParams, body, config } = {}) {
4520
- const { client: request = client, ...requestConfig } = config ?? {};
4458
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4521
4459
  if (!pathParams.realm) {
4522
4460
  throw new Error(`Missing required path parameter: realm`);
4523
4461
  }
@@ -4541,7 +4479,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4541
4479
  /**
4542
4480
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/scope/{scopeId}
4543
4481
  */ async function dELETEAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeId({ pathParams, config } = {}) {
4544
- const { client: request = client, ...requestConfig } = config ?? {};
4482
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4545
4483
  if (!pathParams.realm) {
4546
4484
  throw new Error(`Missing required path parameter: realm`);
4547
4485
  }
@@ -4564,7 +4502,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4564
4502
  /**
4565
4503
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/scope/{scopeId}/permissions
4566
4504
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdPermissions({ pathParams, config } = {}) {
4567
- const { client: request = client, ...requestConfig } = config ?? {};
4505
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4568
4506
  if (!pathParams.realm) {
4569
4507
  throw new Error(`Missing required path parameter: realm`);
4570
4508
  }
@@ -4587,7 +4525,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4587
4525
  /**
4588
4526
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/scope/{scopeId}/resources
4589
4527
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerScopeScopeIdResources({ pathParams, config } = {}) {
4590
- const { client: request = client, ...requestConfig } = config ?? {};
4528
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4591
4529
  if (!pathParams.realm) {
4592
4530
  throw new Error(`Missing required path parameter: realm`);
4593
4531
  }
@@ -4610,7 +4548,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4610
4548
  /**
4611
4549
  * @link /admin/realms/{realm}/clients/{clientUuid}/authz/resource-server/settings
4612
4550
  */ async function gETAdminRealmsRealmClientsClientUuidAuthzResourceServerSettings({ pathParams, config } = {}) {
4613
- const { client: request = client, ...requestConfig } = config ?? {};
4551
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4614
4552
  if (!pathParams.realm) {
4615
4553
  throw new Error(`Missing required path parameter: realm`);
4616
4554
  }
@@ -4631,7 +4569,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4631
4569
  * @summary Get key info
4632
4570
  * @link /admin/realms/{realm}/clients/{clientUuid}/certificates/{attr}
4633
4571
  */ async function gETAdminRealmsRealmClientsClientUuidCertificatesAttr({ pathParams, config } = {}) {
4634
- const { client: request = client, ...requestConfig } = config ?? {};
4572
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4635
4573
  if (!pathParams.realm) {
4636
4574
  throw new Error(`Missing required path parameter: realm`);
4637
4575
  }
@@ -4655,7 +4593,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4655
4593
  * @summary Get a keystore file for the client, containing private key and public certificate
4656
4594
  * @link /admin/realms/{realm}/clients/{clientUuid}/certificates/{attr}/download
4657
4595
  */ async function pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrDownload({ pathParams, body, config } = {}) {
4658
- const { client: request = client, ...requestConfig } = config ?? {};
4596
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4659
4597
  if (!pathParams.realm) {
4660
4598
  throw new Error(`Missing required path parameter: realm`);
4661
4599
  }
@@ -4680,7 +4618,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4680
4618
  * @summary Generate a new certificate with new key pair
4681
4619
  * @link /admin/realms/{realm}/clients/{clientUuid}/certificates/{attr}/generate
4682
4620
  */ async function pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrGenerate({ pathParams, config } = {}) {
4683
- const { client: request = client, ...requestConfig } = config ?? {};
4621
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4684
4622
  if (!pathParams.realm) {
4685
4623
  throw new Error(`Missing required path parameter: realm`);
4686
4624
  }
@@ -4706,7 +4644,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4706
4644
  * Only generated public certificate is saved in Keycloak DB - the private key is not.
4707
4645
  * @link /admin/realms/{realm}/clients/{clientUuid}/certificates/{attr}/generate-and-download
4708
4646
  */ async function pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrGenerateAndDownload({ pathParams, body, config } = {}) {
4709
- const { client: request = client, ...requestConfig } = config ?? {};
4647
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4710
4648
  if (!pathParams.realm) {
4711
4649
  throw new Error(`Missing required path parameter: realm`);
4712
4650
  }
@@ -4731,7 +4669,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4731
4669
  * @summary Upload certificate and eventually private key
4732
4670
  * @link /admin/realms/{realm}/clients/{clientUuid}/certificates/{attr}/upload
4733
4671
  */ async function pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrUpload({ pathParams, config } = {}) {
4734
- const { client: request = client, ...requestConfig } = config ?? {};
4672
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4735
4673
  if (!pathParams.realm) {
4736
4674
  throw new Error(`Missing required path parameter: realm`);
4737
4675
  }
@@ -4755,7 +4693,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4755
4693
  * @summary Upload only certificate, not private key
4756
4694
  * @link /admin/realms/{realm}/clients/{clientUuid}/certificates/{attr}/upload-certificate
4757
4695
  */ async function pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificate({ pathParams, config } = {}) {
4758
- const { client: request = client, ...requestConfig } = config ?? {};
4696
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4759
4697
  if (!pathParams.realm) {
4760
4698
  throw new Error(`Missing required path parameter: realm`);
4761
4699
  }
@@ -4779,7 +4717,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4779
4717
  * @summary Get the client secret
4780
4718
  * @link /admin/realms/{realm}/clients/{clientUuid}/client-secret
4781
4719
  */ async function gETAdminRealmsRealmClientsClientUuidClientSecret({ pathParams, config } = {}) {
4782
- const { client: request = client, ...requestConfig } = config ?? {};
4720
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4783
4721
  if (!pathParams.realm) {
4784
4722
  throw new Error(`Missing required path parameter: realm`);
4785
4723
  }
@@ -4800,7 +4738,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4800
4738
  * @summary Generate a new secret for the client
4801
4739
  * @link /admin/realms/{realm}/clients/{clientUuid}/client-secret
4802
4740
  */ async function pOSTAdminRealmsRealmClientsClientUuidClientSecret({ pathParams, config } = {}) {
4803
- const { client: request = client, ...requestConfig } = config ?? {};
4741
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4804
4742
  if (!pathParams.realm) {
4805
4743
  throw new Error(`Missing required path parameter: realm`);
4806
4744
  }
@@ -4821,7 +4759,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4821
4759
  * @summary Get the rotated client secret
4822
4760
  * @link /admin/realms/{realm}/clients/{clientUuid}/client-secret/rotated
4823
4761
  */ async function gETAdminRealmsRealmClientsClientUuidClientSecretRotated({ pathParams, config } = {}) {
4824
- const { client: request = client, ...requestConfig } = config ?? {};
4762
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4825
4763
  if (!pathParams.realm) {
4826
4764
  throw new Error(`Missing required path parameter: realm`);
4827
4765
  }
@@ -4842,7 +4780,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4842
4780
  * @summary Invalidate the rotated secret for the client
4843
4781
  * @link /admin/realms/{realm}/clients/{clientUuid}/client-secret/rotated
4844
4782
  */ async function dELETEAdminRealmsRealmClientsClientUuidClientSecretRotated({ pathParams, config } = {}) {
4845
- const { client: request = client, ...requestConfig } = config ?? {};
4783
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4846
4784
  if (!pathParams.realm) {
4847
4785
  throw new Error(`Missing required path parameter: realm`);
4848
4786
  }
@@ -4863,7 +4801,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4863
4801
  * @summary Get default client scopes. Only name and ids are returned.
4864
4802
  * @link /admin/realms/{realm}/clients/{clientUuid}/default-client-scopes
4865
4803
  */ async function gETAdminRealmsRealmClientsClientUuidDefaultClientScopes({ pathParams, config } = {}) {
4866
- const { client: request = client, ...requestConfig } = config ?? {};
4804
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4867
4805
  if (!pathParams.realm) {
4868
4806
  throw new Error(`Missing required path parameter: realm`);
4869
4807
  }
@@ -4883,7 +4821,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4883
4821
  /**
4884
4822
  * @link /admin/realms/{realm}/clients/{clientUuid}/default-client-scopes/{clientScopeId}
4885
4823
  */ async function pUTAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeId({ pathParams, config } = {}) {
4886
- const { client: request = client, ...requestConfig } = config ?? {};
4824
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4887
4825
  if (!pathParams.realm) {
4888
4826
  throw new Error(`Missing required path parameter: realm`);
4889
4827
  }
@@ -4906,7 +4844,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4906
4844
  /**
4907
4845
  * @link /admin/realms/{realm}/clients/{clientUuid}/default-client-scopes/{clientScopeId}
4908
4846
  */ async function dELETEAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeId({ pathParams, config } = {}) {
4909
- const { client: request = client, ...requestConfig } = config ?? {};
4847
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4910
4848
  if (!pathParams.realm) {
4911
4849
  throw new Error(`Missing required path parameter: realm`);
4912
4850
  }
@@ -4930,7 +4868,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4930
4868
  * @summary Create JSON with payload of example access token
4931
4869
  * @link /admin/realms/{realm}/clients/{clientUuid}/evaluate-scopes/generate-example-access-token
4932
4870
  */ async function gETAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleAccessToken({ pathParams, queryParams, config } = {}) {
4933
- const { client: request = client, ...requestConfig } = config ?? {};
4871
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4934
4872
  if (!pathParams.realm) {
4935
4873
  throw new Error(`Missing required path parameter: realm`);
4936
4874
  }
@@ -4952,7 +4890,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4952
4890
  * @summary Create JSON with payload of example id token
4953
4891
  * @link /admin/realms/{realm}/clients/{clientUuid}/evaluate-scopes/generate-example-id-token
4954
4892
  */ async function gETAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleIdToken({ pathParams, queryParams, config } = {}) {
4955
- const { client: request = client, ...requestConfig } = config ?? {};
4893
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4956
4894
  if (!pathParams.realm) {
4957
4895
  throw new Error(`Missing required path parameter: realm`);
4958
4896
  }
@@ -4974,7 +4912,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4974
4912
  * @summary Create JSON with an example SAML response as payload
4975
4913
  * @link /admin/realms/{realm}/clients/{clientUuid}/evaluate-scopes/generate-example-saml-response
4976
4914
  */ async function gETAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleSamlResponse({ pathParams, queryParams, config } = {}) {
4977
- const { client: request = client, ...requestConfig } = config ?? {};
4915
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
4978
4916
  if (!pathParams.realm) {
4979
4917
  throw new Error(`Missing required path parameter: realm`);
4980
4918
  }
@@ -4996,7 +4934,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
4996
4934
  * @summary Create JSON with payload of example user info
4997
4935
  * @link /admin/realms/{realm}/clients/{clientUuid}/evaluate-scopes/generate-example-userinfo
4998
4936
  */ async function gETAdminRealmsRealmClientsClientUuidEvaluateScopesGenerateExampleUserinfo({ pathParams, queryParams, config } = {}) {
4999
- const { client: request = client, ...requestConfig } = config ?? {};
4937
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5000
4938
  if (!pathParams.realm) {
5001
4939
  throw new Error(`Missing required path parameter: realm`);
5002
4940
  }
@@ -5019,7 +4957,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5019
4957
  * @description This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client.
5020
4958
  * @link /admin/realms/{realm}/clients/{clientUuid}/evaluate-scopes/protocol-mappers
5021
4959
  */ async function gETAdminRealmsRealmClientsClientUuidEvaluateScopesProtocolMappers({ pathParams, queryParams, config } = {}) {
5022
- const { client: request = client, ...requestConfig } = config ?? {};
4960
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5023
4961
  if (!pathParams.realm) {
5024
4962
  throw new Error(`Missing required path parameter: realm`);
5025
4963
  }
@@ -5042,7 +4980,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5042
4980
  * @description This contains scope mappings, which this client has directly, as well as scope mappings, which are granted to all client scopes, which are linked with this client.
5043
4981
  * @link /admin/realms/{realm}/clients/{clientUuid}/evaluate-scopes/scope-mappings/{roleContainerId}/granted
5044
4982
  */ async function gETAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdGranted({ pathParams, queryParams, config } = {}) {
5045
- const { client: request = client, ...requestConfig } = config ?? {};
4983
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5046
4984
  if (!pathParams.realm) {
5047
4985
  throw new Error(`Missing required path parameter: realm`);
5048
4986
  }
@@ -5068,7 +5006,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5068
5006
  * @description Defacto all the other roles of particular role container, which are not in {@link #getGrantedScopeMappings()}
5069
5007
  * @link /admin/realms/{realm}/clients/{clientUuid}/evaluate-scopes/scope-mappings/{roleContainerId}/not-granted
5070
5008
  */ async function gETAdminRealmsRealmClientsClientUuidEvaluateScopesScopeMappingsRoleContainerIdNotGranted({ pathParams, queryParams, config } = {}) {
5071
- const { client: request = client, ...requestConfig } = config ?? {};
5009
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5072
5010
  if (!pathParams.realm) {
5073
5011
  throw new Error(`Missing required path parameter: realm`);
5074
5012
  }
@@ -5092,7 +5030,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5092
5030
  /**
5093
5031
  * @link /admin/realms/{realm}/clients/{clientUuid}/installation/providers/{providerId}
5094
5032
  */ async function gETAdminRealmsRealmClientsClientUuidInstallationProvidersProviderId({ pathParams, config } = {}) {
5095
- const { client: request = client, ...requestConfig } = config ?? {};
5033
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5096
5034
  if (!pathParams.realm) {
5097
5035
  throw new Error(`Missing required path parameter: realm`);
5098
5036
  }
@@ -5116,7 +5054,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5116
5054
  * @summary Return object stating whether client Authorization permissions have been initialized or not and a reference
5117
5055
  * @link /admin/realms/{realm}/clients/{clientUuid}/management/permissions
5118
5056
  */ async function gETAdminRealmsRealmClientsClientUuidManagementPermissions({ pathParams, config } = {}) {
5119
- const { client: request = client, ...requestConfig } = config ?? {};
5057
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5120
5058
  if (!pathParams.realm) {
5121
5059
  throw new Error(`Missing required path parameter: realm`);
5122
5060
  }
@@ -5137,7 +5075,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5137
5075
  * @summary Return object stating whether client Authorization permissions have been initialized or not and a reference
5138
5076
  * @link /admin/realms/{realm}/clients/{clientUuid}/management/permissions
5139
5077
  */ async function pUTAdminRealmsRealmClientsClientUuidManagementPermissions({ pathParams, body, config } = {}) {
5140
- const { client: request = client, ...requestConfig } = config ?? {};
5078
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5141
5079
  if (!pathParams.realm) {
5142
5080
  throw new Error(`Missing required path parameter: realm`);
5143
5081
  }
@@ -5159,7 +5097,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5159
5097
  * @summary Register a cluster node with the client Manually register cluster node to this client - usually it’s not needed to call this directly as adapter should handle by sending registration request to Keycloak
5160
5098
  * @link /admin/realms/{realm}/clients/{clientUuid}/nodes
5161
5099
  */ async function pOSTAdminRealmsRealmClientsClientUuidNodes({ pathParams, body, config } = {}) {
5162
- const { client: request = client, ...requestConfig } = config ?? {};
5100
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5163
5101
  if (!pathParams.realm) {
5164
5102
  throw new Error(`Missing required path parameter: realm`);
5165
5103
  }
@@ -5181,7 +5119,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5181
5119
  * @summary Unregister a cluster node from the client
5182
5120
  * @link /admin/realms/{realm}/clients/{clientUuid}/nodes/{node}
5183
5121
  */ async function dELETEAdminRealmsRealmClientsClientUuidNodesNode({ pathParams, config } = {}) {
5184
- const { client: request = client, ...requestConfig } = config ?? {};
5122
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5185
5123
  if (!pathParams.realm) {
5186
5124
  throw new Error(`Missing required path parameter: realm`);
5187
5125
  }
@@ -5205,7 +5143,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5205
5143
  * @summary Get application offline session count Returns a number of offline user sessions associated with this client { "count": number }
5206
5144
  * @link /admin/realms/{realm}/clients/{clientUuid}/offline-session-count
5207
5145
  */ async function gETAdminRealmsRealmClientsClientUuidOfflineSessionCount({ pathParams, config } = {}) {
5208
- const { client: request = client, ...requestConfig } = config ?? {};
5146
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5209
5147
  if (!pathParams.realm) {
5210
5148
  throw new Error(`Missing required path parameter: realm`);
5211
5149
  }
@@ -5226,7 +5164,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5226
5164
  * @summary Get offline sessions for client. Returns a list of offline user sessions associated with this client
5227
5165
  * @link /admin/realms/{realm}/clients/{clientUuid}/offline-sessions
5228
5166
  */ async function gETAdminRealmsRealmClientsClientUuidOfflineSessions({ pathParams, queryParams, config } = {}) {
5229
- const { client: request = client, ...requestConfig } = config ?? {};
5167
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5230
5168
  if (!pathParams.realm) {
5231
5169
  throw new Error(`Missing required path parameter: realm`);
5232
5170
  }
@@ -5248,7 +5186,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5248
5186
  * @summary Get optional client scopes. Only name and ids are returned.
5249
5187
  * @link /admin/realms/{realm}/clients/{clientUuid}/optional-client-scopes
5250
5188
  */ async function gETAdminRealmsRealmClientsClientUuidOptionalClientScopes({ pathParams, config } = {}) {
5251
- const { client: request = client, ...requestConfig } = config ?? {};
5189
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5252
5190
  if (!pathParams.realm) {
5253
5191
  throw new Error(`Missing required path parameter: realm`);
5254
5192
  }
@@ -5268,7 +5206,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5268
5206
  /**
5269
5207
  * @link /admin/realms/{realm}/clients/{clientUuid}/optional-client-scopes/{clientScopeId}
5270
5208
  */ async function pUTAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeId({ pathParams, config } = {}) {
5271
- const { client: request = client, ...requestConfig } = config ?? {};
5209
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5272
5210
  if (!pathParams.realm) {
5273
5211
  throw new Error(`Missing required path parameter: realm`);
5274
5212
  }
@@ -5291,7 +5229,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5291
5229
  /**
5292
5230
  * @link /admin/realms/{realm}/clients/{clientUuid}/optional-client-scopes/{clientScopeId}
5293
5231
  */ async function dELETEAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeId({ pathParams, config } = {}) {
5294
- const { client: request = client, ...requestConfig } = config ?? {};
5232
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5295
5233
  if (!pathParams.realm) {
5296
5234
  throw new Error(`Missing required path parameter: realm`);
5297
5235
  }
@@ -5315,7 +5253,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5315
5253
  * @summary Create multiple mappers
5316
5254
  * @link /admin/realms/{realm}/clients/{clientUuid}/protocol-mappers/add-models
5317
5255
  */ async function pOSTAdminRealmsRealmClientsClientUuidProtocolMappersAddModels({ pathParams, body, config } = {}) {
5318
- const { client: request = client, ...requestConfig } = config ?? {};
5256
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5319
5257
  if (!pathParams.realm) {
5320
5258
  throw new Error(`Missing required path parameter: realm`);
5321
5259
  }
@@ -5337,7 +5275,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5337
5275
  * @summary Get mappers
5338
5276
  * @link /admin/realms/{realm}/clients/{clientUuid}/protocol-mappers/models
5339
5277
  */ async function gETAdminRealmsRealmClientsClientUuidProtocolMappersModels({ pathParams, config } = {}) {
5340
- const { client: request = client, ...requestConfig } = config ?? {};
5278
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5341
5279
  if (!pathParams.realm) {
5342
5280
  throw new Error(`Missing required path parameter: realm`);
5343
5281
  }
@@ -5358,7 +5296,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5358
5296
  * @summary Create a mapper
5359
5297
  * @link /admin/realms/{realm}/clients/{clientUuid}/protocol-mappers/models
5360
5298
  */ async function pOSTAdminRealmsRealmClientsClientUuidProtocolMappersModels({ pathParams, body, config } = {}) {
5361
- const { client: request = client, ...requestConfig } = config ?? {};
5299
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5362
5300
  if (!pathParams.realm) {
5363
5301
  throw new Error(`Missing required path parameter: realm`);
5364
5302
  }
@@ -5380,7 +5318,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5380
5318
  * @summary Get mapper by id
5381
5319
  * @link /admin/realms/{realm}/clients/{clientUuid}/protocol-mappers/models/{id}
5382
5320
  */ async function gETAdminRealmsRealmClientsClientUuidProtocolMappersModelsId({ pathParams, config } = {}) {
5383
- const { client: request = client, ...requestConfig } = config ?? {};
5321
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5384
5322
  if (!pathParams.realm) {
5385
5323
  throw new Error(`Missing required path parameter: realm`);
5386
5324
  }
@@ -5404,7 +5342,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5404
5342
  * @summary Update the mapper
5405
5343
  * @link /admin/realms/{realm}/clients/{clientUuid}/protocol-mappers/models/{id}
5406
5344
  */ async function pUTAdminRealmsRealmClientsClientUuidProtocolMappersModelsId({ pathParams, body, config } = {}) {
5407
- const { client: request = client, ...requestConfig } = config ?? {};
5345
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5408
5346
  if (!pathParams.realm) {
5409
5347
  throw new Error(`Missing required path parameter: realm`);
5410
5348
  }
@@ -5429,7 +5367,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5429
5367
  * @summary Delete the mapper
5430
5368
  * @link /admin/realms/{realm}/clients/{clientUuid}/protocol-mappers/models/{id}
5431
5369
  */ async function dELETEAdminRealmsRealmClientsClientUuidProtocolMappersModelsId({ pathParams, config } = {}) {
5432
- const { client: request = client, ...requestConfig } = config ?? {};
5370
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5433
5371
  if (!pathParams.realm) {
5434
5372
  throw new Error(`Missing required path parameter: realm`);
5435
5373
  }
@@ -5453,7 +5391,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5453
5391
  * @summary Get mappers by name for a specific protocol
5454
5392
  * @link /admin/realms/{realm}/clients/{clientUuid}/protocol-mappers/protocol/{protocol}
5455
5393
  */ async function gETAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocol({ pathParams, config } = {}) {
5456
- const { client: request = client, ...requestConfig } = config ?? {};
5394
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5457
5395
  if (!pathParams.realm) {
5458
5396
  throw new Error(`Missing required path parameter: realm`);
5459
5397
  }
@@ -5477,7 +5415,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5477
5415
  * @summary Push the client's revocation policy to its admin URL If the client has an admin URL, push revocation policy to it.
5478
5416
  * @link /admin/realms/{realm}/clients/{clientUuid}/push-revocation
5479
5417
  */ async function pOSTAdminRealmsRealmClientsClientUuidPushRevocation({ pathParams, config } = {}) {
5480
- const { client: request = client, ...requestConfig } = config ?? {};
5418
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5481
5419
  if (!pathParams.realm) {
5482
5420
  throw new Error(`Missing required path parameter: realm`);
5483
5421
  }
@@ -5498,7 +5436,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5498
5436
  * @summary Generate a new registration access token for the client
5499
5437
  * @link /admin/realms/{realm}/clients/{clientUuid}/registration-access-token
5500
5438
  */ async function pOSTAdminRealmsRealmClientsClientUuidRegistrationAccessToken({ pathParams, config } = {}) {
5501
- const { client: request = client, ...requestConfig } = config ?? {};
5439
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5502
5440
  if (!pathParams.realm) {
5503
5441
  throw new Error(`Missing required path parameter: realm`);
5504
5442
  }
@@ -5519,7 +5457,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5519
5457
  * @summary Get all roles for the realm or client
5520
5458
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles
5521
5459
  */ async function gETAdminRealmsRealmClientsClientUuidRoles({ pathParams, queryParams, config } = {}) {
5522
- const { client: request = client, ...requestConfig } = config ?? {};
5460
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5523
5461
  if (!pathParams.realm) {
5524
5462
  throw new Error(`Missing required path parameter: realm`);
5525
5463
  }
@@ -5541,7 +5479,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5541
5479
  * @summary Create a new role for the realm or client
5542
5480
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles
5543
5481
  */ async function pOSTAdminRealmsRealmClientsClientUuidRoles({ pathParams, body, config } = {}) {
5544
- const { client: request = client, ...requestConfig } = config ?? {};
5482
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5545
5483
  if (!pathParams.realm) {
5546
5484
  throw new Error(`Missing required path parameter: realm`);
5547
5485
  }
@@ -5563,7 +5501,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5563
5501
  * @summary Get a role by name
5564
5502
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}
5565
5503
  */ async function gETAdminRealmsRealmClientsClientUuidRolesRoleName({ pathParams, config } = {}) {
5566
- const { client: request = client, ...requestConfig } = config ?? {};
5504
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5567
5505
  if (!pathParams.realm) {
5568
5506
  throw new Error(`Missing required path parameter: realm`);
5569
5507
  }
@@ -5587,7 +5525,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5587
5525
  * @summary Update a role by name
5588
5526
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}
5589
5527
  */ async function pUTAdminRealmsRealmClientsClientUuidRolesRoleName({ pathParams, body, config } = {}) {
5590
- const { client: request = client, ...requestConfig } = config ?? {};
5528
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5591
5529
  if (!pathParams.realm) {
5592
5530
  throw new Error(`Missing required path parameter: realm`);
5593
5531
  }
@@ -5612,7 +5550,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5612
5550
  * @summary Delete a role by name
5613
5551
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}
5614
5552
  */ async function dELETEAdminRealmsRealmClientsClientUuidRolesRoleName({ pathParams, config } = {}) {
5615
- const { client: request = client, ...requestConfig } = config ?? {};
5553
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5616
5554
  if (!pathParams.realm) {
5617
5555
  throw new Error(`Missing required path parameter: realm`);
5618
5556
  }
@@ -5636,7 +5574,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5636
5574
  * @summary Get composites of the role
5637
5575
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/composites
5638
5576
  */ async function gETAdminRealmsRealmClientsClientUuidRolesRoleNameComposites({ pathParams, config } = {}) {
5639
- const { client: request = client, ...requestConfig } = config ?? {};
5577
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5640
5578
  if (!pathParams.realm) {
5641
5579
  throw new Error(`Missing required path parameter: realm`);
5642
5580
  }
@@ -5660,7 +5598,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5660
5598
  * @summary Add a composite to the role
5661
5599
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/composites
5662
5600
  */ async function pOSTAdminRealmsRealmClientsClientUuidRolesRoleNameComposites({ pathParams, body, config } = {}) {
5663
- const { client: request = client, ...requestConfig } = config ?? {};
5601
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5664
5602
  if (!pathParams.realm) {
5665
5603
  throw new Error(`Missing required path parameter: realm`);
5666
5604
  }
@@ -5685,7 +5623,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5685
5623
  * @summary Remove roles from the role's composite
5686
5624
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/composites
5687
5625
  */ async function dELETEAdminRealmsRealmClientsClientUuidRolesRoleNameComposites({ pathParams, body, config } = {}) {
5688
- const { client: request = client, ...requestConfig } = config ?? {};
5626
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5689
5627
  if (!pathParams.realm) {
5690
5628
  throw new Error(`Missing required path parameter: realm`);
5691
5629
  }
@@ -5710,7 +5648,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5710
5648
  * @summary Get client-level roles for the client that are in the role's composite
5711
5649
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/composites/clients/{targetClientUuid}
5712
5650
  */ async function gETAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesClientsTargetClientUuid({ pathParams, config } = {}) {
5713
- const { client: request = client, ...requestConfig } = config ?? {};
5651
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5714
5652
  if (!pathParams.realm) {
5715
5653
  throw new Error(`Missing required path parameter: realm`);
5716
5654
  }
@@ -5737,7 +5675,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5737
5675
  * @summary Get realm-level roles of the role's composite
5738
5676
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/composites/realm
5739
5677
  */ async function gETAdminRealmsRealmClientsClientUuidRolesRoleNameCompositesRealm({ pathParams, config } = {}) {
5740
- const { client: request = client, ...requestConfig } = config ?? {};
5678
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5741
5679
  if (!pathParams.realm) {
5742
5680
  throw new Error(`Missing required path parameter: realm`);
5743
5681
  }
@@ -5761,7 +5699,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5761
5699
  * @summary Returns a stream of groups that have the specified role name
5762
5700
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/groups
5763
5701
  */ async function gETAdminRealmsRealmClientsClientUuidRolesRoleNameGroups({ pathParams, queryParams, config } = {}) {
5764
- const { client: request = client, ...requestConfig } = config ?? {};
5702
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5765
5703
  if (!pathParams.realm) {
5766
5704
  throw new Error(`Missing required path parameter: realm`);
5767
5705
  }
@@ -5786,7 +5724,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5786
5724
  * @summary Return object stating whether role Authorization permissions have been initialized or not and a reference
5787
5725
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/management/permissions
5788
5726
  */ async function gETAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissions({ pathParams, config } = {}) {
5789
- const { client: request = client, ...requestConfig } = config ?? {};
5727
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5790
5728
  if (!pathParams.realm) {
5791
5729
  throw new Error(`Missing required path parameter: realm`);
5792
5730
  }
@@ -5810,7 +5748,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5810
5748
  * @summary Return object stating whether role Authorization permissions have been initialized or not and a reference
5811
5749
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/management/permissions
5812
5750
  */ async function pUTAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissions({ pathParams, body, config } = {}) {
5813
- const { client: request = client, ...requestConfig } = config ?? {};
5751
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5814
5752
  if (!pathParams.realm) {
5815
5753
  throw new Error(`Missing required path parameter: realm`);
5816
5754
  }
@@ -5835,7 +5773,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5835
5773
  * @summary Returns a stream of users that have the specified role name.
5836
5774
  * @link /admin/realms/{realm}/clients/{clientUuid}/roles/{roleName}/users
5837
5775
  */ async function gETAdminRealmsRealmClientsClientUuidRolesRoleNameUsers({ pathParams, queryParams, config } = {}) {
5838
- const { client: request = client, ...requestConfig } = config ?? {};
5776
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5839
5777
  if (!pathParams.realm) {
5840
5778
  throw new Error(`Missing required path parameter: realm`);
5841
5779
  }
@@ -5861,7 +5799,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5861
5799
  * @deprecated
5862
5800
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings
5863
5801
  */ async function gETAdminRealmsRealmClientsClientUuidScopeMappings({ pathParams, config } = {}) {
5864
- const { client: request = client, ...requestConfig } = config ?? {};
5802
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5865
5803
  if (!pathParams.realm) {
5866
5804
  throw new Error(`Missing required path parameter: realm`);
5867
5805
  }
@@ -5882,7 +5820,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5882
5820
  * @summary Get the roles associated with a client's scope Returns roles for the client.
5883
5821
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/clients/{client}
5884
5822
  */ async function gETAdminRealmsRealmClientsClientUuidScopeMappingsClientsClient({ pathParams, config } = {}) {
5885
- const { client: request = client, ...requestConfig } = config ?? {};
5823
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5886
5824
  if (!pathParams.realm) {
5887
5825
  throw new Error(`Missing required path parameter: realm`);
5888
5826
  }
@@ -5906,7 +5844,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5906
5844
  * @summary Add client-level roles to the client's scope
5907
5845
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/clients/{client}
5908
5846
  */ async function pOSTAdminRealmsRealmClientsClientUuidScopeMappingsClientsClient({ pathParams, body, config } = {}) {
5909
- const { client: request = client, ...requestConfig } = config ?? {};
5847
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5910
5848
  if (!pathParams.realm) {
5911
5849
  throw new Error(`Missing required path parameter: realm`);
5912
5850
  }
@@ -5931,7 +5869,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5931
5869
  * @summary Remove client-level roles from the client's scope.
5932
5870
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/clients/{client}
5933
5871
  */ async function dELETEAdminRealmsRealmClientsClientUuidScopeMappingsClientsClient({ pathParams, body, config } = {}) {
5934
- const { client: request = client, ...requestConfig } = config ?? {};
5872
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5935
5873
  if (!pathParams.realm) {
5936
5874
  throw new Error(`Missing required path parameter: realm`);
5937
5875
  }
@@ -5956,7 +5894,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5956
5894
  * @summary The available client-level roles Returns the roles for the client that can be associated with the client's scope
5957
5895
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/clients/{client}/available
5958
5896
  */ async function gETAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientAvailable({ pathParams, config } = {}) {
5959
- const { client: request = client, ...requestConfig } = config ?? {};
5897
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5960
5898
  if (!pathParams.realm) {
5961
5899
  throw new Error(`Missing required path parameter: realm`);
5962
5900
  }
@@ -5980,7 +5918,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
5980
5918
  * @summary Get effective client roles Returns the roles for the client that are associated with the client's scope.
5981
5919
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/clients/{client}/composite
5982
5920
  */ async function gETAdminRealmsRealmClientsClientUuidScopeMappingsClientsClientComposite({ pathParams, queryParams, config } = {}) {
5983
- const { client: request = client, ...requestConfig } = config ?? {};
5921
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
5984
5922
  if (!pathParams.realm) {
5985
5923
  throw new Error(`Missing required path parameter: realm`);
5986
5924
  }
@@ -6005,7 +5943,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6005
5943
  * @summary Get realm-level roles associated with the client's scope
6006
5944
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/realm
6007
5945
  */ async function gETAdminRealmsRealmClientsClientUuidScopeMappingsRealm({ pathParams, config } = {}) {
6008
- const { client: request = client, ...requestConfig } = config ?? {};
5946
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6009
5947
  if (!pathParams.realm) {
6010
5948
  throw new Error(`Missing required path parameter: realm`);
6011
5949
  }
@@ -6026,7 +5964,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6026
5964
  * @summary Add a set of realm-level roles to the client's scope
6027
5965
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/realm
6028
5966
  */ async function pOSTAdminRealmsRealmClientsClientUuidScopeMappingsRealm({ pathParams, body, config } = {}) {
6029
- const { client: request = client, ...requestConfig } = config ?? {};
5967
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6030
5968
  if (!pathParams.realm) {
6031
5969
  throw new Error(`Missing required path parameter: realm`);
6032
5970
  }
@@ -6048,7 +5986,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6048
5986
  * @summary Remove a set of realm-level roles from the client's scope
6049
5987
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/realm
6050
5988
  */ async function dELETEAdminRealmsRealmClientsClientUuidScopeMappingsRealm({ pathParams, body, config } = {}) {
6051
- const { client: request = client, ...requestConfig } = config ?? {};
5989
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6052
5990
  if (!pathParams.realm) {
6053
5991
  throw new Error(`Missing required path parameter: realm`);
6054
5992
  }
@@ -6070,7 +6008,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6070
6008
  * @summary Get realm-level roles that are available to attach to this client's scope
6071
6009
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/realm/available
6072
6010
  */ async function gETAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailable({ pathParams, config } = {}) {
6073
- const { client: request = client, ...requestConfig } = config ?? {};
6011
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6074
6012
  if (!pathParams.realm) {
6075
6013
  throw new Error(`Missing required path parameter: realm`);
6076
6014
  }
@@ -6092,7 +6030,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6092
6030
  * @description The method is really to show a comprehensive total view of realm-level roles associated with the client.
6093
6031
  * @link /admin/realms/{realm}/clients/{clientUuid}/scope-mappings/realm/composite
6094
6032
  */ async function gETAdminRealmsRealmClientsClientUuidScopeMappingsRealmComposite({ pathParams, queryParams, config } = {}) {
6095
- const { client: request = client, ...requestConfig } = config ?? {};
6033
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6096
6034
  if (!pathParams.realm) {
6097
6035
  throw new Error(`Missing required path parameter: realm`);
6098
6036
  }
@@ -6114,7 +6052,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6114
6052
  * @summary Get a user dedicated to the service account
6115
6053
  * @link /admin/realms/{realm}/clients/{clientUuid}/service-account-user
6116
6054
  */ async function gETAdminRealmsRealmClientsClientUuidServiceAccountUser({ pathParams, config } = {}) {
6117
- const { client: request = client, ...requestConfig } = config ?? {};
6055
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6118
6056
  if (!pathParams.realm) {
6119
6057
  throw new Error(`Missing required path parameter: realm`);
6120
6058
  }
@@ -6135,7 +6073,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6135
6073
  * @summary Get application session count Returns a number of user sessions associated with this client { "count": number }
6136
6074
  * @link /admin/realms/{realm}/clients/{clientUuid}/session-count
6137
6075
  */ async function gETAdminRealmsRealmClientsClientUuidSessionCount({ pathParams, config } = {}) {
6138
- const { client: request = client, ...requestConfig } = config ?? {};
6076
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6139
6077
  if (!pathParams.realm) {
6140
6078
  throw new Error(`Missing required path parameter: realm`);
6141
6079
  }
@@ -6156,7 +6094,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6156
6094
  * @summary Test if registered cluster nodes are available Tests availability by sending 'ping' request to all cluster nodes.
6157
6095
  * @link /admin/realms/{realm}/clients/{clientUuid}/test-nodes-available
6158
6096
  */ async function gETAdminRealmsRealmClientsClientUuidTestNodesAvailable({ pathParams, config } = {}) {
6159
- const { client: request = client, ...requestConfig } = config ?? {};
6097
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6160
6098
  if (!pathParams.realm) {
6161
6099
  throw new Error(`Missing required path parameter: realm`);
6162
6100
  }
@@ -6177,7 +6115,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6177
6115
  * @summary Get user sessions for client. Returns a list of user sessions associated with this client.
6178
6116
  * @link /admin/realms/{realm}/clients/{clientUuid}/user-sessions
6179
6117
  */ async function gETAdminRealmsRealmClientsClientUuidUserSessions({ pathParams, queryParams, config } = {}) {
6180
- const { client: request = client, ...requestConfig } = config ?? {};
6118
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6181
6119
  if (!pathParams.realm) {
6182
6120
  throw new Error(`Missing required path parameter: realm`);
6183
6121
  }
@@ -6198,7 +6136,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6198
6136
  /**
6199
6137
  * @link /admin/realms/{realm}/groups/{groupId}
6200
6138
  */ async function gETAdminRealmsRealmGroupsGroupId({ pathParams, config } = {}) {
6201
- const { client: request = client, ...requestConfig } = config ?? {};
6139
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6202
6140
  if (!pathParams.realm) {
6203
6141
  throw new Error(`Missing required path parameter: realm`);
6204
6142
  }
@@ -6219,7 +6157,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6219
6157
  * @summary Update group, ignores subgroups.
6220
6158
  * @link /admin/realms/{realm}/groups/{groupId}
6221
6159
  */ async function pUTAdminRealmsRealmGroupsGroupId({ pathParams, body, config } = {}) {
6222
- const { client: request = client, ...requestConfig } = config ?? {};
6160
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6223
6161
  if (!pathParams.realm) {
6224
6162
  throw new Error(`Missing required path parameter: realm`);
6225
6163
  }
@@ -6240,7 +6178,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6240
6178
  /**
6241
6179
  * @link /admin/realms/{realm}/groups/{groupId}
6242
6180
  */ async function dELETEAdminRealmsRealmGroupsGroupId({ pathParams, config } = {}) {
6243
- const { client: request = client, ...requestConfig } = config ?? {};
6181
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6244
6182
  if (!pathParams.realm) {
6245
6183
  throw new Error(`Missing required path parameter: realm`);
6246
6184
  }
@@ -6261,7 +6199,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6261
6199
  * @summary Return a paginated list of subgroups that have a parent group corresponding to the group on the URL
6262
6200
  * @link /admin/realms/{realm}/groups/{groupId}/children
6263
6201
  */ async function gETAdminRealmsRealmGroupsGroupIdChildren({ pathParams, queryParams, config } = {}) {
6264
- const { client: request = client, ...requestConfig } = config ?? {};
6202
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6265
6203
  if (!pathParams.realm) {
6266
6204
  throw new Error(`Missing required path parameter: realm`);
6267
6205
  }
@@ -6284,7 +6222,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6284
6222
  * @description This will just set the parent if it exists. Create it and set the parent if the group doesn’t exist.
6285
6223
  * @link /admin/realms/{realm}/groups/{groupId}/children
6286
6224
  */ async function pOSTAdminRealmsRealmGroupsGroupIdChildren({ pathParams, body, config } = {}) {
6287
- const { client: request = client, ...requestConfig } = config ?? {};
6225
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6288
6226
  if (!pathParams.realm) {
6289
6227
  throw new Error(`Missing required path parameter: realm`);
6290
6228
  }
@@ -6306,7 +6244,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6306
6244
  * @summary Return object stating whether client Authorization permissions have been initialized or not and a reference
6307
6245
  * @link /admin/realms/{realm}/groups/{groupId}/management/permissions
6308
6246
  */ async function gETAdminRealmsRealmGroupsGroupIdManagementPermissions({ pathParams, config } = {}) {
6309
- const { client: request = client, ...requestConfig } = config ?? {};
6247
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6310
6248
  if (!pathParams.realm) {
6311
6249
  throw new Error(`Missing required path parameter: realm`);
6312
6250
  }
@@ -6327,7 +6265,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6327
6265
  * @summary Return object stating whether client Authorization permissions have been initialized or not and a reference
6328
6266
  * @link /admin/realms/{realm}/groups/{groupId}/management/permissions
6329
6267
  */ async function pUTAdminRealmsRealmGroupsGroupIdManagementPermissions({ pathParams, body, config } = {}) {
6330
- const { client: request = client, ...requestConfig } = config ?? {};
6268
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6331
6269
  if (!pathParams.realm) {
6332
6270
  throw new Error(`Missing required path parameter: realm`);
6333
6271
  }
@@ -6349,7 +6287,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6349
6287
  * @summary Get users Returns a stream of users, filtered according to query parameters
6350
6288
  * @link /admin/realms/{realm}/groups/{groupId}/members
6351
6289
  */ async function gETAdminRealmsRealmGroupsGroupIdMembers({ pathParams, queryParams, config } = {}) {
6352
- const { client: request = client, ...requestConfig } = config ?? {};
6290
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6353
6291
  if (!pathParams.realm) {
6354
6292
  throw new Error(`Missing required path parameter: realm`);
6355
6293
  }
@@ -6371,7 +6309,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6371
6309
  * @summary Get role mappings
6372
6310
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings
6373
6311
  */ async function gETAdminRealmsRealmGroupsGroupIdRoleMappings({ pathParams, config } = {}) {
6374
- const { client: request = client, ...requestConfig } = config ?? {};
6312
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6375
6313
  if (!pathParams.realm) {
6376
6314
  throw new Error(`Missing required path parameter: realm`);
6377
6315
  }
@@ -6392,7 +6330,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6392
6330
  * @summary Get client-level role mappings for the user or group, and the app
6393
6331
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/clients/{clientId}
6394
6332
  */ async function gETAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId({ pathParams, config } = {}) {
6395
- const { client: request = client, ...requestConfig } = config ?? {};
6333
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6396
6334
  if (!pathParams.realm) {
6397
6335
  throw new Error(`Missing required path parameter: realm`);
6398
6336
  }
@@ -6416,7 +6354,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6416
6354
  * @summary Add client-level roles to the user or group role mapping
6417
6355
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/clients/{clientId}
6418
6356
  */ async function pOSTAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId({ pathParams, body, config } = {}) {
6419
- const { client: request = client, ...requestConfig } = config ?? {};
6357
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6420
6358
  if (!pathParams.realm) {
6421
6359
  throw new Error(`Missing required path parameter: realm`);
6422
6360
  }
@@ -6441,7 +6379,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6441
6379
  * @summary Delete client-level roles from user or group role mapping
6442
6380
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/clients/{clientId}
6443
6381
  */ async function dELETEAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId({ pathParams, body, config } = {}) {
6444
- const { client: request = client, ...requestConfig } = config ?? {};
6382
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6445
6383
  if (!pathParams.realm) {
6446
6384
  throw new Error(`Missing required path parameter: realm`);
6447
6385
  }
@@ -6466,7 +6404,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6466
6404
  * @summary Get available client-level roles that can be mapped to the user or group
6467
6405
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/clients/{clientId}/available
6468
6406
  */ async function gETAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailable({ pathParams, config } = {}) {
6469
- const { client: request = client, ...requestConfig } = config ?? {};
6407
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6470
6408
  if (!pathParams.realm) {
6471
6409
  throw new Error(`Missing required path parameter: realm`);
6472
6410
  }
@@ -6490,7 +6428,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6490
6428
  * @summary Get effective client-level role mappings This recurses any composite roles
6491
6429
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/clients/{clientId}/composite
6492
6430
  */ async function gETAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdComposite({ pathParams, queryParams, config } = {}) {
6493
- const { client: request = client, ...requestConfig } = config ?? {};
6431
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6494
6432
  if (!pathParams.realm) {
6495
6433
  throw new Error(`Missing required path parameter: realm`);
6496
6434
  }
@@ -6515,7 +6453,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6515
6453
  * @summary Get realm-level role mappings
6516
6454
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/realm
6517
6455
  */ async function gETAdminRealmsRealmGroupsGroupIdRoleMappingsRealm({ pathParams, config } = {}) {
6518
- const { client: request = client, ...requestConfig } = config ?? {};
6456
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6519
6457
  if (!pathParams.realm) {
6520
6458
  throw new Error(`Missing required path parameter: realm`);
6521
6459
  }
@@ -6536,7 +6474,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6536
6474
  * @summary Add realm-level role mappings to the user
6537
6475
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/realm
6538
6476
  */ async function pOSTAdminRealmsRealmGroupsGroupIdRoleMappingsRealm({ pathParams, body, config } = {}) {
6539
- const { client: request = client, ...requestConfig } = config ?? {};
6477
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6540
6478
  if (!pathParams.realm) {
6541
6479
  throw new Error(`Missing required path parameter: realm`);
6542
6480
  }
@@ -6558,7 +6496,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6558
6496
  * @summary Delete realm-level role mappings
6559
6497
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/realm
6560
6498
  */ async function dELETEAdminRealmsRealmGroupsGroupIdRoleMappingsRealm({ pathParams, body, config } = {}) {
6561
- const { client: request = client, ...requestConfig } = config ?? {};
6499
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6562
6500
  if (!pathParams.realm) {
6563
6501
  throw new Error(`Missing required path parameter: realm`);
6564
6502
  }
@@ -6580,7 +6518,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6580
6518
  * @summary Get realm-level roles that can be mapped
6581
6519
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/realm/available
6582
6520
  */ async function gETAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailable({ pathParams, config } = {}) {
6583
- const { client: request = client, ...requestConfig } = config ?? {};
6521
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6584
6522
  if (!pathParams.realm) {
6585
6523
  throw new Error(`Missing required path parameter: realm`);
6586
6524
  }
@@ -6601,7 +6539,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6601
6539
  * @summary Get effective realm-level role mappings This will recurse all composite roles to get the result.
6602
6540
  * @link /admin/realms/{realm}/groups/{groupId}/role-mappings/realm/composite
6603
6541
  */ async function gETAdminRealmsRealmGroupsGroupIdRoleMappingsRealmComposite({ pathParams, queryParams, config } = {}) {
6604
- const { client: request = client, ...requestConfig } = config ?? {};
6542
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6605
6543
  if (!pathParams.realm) {
6606
6544
  throw new Error(`Missing required path parameter: realm`);
6607
6545
  }
@@ -6623,7 +6561,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6623
6561
  * @summary Get the identity provider factory for that provider id
6624
6562
  * @link /admin/realms/{realm}/identity-provider/providers/{providerId}
6625
6563
  */ async function gETAdminRealmsRealmIdentityProviderProvidersProviderId({ pathParams, config } = {}) {
6626
- const { client: request = client, ...requestConfig } = config ?? {};
6564
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6627
6565
  if (!pathParams.realm) {
6628
6566
  throw new Error(`Missing required path parameter: realm`);
6629
6567
  }
@@ -6644,7 +6582,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6644
6582
  * @summary Returns the organizations associated with the user that has the specified id
6645
6583
  * @link /admin/realms/{realm}/organizations/members/{memberId}/organizations
6646
6584
  */ async function gETAdminRealmsRealmOrganizationsMembersMemberIdOrganizations({ pathParams, queryParams, config } = {}) {
6647
- const { client: request = client, ...requestConfig } = config ?? {};
6585
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6648
6586
  if (!pathParams.realm) {
6649
6587
  throw new Error(`Missing required path parameter: realm`);
6650
6588
  }
@@ -6666,7 +6604,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6666
6604
  * @summary Returns the organization representation
6667
6605
  * @link /admin/realms/{realm}/organizations/{orgId}
6668
6606
  */ async function gETAdminRealmsRealmOrganizationsOrgId({ pathParams, config } = {}) {
6669
- const { client: request = client, ...requestConfig } = config ?? {};
6607
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6670
6608
  if (!pathParams.realm) {
6671
6609
  throw new Error(`Missing required path parameter: realm`);
6672
6610
  }
@@ -6687,7 +6625,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6687
6625
  * @summary Updates the organization
6688
6626
  * @link /admin/realms/{realm}/organizations/{orgId}
6689
6627
  */ async function pUTAdminRealmsRealmOrganizationsOrgId({ pathParams, body, config } = {}) {
6690
- const { client: request = client, ...requestConfig } = config ?? {};
6628
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6691
6629
  if (!pathParams.realm) {
6692
6630
  throw new Error(`Missing required path parameter: realm`);
6693
6631
  }
@@ -6709,7 +6647,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6709
6647
  * @summary Deletes the organization
6710
6648
  * @link /admin/realms/{realm}/organizations/{orgId}
6711
6649
  */ async function dELETEAdminRealmsRealmOrganizationsOrgId({ pathParams, config } = {}) {
6712
- const { client: request = client, ...requestConfig } = config ?? {};
6650
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6713
6651
  if (!pathParams.realm) {
6714
6652
  throw new Error(`Missing required path parameter: realm`);
6715
6653
  }
@@ -6731,7 +6669,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6731
6669
  * @description Returns organization groups. When `search` parameter is provided, groups are searched by name. When `q` parameter is provided, groups are searched by attributes. If neither parameter is provided, top-level groups are returned.
6732
6670
  * @link /admin/realms/{realm}/organizations/{orgId}/groups
6733
6671
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroups({ pathParams, queryParams, config } = {}) {
6734
- const { client: request = client, ...requestConfig } = config ?? {};
6672
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6735
6673
  if (!pathParams.realm) {
6736
6674
  throw new Error(`Missing required path parameter: realm`);
6737
6675
  }
@@ -6754,7 +6692,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6754
6692
  * @description Creates a new top-level group in the organization. If the group representation includes an ID, moves the existing organization group to be a top-level group. If no ID is provided, creates a new top-level group.
6755
6693
  * @link /admin/realms/{realm}/organizations/{orgId}/groups
6756
6694
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdGroups({ pathParams, body, config } = {}) {
6757
- const { client: request = client, ...requestConfig } = config ?? {};
6695
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6758
6696
  if (!pathParams.realm) {
6759
6697
  throw new Error(`Missing required path parameter: realm`);
6760
6698
  }
@@ -6777,7 +6715,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6777
6715
  * @description Returns the organization group with the specified path
6778
6716
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/group-by-path/{path}
6779
6717
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupByPathPath({ pathParams, queryParams, config } = {}) {
6780
- const { client: request = client, ...requestConfig } = config ?? {};
6718
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6781
6719
  if (!pathParams.realm) {
6782
6720
  throw new Error(`Missing required path parameter: realm`);
6783
6721
  }
@@ -6802,7 +6740,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6802
6740
  * @summary Get organization group representation
6803
6741
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}
6804
6742
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupId({ pathParams, queryParams, config } = {}) {
6805
- const { client: request = client, ...requestConfig } = config ?? {};
6743
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6806
6744
  if (!pathParams.realm) {
6807
6745
  throw new Error(`Missing required path parameter: realm`);
6808
6746
  }
@@ -6828,7 +6766,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6828
6766
  * @description Updates the organization group's name, description, and attributes. Subgroups are not affected.
6829
6767
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}
6830
6768
  */ async function pUTAdminRealmsRealmOrganizationsOrgIdGroupsGroupId({ pathParams, body, config } = {}) {
6831
- const { client: request = client, ...requestConfig } = config ?? {};
6769
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6832
6770
  if (!pathParams.realm) {
6833
6771
  throw new Error(`Missing required path parameter: realm`);
6834
6772
  }
@@ -6854,7 +6792,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6854
6792
  * @description Deletes the organization group and all its subgroups
6855
6793
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}
6856
6794
  */ async function dELETEAdminRealmsRealmOrganizationsOrgIdGroupsGroupId({ pathParams, config } = {}) {
6857
- const { client: request = client, ...requestConfig } = config ?? {};
6795
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6858
6796
  if (!pathParams.realm) {
6859
6797
  throw new Error(`Missing required path parameter: realm`);
6860
6798
  }
@@ -6879,7 +6817,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6879
6817
  * @description Returns a paginated stream of subgroups that belong to this organization group
6880
6818
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/children
6881
6819
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdChildren({ pathParams, queryParams, config } = {}) {
6882
- const { client: request = client, ...requestConfig } = config ?? {};
6820
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6883
6821
  if (!pathParams.realm) {
6884
6822
  throw new Error(`Missing required path parameter: realm`);
6885
6823
  }
@@ -6905,7 +6843,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6905
6843
  * @description Creates a new subgroup under this organization group. If the group representation includes an ID, moves the existing group to be a child of this group. If no ID is provided, creates a new subgroup.
6906
6844
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/children
6907
6845
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdChildren({ pathParams, body, config } = {}) {
6908
- const { client: request = client, ...requestConfig } = config ?? {};
6846
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6909
6847
  if (!pathParams.realm) {
6910
6848
  throw new Error(`Missing required path parameter: realm`);
6911
6849
  }
@@ -6931,7 +6869,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6931
6869
  * @description Returns a paginated list of organization members that belong to this group
6932
6870
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/members
6933
6871
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdMembers({ pathParams, queryParams, config } = {}) {
6934
- const { client: request = client, ...requestConfig } = config ?? {};
6872
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6935
6873
  if (!pathParams.realm) {
6936
6874
  throw new Error(`Missing required path parameter: realm`);
6937
6875
  }
@@ -6957,7 +6895,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6957
6895
  * @description Adds an organization member to this group. The user must be a member of the organization.
6958
6896
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/members/{userId}
6959
6897
  */ async function pUTAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdMembersUserId({ pathParams, config } = {}) {
6960
- const { client: request = client, ...requestConfig } = config ?? {};
6898
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6961
6899
  if (!pathParams.realm) {
6962
6900
  throw new Error(`Missing required path parameter: realm`);
6963
6901
  }
@@ -6985,7 +6923,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
6985
6923
  * @description Removes a user from this organization group. The user remains a member of the organization.
6986
6924
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/members/{userId}
6987
6925
  */ async function dELETEAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdMembersUserId({ pathParams, config } = {}) {
6988
- const { client: request = client, ...requestConfig } = config ?? {};
6926
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
6989
6927
  if (!pathParams.realm) {
6990
6928
  throw new Error(`Missing required path parameter: realm`);
6991
6929
  }
@@ -7012,7 +6950,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7012
6950
  * @summary Get role mappings
7013
6951
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings
7014
6952
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappings({ pathParams, config } = {}) {
7015
- const { client: request = client, ...requestConfig } = config ?? {};
6953
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7016
6954
  if (!pathParams.realm) {
7017
6955
  throw new Error(`Missing required path parameter: realm`);
7018
6956
  }
@@ -7036,7 +6974,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7036
6974
  * @summary Get client-level role mappings for the user or group, and the app
7037
6975
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/clients/{clientId}
7038
6976
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsClientsClientId({ pathParams, config } = {}) {
7039
- const { client: request = client, ...requestConfig } = config ?? {};
6977
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7040
6978
  if (!pathParams.realm) {
7041
6979
  throw new Error(`Missing required path parameter: realm`);
7042
6980
  }
@@ -7063,7 +7001,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7063
7001
  * @summary Add client-level roles to the user or group role mapping
7064
7002
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/clients/{clientId}
7065
7003
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsClientsClientId({ pathParams, body, config } = {}) {
7066
- const { client: request = client, ...requestConfig } = config ?? {};
7004
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7067
7005
  if (!pathParams.realm) {
7068
7006
  throw new Error(`Missing required path parameter: realm`);
7069
7007
  }
@@ -7091,7 +7029,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7091
7029
  * @summary Delete client-level roles from user or group role mapping
7092
7030
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/clients/{clientId}
7093
7031
  */ async function dELETEAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsClientsClientId({ pathParams, body, config } = {}) {
7094
- const { client: request = client, ...requestConfig } = config ?? {};
7032
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7095
7033
  if (!pathParams.realm) {
7096
7034
  throw new Error(`Missing required path parameter: realm`);
7097
7035
  }
@@ -7119,7 +7057,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7119
7057
  * @summary Get available client-level roles that can be mapped to the user or group
7120
7058
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/clients/{clientId}/available
7121
7059
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsClientsClientIdAvailable({ pathParams, config } = {}) {
7122
- const { client: request = client, ...requestConfig } = config ?? {};
7060
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7123
7061
  if (!pathParams.realm) {
7124
7062
  throw new Error(`Missing required path parameter: realm`);
7125
7063
  }
@@ -7146,7 +7084,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7146
7084
  * @summary Get effective client-level role mappings This recurses any composite roles
7147
7085
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/clients/{clientId}/composite
7148
7086
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsClientsClientIdComposite({ pathParams, queryParams, config } = {}) {
7149
- const { client: request = client, ...requestConfig } = config ?? {};
7087
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7150
7088
  if (!pathParams.realm) {
7151
7089
  throw new Error(`Missing required path parameter: realm`);
7152
7090
  }
@@ -7174,7 +7112,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7174
7112
  * @summary Get realm-level role mappings
7175
7113
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/realm
7176
7114
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsRealm({ pathParams, config } = {}) {
7177
- const { client: request = client, ...requestConfig } = config ?? {};
7115
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7178
7116
  if (!pathParams.realm) {
7179
7117
  throw new Error(`Missing required path parameter: realm`);
7180
7118
  }
@@ -7198,7 +7136,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7198
7136
  * @summary Add realm-level role mappings to the user
7199
7137
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/realm
7200
7138
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsRealm({ pathParams, body, config } = {}) {
7201
- const { client: request = client, ...requestConfig } = config ?? {};
7139
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7202
7140
  if (!pathParams.realm) {
7203
7141
  throw new Error(`Missing required path parameter: realm`);
7204
7142
  }
@@ -7223,7 +7161,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7223
7161
  * @summary Delete realm-level role mappings
7224
7162
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/realm
7225
7163
  */ async function dELETEAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsRealm({ pathParams, body, config } = {}) {
7226
- const { client: request = client, ...requestConfig } = config ?? {};
7164
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7227
7165
  if (!pathParams.realm) {
7228
7166
  throw new Error(`Missing required path parameter: realm`);
7229
7167
  }
@@ -7248,7 +7186,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7248
7186
  * @summary Get realm-level roles that can be mapped
7249
7187
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/realm/available
7250
7188
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsRealmAvailable({ pathParams, config } = {}) {
7251
- const { client: request = client, ...requestConfig } = config ?? {};
7189
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7252
7190
  if (!pathParams.realm) {
7253
7191
  throw new Error(`Missing required path parameter: realm`);
7254
7192
  }
@@ -7272,7 +7210,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7272
7210
  * @summary Get effective realm-level role mappings This will recurse all composite roles to get the result.
7273
7211
  * @link /admin/realms/{realm}/organizations/{orgId}/groups/{groupId}/role-mappings/realm/composite
7274
7212
  */ async function gETAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsRealmComposite({ pathParams, queryParams, config } = {}) {
7275
- const { client: request = client, ...requestConfig } = config ?? {};
7213
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7276
7214
  if (!pathParams.realm) {
7277
7215
  throw new Error(`Missing required path parameter: realm`);
7278
7216
  }
@@ -7297,7 +7235,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7297
7235
  * @summary Returns all identity providers associated with the organization
7298
7236
  * @link /admin/realms/{realm}/organizations/{orgId}/identity-providers
7299
7237
  */ async function gETAdminRealmsRealmOrganizationsOrgIdIdentityProviders({ pathParams, config } = {}) {
7300
- const { client: request = client, ...requestConfig } = config ?? {};
7238
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7301
7239
  if (!pathParams.realm) {
7302
7240
  throw new Error(`Missing required path parameter: realm`);
7303
7241
  }
@@ -7319,7 +7257,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7319
7257
  * @description Adds, or associates, an existing identity provider with the organization. If no identity provider is found, or if it is already associated with the organization, an error response is returned
7320
7258
  * @link /admin/realms/{realm}/organizations/{orgId}/identity-providers
7321
7259
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdIdentityProviders({ pathParams, body, config } = {}) {
7322
- const { client: request = client, ...requestConfig } = config ?? {};
7260
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7323
7261
  if (!pathParams.realm) {
7324
7262
  throw new Error(`Missing required path parameter: realm`);
7325
7263
  }
@@ -7342,7 +7280,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7342
7280
  * @description Searches for an identity provider with the given alias. If one is found and is associated with the organization, it is returned. Otherwise, an error response with status NOT_FOUND is returned
7343
7281
  * @link /admin/realms/{realm}/organizations/{orgId}/identity-providers/{alias}
7344
7282
  */ async function gETAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAlias({ pathParams, config } = {}) {
7345
- const { client: request = client, ...requestConfig } = config ?? {};
7283
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7346
7284
  if (!pathParams.realm) {
7347
7285
  throw new Error(`Missing required path parameter: realm`);
7348
7286
  }
@@ -7367,7 +7305,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7367
7305
  * @description Breaks the association between the identity provider and the organization. The provider itself is not deleted. If no provider is found, or if it is not currently associated with the org, an error response is returned
7368
7306
  * @link /admin/realms/{realm}/organizations/{orgId}/identity-providers/{alias}
7369
7307
  */ async function dELETEAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAlias({ pathParams, config } = {}) {
7370
- const { client: request = client, ...requestConfig } = config ?? {};
7308
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7371
7309
  if (!pathParams.realm) {
7372
7310
  throw new Error(`Missing required path parameter: realm`);
7373
7311
  }
@@ -7392,7 +7330,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7392
7330
  * @description Returns organization groups that can be used in identity provider mappers. Only returns groups if the identity provider is associated with the organization.
7393
7331
  * @link /admin/realms/{realm}/organizations/{orgId}/identity-providers/{alias}/groups
7394
7332
  */ async function gETAdminRealmsRealmOrganizationsOrgIdIdentityProvidersAliasGroups({ pathParams, queryParams, config } = {}) {
7395
- const { client: request = client, ...requestConfig } = config ?? {};
7333
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7396
7334
  if (!pathParams.realm) {
7397
7335
  throw new Error(`Missing required path parameter: realm`);
7398
7336
  }
@@ -7417,7 +7355,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7417
7355
  * @summary Get invitations for the organization
7418
7356
  * @link /admin/realms/{realm}/organizations/{orgId}/invitations
7419
7357
  */ async function gETAdminRealmsRealmOrganizationsOrgIdInvitations({ pathParams, queryParams, config } = {}) {
7420
- const { client: request = client, ...requestConfig } = config ?? {};
7358
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7421
7359
  if (!pathParams.realm) {
7422
7360
  throw new Error(`Missing required path parameter: realm`);
7423
7361
  }
@@ -7439,7 +7377,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7439
7377
  * @summary Get invitation by ID
7440
7378
  * @link /admin/realms/{realm}/organizations/{orgId}/invitations/{id}
7441
7379
  */ async function gETAdminRealmsRealmOrganizationsOrgIdInvitationsId({ pathParams, config } = {}) {
7442
- const { client: request = client, ...requestConfig } = config ?? {};
7380
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7443
7381
  if (!pathParams.realm) {
7444
7382
  throw new Error(`Missing required path parameter: realm`);
7445
7383
  }
@@ -7463,7 +7401,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7463
7401
  * @summary Delete an invitation
7464
7402
  * @link /admin/realms/{realm}/organizations/{orgId}/invitations/{id}
7465
7403
  */ async function dELETEAdminRealmsRealmOrganizationsOrgIdInvitationsId({ pathParams, config } = {}) {
7466
- const { client: request = client, ...requestConfig } = config ?? {};
7404
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7467
7405
  if (!pathParams.realm) {
7468
7406
  throw new Error(`Missing required path parameter: realm`);
7469
7407
  }
@@ -7487,7 +7425,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7487
7425
  * @summary Resend an invitation
7488
7426
  * @link /admin/realms/{realm}/organizations/{orgId}/invitations/{id}/resend
7489
7427
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdInvitationsIdResend({ pathParams, config } = {}) {
7490
- const { client: request = client, ...requestConfig } = config ?? {};
7428
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7491
7429
  if (!pathParams.realm) {
7492
7430
  throw new Error(`Missing required path parameter: realm`);
7493
7431
  }
@@ -7511,7 +7449,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7511
7449
  * @summary Returns a paginated list of organization members filtered according to the specified parameters
7512
7450
  * @link /admin/realms/{realm}/organizations/{orgId}/members
7513
7451
  */ async function gETAdminRealmsRealmOrganizationsOrgIdMembers({ pathParams, queryParams, config } = {}) {
7514
- const { client: request = client, ...requestConfig } = config ?? {};
7452
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7515
7453
  if (!pathParams.realm) {
7516
7454
  throw new Error(`Missing required path parameter: realm`);
7517
7455
  }
@@ -7534,7 +7472,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7534
7472
  * @description Adds, or associates, an existing user with the organization. If no user is found, or if it is already associated with the organization, an error response is returned
7535
7473
  * @link /admin/realms/{realm}/organizations/{orgId}/members
7536
7474
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdMembers({ pathParams, body, config } = {}) {
7537
- const { client: request = client, ...requestConfig } = config ?? {};
7475
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7538
7476
  if (!pathParams.realm) {
7539
7477
  throw new Error(`Missing required path parameter: realm`);
7540
7478
  }
@@ -7556,7 +7494,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7556
7494
  * @summary Returns number of members in the organization.
7557
7495
  * @link /admin/realms/{realm}/organizations/{orgId}/members/count
7558
7496
  */ async function gETAdminRealmsRealmOrganizationsOrgIdMembersCount({ pathParams, config } = {}) {
7559
- const { client: request = client, ...requestConfig } = config ?? {};
7497
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7560
7498
  if (!pathParams.realm) {
7561
7499
  throw new Error(`Missing required path parameter: realm`);
7562
7500
  }
@@ -7577,7 +7515,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7577
7515
  * @summary Invites an existing user to the organization, using the specified user id
7578
7516
  * @link /admin/realms/{realm}/organizations/{orgId}/members/invite-existing-user
7579
7517
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUser({ pathParams, config } = {}) {
7580
- const { client: request = client, ...requestConfig } = config ?? {};
7518
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7581
7519
  if (!pathParams.realm) {
7582
7520
  throw new Error(`Missing required path parameter: realm`);
7583
7521
  }
@@ -7599,7 +7537,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7599
7537
  * @description If the user with the given e-mail address exists, it sends an invitation link, otherwise it sends a registration link.
7600
7538
  * @link /admin/realms/{realm}/organizations/{orgId}/members/invite-user
7601
7539
  */ async function pOSTAdminRealmsRealmOrganizationsOrgIdMembersInviteUser({ pathParams, config } = {}) {
7602
- const { client: request = client, ...requestConfig } = config ?? {};
7540
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7603
7541
  if (!pathParams.realm) {
7604
7542
  throw new Error(`Missing required path parameter: realm`);
7605
7543
  }
@@ -7621,7 +7559,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7621
7559
  * @description Searches for auser with the given id. If one is found, and is currently a member of the organization, returns it. Otherwise,an error response with status NOT_FOUND is returned
7622
7560
  * @link /admin/realms/{realm}/organizations/{orgId}/members/{memberId}
7623
7561
  */ async function gETAdminRealmsRealmOrganizationsOrgIdMembersMemberId({ pathParams, config } = {}) {
7624
- const { client: request = client, ...requestConfig } = config ?? {};
7562
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7625
7563
  if (!pathParams.realm) {
7626
7564
  throw new Error(`Missing required path parameter: realm`);
7627
7565
  }
@@ -7646,7 +7584,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7646
7584
  * @description Breaks the association between the user and organization. The user itself is deleted in case the membership is managed, otherwise the user is not deleted. If no user is found, or if they are not a member of the organization, an error response is returned
7647
7585
  * @link /admin/realms/{realm}/organizations/{orgId}/members/{memberId}
7648
7586
  */ async function dELETEAdminRealmsRealmOrganizationsOrgIdMembersMemberId({ pathParams, config } = {}) {
7649
- const { client: request = client, ...requestConfig } = config ?? {};
7587
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7650
7588
  if (!pathParams.realm) {
7651
7589
  throw new Error(`Missing required path parameter: realm`);
7652
7590
  }
@@ -7671,7 +7609,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7671
7609
  * @description Searches for auser with the given id. If one is found, and is currently a member of the organization, returns the groups from the organizationwhere the user is member of. Otherwise, an error response with status NOT_FOUND is returned
7672
7610
  * @link /admin/realms/{realm}/organizations/{orgId}/members/{memberId}/groups
7673
7611
  */ async function gETAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGroups({ pathParams, queryParams, config } = {}) {
7674
- const { client: request = client, ...requestConfig } = config ?? {};
7612
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7675
7613
  if (!pathParams.realm) {
7676
7614
  throw new Error(`Missing required path parameter: realm`);
7677
7615
  }
@@ -7696,7 +7634,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7696
7634
  * @summary Returns the organizations associated with the user that has the specified id
7697
7635
  * @link /admin/realms/{realm}/organizations/{orgId}/members/{memberId}/organizations
7698
7636
  */ async function gETAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizations({ pathParams, queryParams, config } = {}) {
7699
- const { client: request = client, ...requestConfig } = config ?? {};
7637
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7700
7638
  if (!pathParams.realm) {
7701
7639
  throw new Error(`Missing required path parameter: realm`);
7702
7640
  }
@@ -7721,7 +7659,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7721
7659
  * @summary Get a specific role's representation
7722
7660
  * @link /admin/realms/{realm}/roles-by-id/{roleId}
7723
7661
  */ async function gETAdminRealmsRealmRolesByIdRoleId({ pathParams, config } = {}) {
7724
- const { client: request = client, ...requestConfig } = config ?? {};
7662
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7725
7663
  if (!pathParams.realm) {
7726
7664
  throw new Error(`Missing required path parameter: realm`);
7727
7665
  }
@@ -7742,7 +7680,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7742
7680
  * @summary Update the role
7743
7681
  * @link /admin/realms/{realm}/roles-by-id/{roleId}
7744
7682
  */ async function pUTAdminRealmsRealmRolesByIdRoleId({ pathParams, body, config } = {}) {
7745
- const { client: request = client, ...requestConfig } = config ?? {};
7683
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7746
7684
  if (!pathParams.realm) {
7747
7685
  throw new Error(`Missing required path parameter: realm`);
7748
7686
  }
@@ -7764,7 +7702,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7764
7702
  * @summary Delete the role
7765
7703
  * @link /admin/realms/{realm}/roles-by-id/{roleId}
7766
7704
  */ async function dELETEAdminRealmsRealmRolesByIdRoleId({ pathParams, config } = {}) {
7767
- const { client: request = client, ...requestConfig } = config ?? {};
7705
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7768
7706
  if (!pathParams.realm) {
7769
7707
  throw new Error(`Missing required path parameter: realm`);
7770
7708
  }
@@ -7785,7 +7723,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7785
7723
  * @summary Get role's children Returns a set of role's children provided the role is a composite.
7786
7724
  * @link /admin/realms/{realm}/roles-by-id/{roleId}/composites
7787
7725
  */ async function gETAdminRealmsRealmRolesByIdRoleIdComposites({ pathParams, queryParams, config } = {}) {
7788
- const { client: request = client, ...requestConfig } = config ?? {};
7726
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7789
7727
  if (!pathParams.realm) {
7790
7728
  throw new Error(`Missing required path parameter: realm`);
7791
7729
  }
@@ -7807,7 +7745,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7807
7745
  * @summary Make the role a composite role by associating some child roles
7808
7746
  * @link /admin/realms/{realm}/roles-by-id/{roleId}/composites
7809
7747
  */ async function pOSTAdminRealmsRealmRolesByIdRoleIdComposites({ pathParams, body, config } = {}) {
7810
- const { client: request = client, ...requestConfig } = config ?? {};
7748
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7811
7749
  if (!pathParams.realm) {
7812
7750
  throw new Error(`Missing required path parameter: realm`);
7813
7751
  }
@@ -7829,7 +7767,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7829
7767
  * @summary Remove a set of roles from the role's composite
7830
7768
  * @link /admin/realms/{realm}/roles-by-id/{roleId}/composites
7831
7769
  */ async function dELETEAdminRealmsRealmRolesByIdRoleIdComposites({ pathParams, body, config } = {}) {
7832
- const { client: request = client, ...requestConfig } = config ?? {};
7770
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7833
7771
  if (!pathParams.realm) {
7834
7772
  throw new Error(`Missing required path parameter: realm`);
7835
7773
  }
@@ -7851,7 +7789,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7851
7789
  * @summary Get client-level roles for the client that are in the role's composite
7852
7790
  * @link /admin/realms/{realm}/roles-by-id/{roleId}/composites/clients/{clientUuid}
7853
7791
  */ async function gETAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuid({ pathParams, config } = {}) {
7854
- const { client: request = client, ...requestConfig } = config ?? {};
7792
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7855
7793
  if (!pathParams.realm) {
7856
7794
  throw new Error(`Missing required path parameter: realm`);
7857
7795
  }
@@ -7875,7 +7813,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7875
7813
  * @summary Get realm-level roles that are in the role's composite
7876
7814
  * @link /admin/realms/{realm}/roles-by-id/{roleId}/composites/realm
7877
7815
  */ async function gETAdminRealmsRealmRolesByIdRoleIdCompositesRealm({ pathParams, config } = {}) {
7878
- const { client: request = client, ...requestConfig } = config ?? {};
7816
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7879
7817
  if (!pathParams.realm) {
7880
7818
  throw new Error(`Missing required path parameter: realm`);
7881
7819
  }
@@ -7896,7 +7834,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7896
7834
  * @summary Return object stating whether role Authorization permissions have been initialized or not and a reference
7897
7835
  * @link /admin/realms/{realm}/roles-by-id/{roleId}/management/permissions
7898
7836
  */ async function gETAdminRealmsRealmRolesByIdRoleIdManagementPermissions({ pathParams, config } = {}) {
7899
- const { client: request = client, ...requestConfig } = config ?? {};
7837
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7900
7838
  if (!pathParams.realm) {
7901
7839
  throw new Error(`Missing required path parameter: realm`);
7902
7840
  }
@@ -7917,7 +7855,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7917
7855
  * @summary Return object stating whether role Authorization permissions have been initialized or not and a reference
7918
7856
  * @link /admin/realms/{realm}/roles-by-id/{roleId}/management/permissions
7919
7857
  */ async function pUTAdminRealmsRealmRolesByIdRoleIdManagementPermissions({ pathParams, body, config } = {}) {
7920
- const { client: request = client, ...requestConfig } = config ?? {};
7858
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7921
7859
  if (!pathParams.realm) {
7922
7860
  throw new Error(`Missing required path parameter: realm`);
7923
7861
  }
@@ -7939,7 +7877,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7939
7877
  * @summary Get a role by name
7940
7878
  * @link /admin/realms/{realm}/roles/{roleName}
7941
7879
  */ async function gETAdminRealmsRealmRolesRoleName({ pathParams, config } = {}) {
7942
- const { client: request = client, ...requestConfig } = config ?? {};
7880
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7943
7881
  if (!pathParams.realm) {
7944
7882
  throw new Error(`Missing required path parameter: realm`);
7945
7883
  }
@@ -7960,7 +7898,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7960
7898
  * @summary Update a role by name
7961
7899
  * @link /admin/realms/{realm}/roles/{roleName}
7962
7900
  */ async function pUTAdminRealmsRealmRolesRoleName({ pathParams, body, config } = {}) {
7963
- const { client: request = client, ...requestConfig } = config ?? {};
7901
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7964
7902
  if (!pathParams.realm) {
7965
7903
  throw new Error(`Missing required path parameter: realm`);
7966
7904
  }
@@ -7982,7 +7920,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
7982
7920
  * @summary Delete a role by name
7983
7921
  * @link /admin/realms/{realm}/roles/{roleName}
7984
7922
  */ async function dELETEAdminRealmsRealmRolesRoleName({ pathParams, config } = {}) {
7985
- const { client: request = client, ...requestConfig } = config ?? {};
7923
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
7986
7924
  if (!pathParams.realm) {
7987
7925
  throw new Error(`Missing required path parameter: realm`);
7988
7926
  }
@@ -8003,7 +7941,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8003
7941
  * @summary Get composites of the role
8004
7942
  * @link /admin/realms/{realm}/roles/{roleName}/composites
8005
7943
  */ async function gETAdminRealmsRealmRolesRoleNameComposites({ pathParams, config } = {}) {
8006
- const { client: request = client, ...requestConfig } = config ?? {};
7944
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8007
7945
  if (!pathParams.realm) {
8008
7946
  throw new Error(`Missing required path parameter: realm`);
8009
7947
  }
@@ -8024,7 +7962,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8024
7962
  * @summary Add a composite to the role
8025
7963
  * @link /admin/realms/{realm}/roles/{roleName}/composites
8026
7964
  */ async function pOSTAdminRealmsRealmRolesRoleNameComposites({ pathParams, body, config } = {}) {
8027
- const { client: request = client, ...requestConfig } = config ?? {};
7965
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8028
7966
  if (!pathParams.realm) {
8029
7967
  throw new Error(`Missing required path parameter: realm`);
8030
7968
  }
@@ -8046,7 +7984,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8046
7984
  * @summary Remove roles from the role's composite
8047
7985
  * @link /admin/realms/{realm}/roles/{roleName}/composites
8048
7986
  */ async function dELETEAdminRealmsRealmRolesRoleNameComposites({ pathParams, body, config } = {}) {
8049
- const { client: request = client, ...requestConfig } = config ?? {};
7987
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8050
7988
  if (!pathParams.realm) {
8051
7989
  throw new Error(`Missing required path parameter: realm`);
8052
7990
  }
@@ -8068,7 +8006,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8068
8006
  * @summary Get client-level roles for the client that are in the role's composite
8069
8007
  * @link /admin/realms/{realm}/roles/{roleName}/composites/clients/{targetClientUuid}
8070
8008
  */ async function gETAdminRealmsRealmRolesRoleNameCompositesClientsTargetClientUuid({ pathParams, config } = {}) {
8071
- const { client: request = client, ...requestConfig } = config ?? {};
8009
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8072
8010
  if (!pathParams.realm) {
8073
8011
  throw new Error(`Missing required path parameter: realm`);
8074
8012
  }
@@ -8092,7 +8030,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8092
8030
  * @summary Get realm-level roles of the role's composite
8093
8031
  * @link /admin/realms/{realm}/roles/{roleName}/composites/realm
8094
8032
  */ async function gETAdminRealmsRealmRolesRoleNameCompositesRealm({ pathParams, config } = {}) {
8095
- const { client: request = client, ...requestConfig } = config ?? {};
8033
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8096
8034
  if (!pathParams.realm) {
8097
8035
  throw new Error(`Missing required path parameter: realm`);
8098
8036
  }
@@ -8113,7 +8051,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8113
8051
  * @summary Returns a stream of groups that have the specified role name
8114
8052
  * @link /admin/realms/{realm}/roles/{roleName}/groups
8115
8053
  */ async function gETAdminRealmsRealmRolesRoleNameGroups({ pathParams, queryParams, config } = {}) {
8116
- const { client: request = client, ...requestConfig } = config ?? {};
8054
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8117
8055
  if (!pathParams.realm) {
8118
8056
  throw new Error(`Missing required path parameter: realm`);
8119
8057
  }
@@ -8135,7 +8073,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8135
8073
  * @summary Return object stating whether role Authorization permissions have been initialized or not and a reference
8136
8074
  * @link /admin/realms/{realm}/roles/{roleName}/management/permissions
8137
8075
  */ async function gETAdminRealmsRealmRolesRoleNameManagementPermissions({ pathParams, config } = {}) {
8138
- const { client: request = client, ...requestConfig } = config ?? {};
8076
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8139
8077
  if (!pathParams.realm) {
8140
8078
  throw new Error(`Missing required path parameter: realm`);
8141
8079
  }
@@ -8156,7 +8094,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8156
8094
  * @summary Return object stating whether role Authorization permissions have been initialized or not and a reference
8157
8095
  * @link /admin/realms/{realm}/roles/{roleName}/management/permissions
8158
8096
  */ async function pUTAdminRealmsRealmRolesRoleNameManagementPermissions({ pathParams, body, config } = {}) {
8159
- const { client: request = client, ...requestConfig } = config ?? {};
8097
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8160
8098
  if (!pathParams.realm) {
8161
8099
  throw new Error(`Missing required path parameter: realm`);
8162
8100
  }
@@ -8178,7 +8116,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8178
8116
  * @summary Returns a stream of users that have the specified role name.
8179
8117
  * @link /admin/realms/{realm}/roles/{roleName}/users
8180
8118
  */ async function gETAdminRealmsRealmRolesRoleNameUsers({ pathParams, queryParams, config } = {}) {
8181
- const { client: request = client, ...requestConfig } = config ?? {};
8119
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8182
8120
  if (!pathParams.realm) {
8183
8121
  throw new Error(`Missing required path parameter: realm`);
8184
8122
  }
@@ -8200,7 +8138,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8200
8138
  * @summary Get representation of the user
8201
8139
  * @link /admin/realms/{realm}/users/{userId}
8202
8140
  */ async function gETAdminRealmsRealmUsersUserId({ pathParams, queryParams, config } = {}) {
8203
- const { client: request = client, ...requestConfig } = config ?? {};
8141
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8204
8142
  if (!pathParams.realm) {
8205
8143
  throw new Error(`Missing required path parameter: realm`);
8206
8144
  }
@@ -8222,7 +8160,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8222
8160
  * @summary Update the user
8223
8161
  * @link /admin/realms/{realm}/users/{userId}
8224
8162
  */ async function pUTAdminRealmsRealmUsersUserId({ pathParams, body, config } = {}) {
8225
- const { client: request = client, ...requestConfig } = config ?? {};
8163
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8226
8164
  if (!pathParams.realm) {
8227
8165
  throw new Error(`Missing required path parameter: realm`);
8228
8166
  }
@@ -8244,7 +8182,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8244
8182
  * @summary Delete the user
8245
8183
  * @link /admin/realms/{realm}/users/{userId}
8246
8184
  */ async function dELETEAdminRealmsRealmUsersUserId({ pathParams, config } = {}) {
8247
- const { client: request = client, ...requestConfig } = config ?? {};
8185
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8248
8186
  if (!pathParams.realm) {
8249
8187
  throw new Error(`Missing required path parameter: realm`);
8250
8188
  }
@@ -8266,7 +8204,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8266
8204
  * @description Returned values can contain for example "password", "otp" etc. This will always return empty list for "local" users, which are not backed by any user storage
8267
8205
  * @link /admin/realms/{realm}/users/{userId}/configured-user-storage-credential-types
8268
8206
  */ async function gETAdminRealmsRealmUsersUserIdConfiguredUserStorageCredentialTypes({ pathParams, config } = {}) {
8269
- const { client: request = client, ...requestConfig } = config ?? {};
8207
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8270
8208
  if (!pathParams.realm) {
8271
8209
  throw new Error(`Missing required path parameter: realm`);
8272
8210
  }
@@ -8287,7 +8225,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8287
8225
  * @summary Get consents granted by the user
8288
8226
  * @link /admin/realms/{realm}/users/{userId}/consents
8289
8227
  */ async function gETAdminRealmsRealmUsersUserIdConsents({ pathParams, config } = {}) {
8290
- const { client: request = client, ...requestConfig } = config ?? {};
8228
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8291
8229
  if (!pathParams.realm) {
8292
8230
  throw new Error(`Missing required path parameter: realm`);
8293
8231
  }
@@ -8308,7 +8246,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8308
8246
  * @summary Revoke consent and offline tokens for particular client from user
8309
8247
  * @link /admin/realms/{realm}/users/{userId}/consents/{client}
8310
8248
  */ async function dELETEAdminRealmsRealmUsersUserIdConsentsClient({ pathParams, config } = {}) {
8311
- const { client: request = client, ...requestConfig } = config ?? {};
8249
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8312
8250
  if (!pathParams.realm) {
8313
8251
  throw new Error(`Missing required path parameter: realm`);
8314
8252
  }
@@ -8331,7 +8269,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8331
8269
  /**
8332
8270
  * @link /admin/realms/{realm}/users/{userId}/credentials
8333
8271
  */ async function gETAdminRealmsRealmUsersUserIdCredentials({ pathParams, config } = {}) {
8334
- const { client: request = client, ...requestConfig } = config ?? {};
8272
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8335
8273
  if (!pathParams.realm) {
8336
8274
  throw new Error(`Missing required path parameter: realm`);
8337
8275
  }
@@ -8352,7 +8290,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8352
8290
  * @summary Remove a credential for a user
8353
8291
  * @link /admin/realms/{realm}/users/{userId}/credentials/{credentialId}
8354
8292
  */ async function dELETEAdminRealmsRealmUsersUserIdCredentialsCredentialId({ pathParams, config } = {}) {
8355
- const { client: request = client, ...requestConfig } = config ?? {};
8293
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8356
8294
  if (!pathParams.realm) {
8357
8295
  throw new Error(`Missing required path parameter: realm`);
8358
8296
  }
@@ -8376,7 +8314,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8376
8314
  * @summary Move a credential to a position behind another credential
8377
8315
  * @link /admin/realms/{realm}/users/{userId}/credentials/{credentialId}/moveAfter/{newPreviousCredentialId}
8378
8316
  */ async function pOSTAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialId({ pathParams, config } = {}) {
8379
- const { client: request = client, ...requestConfig } = config ?? {};
8317
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8380
8318
  if (!pathParams.realm) {
8381
8319
  throw new Error(`Missing required path parameter: realm`);
8382
8320
  }
@@ -8403,7 +8341,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8403
8341
  * @summary Move a credential to a first position in the credentials list of the user
8404
8342
  * @link /admin/realms/{realm}/users/{userId}/credentials/{credentialId}/moveToFirst
8405
8343
  */ async function pOSTAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirst({ pathParams, config } = {}) {
8406
- const { client: request = client, ...requestConfig } = config ?? {};
8344
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8407
8345
  if (!pathParams.realm) {
8408
8346
  throw new Error(`Missing required path parameter: realm`);
8409
8347
  }
@@ -8427,7 +8365,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8427
8365
  * @summary Update a credential label for a user
8428
8366
  * @link /admin/realms/{realm}/users/{userId}/credentials/{credentialId}/userLabel
8429
8367
  */ async function pUTAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabel({ pathParams, config } = {}) {
8430
- const { client: request = client, ...requestConfig } = config ?? {};
8368
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8431
8369
  if (!pathParams.realm) {
8432
8370
  throw new Error(`Missing required path parameter: realm`);
8433
8371
  }
@@ -8451,7 +8389,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8451
8389
  * @summary Disable all credentials for a user of a specific type
8452
8390
  * @link /admin/realms/{realm}/users/{userId}/disable-credential-types
8453
8391
  */ async function pUTAdminRealmsRealmUsersUserIdDisableCredentialTypes({ pathParams, body, config } = {}) {
8454
- const { client: request = client, ...requestConfig } = config ?? {};
8392
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8455
8393
  if (!pathParams.realm) {
8456
8394
  throw new Error(`Missing required path parameter: realm`);
8457
8395
  }
@@ -8474,7 +8412,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8474
8412
  * @description An email contains a link the user can click to perform a set of required actions. The redirectUri and clientId parameters are optional. If no redirect is given, then there will be no link back to click after actions have completed. Redirect uri must be a valid uri for the particular clientId.
8475
8413
  * @link /admin/realms/{realm}/users/{userId}/execute-actions-email
8476
8414
  */ async function pUTAdminRealmsRealmUsersUserIdExecuteActionsEmail({ pathParams, body, queryParams, config } = {}) {
8477
- const { client: request = client, ...requestConfig } = config ?? {};
8415
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8478
8416
  if (!pathParams.realm) {
8479
8417
  throw new Error(`Missing required path parameter: realm`);
8480
8418
  }
@@ -8497,7 +8435,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8497
8435
  * @summary Get social logins associated with the user
8498
8436
  * @link /admin/realms/{realm}/users/{userId}/federated-identity
8499
8437
  */ async function gETAdminRealmsRealmUsersUserIdFederatedIdentity({ pathParams, config } = {}) {
8500
- const { client: request = client, ...requestConfig } = config ?? {};
8438
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8501
8439
  if (!pathParams.realm) {
8502
8440
  throw new Error(`Missing required path parameter: realm`);
8503
8441
  }
@@ -8518,7 +8456,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8518
8456
  * @summary Add a social login provider to the user
8519
8457
  * @link /admin/realms/{realm}/users/{userId}/federated-identity/{provider}
8520
8458
  */ async function pOSTAdminRealmsRealmUsersUserIdFederatedIdentityProvider({ pathParams, body, config } = {}) {
8521
- const { client: request = client, ...requestConfig } = config ?? {};
8459
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8522
8460
  if (!pathParams.realm) {
8523
8461
  throw new Error(`Missing required path parameter: realm`);
8524
8462
  }
@@ -8543,7 +8481,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8543
8481
  * @summary Remove a social login provider from user
8544
8482
  * @link /admin/realms/{realm}/users/{userId}/federated-identity/{provider}
8545
8483
  */ async function dELETEAdminRealmsRealmUsersUserIdFederatedIdentityProvider({ pathParams, config } = {}) {
8546
- const { client: request = client, ...requestConfig } = config ?? {};
8484
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8547
8485
  if (!pathParams.realm) {
8548
8486
  throw new Error(`Missing required path parameter: realm`);
8549
8487
  }
@@ -8566,7 +8504,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8566
8504
  /**
8567
8505
  * @link /admin/realms/{realm}/users/{userId}/groups
8568
8506
  */ async function gETAdminRealmsRealmUsersUserIdGroups({ pathParams, queryParams, config } = {}) {
8569
- const { client: request = client, ...requestConfig } = config ?? {};
8507
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8570
8508
  if (!pathParams.realm) {
8571
8509
  throw new Error(`Missing required path parameter: realm`);
8572
8510
  }
@@ -8587,7 +8525,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8587
8525
  /**
8588
8526
  * @link /admin/realms/{realm}/users/{userId}/groups/count
8589
8527
  */ async function gETAdminRealmsRealmUsersUserIdGroupsCount({ pathParams, queryParams, config } = {}) {
8590
- const { client: request = client, ...requestConfig } = config ?? {};
8528
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8591
8529
  if (!pathParams.realm) {
8592
8530
  throw new Error(`Missing required path parameter: realm`);
8593
8531
  }
@@ -8608,7 +8546,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8608
8546
  /**
8609
8547
  * @link /admin/realms/{realm}/users/{userId}/groups/{groupId}
8610
8548
  */ async function pUTAdminRealmsRealmUsersUserIdGroupsGroupId({ pathParams, config } = {}) {
8611
- const { client: request = client, ...requestConfig } = config ?? {};
8549
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8612
8550
  if (!pathParams.realm) {
8613
8551
  throw new Error(`Missing required path parameter: realm`);
8614
8552
  }
@@ -8631,7 +8569,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8631
8569
  /**
8632
8570
  * @link /admin/realms/{realm}/users/{userId}/groups/{groupId}
8633
8571
  */ async function dELETEAdminRealmsRealmUsersUserIdGroupsGroupId({ pathParams, config } = {}) {
8634
- const { client: request = client, ...requestConfig } = config ?? {};
8572
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8635
8573
  if (!pathParams.realm) {
8636
8574
  throw new Error(`Missing required path parameter: realm`);
8637
8575
  }
@@ -8655,7 +8593,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8655
8593
  * @summary Impersonate the user
8656
8594
  * @link /admin/realms/{realm}/users/{userId}/impersonation
8657
8595
  */ async function pOSTAdminRealmsRealmUsersUserIdImpersonation({ pathParams, config } = {}) {
8658
- const { client: request = client, ...requestConfig } = config ?? {};
8596
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8659
8597
  if (!pathParams.realm) {
8660
8598
  throw new Error(`Missing required path parameter: realm`);
8661
8599
  }
@@ -8676,7 +8614,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8676
8614
  * @summary Remove all user sessions associated with the user Also send notification to all clients that have an admin URL to invalidate the sessions for the particular user.
8677
8615
  * @link /admin/realms/{realm}/users/{userId}/logout
8678
8616
  */ async function pOSTAdminRealmsRealmUsersUserIdLogout({ pathParams, config } = {}) {
8679
- const { client: request = client, ...requestConfig } = config ?? {};
8617
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8680
8618
  if (!pathParams.realm) {
8681
8619
  throw new Error(`Missing required path parameter: realm`);
8682
8620
  }
@@ -8697,7 +8635,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8697
8635
  * @summary Get offline sessions associated with the user and client
8698
8636
  * @link /admin/realms/{realm}/users/{userId}/offline-sessions/{clientUuid}
8699
8637
  */ async function gETAdminRealmsRealmUsersUserIdOfflineSessionsClientUuid({ pathParams, config } = {}) {
8700
- const { client: request = client, ...requestConfig } = config ?? {};
8638
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8701
8639
  if (!pathParams.realm) {
8702
8640
  throw new Error(`Missing required path parameter: realm`);
8703
8641
  }
@@ -8721,7 +8659,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8721
8659
  * @summary Set up a new password for the user.
8722
8660
  * @link /admin/realms/{realm}/users/{userId}/reset-password
8723
8661
  */ async function pUTAdminRealmsRealmUsersUserIdResetPassword({ pathParams, body, config } = {}) {
8724
- const { client: request = client, ...requestConfig } = config ?? {};
8662
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8725
8663
  if (!pathParams.realm) {
8726
8664
  throw new Error(`Missing required path parameter: realm`);
8727
8665
  }
@@ -8745,7 +8683,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8745
8683
  * @deprecated
8746
8684
  * @link /admin/realms/{realm}/users/{userId}/reset-password-email
8747
8685
  */ async function pUTAdminRealmsRealmUsersUserIdResetPasswordEmail({ pathParams, queryParams, config } = {}) {
8748
- const { client: request = client, ...requestConfig } = config ?? {};
8686
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8749
8687
  if (!pathParams.realm) {
8750
8688
  throw new Error(`Missing required path parameter: realm`);
8751
8689
  }
@@ -8767,7 +8705,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8767
8705
  * @summary Get role mappings
8768
8706
  * @link /admin/realms/{realm}/users/{userId}/role-mappings
8769
8707
  */ async function gETAdminRealmsRealmUsersUserIdRoleMappings({ pathParams, config } = {}) {
8770
- const { client: request = client, ...requestConfig } = config ?? {};
8708
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8771
8709
  if (!pathParams.realm) {
8772
8710
  throw new Error(`Missing required path parameter: realm`);
8773
8711
  }
@@ -8788,7 +8726,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8788
8726
  * @summary Get client-level role mappings for the user or group, and the app
8789
8727
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/clients/{clientId}
8790
8728
  */ async function gETAdminRealmsRealmUsersUserIdRoleMappingsClientsClientId({ pathParams, config } = {}) {
8791
- const { client: request = client, ...requestConfig } = config ?? {};
8729
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8792
8730
  if (!pathParams.realm) {
8793
8731
  throw new Error(`Missing required path parameter: realm`);
8794
8732
  }
@@ -8812,7 +8750,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8812
8750
  * @summary Add client-level roles to the user or group role mapping
8813
8751
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/clients/{clientId}
8814
8752
  */ async function pOSTAdminRealmsRealmUsersUserIdRoleMappingsClientsClientId({ pathParams, body, config } = {}) {
8815
- const { client: request = client, ...requestConfig } = config ?? {};
8753
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8816
8754
  if (!pathParams.realm) {
8817
8755
  throw new Error(`Missing required path parameter: realm`);
8818
8756
  }
@@ -8837,7 +8775,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8837
8775
  * @summary Delete client-level roles from user or group role mapping
8838
8776
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/clients/{clientId}
8839
8777
  */ async function dELETEAdminRealmsRealmUsersUserIdRoleMappingsClientsClientId({ pathParams, body, config } = {}) {
8840
- const { client: request = client, ...requestConfig } = config ?? {};
8778
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8841
8779
  if (!pathParams.realm) {
8842
8780
  throw new Error(`Missing required path parameter: realm`);
8843
8781
  }
@@ -8862,7 +8800,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8862
8800
  * @summary Get available client-level roles that can be mapped to the user or group
8863
8801
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/clients/{clientId}/available
8864
8802
  */ async function gETAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailable({ pathParams, config } = {}) {
8865
- const { client: request = client, ...requestConfig } = config ?? {};
8803
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8866
8804
  if (!pathParams.realm) {
8867
8805
  throw new Error(`Missing required path parameter: realm`);
8868
8806
  }
@@ -8886,7 +8824,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8886
8824
  * @summary Get effective client-level role mappings This recurses any composite roles
8887
8825
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/clients/{clientId}/composite
8888
8826
  */ async function gETAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdComposite({ pathParams, queryParams, config } = {}) {
8889
- const { client: request = client, ...requestConfig } = config ?? {};
8827
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8890
8828
  if (!pathParams.realm) {
8891
8829
  throw new Error(`Missing required path parameter: realm`);
8892
8830
  }
@@ -8911,7 +8849,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8911
8849
  * @summary Get realm-level role mappings
8912
8850
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/realm
8913
8851
  */ async function gETAdminRealmsRealmUsersUserIdRoleMappingsRealm({ pathParams, config } = {}) {
8914
- const { client: request = client, ...requestConfig } = config ?? {};
8852
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8915
8853
  if (!pathParams.realm) {
8916
8854
  throw new Error(`Missing required path parameter: realm`);
8917
8855
  }
@@ -8932,7 +8870,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8932
8870
  * @summary Add realm-level role mappings to the user
8933
8871
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/realm
8934
8872
  */ async function pOSTAdminRealmsRealmUsersUserIdRoleMappingsRealm({ pathParams, body, config } = {}) {
8935
- const { client: request = client, ...requestConfig } = config ?? {};
8873
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8936
8874
  if (!pathParams.realm) {
8937
8875
  throw new Error(`Missing required path parameter: realm`);
8938
8876
  }
@@ -8954,7 +8892,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8954
8892
  * @summary Delete realm-level role mappings
8955
8893
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/realm
8956
8894
  */ async function dELETEAdminRealmsRealmUsersUserIdRoleMappingsRealm({ pathParams, body, config } = {}) {
8957
- const { client: request = client, ...requestConfig } = config ?? {};
8895
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8958
8896
  if (!pathParams.realm) {
8959
8897
  throw new Error(`Missing required path parameter: realm`);
8960
8898
  }
@@ -8976,7 +8914,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8976
8914
  * @summary Get realm-level roles that can be mapped
8977
8915
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/realm/available
8978
8916
  */ async function gETAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailable({ pathParams, config } = {}) {
8979
- const { client: request = client, ...requestConfig } = config ?? {};
8917
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
8980
8918
  if (!pathParams.realm) {
8981
8919
  throw new Error(`Missing required path parameter: realm`);
8982
8920
  }
@@ -8997,7 +8935,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
8997
8935
  * @summary Get effective realm-level role mappings This will recurse all composite roles to get the result.
8998
8936
  * @link /admin/realms/{realm}/users/{userId}/role-mappings/realm/composite
8999
8937
  */ async function gETAdminRealmsRealmUsersUserIdRoleMappingsRealmComposite({ pathParams, queryParams, config } = {}) {
9000
- const { client: request = client, ...requestConfig } = config ?? {};
8938
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
9001
8939
  if (!pathParams.realm) {
9002
8940
  throw new Error(`Missing required path parameter: realm`);
9003
8941
  }
@@ -9020,7 +8958,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
9020
8958
  * @description The redirectUri, clientId and lifespan parameters are optional. The default for the redirect is the account client. The default for the lifespan is 12 hours
9021
8959
  * @link /admin/realms/{realm}/users/{userId}/send-verify-email
9022
8960
  */ async function pUTAdminRealmsRealmUsersUserIdSendVerifyEmail({ pathParams, queryParams, config } = {}) {
9023
- const { client: request = client, ...requestConfig } = config ?? {};
8961
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
9024
8962
  if (!pathParams.realm) {
9025
8963
  throw new Error(`Missing required path parameter: realm`);
9026
8964
  }
@@ -9042,7 +8980,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
9042
8980
  * @summary Get sessions associated with the user
9043
8981
  * @link /admin/realms/{realm}/users/{userId}/sessions
9044
8982
  */ async function gETAdminRealmsRealmUsersUserIdSessions({ pathParams, config } = {}) {
9045
- const { client: request = client, ...requestConfig } = config ?? {};
8983
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
9046
8984
  if (!pathParams.realm) {
9047
8985
  throw new Error(`Missing required path parameter: realm`);
9048
8986
  }
@@ -9062,7 +9000,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
9062
9000
  /**
9063
9001
  * @link /admin/realms/{realm}/users/{userId}/unmanagedAttributes
9064
9002
  */ async function gETAdminRealmsRealmUsersUserIdUnmanagedAttributes({ pathParams, config } = {}) {
9065
- const { client: request = client, ...requestConfig } = config ?? {};
9003
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
9066
9004
  if (!pathParams.realm) {
9067
9005
  throw new Error(`Missing required path parameter: realm`);
9068
9006
  }
@@ -9084,7 +9022,7 @@ const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
9084
9022
  * @description Return workflows that have scheduled steps for the given resource identifier.
9085
9023
  * @link /admin/realms/{realm}/workflows/scheduled/{resourceId}
9086
9024
  */ async function gETAdminRealmsRealmWorkflowsScheduledResourceId({ pathParams, config } = {}) {
9087
- const { client: request = client, ...requestConfig } = config ?? {};
9025
+ const { client: request = fetcher.client, ...requestConfig } = config ?? {};
9088
9026
  if (!pathParams.realm) {
9089
9027
  throw new Error(`Missing required path parameter: realm`);
9090
9028
  }
@@ -9517,7 +9455,7 @@ const operationsByPath = {
9517
9455
  "GET /admin/realms/{realm}/workflows/scheduled/{resourceId}": gETAdminRealmsRealmWorkflowsScheduledResourceId
9518
9456
  };
9519
9457
  const operationsByTag = {
9520
- "realmsAdmin": {
9458
+ realmsAdmin: {
9521
9459
  gETAdminRealms,
9522
9460
  pOSTAdminRealms,
9523
9461
  gETAdminRealmsRealm,
@@ -9564,12 +9502,12 @@ const operationsByTag = {
9564
9502
  gETAdminRealmsRealmUsersManagementPermissions,
9565
9503
  pUTAdminRealmsRealmUsersManagementPermissions
9566
9504
  },
9567
- "attackDetection": {
9505
+ attackDetection: {
9568
9506
  dELETEAdminRealmsRealmAttackDetectionBruteForceUsers,
9569
9507
  gETAdminRealmsRealmAttackDetectionBruteForceUsersUserId,
9570
9508
  dELETEAdminRealmsRealmAttackDetectionBruteForceUsersUserId
9571
9509
  },
9572
- "authenticationManagement": {
9510
+ authenticationManagement: {
9573
9511
  gETAdminRealmsRealmAuthenticationAuthenticatorProviders,
9574
9512
  gETAdminRealmsRealmAuthenticationClientAuthenticatorProviders,
9575
9513
  pOSTAdminRealmsRealmAuthenticationConfig,
@@ -9610,10 +9548,10 @@ const operationsByTag = {
9610
9548
  pOSTAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriority,
9611
9549
  gETAdminRealmsRealmAuthenticationUnregisteredRequiredActions
9612
9550
  },
9613
- "clientRegistrationPolicy": {
9551
+ clientRegistrationPolicy: {
9614
9552
  gETAdminRealmsRealmClientRegistrationPolicyProviders
9615
9553
  },
9616
- "clientScopes": {
9554
+ clientScopes: {
9617
9555
  gETAdminRealmsRealmClientScopes,
9618
9556
  pOSTAdminRealmsRealmClientScopes,
9619
9557
  gETAdminRealmsRealmClientTemplates,
@@ -9625,7 +9563,7 @@ const operationsByTag = {
9625
9563
  pUTAdminRealmsRealmClientTemplatesClientScopeId,
9626
9564
  dELETEAdminRealmsRealmClientTemplatesClientScopeId
9627
9565
  },
9628
- "clients": {
9566
+ clients: {
9629
9567
  gETAdminRealmsRealmClients,
9630
9568
  pOSTAdminRealmsRealmClients,
9631
9569
  gETAdminRealmsRealmClientsClientUuid,
@@ -9662,12 +9600,12 @@ const operationsByTag = {
9662
9600
  gETAdminRealmsRealmClientsClientUuidTestNodesAvailable,
9663
9601
  gETAdminRealmsRealmClientsClientUuidUserSessions
9664
9602
  },
9665
- "clientInitialAccess": {
9603
+ clientInitialAccess: {
9666
9604
  gETAdminRealmsRealmClientsInitialAccess,
9667
9605
  pOSTAdminRealmsRealmClientsInitialAccess,
9668
9606
  dELETEAdminRealmsRealmClientsInitialAccessId
9669
9607
  },
9670
- "component": {
9608
+ component: {
9671
9609
  gETAdminRealmsRealmComponents,
9672
9610
  pOSTAdminRealmsRealmComponents,
9673
9611
  gETAdminRealmsRealmComponentsId,
@@ -9675,7 +9613,7 @@ const operationsByTag = {
9675
9613
  dELETEAdminRealmsRealmComponentsId,
9676
9614
  gETAdminRealmsRealmComponentsIdSubComponentTypes
9677
9615
  },
9678
- "groups": {
9616
+ groups: {
9679
9617
  gETAdminRealmsRealmGroups,
9680
9618
  pOSTAdminRealmsRealmGroups,
9681
9619
  gETAdminRealmsRealmGroupsCount,
@@ -9688,7 +9626,7 @@ const operationsByTag = {
9688
9626
  pUTAdminRealmsRealmGroupsGroupIdManagementPermissions,
9689
9627
  gETAdminRealmsRealmGroupsGroupIdMembers
9690
9628
  },
9691
- "identityProviders": {
9629
+ identityProviders: {
9692
9630
  pOSTAdminRealmsRealmIdentityProviderImportConfig,
9693
9631
  gETAdminRealmsRealmIdentityProviderInstances,
9694
9632
  pOSTAdminRealmsRealmIdentityProviderInstances,
@@ -9707,7 +9645,7 @@ const operationsByTag = {
9707
9645
  gETAdminRealmsRealmIdentityProviderInstancesAliasReloadKeys,
9708
9646
  gETAdminRealmsRealmIdentityProviderProvidersProviderId
9709
9647
  },
9710
- "clientAttributeCertificate": {
9648
+ clientAttributeCertificate: {
9711
9649
  pOSTAdminRealmsRealmIdentityProviderUploadCertificate,
9712
9650
  gETAdminRealmsRealmClientsClientUuidCertificatesAttr,
9713
9651
  pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrDownload,
@@ -9716,10 +9654,10 @@ const operationsByTag = {
9716
9654
  pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrUpload,
9717
9655
  pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificate
9718
9656
  },
9719
- "key": {
9657
+ key: {
9720
9658
  gETAdminRealmsRealmKeys
9721
9659
  },
9722
- "organizations": {
9660
+ organizations: {
9723
9661
  gETAdminRealmsRealmOrganizations,
9724
9662
  pOSTAdminRealmsRealmOrganizations,
9725
9663
  gETAdminRealmsRealmOrganizationsCount,
@@ -9757,7 +9695,7 @@ const operationsByTag = {
9757
9695
  gETAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGroups,
9758
9696
  gETAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizations
9759
9697
  },
9760
- "roles": {
9698
+ roles: {
9761
9699
  gETAdminRealmsRealmRoles,
9762
9700
  pOSTAdminRealmsRealmRoles,
9763
9701
  gETAdminRealmsRealmClientsClientUuidRoles,
@@ -9787,7 +9725,7 @@ const operationsByTag = {
9787
9725
  pUTAdminRealmsRealmRolesRoleNameManagementPermissions,
9788
9726
  gETAdminRealmsRealmRolesRoleNameUsers
9789
9727
  },
9790
- "users": {
9728
+ users: {
9791
9729
  gETAdminRealmsRealmUsers,
9792
9730
  pOSTAdminRealmsRealmUsers,
9793
9731
  gETAdminRealmsRealmUsersCount,
@@ -9823,7 +9761,7 @@ const operationsByTag = {
9823
9761
  gETAdminRealmsRealmUsersUserIdSessions,
9824
9762
  gETAdminRealmsRealmUsersUserIdUnmanagedAttributes
9825
9763
  },
9826
- "workflows": {
9764
+ workflows: {
9827
9765
  gETAdminRealmsRealmWorkflows,
9828
9766
  pOSTAdminRealmsRealmWorkflows,
9829
9767
  pOSTAdminRealmsRealmWorkflowsMigrate,
@@ -9834,7 +9772,7 @@ const operationsByTag = {
9834
9772
  pOSTAdminRealmsRealmWorkflowsIdDeactivateTypeResourceId,
9835
9773
  gETAdminRealmsRealmWorkflowsScheduledResourceId
9836
9774
  },
9837
- "protocolMappers": {
9775
+ protocolMappers: {
9838
9776
  pOSTAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModels,
9839
9777
  gETAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModels,
9840
9778
  pOSTAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModels,
@@ -9857,7 +9795,7 @@ const operationsByTag = {
9857
9795
  dELETEAdminRealmsRealmClientsClientUuidProtocolMappersModelsId,
9858
9796
  gETAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocol
9859
9797
  },
9860
- "scopeMappings": {
9798
+ scopeMappings: {
9861
9799
  gETAdminRealmsRealmClientScopesClientScopeIdScopeMappings,
9862
9800
  gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClient,
9863
9801
  pOSTAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClient,
@@ -9892,7 +9830,7 @@ const operationsByTag = {
9892
9830
  gETAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailable,
9893
9831
  gETAdminRealmsRealmClientsClientUuidScopeMappingsRealmComposite
9894
9832
  },
9895
- "roleMapper": {
9833
+ roleMapper: {
9896
9834
  gETAdminRealmsRealmGroupsGroupIdRoleMappings,
9897
9835
  gETAdminRealmsRealmGroupsGroupIdRoleMappingsRealm,
9898
9836
  pOSTAdminRealmsRealmGroupsGroupIdRoleMappingsRealm,
@@ -9912,7 +9850,7 @@ const operationsByTag = {
9912
9850
  gETAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailable,
9913
9851
  gETAdminRealmsRealmUsersUserIdRoleMappingsRealmComposite
9914
9852
  },
9915
- "clientRoleMappings": {
9853
+ clientRoleMappings: {
9916
9854
  gETAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId,
9917
9855
  pOSTAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId,
9918
9856
  dELETEAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId,
@@ -9929,7 +9867,7 @@ const operationsByTag = {
9929
9867
  gETAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailable,
9930
9868
  gETAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdComposite
9931
9869
  },
9932
- "rolesById": {
9870
+ rolesById: {
9933
9871
  gETAdminRealmsRealmRolesByIdRoleId,
9934
9872
  pUTAdminRealmsRealmRolesByIdRoleId,
9935
9873
  dELETEAdminRealmsRealmRolesByIdRoleId,
@@ -9943,8 +9881,8 @@ const operationsByTag = {
9943
9881
  }
9944
9882
  };
9945
9883
  const tagDictionary = {
9946
- "realmsAdmin": {
9947
- "GET": [
9884
+ realmsAdmin: {
9885
+ GET: [
9948
9886
  "gETAdminRealms",
9949
9887
  "gETAdminRealmsRealm",
9950
9888
  "gETAdminRealmsRealmAdminEvents",
@@ -9964,7 +9902,7 @@ const tagDictionary = {
9964
9902
  "gETAdminRealmsRealmLocalizationLocaleKey",
9965
9903
  "gETAdminRealmsRealmUsersManagementPermissions"
9966
9904
  ],
9967
- "POST": [
9905
+ POST: [
9968
9906
  "pOSTAdminRealms",
9969
9907
  "pOSTAdminRealmsRealmClientDescriptionConverter",
9970
9908
  "pOSTAdminRealmsRealmLocalizationLocale",
@@ -9974,7 +9912,7 @@ const tagDictionary = {
9974
9912
  "pOSTAdminRealmsRealmPushRevocation",
9975
9913
  "pOSTAdminRealmsRealmTestSMTPConnection"
9976
9914
  ],
9977
- "PUT": [
9915
+ PUT: [
9978
9916
  "pUTAdminRealmsRealm",
9979
9917
  "pUTAdminRealmsRealmClientPoliciesPolicies",
9980
9918
  "pUTAdminRealmsRealmClientPoliciesProfiles",
@@ -9986,7 +9924,7 @@ const tagDictionary = {
9986
9924
  "pUTAdminRealmsRealmLocalizationLocaleKey",
9987
9925
  "pUTAdminRealmsRealmUsersManagementPermissions"
9988
9926
  ],
9989
- "DELETE": [
9927
+ DELETE: [
9990
9928
  "dELETEAdminRealmsRealm",
9991
9929
  "dELETEAdminRealmsRealmAdminEvents",
9992
9930
  "dELETEAdminRealmsRealmDefaultDefaultClientScopesClientScopeId",
@@ -9998,17 +9936,17 @@ const tagDictionary = {
9998
9936
  "dELETEAdminRealmsRealmSessionsSession"
9999
9937
  ]
10000
9938
  },
10001
- "attackDetection": {
10002
- "DELETE": [
9939
+ attackDetection: {
9940
+ DELETE: [
10003
9941
  "dELETEAdminRealmsRealmAttackDetectionBruteForceUsers",
10004
9942
  "dELETEAdminRealmsRealmAttackDetectionBruteForceUsersUserId"
10005
9943
  ],
10006
- "GET": [
9944
+ GET: [
10007
9945
  "gETAdminRealmsRealmAttackDetectionBruteForceUsersUserId"
10008
9946
  ]
10009
9947
  },
10010
- "authenticationManagement": {
10011
- "GET": [
9948
+ authenticationManagement: {
9949
+ GET: [
10012
9950
  "gETAdminRealmsRealmAuthenticationAuthenticatorProviders",
10013
9951
  "gETAdminRealmsRealmAuthenticationClientAuthenticatorProviders",
10014
9952
  "gETAdminRealmsRealmAuthenticationConfigDescriptionProviderId",
@@ -10027,7 +9965,7 @@ const tagDictionary = {
10027
9965
  "gETAdminRealmsRealmAuthenticationRequiredActionsAliasConfigDescription",
10028
9966
  "gETAdminRealmsRealmAuthenticationUnregisteredRequiredActions"
10029
9967
  ],
10030
- "POST": [
9968
+ POST: [
10031
9969
  "pOSTAdminRealmsRealmAuthenticationConfig",
10032
9970
  "pOSTAdminRealmsRealmAuthenticationExecutions",
10033
9971
  "pOSTAdminRealmsRealmAuthenticationExecutionsExecutionIdConfig",
@@ -10041,14 +9979,14 @@ const tagDictionary = {
10041
9979
  "pOSTAdminRealmsRealmAuthenticationRequiredActionsAliasLowerPriority",
10042
9980
  "pOSTAdminRealmsRealmAuthenticationRequiredActionsAliasRaisePriority"
10043
9981
  ],
10044
- "PUT": [
9982
+ PUT: [
10045
9983
  "pUTAdminRealmsRealmAuthenticationConfigId",
10046
9984
  "pUTAdminRealmsRealmAuthenticationFlowsFlowAliasExecutions",
10047
9985
  "pUTAdminRealmsRealmAuthenticationFlowsId",
10048
9986
  "pUTAdminRealmsRealmAuthenticationRequiredActionsAlias",
10049
9987
  "pUTAdminRealmsRealmAuthenticationRequiredActionsAliasConfig"
10050
9988
  ],
10051
- "DELETE": [
9989
+ DELETE: [
10052
9990
  "dELETEAdminRealmsRealmAuthenticationConfigId",
10053
9991
  "dELETEAdminRealmsRealmAuthenticationExecutionsExecutionId",
10054
9992
  "dELETEAdminRealmsRealmAuthenticationFlowsId",
@@ -10056,33 +9994,33 @@ const tagDictionary = {
10056
9994
  "dELETEAdminRealmsRealmAuthenticationRequiredActionsAliasConfig"
10057
9995
  ]
10058
9996
  },
10059
- "clientRegistrationPolicy": {
10060
- "GET": [
9997
+ clientRegistrationPolicy: {
9998
+ GET: [
10061
9999
  "gETAdminRealmsRealmClientRegistrationPolicyProviders"
10062
10000
  ]
10063
10001
  },
10064
- "clientScopes": {
10065
- "GET": [
10002
+ clientScopes: {
10003
+ GET: [
10066
10004
  "gETAdminRealmsRealmClientScopes",
10067
10005
  "gETAdminRealmsRealmClientTemplates",
10068
10006
  "gETAdminRealmsRealmClientScopesClientScopeId",
10069
10007
  "gETAdminRealmsRealmClientTemplatesClientScopeId"
10070
10008
  ],
10071
- "POST": [
10009
+ POST: [
10072
10010
  "pOSTAdminRealmsRealmClientScopes",
10073
10011
  "pOSTAdminRealmsRealmClientTemplates"
10074
10012
  ],
10075
- "PUT": [
10013
+ PUT: [
10076
10014
  "pUTAdminRealmsRealmClientScopesClientScopeId",
10077
10015
  "pUTAdminRealmsRealmClientTemplatesClientScopeId"
10078
10016
  ],
10079
- "DELETE": [
10017
+ DELETE: [
10080
10018
  "dELETEAdminRealmsRealmClientScopesClientScopeId",
10081
10019
  "dELETEAdminRealmsRealmClientTemplatesClientScopeId"
10082
10020
  ]
10083
10021
  },
10084
- "clients": {
10085
- "GET": [
10022
+ clients: {
10023
+ GET: [
10086
10024
  "gETAdminRealmsRealmClients",
10087
10025
  "gETAdminRealmsRealmClientsClientUuid",
10088
10026
  "gETAdminRealmsRealmClientsClientUuidClientSecret",
@@ -10105,20 +10043,20 @@ const tagDictionary = {
10105
10043
  "gETAdminRealmsRealmClientsClientUuidTestNodesAvailable",
10106
10044
  "gETAdminRealmsRealmClientsClientUuidUserSessions"
10107
10045
  ],
10108
- "POST": [
10046
+ POST: [
10109
10047
  "pOSTAdminRealmsRealmClients",
10110
10048
  "pOSTAdminRealmsRealmClientsClientUuidClientSecret",
10111
10049
  "pOSTAdminRealmsRealmClientsClientUuidNodes",
10112
10050
  "pOSTAdminRealmsRealmClientsClientUuidPushRevocation",
10113
10051
  "pOSTAdminRealmsRealmClientsClientUuidRegistrationAccessToken"
10114
10052
  ],
10115
- "PUT": [
10053
+ PUT: [
10116
10054
  "pUTAdminRealmsRealmClientsClientUuid",
10117
10055
  "pUTAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeId",
10118
10056
  "pUTAdminRealmsRealmClientsClientUuidManagementPermissions",
10119
10057
  "pUTAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeId"
10120
10058
  ],
10121
- "DELETE": [
10059
+ DELETE: [
10122
10060
  "dELETEAdminRealmsRealmClientsClientUuid",
10123
10061
  "dELETEAdminRealmsRealmClientsClientUuidClientSecretRotated",
10124
10062
  "dELETEAdminRealmsRealmClientsClientUuidDefaultClientScopesClientScopeId",
@@ -10126,35 +10064,35 @@ const tagDictionary = {
10126
10064
  "dELETEAdminRealmsRealmClientsClientUuidOptionalClientScopesClientScopeId"
10127
10065
  ]
10128
10066
  },
10129
- "clientInitialAccess": {
10130
- "GET": [
10067
+ clientInitialAccess: {
10068
+ GET: [
10131
10069
  "gETAdminRealmsRealmClientsInitialAccess"
10132
10070
  ],
10133
- "POST": [
10071
+ POST: [
10134
10072
  "pOSTAdminRealmsRealmClientsInitialAccess"
10135
10073
  ],
10136
- "DELETE": [
10074
+ DELETE: [
10137
10075
  "dELETEAdminRealmsRealmClientsInitialAccessId"
10138
10076
  ]
10139
10077
  },
10140
- "component": {
10141
- "GET": [
10078
+ component: {
10079
+ GET: [
10142
10080
  "gETAdminRealmsRealmComponents",
10143
10081
  "gETAdminRealmsRealmComponentsId",
10144
10082
  "gETAdminRealmsRealmComponentsIdSubComponentTypes"
10145
10083
  ],
10146
- "POST": [
10084
+ POST: [
10147
10085
  "pOSTAdminRealmsRealmComponents"
10148
10086
  ],
10149
- "PUT": [
10087
+ PUT: [
10150
10088
  "pUTAdminRealmsRealmComponentsId"
10151
10089
  ],
10152
- "DELETE": [
10090
+ DELETE: [
10153
10091
  "dELETEAdminRealmsRealmComponentsId"
10154
10092
  ]
10155
10093
  },
10156
- "groups": {
10157
- "GET": [
10094
+ groups: {
10095
+ GET: [
10158
10096
  "gETAdminRealmsRealmGroups",
10159
10097
  "gETAdminRealmsRealmGroupsCount",
10160
10098
  "gETAdminRealmsRealmGroupsGroupId",
@@ -10162,25 +10100,25 @@ const tagDictionary = {
10162
10100
  "gETAdminRealmsRealmGroupsGroupIdManagementPermissions",
10163
10101
  "gETAdminRealmsRealmGroupsGroupIdMembers"
10164
10102
  ],
10165
- "POST": [
10103
+ POST: [
10166
10104
  "pOSTAdminRealmsRealmGroups",
10167
10105
  "pOSTAdminRealmsRealmGroupsGroupIdChildren"
10168
10106
  ],
10169
- "PUT": [
10107
+ PUT: [
10170
10108
  "pUTAdminRealmsRealmGroupsGroupId",
10171
10109
  "pUTAdminRealmsRealmGroupsGroupIdManagementPermissions"
10172
10110
  ],
10173
- "DELETE": [
10111
+ DELETE: [
10174
10112
  "dELETEAdminRealmsRealmGroupsGroupId"
10175
10113
  ]
10176
10114
  },
10177
- "identityProviders": {
10178
- "POST": [
10115
+ identityProviders: {
10116
+ POST: [
10179
10117
  "pOSTAdminRealmsRealmIdentityProviderImportConfig",
10180
10118
  "pOSTAdminRealmsRealmIdentityProviderInstances",
10181
10119
  "pOSTAdminRealmsRealmIdentityProviderInstancesAliasMappers"
10182
10120
  ],
10183
- "GET": [
10121
+ GET: [
10184
10122
  "gETAdminRealmsRealmIdentityProviderInstances",
10185
10123
  "gETAdminRealmsRealmIdentityProviderInstancesAlias",
10186
10124
  "gETAdminRealmsRealmIdentityProviderInstancesAliasExport",
@@ -10191,18 +10129,18 @@ const tagDictionary = {
10191
10129
  "gETAdminRealmsRealmIdentityProviderInstancesAliasReloadKeys",
10192
10130
  "gETAdminRealmsRealmIdentityProviderProvidersProviderId"
10193
10131
  ],
10194
- "PUT": [
10132
+ PUT: [
10195
10133
  "pUTAdminRealmsRealmIdentityProviderInstancesAlias",
10196
10134
  "pUTAdminRealmsRealmIdentityProviderInstancesAliasManagementPermissions",
10197
10135
  "pUTAdminRealmsRealmIdentityProviderInstancesAliasMappersId"
10198
10136
  ],
10199
- "DELETE": [
10137
+ DELETE: [
10200
10138
  "dELETEAdminRealmsRealmIdentityProviderInstancesAlias",
10201
10139
  "dELETEAdminRealmsRealmIdentityProviderInstancesAliasMappersId"
10202
10140
  ]
10203
10141
  },
10204
- "clientAttributeCertificate": {
10205
- "POST": [
10142
+ clientAttributeCertificate: {
10143
+ POST: [
10206
10144
  "pOSTAdminRealmsRealmIdentityProviderUploadCertificate",
10207
10145
  "pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrDownload",
10208
10146
  "pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrGenerate",
@@ -10210,17 +10148,17 @@ const tagDictionary = {
10210
10148
  "pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrUpload",
10211
10149
  "pOSTAdminRealmsRealmClientsClientUuidCertificatesAttrUploadCertificate"
10212
10150
  ],
10213
- "GET": [
10151
+ GET: [
10214
10152
  "gETAdminRealmsRealmClientsClientUuidCertificatesAttr"
10215
10153
  ]
10216
10154
  },
10217
- "key": {
10218
- "GET": [
10155
+ key: {
10156
+ GET: [
10219
10157
  "gETAdminRealmsRealmKeys"
10220
10158
  ]
10221
10159
  },
10222
- "organizations": {
10223
- "GET": [
10160
+ organizations: {
10161
+ GET: [
10224
10162
  "gETAdminRealmsRealmOrganizations",
10225
10163
  "gETAdminRealmsRealmOrganizationsCount",
10226
10164
  "gETAdminRealmsRealmOrganizationsMembersMemberIdOrganizations",
@@ -10241,7 +10179,7 @@ const tagDictionary = {
10241
10179
  "gETAdminRealmsRealmOrganizationsOrgIdMembersMemberIdGroups",
10242
10180
  "gETAdminRealmsRealmOrganizationsOrgIdMembersMemberIdOrganizations"
10243
10181
  ],
10244
- "POST": [
10182
+ POST: [
10245
10183
  "pOSTAdminRealmsRealmOrganizations",
10246
10184
  "pOSTAdminRealmsRealmOrganizationsOrgIdGroups",
10247
10185
  "pOSTAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdChildren",
@@ -10251,12 +10189,12 @@ const tagDictionary = {
10251
10189
  "pOSTAdminRealmsRealmOrganizationsOrgIdMembersInviteExistingUser",
10252
10190
  "pOSTAdminRealmsRealmOrganizationsOrgIdMembersInviteUser"
10253
10191
  ],
10254
- "PUT": [
10192
+ PUT: [
10255
10193
  "pUTAdminRealmsRealmOrganizationsOrgId",
10256
10194
  "pUTAdminRealmsRealmOrganizationsOrgIdGroupsGroupId",
10257
10195
  "pUTAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdMembersUserId"
10258
10196
  ],
10259
- "DELETE": [
10197
+ DELETE: [
10260
10198
  "dELETEAdminRealmsRealmOrganizationsOrgId",
10261
10199
  "dELETEAdminRealmsRealmOrganizationsOrgIdGroupsGroupId",
10262
10200
  "dELETEAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdMembersUserId",
@@ -10265,8 +10203,8 @@ const tagDictionary = {
10265
10203
  "dELETEAdminRealmsRealmOrganizationsOrgIdMembersMemberId"
10266
10204
  ]
10267
10205
  },
10268
- "roles": {
10269
- "GET": [
10206
+ roles: {
10207
+ GET: [
10270
10208
  "gETAdminRealmsRealmRoles",
10271
10209
  "gETAdminRealmsRealmClientsClientUuidRoles",
10272
10210
  "gETAdminRealmsRealmClientsClientUuidRolesRoleName",
@@ -10284,27 +10222,27 @@ const tagDictionary = {
10284
10222
  "gETAdminRealmsRealmRolesRoleNameManagementPermissions",
10285
10223
  "gETAdminRealmsRealmRolesRoleNameUsers"
10286
10224
  ],
10287
- "POST": [
10225
+ POST: [
10288
10226
  "pOSTAdminRealmsRealmRoles",
10289
10227
  "pOSTAdminRealmsRealmClientsClientUuidRoles",
10290
10228
  "pOSTAdminRealmsRealmClientsClientUuidRolesRoleNameComposites",
10291
10229
  "pOSTAdminRealmsRealmRolesRoleNameComposites"
10292
10230
  ],
10293
- "PUT": [
10231
+ PUT: [
10294
10232
  "pUTAdminRealmsRealmClientsClientUuidRolesRoleName",
10295
10233
  "pUTAdminRealmsRealmClientsClientUuidRolesRoleNameManagementPermissions",
10296
10234
  "pUTAdminRealmsRealmRolesRoleName",
10297
10235
  "pUTAdminRealmsRealmRolesRoleNameManagementPermissions"
10298
10236
  ],
10299
- "DELETE": [
10237
+ DELETE: [
10300
10238
  "dELETEAdminRealmsRealmClientsClientUuidRolesRoleName",
10301
10239
  "dELETEAdminRealmsRealmClientsClientUuidRolesRoleNameComposites",
10302
10240
  "dELETEAdminRealmsRealmRolesRoleName",
10303
10241
  "dELETEAdminRealmsRealmRolesRoleNameComposites"
10304
10242
  ]
10305
10243
  },
10306
- "users": {
10307
- "GET": [
10244
+ users: {
10245
+ GET: [
10308
10246
  "gETAdminRealmsRealmUsers",
10309
10247
  "gETAdminRealmsRealmUsersCount",
10310
10248
  "gETAdminRealmsRealmUsersProfile",
@@ -10320,7 +10258,7 @@ const tagDictionary = {
10320
10258
  "gETAdminRealmsRealmUsersUserIdSessions",
10321
10259
  "gETAdminRealmsRealmUsersUserIdUnmanagedAttributes"
10322
10260
  ],
10323
- "POST": [
10261
+ POST: [
10324
10262
  "pOSTAdminRealmsRealmUsers",
10325
10263
  "pOSTAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveAfterNewPreviousCredentialId",
10326
10264
  "pOSTAdminRealmsRealmUsersUserIdCredentialsCredentialIdMoveToFirst",
@@ -10328,7 +10266,7 @@ const tagDictionary = {
10328
10266
  "pOSTAdminRealmsRealmUsersUserIdImpersonation",
10329
10267
  "pOSTAdminRealmsRealmUsersUserIdLogout"
10330
10268
  ],
10331
- "PUT": [
10269
+ PUT: [
10332
10270
  "pUTAdminRealmsRealmUsersProfile",
10333
10271
  "pUTAdminRealmsRealmUsersUserId",
10334
10272
  "pUTAdminRealmsRealmUsersUserIdCredentialsCredentialIdUserLabel",
@@ -10339,7 +10277,7 @@ const tagDictionary = {
10339
10277
  "pUTAdminRealmsRealmUsersUserIdResetPasswordEmail",
10340
10278
  "pUTAdminRealmsRealmUsersUserIdSendVerifyEmail"
10341
10279
  ],
10342
- "DELETE": [
10280
+ DELETE: [
10343
10281
  "dELETEAdminRealmsRealmUsersUserId",
10344
10282
  "dELETEAdminRealmsRealmUsersUserIdConsentsClient",
10345
10283
  "dELETEAdminRealmsRealmUsersUserIdCredentialsCredentialId",
@@ -10347,27 +10285,27 @@ const tagDictionary = {
10347
10285
  "dELETEAdminRealmsRealmUsersUserIdGroupsGroupId"
10348
10286
  ]
10349
10287
  },
10350
- "workflows": {
10351
- "GET": [
10288
+ workflows: {
10289
+ GET: [
10352
10290
  "gETAdminRealmsRealmWorkflows",
10353
10291
  "gETAdminRealmsRealmWorkflowsId",
10354
10292
  "gETAdminRealmsRealmWorkflowsScheduledResourceId"
10355
10293
  ],
10356
- "POST": [
10294
+ POST: [
10357
10295
  "pOSTAdminRealmsRealmWorkflows",
10358
10296
  "pOSTAdminRealmsRealmWorkflowsMigrate",
10359
10297
  "pOSTAdminRealmsRealmWorkflowsIdActivateTypeResourceId",
10360
10298
  "pOSTAdminRealmsRealmWorkflowsIdDeactivateTypeResourceId"
10361
10299
  ],
10362
- "PUT": [
10300
+ PUT: [
10363
10301
  "pUTAdminRealmsRealmWorkflowsId"
10364
10302
  ],
10365
- "DELETE": [
10303
+ DELETE: [
10366
10304
  "dELETEAdminRealmsRealmWorkflowsId"
10367
10305
  ]
10368
10306
  },
10369
- "protocolMappers": {
10370
- "POST": [
10307
+ protocolMappers: {
10308
+ POST: [
10371
10309
  "pOSTAdminRealmsRealmClientScopesClientScopeIdProtocolMappersAddModels",
10372
10310
  "pOSTAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModels",
10373
10311
  "pOSTAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersAddModels",
@@ -10375,7 +10313,7 @@ const tagDictionary = {
10375
10313
  "pOSTAdminRealmsRealmClientsClientUuidProtocolMappersAddModels",
10376
10314
  "pOSTAdminRealmsRealmClientsClientUuidProtocolMappersModels"
10377
10315
  ],
10378
- "GET": [
10316
+ GET: [
10379
10317
  "gETAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModels",
10380
10318
  "gETAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsId",
10381
10319
  "gETAdminRealmsRealmClientScopesClientScopeIdProtocolMappersProtocolProtocol",
@@ -10386,19 +10324,19 @@ const tagDictionary = {
10386
10324
  "gETAdminRealmsRealmClientsClientUuidProtocolMappersModelsId",
10387
10325
  "gETAdminRealmsRealmClientsClientUuidProtocolMappersProtocolProtocol"
10388
10326
  ],
10389
- "PUT": [
10327
+ PUT: [
10390
10328
  "pUTAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsId",
10391
10329
  "pUTAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsId",
10392
10330
  "pUTAdminRealmsRealmClientsClientUuidProtocolMappersModelsId"
10393
10331
  ],
10394
- "DELETE": [
10332
+ DELETE: [
10395
10333
  "dELETEAdminRealmsRealmClientScopesClientScopeIdProtocolMappersModelsId",
10396
10334
  "dELETEAdminRealmsRealmClientTemplatesClientScopeIdProtocolMappersModelsId",
10397
10335
  "dELETEAdminRealmsRealmClientsClientUuidProtocolMappersModelsId"
10398
10336
  ]
10399
10337
  },
10400
- "scopeMappings": {
10401
- "GET": [
10338
+ scopeMappings: {
10339
+ GET: [
10402
10340
  "gETAdminRealmsRealmClientScopesClientScopeIdScopeMappings",
10403
10341
  "gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClient",
10404
10342
  "gETAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClientAvailable",
@@ -10421,7 +10359,7 @@ const tagDictionary = {
10421
10359
  "gETAdminRealmsRealmClientsClientUuidScopeMappingsRealmAvailable",
10422
10360
  "gETAdminRealmsRealmClientsClientUuidScopeMappingsRealmComposite"
10423
10361
  ],
10424
- "POST": [
10362
+ POST: [
10425
10363
  "pOSTAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClient",
10426
10364
  "pOSTAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealm",
10427
10365
  "pOSTAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClient",
@@ -10429,7 +10367,7 @@ const tagDictionary = {
10429
10367
  "pOSTAdminRealmsRealmClientsClientUuidScopeMappingsClientsClient",
10430
10368
  "pOSTAdminRealmsRealmClientsClientUuidScopeMappingsRealm"
10431
10369
  ],
10432
- "DELETE": [
10370
+ DELETE: [
10433
10371
  "dELETEAdminRealmsRealmClientScopesClientScopeIdScopeMappingsClientsClient",
10434
10372
  "dELETEAdminRealmsRealmClientScopesClientScopeIdScopeMappingsRealm",
10435
10373
  "dELETEAdminRealmsRealmClientTemplatesClientScopeIdScopeMappingsClientsClient",
@@ -10438,8 +10376,8 @@ const tagDictionary = {
10438
10376
  "dELETEAdminRealmsRealmClientsClientUuidScopeMappingsRealm"
10439
10377
  ]
10440
10378
  },
10441
- "roleMapper": {
10442
- "GET": [
10379
+ roleMapper: {
10380
+ GET: [
10443
10381
  "gETAdminRealmsRealmGroupsGroupIdRoleMappings",
10444
10382
  "gETAdminRealmsRealmGroupsGroupIdRoleMappingsRealm",
10445
10383
  "gETAdminRealmsRealmGroupsGroupIdRoleMappingsRealmAvailable",
@@ -10453,19 +10391,19 @@ const tagDictionary = {
10453
10391
  "gETAdminRealmsRealmUsersUserIdRoleMappingsRealmAvailable",
10454
10392
  "gETAdminRealmsRealmUsersUserIdRoleMappingsRealmComposite"
10455
10393
  ],
10456
- "POST": [
10394
+ POST: [
10457
10395
  "pOSTAdminRealmsRealmGroupsGroupIdRoleMappingsRealm",
10458
10396
  "pOSTAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsRealm",
10459
10397
  "pOSTAdminRealmsRealmUsersUserIdRoleMappingsRealm"
10460
10398
  ],
10461
- "DELETE": [
10399
+ DELETE: [
10462
10400
  "dELETEAdminRealmsRealmGroupsGroupIdRoleMappingsRealm",
10463
10401
  "dELETEAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsRealm",
10464
10402
  "dELETEAdminRealmsRealmUsersUserIdRoleMappingsRealm"
10465
10403
  ]
10466
10404
  },
10467
- "clientRoleMappings": {
10468
- "GET": [
10405
+ clientRoleMappings: {
10406
+ GET: [
10469
10407
  "gETAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId",
10470
10408
  "gETAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdAvailable",
10471
10409
  "gETAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientIdComposite",
@@ -10476,34 +10414,34 @@ const tagDictionary = {
10476
10414
  "gETAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdAvailable",
10477
10415
  "gETAdminRealmsRealmUsersUserIdRoleMappingsClientsClientIdComposite"
10478
10416
  ],
10479
- "POST": [
10417
+ POST: [
10480
10418
  "pOSTAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId",
10481
10419
  "pOSTAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsClientsClientId",
10482
10420
  "pOSTAdminRealmsRealmUsersUserIdRoleMappingsClientsClientId"
10483
10421
  ],
10484
- "DELETE": [
10422
+ DELETE: [
10485
10423
  "dELETEAdminRealmsRealmGroupsGroupIdRoleMappingsClientsClientId",
10486
10424
  "dELETEAdminRealmsRealmOrganizationsOrgIdGroupsGroupIdRoleMappingsClientsClientId",
10487
10425
  "dELETEAdminRealmsRealmUsersUserIdRoleMappingsClientsClientId"
10488
10426
  ]
10489
10427
  },
10490
- "rolesById": {
10491
- "GET": [
10428
+ rolesById: {
10429
+ GET: [
10492
10430
  "gETAdminRealmsRealmRolesByIdRoleId",
10493
10431
  "gETAdminRealmsRealmRolesByIdRoleIdComposites",
10494
10432
  "gETAdminRealmsRealmRolesByIdRoleIdCompositesClientsClientUuid",
10495
10433
  "gETAdminRealmsRealmRolesByIdRoleIdCompositesRealm",
10496
10434
  "gETAdminRealmsRealmRolesByIdRoleIdManagementPermissions"
10497
10435
  ],
10498
- "PUT": [
10436
+ PUT: [
10499
10437
  "pUTAdminRealmsRealmRolesByIdRoleId",
10500
10438
  "pUTAdminRealmsRealmRolesByIdRoleIdManagementPermissions"
10501
10439
  ],
10502
- "DELETE": [
10440
+ DELETE: [
10503
10441
  "dELETEAdminRealmsRealmRolesByIdRoleId",
10504
10442
  "dELETEAdminRealmsRealmRolesByIdRoleIdComposites"
10505
10443
  ],
10506
- "POST": [
10444
+ POST: [
10507
10445
  "pOSTAdminRealmsRealmRolesByIdRoleIdComposites"
10508
10446
  ]
10509
10447
  }