keycloak-api 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +79 -0
  2. package/dist/account/components.cjs +110 -229
  3. package/dist/account/components.d.mts +70 -614
  4. package/dist/account/components.d.mts.map +1 -1
  5. package/dist/account/components.mjs +110 -229
  6. package/dist/account/schemas.cjs +71 -270
  7. package/dist/account/schemas.d.mts +166 -76
  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 +314 -737
  11. package/dist/account/types.d.mts.map +1 -1
  12. package/dist/admin/components.cjs +3130 -4734
  13. package/dist/admin/components.d.mts +1661 -8240
  14. package/dist/admin/components.d.mts.map +1 -1
  15. package/dist/admin/components.mjs +3131 -4723
  16. package/dist/admin/schemas.cjs +1875 -7511
  17. package/dist/admin/schemas.d.mts +22930 -7610
  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 +10887 -21855
  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 +45097 -45932
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.mjs +8 -18727
  32. package/dist/schemas-ckfznbee.js +340 -0
  33. package/dist/schemas-f1u0t5ee.cjs +430 -0
  34. package/dist/schemas-g9c8wc66.cjs +10203 -0
  35. package/dist/schemas-pbtpxjsr.js +8309 -0
  36. package/dist/types-6yzhv6is.cjs +73 -0
  37. package/dist/types-iyze6mys.js +63 -0
  38. package/package.json +4 -4
@@ -1,1112 +1,689 @@
1
1
  /**
2
- * Generated by Kubb (https://kubb.dev/).
3
- * Do not edit manually.
4
- */
5
- /**
6
- * @type object
7
- */
2
+ * Generated by Kubb (https://kubb.dev/).
3
+ * Do not edit manually.
4
+ */
8
5
  type OrganizationRepresentation = {
9
6
  /**
10
7
  * @type string | undefined
11
- */
8
+ */
12
9
  id?: string | undefined;
13
10
  /**
14
11
  * @type string | undefined
15
- */
12
+ */
16
13
  name?: string | undefined;
17
14
  /**
18
15
  * @type string | undefined
19
- */
16
+ */
20
17
  alias?: string | undefined;
21
18
  /**
22
19
  * @type string | undefined
23
- */
20
+ */
24
21
  description?: string | undefined;
25
22
  /**
26
23
  * @type boolean | undefined
27
- */
24
+ */
28
25
  enabled?: boolean | undefined;
29
26
  /**
30
27
  * @type array | undefined
31
- */
28
+ */
32
29
  domains?: string[] | undefined;
33
30
  };
34
- /**
35
- * @type object
36
- */
37
31
  type GroupRepresentation = {
38
32
  /**
39
33
  * @type object | undefined
40
- */
34
+ */
41
35
  access?: {
42
36
  [key: string]: unknown;
43
37
  } | undefined;
44
38
  /**
45
39
  * @type object | undefined
46
- */
40
+ */
47
41
  attributes?: {
48
42
  [key: string]: unknown;
49
43
  } | undefined;
50
44
  /**
51
45
  * @type object | undefined
52
- */
46
+ */
53
47
  clientRoles?: {
54
48
  [key: string]: unknown;
55
49
  } | undefined;
56
50
  /**
57
51
  * @type string | undefined
58
- */
52
+ */
59
53
  id?: string | undefined;
60
54
  /**
61
55
  * @type string | undefined
62
- */
56
+ */
63
57
  name?: string | undefined;
64
58
  /**
65
59
  * @type string | undefined
66
- */
60
+ */
67
61
  path?: string | undefined;
68
62
  /**
69
63
  * @type array | undefined
70
- */
64
+ */
71
65
  realmRoles?: string[] | undefined;
72
66
  /**
73
67
  * @type array | undefined
74
- */
68
+ */
75
69
  subGroups?: GroupRepresentation[] | undefined;
76
70
  };
77
- /**
78
- * @type object
79
- */
80
71
  type ConsentScopeRepresentation = {
81
72
  /**
82
73
  * @type string | undefined
83
- */
74
+ */
84
75
  id?: string | undefined;
85
76
  /**
86
77
  * @type string | undefined
87
- */
78
+ */
88
79
  name?: string | undefined;
89
80
  /**
90
81
  * @type string | undefined
91
- */
82
+ */
92
83
  displayText?: string | undefined;
93
84
  };
94
- /**
95
- * @type object
96
- */
97
85
  type ConsentRepresentation = {
98
86
  /**
99
87
  * @type number | undefined
100
- */
88
+ */
101
89
  createdDate?: number | undefined;
102
90
  /**
103
91
  * @type number | undefined
104
- */
92
+ */
105
93
  lastUpdatedDate?: number | undefined;
106
94
  /**
107
95
  * @type array | undefined
108
- */
96
+ */
109
97
  grantedScopes?: ConsentScopeRepresentation[] | undefined;
110
98
  };
111
- /**
112
- * @type object
113
- */
114
99
  type ClientRepresentation = {
115
100
  /**
116
101
  * @type string | undefined
117
- */
102
+ */
118
103
  clientId?: string | undefined;
119
104
  /**
120
105
  * @type string | undefined
121
- */
106
+ */
122
107
  clientName?: string | undefined;
123
108
  /**
124
109
  * @type string | undefined
125
- */
110
+ */
126
111
  description?: string | undefined;
127
112
  /**
128
113
  * @type boolean | undefined
129
- */
114
+ */
130
115
  userConsentRequired?: boolean | undefined;
131
116
  /**
132
117
  * @type boolean | undefined
133
- */
118
+ */
134
119
  inUse?: boolean | undefined;
135
120
  /**
136
121
  * @type boolean | undefined
137
- */
122
+ */
138
123
  offlineAccess?: boolean | undefined;
139
124
  /**
140
125
  * @type string | undefined
141
- */
126
+ */
142
127
  rootUrl?: string | undefined;
143
128
  /**
144
129
  * @type string | undefined
145
- */
130
+ */
146
131
  baseUrl?: string | undefined;
147
132
  /**
148
133
  * @type string | undefined
149
- */
134
+ */
150
135
  effectiveUrl?: string | undefined;
151
136
  /**
152
137
  * @type string | undefined
153
- */
138
+ */
154
139
  logoUri?: string | undefined;
155
140
  /**
156
141
  * @type string | undefined
157
- */
142
+ */
158
143
  policyUri?: string | undefined;
159
144
  /**
160
145
  * @type string | undefined
161
- */
146
+ */
162
147
  tosUri?: string | undefined;
163
148
  /**
164
149
  * @type object | undefined
165
- */
150
+ */
166
151
  consent?: ConsentRepresentation | undefined;
167
152
  };
168
- /**
169
- * @type object
170
- */
171
153
  type LinkedAccountRepresentation = {
172
154
  /**
173
155
  * @type boolean | undefined
174
- */
156
+ */
175
157
  connected?: boolean | undefined;
176
158
  /**
177
159
  * @type boolean | undefined
178
- */
160
+ */
179
161
  social?: boolean | undefined;
180
162
  /**
181
163
  * @type string | undefined
182
- */
164
+ */
183
165
  providerAlias?: string | undefined;
184
166
  /**
185
167
  * @type string | undefined
186
- */
168
+ */
187
169
  providerName?: string | undefined;
188
170
  /**
189
171
  * @type string | undefined
190
- */
172
+ */
191
173
  displayName?: string | undefined;
192
174
  /**
193
175
  * @type string | undefined
194
- */
176
+ */
195
177
  linkedUsername?: string | undefined;
196
178
  };
197
- /**
198
- * @type object
199
- */
200
179
  type AccountLinkUriRepresentation = {
201
180
  /**
202
181
  * @type string | undefined
203
- */
182
+ */
204
183
  accountLinkUri?: string | undefined;
205
184
  /**
206
185
  * @type string | undefined
207
- */
186
+ */
208
187
  nonce?: string | undefined;
209
188
  /**
210
189
  * @type string | undefined
211
- */
190
+ */
212
191
  hash?: string | undefined;
213
192
  };
214
- /**
215
- * @type object
216
- */
217
193
  type UserProfileMetadataAttributeRepresentation = {
218
194
  /**
219
195
  * @type string | undefined
220
- */
196
+ */
221
197
  name?: string | undefined;
222
198
  /**
223
199
  * @type string | undefined
224
- */
200
+ */
225
201
  displayName?: string | undefined;
226
202
  /**
227
203
  * @type boolean | undefined
228
- */
204
+ */
229
205
  required?: boolean | undefined;
230
206
  /**
231
207
  * @type boolean | undefined
232
- */
208
+ */
233
209
  readOnly?: boolean | undefined;
234
210
  /**
235
211
  * @type object | undefined
236
- */
212
+ */
237
213
  validators?: object | undefined;
238
214
  };
239
- /**
240
- * @type object
241
- */
242
215
  type UserProfileMetadataRepresentation = {
243
216
  /**
244
217
  * @type array | undefined
245
- */
218
+ */
246
219
  attributes?: UserProfileMetadataAttributeRepresentation[] | undefined;
247
220
  };
248
- /**
249
- * @type object
250
- */
251
221
  type UserProfileAttributesRepresentation = {
252
222
  /**
253
223
  * @type array | undefined
254
- */
224
+ */
255
225
  locale?: string[] | undefined;
256
226
  };
257
- /**
258
- * @type object
259
- */
260
227
  type AccountRepresentation = {
261
228
  /**
262
229
  * @type string | undefined
263
- */
230
+ */
264
231
  id?: string | undefined;
265
232
  /**
266
233
  * @type string | undefined
267
- */
234
+ */
268
235
  username?: string | undefined;
269
236
  /**
270
237
  * @type string | undefined
271
- */
238
+ */
272
239
  firstName?: string | undefined;
273
240
  /**
274
241
  * @type string | undefined
275
- */
242
+ */
276
243
  lastName?: string | undefined;
277
244
  /**
278
245
  * @type string | undefined
279
- */
246
+ */
280
247
  email?: string | undefined;
281
248
  /**
282
249
  * @type boolean | undefined
283
- */
250
+ */
284
251
  emailVerified?: boolean | undefined;
285
252
  /**
286
253
  * @type object | undefined
287
- */
254
+ */
288
255
  userProfileMetadata?: UserProfileMetadataRepresentation | undefined;
289
256
  /**
290
257
  * @type object | undefined
291
- */
258
+ */
292
259
  attributes?: UserProfileAttributesRepresentation | undefined;
293
260
  };
294
- /**
295
- * @type object
296
- */
297
261
  type CredentialMetadataRepresentation = {
298
262
  /**
299
263
  * @type string | undefined
300
- */
264
+ */
301
265
  id?: string | undefined;
302
266
  /**
303
267
  * @type string | undefined
304
- */
268
+ */
305
269
  type?: string | undefined;
306
270
  /**
307
271
  * @type string | undefined
308
- */
272
+ */
309
273
  userLabel?: string | undefined;
310
274
  /**
311
275
  * @type string | undefined
312
- */
276
+ */
313
277
  createdDate?: string | undefined;
314
278
  /**
315
279
  * @type object | undefined
316
- */
280
+ */
317
281
  credentialData?: object | undefined;
318
282
  };
319
- /**
320
- * @type object
321
- */
322
283
  type UserCredentialMetadataRepresentation = {
323
284
  /**
324
285
  * @type object | undefined
325
- */
286
+ */
326
287
  credential?: CredentialMetadataRepresentation | undefined;
327
288
  };
328
- /**
329
- * @type object
330
- */
331
289
  type CredentialRepresentation = {
332
290
  /**
333
291
  * @type string | undefined
334
- */
292
+ */
335
293
  type?: string | undefined;
336
294
  /**
337
295
  * @type string | undefined
338
- */
296
+ */
339
297
  category?: string | undefined;
340
298
  /**
341
299
  * @type string | undefined
342
- */
300
+ */
343
301
  displayName?: string | undefined;
344
302
  /**
345
303
  * @type string | undefined
346
- */
304
+ */
347
305
  helpText?: string | undefined;
348
306
  /**
349
307
  * @type string | undefined
350
- */
308
+ */
351
309
  iconCssClass?: string | undefined;
352
310
  /**
353
311
  * @type string | undefined
354
- */
312
+ */
355
313
  updateAction?: string | undefined;
356
314
  /**
357
315
  * @type boolean | undefined
358
- */
316
+ */
359
317
  removeable?: boolean | undefined;
360
318
  /**
361
319
  * @type array | undefined
362
- */
320
+ */
363
321
  userCredentialMetadatas?: UserCredentialMetadataRepresentation[] | undefined;
364
322
  };
365
- /**
366
- * @type object
367
- */
368
323
  type SessionRepresentation = {
369
324
  /**
370
325
  * @type string | undefined
371
- */
326
+ */
372
327
  id?: string | undefined;
373
328
  /**
374
329
  * @type string | undefined
375
- */
330
+ */
376
331
  ipAddress?: string | undefined;
377
332
  /**
378
333
  * @type number | undefined
379
- */
334
+ */
380
335
  started?: number | undefined;
381
336
  /**
382
337
  * @type number | undefined
383
- */
338
+ */
384
339
  lastAccess?: number | undefined;
385
340
  /**
386
341
  * @type number | undefined
387
- */
342
+ */
388
343
  expires?: number | undefined;
389
344
  /**
390
345
  * @type string | undefined
391
- */
346
+ */
392
347
  browser?: string | undefined;
393
348
  /**
394
349
  * @type boolean | undefined
395
- */
350
+ */
396
351
  current?: boolean | undefined;
397
352
  /**
398
353
  * @type array | undefined
399
- */
354
+ */
400
355
  clients?: ClientRepresentation[] | undefined;
401
356
  };
402
- /**
403
- * @type object
404
- */
405
357
  type DeviceRepresentation = {
406
358
  /**
407
359
  * @type string | undefined
408
- */
360
+ */
409
361
  id?: string | undefined;
410
362
  /**
411
363
  * @type string | undefined
412
- */
364
+ */
413
365
  ipAddress?: string | undefined;
414
366
  /**
415
367
  * @type string | undefined
416
- */
368
+ */
417
369
  os?: string | undefined;
418
370
  /**
419
371
  * @type string | undefined
420
- */
372
+ */
421
373
  osVersion?: string | undefined;
422
374
  /**
423
375
  * @type string | undefined
424
- */
376
+ */
425
377
  browser?: string | undefined;
426
378
  /**
427
379
  * @type string | undefined
428
- */
380
+ */
429
381
  device?: string | undefined;
430
382
  /**
431
383
  * @type number | undefined
432
- */
384
+ */
433
385
  lastAccess?: number | undefined;
434
386
  /**
435
387
  * @type boolean | undefined
436
- */
388
+ */
437
389
  current?: boolean | undefined;
438
390
  /**
439
391
  * @type boolean | undefined
440
- */
392
+ */
441
393
  mobile?: boolean | undefined;
442
394
  /**
443
395
  * @type array | undefined
444
- */
396
+ */
445
397
  sessions?: SessionRepresentation[] | undefined;
446
398
  };
447
- /**
448
- * @type boolean | undefined
449
- */
450
- type GetAccountQueryUserProfileMetadata = boolean | undefined;
451
- /**
452
- * @type object
453
- */
454
- type GetAccountStatus200 = AccountRepresentation;
455
- /**
456
- * @type object
457
- */
458
- type GetAccountRequestConfig = {
459
- data?: never | undefined;
460
- pathParams?: never | undefined;
399
+ type GetAccountQueryParams = {
461
400
  /**
462
- * @type object | undefined
463
- */
464
- queryParams?: {
465
- userProfileMetadata?: GetAccountQueryUserProfileMetadata | undefined;
466
- } | undefined;
467
- headerParams?: never | undefined;
468
- /**
469
- * @type string
470
- */
471
- url: "/account/";
472
- };
473
- /**
474
- * @type object
475
- */
476
- type GetAccountResponses = {
477
- "200": GetAccountStatus200;
401
+ * @type boolean | undefined
402
+ */
403
+ userProfileMetadata?: boolean | undefined;
478
404
  };
479
405
  /**
480
- * @description Union of all possible responses
481
- */
482
- type GetAccountResponse = GetAccountStatus200;
483
- /**
484
- * @type unknown
485
- */
486
- type UpdateAccountStatus204 = unknown;
487
- /**
488
- * @type object
489
- */
490
- type UpdateAccountData = AccountRepresentation;
491
- /**
492
- * @type object
493
- */
494
- type UpdateAccountRequestConfig = {
495
- data?: UpdateAccountData | undefined;
496
- pathParams?: never | undefined;
497
- queryParams?: never | undefined;
498
- headerParams?: never | undefined;
499
- /**
500
- * @type string
501
- */
502
- url: "/account/";
406
+ * @description success
407
+ */
408
+ type GetAccount200 = AccountRepresentation;
409
+ type GetAccountQueryResponse = GetAccount200;
410
+ type GetAccountQuery = {
411
+ Response: GetAccount200;
412
+ QueryParams: GetAccountQueryParams;
413
+ Errors: any;
503
414
  };
504
415
  /**
505
- * @type object
506
- */
507
- type UpdateAccountResponses = {
508
- "204": UpdateAccountStatus204;
416
+ * @description success
417
+ */
418
+ type UpdateAccount204 = unknown;
419
+ type UpdateAccountMutationRequest = AccountRepresentation;
420
+ type UpdateAccountMutationResponse = UpdateAccount204;
421
+ type UpdateAccountMutation = {
422
+ Response: UpdateAccount204;
423
+ Request: UpdateAccountMutationRequest;
424
+ Errors: any;
509
425
  };
510
- /**
511
- * @description Union of all possible responses
512
- */
513
- type UpdateAccountResponse = UpdateAccountStatus204;
514
- /**
515
- * @type string | undefined
516
- */
517
- type GetApplicationsQueryName = string | undefined;
518
- /**
519
- * @type array
520
- */
521
- type GetApplicationsStatus200 = ClientRepresentation[];
522
- /**
523
- * @type object
524
- */
525
- type GetApplicationsRequestConfig = {
526
- data?: never | undefined;
527
- pathParams?: never | undefined;
426
+ type GetApplicationsQueryParams = {
528
427
  /**
529
- * @type object | undefined
530
- */
531
- queryParams?: {
532
- name?: GetApplicationsQueryName | undefined;
533
- } | undefined;
534
- headerParams?: never | undefined;
535
- /**
536
- * @type string
537
- */
538
- url: "/account/applications";
428
+ * @type string | undefined
429
+ */
430
+ name?: string | undefined;
539
431
  };
540
432
  /**
541
- * @type object
542
- */
543
- type GetApplicationsResponses = {
544
- "200": GetApplicationsStatus200;
433
+ * @description success
434
+ */
435
+ type GetApplications200 = ClientRepresentation[];
436
+ type GetApplicationsQueryResponse = GetApplications200;
437
+ type GetApplicationsQuery = {
438
+ Response: GetApplications200;
439
+ QueryParams: GetApplicationsQueryParams;
440
+ Errors: any;
545
441
  };
546
- /**
547
- * @description Union of all possible responses
548
- */
549
- type GetApplicationsResponse = GetApplicationsStatus200;
550
- /**
551
- * @description client id
552
- * @type string
553
- */
554
- type GetConsentPathClientId = string;
555
- /**
556
- * @type object
557
- */
558
- type GetConsentStatus200 = ConsentRepresentation;
559
- /**
560
- * @type object
561
- */
562
- type GetConsentRequestConfig = {
563
- data?: never | undefined;
564
- /**
565
- * @type object
566
- */
567
- pathParams: {
568
- clientId: GetConsentPathClientId;
569
- };
570
- queryParams?: never | undefined;
571
- headerParams?: never | undefined;
442
+ type GetConsentPathParams = {
572
443
  /**
444
+ * @description client id
573
445
  * @type string
574
- */
575
- url: `/account/applications/${string}/consent`;
446
+ */
447
+ clientId: string;
576
448
  };
577
449
  /**
578
- * @type object
579
- */
580
- type GetConsentResponses = {
581
- "200": GetConsentStatus200;
450
+ * @description success
451
+ */
452
+ type GetConsent200 = ConsentRepresentation;
453
+ type GetConsentQueryResponse = GetConsent200;
454
+ type GetConsentQuery = {
455
+ Response: GetConsent200;
456
+ PathParams: GetConsentPathParams;
457
+ Errors: any;
582
458
  };
583
- /**
584
- * @description Union of all possible responses
585
- */
586
- type GetConsentResponse = GetConsentStatus200;
587
- /**
588
- * @description client id
589
- * @type string
590
- */
591
- type CreateConsentPathClientId = string;
592
- /**
593
- * @type object
594
- */
595
- type CreateConsentStatus200 = ConsentRepresentation;
596
- /**
597
- * @type object
598
- */
599
- type CreateConsentRequestConfig = {
600
- data?: never | undefined;
601
- /**
602
- * @type object
603
- */
604
- pathParams: {
605
- clientId: CreateConsentPathClientId;
606
- };
607
- queryParams?: never | undefined;
608
- headerParams?: never | undefined;
459
+ type CreateConsentPathParams = {
609
460
  /**
461
+ * @description client id
610
462
  * @type string
611
- */
612
- url: `/account/applications/${string}/consent`;
463
+ */
464
+ clientId: string;
613
465
  };
614
466
  /**
615
- * @type object
616
- */
617
- type CreateConsentResponses = {
618
- "200": CreateConsentStatus200;
467
+ * @description success
468
+ */
469
+ type CreateConsent200 = ConsentRepresentation;
470
+ type CreateConsentMutationResponse = CreateConsent200;
471
+ type CreateConsentMutation = {
472
+ Response: CreateConsent200;
473
+ PathParams: CreateConsentPathParams;
474
+ Errors: any;
619
475
  };
620
- /**
621
- * @description Union of all possible responses
622
- */
623
- type CreateConsentResponse = CreateConsentStatus200;
624
- /**
625
- * @description client id
626
- * @type string
627
- */
628
- type UpdateConsentPathClientId = string;
629
- /**
630
- * @type object
631
- */
632
- type UpdateConsentStatus200 = ConsentRepresentation;
633
- /**
634
- * @type object
635
- */
636
- type UpdateConsentRequestConfig = {
637
- data?: never | undefined;
638
- /**
639
- * @type object
640
- */
641
- pathParams: {
642
- clientId: UpdateConsentPathClientId;
643
- };
644
- queryParams?: never | undefined;
645
- headerParams?: never | undefined;
476
+ type UpdateConsentPathParams = {
646
477
  /**
478
+ * @description client id
647
479
  * @type string
648
- */
649
- url: `/account/applications/${string}/consent`;
480
+ */
481
+ clientId: string;
650
482
  };
651
483
  /**
652
- * @type object
653
- */
654
- type UpdateConsentResponses = {
655
- "200": UpdateConsentStatus200;
484
+ * @description success
485
+ */
486
+ type UpdateConsent200 = ConsentRepresentation;
487
+ type UpdateConsentMutationResponse = UpdateConsent200;
488
+ type UpdateConsentMutation = {
489
+ Response: UpdateConsent200;
490
+ PathParams: UpdateConsentPathParams;
491
+ Errors: any;
656
492
  };
657
- /**
658
- * @description Union of all possible responses
659
- */
660
- type UpdateConsentResponse = UpdateConsentStatus200;
661
- /**
662
- * @description client id
663
- * @type string
664
- */
665
- type DeleteConsentPathClientId = string;
666
- /**
667
- * @type unknown
668
- */
669
- type DeleteConsentStatus204 = unknown;
670
- /**
671
- * @type object
672
- */
673
- type DeleteConsentRequestConfig = {
674
- data?: never | undefined;
675
- /**
676
- * @type object
677
- */
678
- pathParams: {
679
- clientId: DeleteConsentPathClientId;
680
- };
681
- queryParams?: never | undefined;
682
- headerParams?: never | undefined;
493
+ type DeleteConsentPathParams = {
683
494
  /**
495
+ * @description client id
684
496
  * @type string
685
- */
686
- url: `/account/applications/${string}/consent`;
497
+ */
498
+ clientId: string;
687
499
  };
688
500
  /**
689
- * @type object
690
- */
691
- type DeleteConsentResponses = {
692
- "204": DeleteConsentStatus204;
501
+ * @description Deleted
502
+ */
503
+ type DeleteConsent204 = unknown;
504
+ type DeleteConsentMutationResponse = DeleteConsent204;
505
+ type DeleteConsentMutation = {
506
+ Response: DeleteConsent204;
507
+ PathParams: DeleteConsentPathParams;
508
+ Errors: any;
693
509
  };
694
- /**
695
- * @description Union of all possible responses
696
- */
697
- type DeleteConsentResponse = DeleteConsentStatus204;
698
- /**
699
- * @type string | undefined
700
- */
701
- type GetCredentialsQueryType = string | undefined;
702
- /**
703
- * @type boolean | undefined
704
- */
705
- type GetCredentialsQueryUserCredentials = boolean | undefined;
706
- /**
707
- * @type array
708
- */
709
- type GetCredentialsStatus200 = CredentialRepresentation[];
710
- /**
711
- * @type object
712
- */
713
- type GetCredentialsRequestConfig = {
714
- data?: never | undefined;
715
- pathParams?: never | undefined;
510
+ type GetCredentialsQueryParams = {
716
511
  /**
717
- * @type object | undefined
718
- */
719
- queryParams?: {
720
- type?: GetCredentialsQueryType | undefined;
721
- "user-credentials"?: GetCredentialsQueryUserCredentials | undefined;
722
- } | undefined;
723
- headerParams?: never | undefined;
724
- /**
725
- * @type string
726
- */
727
- url: "/account/credentials";
728
- };
729
- /**
730
- * @type object
731
- */
732
- type GetCredentialsResponses = {
733
- "200": GetCredentialsStatus200;
734
- };
735
- /**
736
- * @description Union of all possible responses
737
- */
738
- type GetCredentialsResponse = GetCredentialsStatus200;
739
- /**
740
- * @description Credential ID
741
- * @type string
742
- */
743
- type DeleteCredentialPathCredentialId = string;
744
- /**
745
- * @type unknown
746
- */
747
- type DeleteCredentialStatus204 = unknown;
748
- /**
749
- * @type object
750
- */
751
- type DeleteCredentialRequestConfig = {
752
- data?: never | undefined;
753
- /**
754
- * @type object
755
- */
756
- pathParams: {
757
- credentialId: DeleteCredentialPathCredentialId;
758
- };
759
- queryParams?: never | undefined;
760
- headerParams?: never | undefined;
512
+ * @type string | undefined
513
+ */
514
+ type?: string | undefined;
761
515
  /**
762
- * @type string
763
- */
764
- url: `/account/credentials/${string}`;
516
+ * @type boolean | undefined
517
+ */
518
+ "user-credentials"?: boolean | undefined;
765
519
  };
766
520
  /**
767
- * @type object
768
- */
769
- type DeleteCredentialResponses = {
770
- "204": DeleteCredentialStatus204;
521
+ * @description success
522
+ */
523
+ type GetCredentials200 = CredentialRepresentation[];
524
+ type GetCredentialsQueryResponse = GetCredentials200;
525
+ type GetCredentialsQuery = {
526
+ Response: GetCredentials200;
527
+ QueryParams: GetCredentialsQueryParams;
528
+ Errors: any;
771
529
  };
772
- /**
773
- * @description Union of all possible responses
774
- */
775
- type DeleteCredentialResponse = DeleteCredentialStatus204;
776
- /**
777
- * @description Credential ID
778
- * @type string
779
- */
780
- type UpdateCredentialLabelPathCredentialId = string;
781
- /**
782
- * @type unknown
783
- */
784
- type UpdateCredentialLabelStatus204 = unknown;
785
- /**
786
- * @type string | undefined
787
- */
788
- type UpdateCredentialLabelData = string | undefined;
789
- /**
790
- * @type object
791
- */
792
- type UpdateCredentialLabelRequestConfig = {
793
- data?: UpdateCredentialLabelData | undefined;
794
- /**
795
- * @type object
796
- */
797
- pathParams: {
798
- credentialId: UpdateCredentialLabelPathCredentialId;
799
- };
800
- queryParams?: never | undefined;
801
- headerParams?: never | undefined;
530
+ type DeleteCredentialPathParams = {
802
531
  /**
532
+ * @description Credential ID
803
533
  * @type string
804
- */
805
- url: `/account/credentials/${string}/label`;
534
+ */
535
+ credentialId: string;
806
536
  };
807
537
  /**
808
- * @type object
809
- */
810
- type UpdateCredentialLabelResponses = {
811
- "204": UpdateCredentialLabelStatus204;
538
+ * @description success
539
+ */
540
+ type DeleteCredential204 = unknown;
541
+ type DeleteCredentialMutationResponse = DeleteCredential204;
542
+ type DeleteCredentialMutation = {
543
+ Response: DeleteCredential204;
544
+ PathParams: DeleteCredentialPathParams;
545
+ Errors: any;
812
546
  };
813
- /**
814
- * @description Union of all possible responses
815
- */
816
- type UpdateCredentialLabelResponse = UpdateCredentialLabelStatus204;
817
- /**
818
- * @type array
819
- */
820
- type GetSessionsStatus200 = SessionRepresentation[];
821
- /**
822
- * @type object
823
- */
824
- type GetSessionsRequestConfig = {
825
- data?: never | undefined;
826
- pathParams?: never | undefined;
827
- queryParams?: never | undefined;
828
- headerParams?: never | undefined;
547
+ type UpdateCredentialLabelPathParams = {
829
548
  /**
549
+ * @description Credential ID
830
550
  * @type string
831
- */
832
- url: "/account/sessions";
833
- };
834
- /**
835
- * @type object
836
- */
837
- type GetSessionsResponses = {
838
- "200": GetSessionsStatus200;
839
- };
840
- /**
841
- * @description Union of all possible responses
842
- */
843
- type GetSessionsResponse = GetSessionsStatus200;
844
- /**
845
- * @type unknown
846
- */
847
- type DeleteCurrentSessionStatus204 = unknown;
848
- /**
849
- * @type object
850
- */
851
- type DeleteCurrentSessionRequestConfig = {
852
- data?: never | undefined;
853
- pathParams?: never | undefined;
854
- queryParams?: never | undefined;
855
- headerParams?: never | undefined;
856
- /**
551
+ */
552
+ credentialId: string;
553
+ };
554
+ /**
555
+ * @description No Content
556
+ */
557
+ type UpdateCredentialLabel204 = unknown;
558
+ type UpdateCredentialLabelMutationRequest = string;
559
+ type UpdateCredentialLabelMutationResponse = UpdateCredentialLabel204;
560
+ type UpdateCredentialLabelMutation = {
561
+ Response: UpdateCredentialLabel204;
562
+ Request: UpdateCredentialLabelMutationRequest;
563
+ PathParams: UpdateCredentialLabelPathParams;
564
+ Errors: any;
565
+ };
566
+ /**
567
+ * @description success
568
+ */
569
+ type GetSessions200 = SessionRepresentation[];
570
+ type GetSessionsQueryResponse = GetSessions200;
571
+ type GetSessionsQuery = {
572
+ Response: GetSessions200;
573
+ Errors: any;
574
+ };
575
+ /**
576
+ * @description success
577
+ */
578
+ type DeleteCurrentSession204 = unknown;
579
+ type DeleteCurrentSessionMutationResponse = DeleteCurrentSession204;
580
+ type DeleteCurrentSessionMutation = {
581
+ Response: DeleteCurrentSession204;
582
+ Errors: any;
583
+ };
584
+ /**
585
+ * @description success
586
+ */
587
+ type GetDevices200 = DeviceRepresentation[];
588
+ type GetDevicesQueryResponse = GetDevices200;
589
+ type GetDevicesQuery = {
590
+ Response: GetDevices200;
591
+ Errors: any;
592
+ };
593
+ type DeleteSessionPathParams = {
594
+ /**
595
+ * @description Session ID
857
596
  * @type string
858
- */
859
- url: "/account/sessions";
860
- };
861
- /**
862
- * @type object
863
- */
864
- type DeleteCurrentSessionResponses = {
865
- "204": DeleteCurrentSessionStatus204;
597
+ */
598
+ sessionId: string;
866
599
  };
867
600
  /**
868
- * @description Union of all possible responses
869
- */
870
- type DeleteCurrentSessionResponse = DeleteCurrentSessionStatus204;
871
- /**
872
- * @type array
873
- */
874
- type GetDevicesStatus200 = DeviceRepresentation[];
875
- /**
876
- * @type object
877
- */
878
- type GetDevicesRequestConfig = {
879
- data?: never | undefined;
880
- pathParams?: never | undefined;
881
- queryParams?: never | undefined;
882
- headerParams?: never | undefined;
883
- /**
884
- * @type string
885
- */
886
- url: "/account/sessions/devices";
887
- };
888
- /**
889
- * @type object
890
- */
891
- type GetDevicesResponses = {
892
- "200": GetDevicesStatus200;
893
- };
894
- /**
895
- * @description Union of all possible responses
896
- */
897
- type GetDevicesResponse = GetDevicesStatus200;
898
- /**
899
- * @description Session ID
900
- * @type string
901
- */
902
- type DeleteSessionPathSessionId = string;
903
- /**
904
- * @type unknown
905
- */
906
- type DeleteSessionStatus204 = unknown;
907
- /**
908
- * @type object
909
- */
910
- type DeleteSessionRequestConfig = {
911
- data?: never | undefined;
912
- /**
913
- * @type object
914
- */
915
- pathParams: {
916
- sessionId: DeleteSessionPathSessionId;
917
- };
918
- queryParams?: never | undefined;
919
- headerParams?: never | undefined;
920
- /**
921
- * @type string
922
- */
923
- url: `/account/sessions/${string}`;
601
+ * @description success
602
+ */
603
+ type DeleteSession204 = unknown;
604
+ type DeleteSessionMutationResponse = DeleteSession204;
605
+ type DeleteSessionMutation = {
606
+ Response: DeleteSession204;
607
+ PathParams: DeleteSessionPathParams;
608
+ Errors: any;
924
609
  };
925
610
  /**
926
- * @type object
927
- */
928
- type DeleteSessionResponses = {
929
- "204": DeleteSessionStatus204;
611
+ * @description success
612
+ */
613
+ type GetLinkedAccounts200 = LinkedAccountRepresentation[];
614
+ type GetLinkedAccountsQueryResponse = GetLinkedAccounts200;
615
+ type GetLinkedAccountsQuery = {
616
+ Response: GetLinkedAccounts200;
617
+ Errors: any;
930
618
  };
931
- /**
932
- * @description Union of all possible responses
933
- */
934
- type DeleteSessionResponse = DeleteSessionStatus204;
935
- /**
936
- * @type array
937
- */
938
- type GetLinkedAccountsStatus200 = LinkedAccountRepresentation[];
939
- /**
940
- * @type object
941
- */
942
- type GetLinkedAccountsRequestConfig = {
943
- data?: never | undefined;
944
- pathParams?: never | undefined;
945
- queryParams?: never | undefined;
946
- headerParams?: never | undefined;
619
+ type BuildLinkingUriPathParams = {
947
620
  /**
621
+ * @description Provider ID
948
622
  * @type string
949
- */
950
- url: "/account/linked-accounts";
623
+ */
624
+ providerId: string;
951
625
  };
952
- /**
953
- * @type object
954
- */
955
- type GetLinkedAccountsResponses = {
956
- "200": GetLinkedAccountsStatus200;
957
- };
958
- /**
959
- * @description Union of all possible responses
960
- */
961
- type GetLinkedAccountsResponse = GetLinkedAccountsStatus200;
962
- /**
963
- * @description Provider ID
964
- * @type string
965
- */
966
- type BuildLinkingUriPathProviderId = string;
967
- /**
968
- * @description Redirect URI to return to after account linking
969
- * @type string
970
- */
971
- type BuildLinkingUriQueryRedirectUri = string;
972
- /**
973
- * @type object
974
- */
975
- type BuildLinkingUriStatus200 = AccountLinkUriRepresentation;
976
- /**
977
- * @type object
978
- */
979
- type BuildLinkingUriRequestConfig = {
980
- data?: never | undefined;
981
- /**
982
- * @type object
983
- */
984
- pathParams: {
985
- providerId: BuildLinkingUriPathProviderId;
986
- };
987
- /**
988
- * @type object | undefined
989
- */
990
- queryParams?: {
991
- redirectUri: BuildLinkingUriQueryRedirectUri;
992
- } | undefined;
993
- headerParams?: never | undefined;
626
+ type BuildLinkingUriQueryParams = {
994
627
  /**
628
+ * @description Redirect URI to return to after account linking
995
629
  * @type string
996
- */
997
- url: `/account/linked-accounts/${string}`;
630
+ */
631
+ redirectUri: string;
998
632
  };
999
633
  /**
1000
- * @type object
1001
- */
1002
- type BuildLinkingUriResponses = {
1003
- "200": BuildLinkingUriStatus200;
634
+ * @description success
635
+ */
636
+ type BuildLinkingUri200 = AccountLinkUriRepresentation;
637
+ type BuildLinkingUriQueryResponse = BuildLinkingUri200;
638
+ type BuildLinkingUriQuery = {
639
+ Response: BuildLinkingUri200;
640
+ PathParams: BuildLinkingUriPathParams;
641
+ QueryParams: BuildLinkingUriQueryParams;
642
+ Errors: any;
1004
643
  };
1005
- /**
1006
- * @description Union of all possible responses
1007
- */
1008
- type BuildLinkingUriResponse = BuildLinkingUriStatus200;
1009
- /**
1010
- * @description Provider ID
1011
- * @type string
1012
- */
1013
- type DeleteLinkedProviderPathProviderId = string;
1014
- /**
1015
- * @type unknown
1016
- */
1017
- type DeleteLinkedProviderStatus204 = unknown;
1018
- /**
1019
- * @type object
1020
- */
1021
- type DeleteLinkedProviderRequestConfig = {
1022
- data?: never | undefined;
1023
- /**
1024
- * @type object
1025
- */
1026
- pathParams: {
1027
- providerId: DeleteLinkedProviderPathProviderId;
1028
- };
1029
- queryParams?: never | undefined;
1030
- headerParams?: never | undefined;
644
+ type DeleteLinkedProviderPathParams = {
1031
645
  /**
646
+ * @description Provider ID
1032
647
  * @type string
1033
- */
1034
- url: `/account/linked-accounts/${string}`;
648
+ */
649
+ providerId: string;
1035
650
  };
1036
651
  /**
1037
- * @type object
1038
- */
1039
- type DeleteLinkedProviderResponses = {
1040
- "204": DeleteLinkedProviderStatus204;
652
+ * @description success
653
+ */
654
+ type DeleteLinkedProvider204 = unknown;
655
+ type DeleteLinkedProviderMutationResponse = DeleteLinkedProvider204;
656
+ type DeleteLinkedProviderMutation = {
657
+ Response: DeleteLinkedProvider204;
658
+ PathParams: DeleteLinkedProviderPathParams;
659
+ Errors: any;
1041
660
  };
1042
- /**
1043
- * @description Union of all possible responses
1044
- */
1045
- type DeleteLinkedProviderResponse = DeleteLinkedProviderStatus204;
1046
- /**
1047
- * @default true
1048
- * @type boolean | undefined
1049
- */
1050
- type GetGroupsQueryBriefRepresentation = boolean | undefined;
1051
- /**
1052
- * @type array
1053
- */
1054
- type GetGroupsStatus200 = GroupRepresentation[];
1055
- /**
1056
- * @type object
1057
- */
1058
- type GetGroupsRequestConfig = {
1059
- data?: never | undefined;
1060
- pathParams?: never | undefined;
661
+ type GetGroupsQueryParams = {
1061
662
  /**
1062
- * @type object | undefined
1063
- */
1064
- queryParams?: {
1065
- briefRepresentation?: GetGroupsQueryBriefRepresentation | undefined;
1066
- } | undefined;
1067
- headerParams?: never | undefined;
1068
- /**
1069
- * @type string
1070
- */
1071
- url: "/account/groups";
1072
- };
1073
- /**
1074
- * @type object
1075
- */
1076
- type GetGroupsResponses = {
1077
- "200": GetGroupsStatus200;
663
+ * @default true
664
+ * @type boolean | undefined
665
+ */
666
+ briefRepresentation?: boolean | undefined;
1078
667
  };
1079
668
  /**
1080
- * @description Union of all possible responses
1081
- */
1082
- type GetGroupsResponse = GetGroupsStatus200;
1083
- /**
1084
- * @type array
1085
- */
1086
- type GetOrganizationsStatus200 = OrganizationRepresentation[];
1087
- /**
1088
- * @type object
1089
- */
1090
- type GetOrganizationsRequestConfig = {
1091
- data?: never | undefined;
1092
- pathParams?: never | undefined;
1093
- queryParams?: never | undefined;
1094
- headerParams?: never | undefined;
1095
- /**
1096
- * @type string
1097
- */
1098
- url: "/account/organizations";
669
+ * @description success
670
+ */
671
+ type GetGroups200 = GroupRepresentation[];
672
+ type GetGroupsQueryResponse = GetGroups200;
673
+ type GetGroupsQuery = {
674
+ Response: GetGroups200;
675
+ QueryParams: GetGroupsQueryParams;
676
+ Errors: any;
1099
677
  };
1100
678
  /**
1101
- * @type object
1102
- */
1103
- type GetOrganizationsResponses = {
1104
- "200": GetOrganizationsStatus200;
679
+ * @description success
680
+ */
681
+ type GetOrganizations200 = OrganizationRepresentation[];
682
+ type GetOrganizationsQueryResponse = GetOrganizations200;
683
+ type GetOrganizationsQuery = {
684
+ Response: GetOrganizations200;
685
+ Errors: any;
1105
686
  };
1106
- /**
1107
- * @description Union of all possible responses
1108
- */
1109
- type GetOrganizationsResponse = GetOrganizationsStatus200;
1110
687
 
1111
- export type { AccountLinkUriRepresentation, AccountRepresentation, BuildLinkingUriPathProviderId, BuildLinkingUriQueryRedirectUri, BuildLinkingUriRequestConfig, BuildLinkingUriResponse, BuildLinkingUriResponses, BuildLinkingUriStatus200, ClientRepresentation, ConsentRepresentation, ConsentScopeRepresentation, CreateConsentPathClientId, CreateConsentRequestConfig, CreateConsentResponse, CreateConsentResponses, CreateConsentStatus200, CredentialMetadataRepresentation, CredentialRepresentation, DeleteConsentPathClientId, DeleteConsentRequestConfig, DeleteConsentResponse, DeleteConsentResponses, DeleteConsentStatus204, DeleteCredentialPathCredentialId, DeleteCredentialRequestConfig, DeleteCredentialResponse, DeleteCredentialResponses, DeleteCredentialStatus204, DeleteCurrentSessionRequestConfig, DeleteCurrentSessionResponse, DeleteCurrentSessionResponses, DeleteCurrentSessionStatus204, DeleteLinkedProviderPathProviderId, DeleteLinkedProviderRequestConfig, DeleteLinkedProviderResponse, DeleteLinkedProviderResponses, DeleteLinkedProviderStatus204, DeleteSessionPathSessionId, DeleteSessionRequestConfig, DeleteSessionResponse, DeleteSessionResponses, DeleteSessionStatus204, DeviceRepresentation, GetAccountQueryUserProfileMetadata, GetAccountRequestConfig, GetAccountResponse, GetAccountResponses, GetAccountStatus200, GetApplicationsQueryName, GetApplicationsRequestConfig, GetApplicationsResponse, GetApplicationsResponses, GetApplicationsStatus200, GetConsentPathClientId, GetConsentRequestConfig, GetConsentResponse, GetConsentResponses, GetConsentStatus200, GetCredentialsQueryType, GetCredentialsQueryUserCredentials, GetCredentialsRequestConfig, GetCredentialsResponse, GetCredentialsResponses, GetCredentialsStatus200, GetDevicesRequestConfig, GetDevicesResponse, GetDevicesResponses, GetDevicesStatus200, GetGroupsQueryBriefRepresentation, GetGroupsRequestConfig, GetGroupsResponse, GetGroupsResponses, GetGroupsStatus200, GetLinkedAccountsRequestConfig, GetLinkedAccountsResponse, GetLinkedAccountsResponses, GetLinkedAccountsStatus200, GetOrganizationsRequestConfig, GetOrganizationsResponse, GetOrganizationsResponses, GetOrganizationsStatus200, GetSessionsRequestConfig, GetSessionsResponse, GetSessionsResponses, GetSessionsStatus200, GroupRepresentation, LinkedAccountRepresentation, OrganizationRepresentation, SessionRepresentation, UpdateAccountData, UpdateAccountRequestConfig, UpdateAccountResponse, UpdateAccountResponses, UpdateAccountStatus204, UpdateConsentPathClientId, UpdateConsentRequestConfig, UpdateConsentResponse, UpdateConsentResponses, UpdateConsentStatus200, UpdateCredentialLabelData, UpdateCredentialLabelPathCredentialId, UpdateCredentialLabelRequestConfig, UpdateCredentialLabelResponse, UpdateCredentialLabelResponses, UpdateCredentialLabelStatus204, UserCredentialMetadataRepresentation, UserProfileAttributesRepresentation, UserProfileMetadataAttributeRepresentation, UserProfileMetadataRepresentation };
688
+ export type { AccountLinkUriRepresentation, AccountRepresentation, BuildLinkingUri200, BuildLinkingUriPathParams, BuildLinkingUriQuery, BuildLinkingUriQueryParams, BuildLinkingUriQueryResponse, ClientRepresentation, ConsentRepresentation, ConsentScopeRepresentation, CreateConsent200, CreateConsentMutation, CreateConsentMutationResponse, CreateConsentPathParams, CredentialMetadataRepresentation, CredentialRepresentation, DeleteConsent204, DeleteConsentMutation, DeleteConsentMutationResponse, DeleteConsentPathParams, DeleteCredential204, DeleteCredentialMutation, DeleteCredentialMutationResponse, DeleteCredentialPathParams, DeleteCurrentSession204, DeleteCurrentSessionMutation, DeleteCurrentSessionMutationResponse, DeleteLinkedProvider204, DeleteLinkedProviderMutation, DeleteLinkedProviderMutationResponse, DeleteLinkedProviderPathParams, DeleteSession204, DeleteSessionMutation, DeleteSessionMutationResponse, DeleteSessionPathParams, DeviceRepresentation, GetAccount200, GetAccountQuery, GetAccountQueryParams, GetAccountQueryResponse, GetApplications200, GetApplicationsQuery, GetApplicationsQueryParams, GetApplicationsQueryResponse, GetConsent200, GetConsentPathParams, GetConsentQuery, GetConsentQueryResponse, GetCredentials200, GetCredentialsQuery, GetCredentialsQueryParams, GetCredentialsQueryResponse, GetDevices200, GetDevicesQuery, GetDevicesQueryResponse, GetGroups200, GetGroupsQuery, GetGroupsQueryParams, GetGroupsQueryResponse, GetLinkedAccounts200, GetLinkedAccountsQuery, GetLinkedAccountsQueryResponse, GetOrganizations200, GetOrganizationsQuery, GetOrganizationsQueryResponse, GetSessions200, GetSessionsQuery, GetSessionsQueryResponse, GroupRepresentation, LinkedAccountRepresentation, OrganizationRepresentation, SessionRepresentation, UpdateAccount204, UpdateAccountMutation, UpdateAccountMutationRequest, UpdateAccountMutationResponse, UpdateConsent200, UpdateConsentMutation, UpdateConsentMutationResponse, UpdateConsentPathParams, UpdateCredentialLabel204, UpdateCredentialLabelMutation, UpdateCredentialLabelMutationRequest, UpdateCredentialLabelMutationResponse, UpdateCredentialLabelPathParams, UserCredentialMetadataRepresentation, UserProfileAttributesRepresentation, UserProfileMetadataAttributeRepresentation, UserProfileMetadataRepresentation };
1112
689
  //# sourceMappingURL=types.d.mts.map