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,1112 +1,489 @@
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
- /**
10
- * @type string | undefined
11
- */
12
6
  id?: string | undefined;
13
- /**
14
- * @type string | undefined
15
- */
16
7
  name?: string | undefined;
17
- /**
18
- * @type string | undefined
19
- */
20
8
  alias?: string | undefined;
21
- /**
22
- * @type string | undefined
23
- */
24
9
  description?: string | undefined;
25
- /**
26
- * @type boolean | undefined
27
- */
28
10
  enabled?: boolean | undefined;
29
- /**
30
- * @type array | undefined
31
- */
32
11
  domains?: string[] | undefined;
33
12
  };
34
- /**
35
- * @type object
36
- */
37
13
  type GroupRepresentation = {
38
- /**
39
- * @type object | undefined
40
- */
41
14
  access?: {
42
15
  [key: string]: unknown;
43
16
  } | undefined;
44
- /**
45
- * @type object | undefined
46
- */
47
17
  attributes?: {
48
18
  [key: string]: unknown;
49
19
  } | undefined;
50
- /**
51
- * @type object | undefined
52
- */
53
20
  clientRoles?: {
54
21
  [key: string]: unknown;
55
22
  } | undefined;
56
- /**
57
- * @type string | undefined
58
- */
59
23
  id?: string | undefined;
60
- /**
61
- * @type string | undefined
62
- */
63
24
  name?: string | undefined;
64
- /**
65
- * @type string | undefined
66
- */
67
25
  path?: string | undefined;
68
- /**
69
- * @type array | undefined
70
- */
71
26
  realmRoles?: string[] | undefined;
72
- /**
73
- * @type array | undefined
74
- */
75
27
  subGroups?: GroupRepresentation[] | undefined;
76
28
  };
77
- /**
78
- * @type object
79
- */
80
29
  type ConsentScopeRepresentation = {
81
- /**
82
- * @type string | undefined
83
- */
84
30
  id?: string | undefined;
85
- /**
86
- * @type string | undefined
87
- */
88
31
  name?: string | undefined;
89
- /**
90
- * @type string | undefined
91
- */
92
32
  displayText?: string | undefined;
93
33
  };
94
- /**
95
- * @type object
96
- */
97
34
  type ConsentRepresentation = {
98
- /**
99
- * @type number | undefined
100
- */
101
35
  createdDate?: number | undefined;
102
- /**
103
- * @type number | undefined
104
- */
105
36
  lastUpdatedDate?: number | undefined;
106
- /**
107
- * @type array | undefined
108
- */
109
37
  grantedScopes?: ConsentScopeRepresentation[] | undefined;
110
38
  };
111
- /**
112
- * @type object
113
- */
114
39
  type ClientRepresentation = {
115
- /**
116
- * @type string | undefined
117
- */
118
40
  clientId?: string | undefined;
119
- /**
120
- * @type string | undefined
121
- */
122
41
  clientName?: string | undefined;
123
- /**
124
- * @type string | undefined
125
- */
126
42
  description?: string | undefined;
127
- /**
128
- * @type boolean | undefined
129
- */
130
43
  userConsentRequired?: boolean | undefined;
131
- /**
132
- * @type boolean | undefined
133
- */
134
44
  inUse?: boolean | undefined;
135
- /**
136
- * @type boolean | undefined
137
- */
138
45
  offlineAccess?: boolean | undefined;
139
- /**
140
- * @type string | undefined
141
- */
142
46
  rootUrl?: string | undefined;
143
- /**
144
- * @type string | undefined
145
- */
146
47
  baseUrl?: string | undefined;
147
- /**
148
- * @type string | undefined
149
- */
150
48
  effectiveUrl?: string | undefined;
151
- /**
152
- * @type string | undefined
153
- */
154
49
  logoUri?: string | undefined;
155
- /**
156
- * @type string | undefined
157
- */
158
50
  policyUri?: string | undefined;
159
- /**
160
- * @type string | undefined
161
- */
162
51
  tosUri?: string | undefined;
163
- /**
164
- * @type object | undefined
165
- */
166
52
  consent?: ConsentRepresentation | undefined;
167
53
  };
168
- /**
169
- * @type object
170
- */
171
54
  type LinkedAccountRepresentation = {
172
- /**
173
- * @type boolean | undefined
174
- */
175
55
  connected?: boolean | undefined;
176
- /**
177
- * @type boolean | undefined
178
- */
179
56
  social?: boolean | undefined;
180
- /**
181
- * @type string | undefined
182
- */
183
57
  providerAlias?: string | undefined;
184
- /**
185
- * @type string | undefined
186
- */
187
58
  providerName?: string | undefined;
188
- /**
189
- * @type string | undefined
190
- */
191
59
  displayName?: string | undefined;
192
- /**
193
- * @type string | undefined
194
- */
195
60
  linkedUsername?: string | undefined;
196
61
  };
197
- /**
198
- * @type object
199
- */
200
62
  type AccountLinkUriRepresentation = {
201
- /**
202
- * @type string | undefined
203
- */
204
63
  accountLinkUri?: string | undefined;
205
- /**
206
- * @type string | undefined
207
- */
208
64
  nonce?: string | undefined;
209
- /**
210
- * @type string | undefined
211
- */
212
65
  hash?: string | undefined;
213
66
  };
214
- /**
215
- * @type object
216
- */
217
67
  type UserProfileMetadataAttributeRepresentation = {
218
- /**
219
- * @type string | undefined
220
- */
221
68
  name?: string | undefined;
222
- /**
223
- * @type string | undefined
224
- */
225
69
  displayName?: string | undefined;
226
- /**
227
- * @type boolean | undefined
228
- */
229
70
  required?: boolean | undefined;
230
- /**
231
- * @type boolean | undefined
232
- */
233
71
  readOnly?: boolean | undefined;
234
- /**
235
- * @type object | undefined
236
- */
237
72
  validators?: object | undefined;
238
73
  };
239
- /**
240
- * @type object
241
- */
242
74
  type UserProfileMetadataRepresentation = {
243
- /**
244
- * @type array | undefined
245
- */
246
75
  attributes?: UserProfileMetadataAttributeRepresentation[] | undefined;
247
76
  };
248
- /**
249
- * @type object
250
- */
251
77
  type UserProfileAttributesRepresentation = {
252
- /**
253
- * @type array | undefined
254
- */
255
78
  locale?: string[] | undefined;
256
79
  };
257
- /**
258
- * @type object
259
- */
260
80
  type AccountRepresentation = {
261
- /**
262
- * @type string | undefined
263
- */
264
81
  id?: string | undefined;
265
- /**
266
- * @type string | undefined
267
- */
268
82
  username?: string | undefined;
269
- /**
270
- * @type string | undefined
271
- */
272
83
  firstName?: string | undefined;
273
- /**
274
- * @type string | undefined
275
- */
276
84
  lastName?: string | undefined;
277
- /**
278
- * @type string | undefined
279
- */
280
85
  email?: string | undefined;
281
- /**
282
- * @type boolean | undefined
283
- */
284
86
  emailVerified?: boolean | undefined;
285
- /**
286
- * @type object | undefined
287
- */
288
87
  userProfileMetadata?: UserProfileMetadataRepresentation | undefined;
289
- /**
290
- * @type object | undefined
291
- */
292
88
  attributes?: UserProfileAttributesRepresentation | undefined;
293
89
  };
294
- /**
295
- * @type object
296
- */
297
90
  type CredentialMetadataRepresentation = {
298
- /**
299
- * @type string | undefined
300
- */
301
91
  id?: string | undefined;
302
- /**
303
- * @type string | undefined
304
- */
305
92
  type?: string | undefined;
306
- /**
307
- * @type string | undefined
308
- */
309
93
  userLabel?: string | undefined;
310
- /**
311
- * @type string | undefined
312
- */
313
94
  createdDate?: string | undefined;
314
- /**
315
- * @type object | undefined
316
- */
317
95
  credentialData?: object | undefined;
318
96
  };
319
- /**
320
- * @type object
321
- */
322
97
  type UserCredentialMetadataRepresentation = {
323
- /**
324
- * @type object | undefined
325
- */
326
98
  credential?: CredentialMetadataRepresentation | undefined;
327
99
  };
328
- /**
329
- * @type object
330
- */
331
100
  type CredentialRepresentation = {
332
- /**
333
- * @type string | undefined
334
- */
335
101
  type?: string | undefined;
336
- /**
337
- * @type string | undefined
338
- */
339
102
  category?: string | undefined;
340
- /**
341
- * @type string | undefined
342
- */
343
103
  displayName?: string | undefined;
344
- /**
345
- * @type string | undefined
346
- */
347
104
  helpText?: string | undefined;
348
- /**
349
- * @type string | undefined
350
- */
351
105
  iconCssClass?: string | undefined;
352
- /**
353
- * @type string | undefined
354
- */
355
106
  updateAction?: string | undefined;
356
- /**
357
- * @type boolean | undefined
358
- */
359
107
  removeable?: boolean | undefined;
360
- /**
361
- * @type array | undefined
362
- */
363
108
  userCredentialMetadatas?: UserCredentialMetadataRepresentation[] | undefined;
364
109
  };
365
- /**
366
- * @type object
367
- */
368
110
  type SessionRepresentation = {
369
- /**
370
- * @type string | undefined
371
- */
372
111
  id?: string | undefined;
373
- /**
374
- * @type string | undefined
375
- */
376
112
  ipAddress?: string | undefined;
377
- /**
378
- * @type number | undefined
379
- */
380
113
  started?: number | undefined;
381
- /**
382
- * @type number | undefined
383
- */
384
114
  lastAccess?: number | undefined;
385
- /**
386
- * @type number | undefined
387
- */
388
115
  expires?: number | undefined;
389
- /**
390
- * @type string | undefined
391
- */
392
116
  browser?: string | undefined;
393
- /**
394
- * @type boolean | undefined
395
- */
396
117
  current?: boolean | undefined;
397
- /**
398
- * @type array | undefined
399
- */
400
118
  clients?: ClientRepresentation[] | undefined;
401
119
  };
402
- /**
403
- * @type object
404
- */
405
120
  type DeviceRepresentation = {
406
- /**
407
- * @type string | undefined
408
- */
409
121
  id?: string | undefined;
410
- /**
411
- * @type string | undefined
412
- */
413
122
  ipAddress?: string | undefined;
414
- /**
415
- * @type string | undefined
416
- */
417
123
  os?: string | undefined;
418
- /**
419
- * @type string | undefined
420
- */
421
124
  osVersion?: string | undefined;
422
- /**
423
- * @type string | undefined
424
- */
425
125
  browser?: string | undefined;
426
- /**
427
- * @type string | undefined
428
- */
429
126
  device?: string | undefined;
430
- /**
431
- * @type number | undefined
432
- */
433
127
  lastAccess?: number | undefined;
434
- /**
435
- * @type boolean | undefined
436
- */
437
128
  current?: boolean | undefined;
438
- /**
439
- * @type boolean | undefined
440
- */
441
129
  mobile?: boolean | undefined;
442
- /**
443
- * @type array | undefined
444
- */
445
130
  sessions?: SessionRepresentation[] | undefined;
446
131
  };
447
- /**
448
- * @type boolean | undefined
449
- */
450
- type GetAccountQueryUserProfileMetadata = boolean | undefined;
451
- /**
452
- * @type object
453
- */
132
+ type GetAccountQuery = {
133
+ userProfileMetadata?: boolean | undefined;
134
+ };
454
135
  type GetAccountStatus200 = AccountRepresentation;
455
- /**
456
- * @type object
457
- */
458
- type GetAccountRequestConfig = {
459
- data?: never | undefined;
460
- pathParams?: never | undefined;
461
- /**
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/";
136
+ type GetAccountOptions = {
137
+ body?: never | undefined;
138
+ path?: never | undefined;
139
+ query?: GetAccountQuery | undefined;
140
+ headers?: never | undefined;
472
141
  };
473
- /**
474
- * @type object
475
- */
476
142
  type GetAccountResponses = {
477
143
  "200": GetAccountStatus200;
478
144
  };
479
145
  /**
480
146
  * @description Union of all possible responses
481
- */
147
+ */
482
148
  type GetAccountResponse = GetAccountStatus200;
483
- /**
484
- * @type unknown
485
- */
486
149
  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/";
150
+ type UpdateAccountBody = AccountRepresentation;
151
+ type UpdateAccountOptions = {
152
+ body: UpdateAccountBody;
153
+ path?: never | undefined;
154
+ query?: never | undefined;
155
+ headers?: never | undefined;
503
156
  };
504
- /**
505
- * @type object
506
- */
507
157
  type UpdateAccountResponses = {
508
158
  "204": UpdateAccountStatus204;
509
159
  };
510
160
  /**
511
161
  * @description Union of all possible responses
512
- */
162
+ */
513
163
  type UpdateAccountResponse = UpdateAccountStatus204;
514
- /**
515
- * @type string | undefined
516
- */
517
- type GetApplicationsQueryName = string | undefined;
518
- /**
519
- * @type array
520
- */
164
+ type GetApplicationsQuery = {
165
+ name?: string | undefined;
166
+ };
521
167
  type GetApplicationsStatus200 = ClientRepresentation[];
522
- /**
523
- * @type object
524
- */
525
- type GetApplicationsRequestConfig = {
526
- data?: never | undefined;
527
- pathParams?: never | undefined;
528
- /**
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";
168
+ type GetApplicationsOptions = {
169
+ body?: never | undefined;
170
+ path?: never | undefined;
171
+ query?: GetApplicationsQuery | undefined;
172
+ headers?: never | undefined;
539
173
  };
540
- /**
541
- * @type object
542
- */
543
174
  type GetApplicationsResponses = {
544
175
  "200": GetApplicationsStatus200;
545
176
  };
546
177
  /**
547
178
  * @description Union of all possible responses
548
- */
179
+ */
549
180
  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;
181
+ type GetConsentPath = {
572
182
  /**
183
+ * @description client id
573
184
  * @type string
574
- */
575
- url: `/account/applications/${string}/consent`;
185
+ */
186
+ clientId: string;
187
+ };
188
+ type GetConsentStatus200 = ConsentRepresentation;
189
+ type GetConsentOptions = {
190
+ body?: never | undefined;
191
+ path: GetConsentPath;
192
+ query?: never | undefined;
193
+ headers?: never | undefined;
576
194
  };
577
- /**
578
- * @type object
579
- */
580
195
  type GetConsentResponses = {
581
196
  "200": GetConsentStatus200;
582
197
  };
583
198
  /**
584
199
  * @description Union of all possible responses
585
- */
200
+ */
586
201
  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;
202
+ type CreateConsentPath = {
609
203
  /**
204
+ * @description client id
610
205
  * @type string
611
- */
612
- url: `/account/applications/${string}/consent`;
206
+ */
207
+ clientId: string;
208
+ };
209
+ type CreateConsentStatus200 = ConsentRepresentation;
210
+ type CreateConsentOptions = {
211
+ body?: never | undefined;
212
+ path: CreateConsentPath;
213
+ query?: never | undefined;
214
+ headers?: never | undefined;
613
215
  };
614
- /**
615
- * @type object
616
- */
617
216
  type CreateConsentResponses = {
618
217
  "200": CreateConsentStatus200;
619
218
  };
620
219
  /**
621
220
  * @description Union of all possible responses
622
- */
221
+ */
623
222
  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;
223
+ type UpdateConsentPath = {
646
224
  /**
225
+ * @description client id
647
226
  * @type string
648
- */
649
- url: `/account/applications/${string}/consent`;
227
+ */
228
+ clientId: string;
229
+ };
230
+ type UpdateConsentStatus200 = ConsentRepresentation;
231
+ type UpdateConsentOptions = {
232
+ body?: never | undefined;
233
+ path: UpdateConsentPath;
234
+ query?: never | undefined;
235
+ headers?: never | undefined;
650
236
  };
651
- /**
652
- * @type object
653
- */
654
237
  type UpdateConsentResponses = {
655
238
  "200": UpdateConsentStatus200;
656
239
  };
657
240
  /**
658
241
  * @description Union of all possible responses
659
- */
242
+ */
660
243
  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;
244
+ type DeleteConsentPath = {
683
245
  /**
246
+ * @description client id
684
247
  * @type string
685
- */
686
- url: `/account/applications/${string}/consent`;
248
+ */
249
+ clientId: string;
250
+ };
251
+ type DeleteConsentStatus204 = unknown;
252
+ type DeleteConsentOptions = {
253
+ body?: never | undefined;
254
+ path: DeleteConsentPath;
255
+ query?: never | undefined;
256
+ headers?: never | undefined;
687
257
  };
688
- /**
689
- * @type object
690
- */
691
258
  type DeleteConsentResponses = {
692
259
  "204": DeleteConsentStatus204;
693
260
  };
694
261
  /**
695
262
  * @description Union of all possible responses
696
- */
263
+ */
697
264
  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
- */
265
+ type GetCredentialsQuery = {
266
+ type?: string | undefined;
267
+ "user-credentials"?: boolean | undefined;
268
+ };
709
269
  type GetCredentialsStatus200 = CredentialRepresentation[];
710
- /**
711
- * @type object
712
- */
713
- type GetCredentialsRequestConfig = {
714
- data?: never | undefined;
715
- pathParams?: never | undefined;
716
- /**
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";
270
+ type GetCredentialsOptions = {
271
+ body?: never | undefined;
272
+ path?: never | undefined;
273
+ query?: GetCredentialsQuery | undefined;
274
+ headers?: never | undefined;
728
275
  };
729
- /**
730
- * @type object
731
- */
732
276
  type GetCredentialsResponses = {
733
277
  "200": GetCredentialsStatus200;
734
278
  };
735
279
  /**
736
280
  * @description Union of all possible responses
737
- */
281
+ */
738
282
  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;
283
+ type DeleteCredentialPath = {
761
284
  /**
285
+ * @description Credential ID
762
286
  * @type string
763
- */
764
- url: `/account/credentials/${string}`;
287
+ */
288
+ credentialId: string;
289
+ };
290
+ type DeleteCredentialStatus204 = unknown;
291
+ type DeleteCredentialOptions = {
292
+ body?: never | undefined;
293
+ path: DeleteCredentialPath;
294
+ query?: never | undefined;
295
+ headers?: never | undefined;
765
296
  };
766
- /**
767
- * @type object
768
- */
769
297
  type DeleteCredentialResponses = {
770
298
  "204": DeleteCredentialStatus204;
771
299
  };
772
300
  /**
773
301
  * @description Union of all possible responses
774
- */
302
+ */
775
303
  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;
304
+ type UpdateCredentialLabelPath = {
802
305
  /**
306
+ * @description Credential ID
803
307
  * @type string
804
- */
805
- url: `/account/credentials/${string}/label`;
308
+ */
309
+ credentialId: string;
310
+ };
311
+ type UpdateCredentialLabelStatus204 = unknown;
312
+ type UpdateCredentialLabelBody = string | undefined;
313
+ type UpdateCredentialLabelOptions = {
314
+ body: UpdateCredentialLabelBody;
315
+ path: UpdateCredentialLabelPath;
316
+ query?: never | undefined;
317
+ headers?: never | undefined;
806
318
  };
807
- /**
808
- * @type object
809
- */
810
319
  type UpdateCredentialLabelResponses = {
811
320
  "204": UpdateCredentialLabelStatus204;
812
321
  };
813
322
  /**
814
323
  * @description Union of all possible responses
815
- */
324
+ */
816
325
  type UpdateCredentialLabelResponse = UpdateCredentialLabelStatus204;
817
- /**
818
- * @type array
819
- */
820
326
  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;
829
- /**
830
- * @type string
831
- */
832
- url: "/account/sessions";
327
+ type GetSessionsOptions = {
328
+ body?: never | undefined;
329
+ path?: never | undefined;
330
+ query?: never | undefined;
331
+ headers?: never | undefined;
833
332
  };
834
- /**
835
- * @type object
836
- */
837
333
  type GetSessionsResponses = {
838
334
  "200": GetSessionsStatus200;
839
335
  };
840
336
  /**
841
337
  * @description Union of all possible responses
842
- */
338
+ */
843
339
  type GetSessionsResponse = GetSessionsStatus200;
844
- /**
845
- * @type unknown
846
- */
847
340
  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
- /**
857
- * @type string
858
- */
859
- url: "/account/sessions";
341
+ type DeleteCurrentSessionOptions = {
342
+ body?: never | undefined;
343
+ path?: never | undefined;
344
+ query?: never | undefined;
345
+ headers?: never | undefined;
860
346
  };
861
- /**
862
- * @type object
863
- */
864
347
  type DeleteCurrentSessionResponses = {
865
348
  "204": DeleteCurrentSessionStatus204;
866
349
  };
867
350
  /**
868
351
  * @description Union of all possible responses
869
- */
352
+ */
870
353
  type DeleteCurrentSessionResponse = DeleteCurrentSessionStatus204;
871
- /**
872
- * @type array
873
- */
874
354
  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";
355
+ type GetDevicesOptions = {
356
+ body?: never | undefined;
357
+ path?: never | undefined;
358
+ query?: never | undefined;
359
+ headers?: never | undefined;
887
360
  };
888
- /**
889
- * @type object
890
- */
891
361
  type GetDevicesResponses = {
892
362
  "200": GetDevicesStatus200;
893
363
  };
894
364
  /**
895
365
  * @description Union of all possible responses
896
- */
366
+ */
897
367
  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;
368
+ type DeleteSessionPath = {
920
369
  /**
370
+ * @description Session ID
921
371
  * @type string
922
- */
923
- url: `/account/sessions/${string}`;
372
+ */
373
+ sessionId: string;
374
+ };
375
+ type DeleteSessionStatus204 = unknown;
376
+ type DeleteSessionOptions = {
377
+ body?: never | undefined;
378
+ path: DeleteSessionPath;
379
+ query?: never | undefined;
380
+ headers?: never | undefined;
924
381
  };
925
- /**
926
- * @type object
927
- */
928
382
  type DeleteSessionResponses = {
929
383
  "204": DeleteSessionStatus204;
930
384
  };
931
385
  /**
932
386
  * @description Union of all possible responses
933
- */
387
+ */
934
388
  type DeleteSessionResponse = DeleteSessionStatus204;
935
- /**
936
- * @type array
937
- */
938
389
  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;
947
- /**
948
- * @type string
949
- */
950
- url: "/account/linked-accounts";
390
+ type GetLinkedAccountsOptions = {
391
+ body?: never | undefined;
392
+ path?: never | undefined;
393
+ query?: never | undefined;
394
+ headers?: never | undefined;
951
395
  };
952
- /**
953
- * @type object
954
- */
955
396
  type GetLinkedAccountsResponses = {
956
397
  "200": GetLinkedAccountsStatus200;
957
398
  };
958
399
  /**
959
400
  * @description Union of all possible responses
960
- */
401
+ */
961
402
  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
- };
403
+ type BuildLinkingUriPath = {
987
404
  /**
988
- * @type object | undefined
989
- */
990
- queryParams?: {
991
- redirectUri: BuildLinkingUriQueryRedirectUri;
992
- } | undefined;
993
- headerParams?: never | undefined;
405
+ * @description Provider ID
406
+ * @type string
407
+ */
408
+ providerId: string;
409
+ };
410
+ type BuildLinkingUriQuery = {
994
411
  /**
412
+ * @description Redirect URI to return to after account linking
995
413
  * @type string
996
- */
997
- url: `/account/linked-accounts/${string}`;
414
+ */
415
+ redirectUri: string;
416
+ };
417
+ type BuildLinkingUriStatus200 = AccountLinkUriRepresentation;
418
+ type BuildLinkingUriOptions = {
419
+ body?: never | undefined;
420
+ path: BuildLinkingUriPath;
421
+ query: BuildLinkingUriQuery;
422
+ headers?: never | undefined;
998
423
  };
999
- /**
1000
- * @type object
1001
- */
1002
424
  type BuildLinkingUriResponses = {
1003
425
  "200": BuildLinkingUriStatus200;
1004
426
  };
1005
427
  /**
1006
428
  * @description Union of all possible responses
1007
- */
429
+ */
1008
430
  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;
431
+ type DeleteLinkedProviderPath = {
1031
432
  /**
433
+ * @description Provider ID
1032
434
  * @type string
1033
- */
1034
- url: `/account/linked-accounts/${string}`;
435
+ */
436
+ providerId: string;
437
+ };
438
+ type DeleteLinkedProviderStatus204 = unknown;
439
+ type DeleteLinkedProviderOptions = {
440
+ body?: never | undefined;
441
+ path: DeleteLinkedProviderPath;
442
+ query?: never | undefined;
443
+ headers?: never | undefined;
1035
444
  };
1036
- /**
1037
- * @type object
1038
- */
1039
445
  type DeleteLinkedProviderResponses = {
1040
446
  "204": DeleteLinkedProviderStatus204;
1041
447
  };
1042
448
  /**
1043
449
  * @description Union of all possible responses
1044
- */
450
+ */
1045
451
  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;
452
+ type GetGroupsQuery = {
1061
453
  /**
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";
454
+ * @default true
455
+ * @type boolean | undefined
456
+ */
457
+ briefRepresentation?: boolean | undefined;
458
+ };
459
+ type GetGroupsStatus200 = GroupRepresentation[];
460
+ type GetGroupsOptions = {
461
+ body?: never | undefined;
462
+ path?: never | undefined;
463
+ query?: GetGroupsQuery | undefined;
464
+ headers?: never | undefined;
1072
465
  };
1073
- /**
1074
- * @type object
1075
- */
1076
466
  type GetGroupsResponses = {
1077
467
  "200": GetGroupsStatus200;
1078
468
  };
1079
469
  /**
1080
470
  * @description Union of all possible responses
1081
- */
471
+ */
1082
472
  type GetGroupsResponse = GetGroupsStatus200;
1083
- /**
1084
- * @type array
1085
- */
1086
473
  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";
474
+ type GetOrganizationsOptions = {
475
+ body?: never | undefined;
476
+ path?: never | undefined;
477
+ query?: never | undefined;
478
+ headers?: never | undefined;
1099
479
  };
1100
- /**
1101
- * @type object
1102
- */
1103
480
  type GetOrganizationsResponses = {
1104
481
  "200": GetOrganizationsStatus200;
1105
482
  };
1106
483
  /**
1107
484
  * @description Union of all possible responses
1108
- */
485
+ */
1109
486
  type GetOrganizationsResponse = GetOrganizationsStatus200;
1110
487
 
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 };
488
+ export type { AccountLinkUriRepresentation, AccountRepresentation, BuildLinkingUriOptions, BuildLinkingUriPath, BuildLinkingUriQuery, BuildLinkingUriResponse, BuildLinkingUriResponses, BuildLinkingUriStatus200, ClientRepresentation, ConsentRepresentation, ConsentScopeRepresentation, CreateConsentOptions, CreateConsentPath, CreateConsentResponse, CreateConsentResponses, CreateConsentStatus200, CredentialMetadataRepresentation, CredentialRepresentation, DeleteConsentOptions, DeleteConsentPath, DeleteConsentResponse, DeleteConsentResponses, DeleteConsentStatus204, DeleteCredentialOptions, DeleteCredentialPath, DeleteCredentialResponse, DeleteCredentialResponses, DeleteCredentialStatus204, DeleteCurrentSessionOptions, DeleteCurrentSessionResponse, DeleteCurrentSessionResponses, DeleteCurrentSessionStatus204, DeleteLinkedProviderOptions, DeleteLinkedProviderPath, DeleteLinkedProviderResponse, DeleteLinkedProviderResponses, DeleteLinkedProviderStatus204, DeleteSessionOptions, DeleteSessionPath, DeleteSessionResponse, DeleteSessionResponses, DeleteSessionStatus204, DeviceRepresentation, GetAccountOptions, GetAccountQuery, GetAccountResponse, GetAccountResponses, GetAccountStatus200, GetApplicationsOptions, GetApplicationsQuery, GetApplicationsResponse, GetApplicationsResponses, GetApplicationsStatus200, GetConsentOptions, GetConsentPath, GetConsentResponse, GetConsentResponses, GetConsentStatus200, GetCredentialsOptions, GetCredentialsQuery, GetCredentialsResponse, GetCredentialsResponses, GetCredentialsStatus200, GetDevicesOptions, GetDevicesResponse, GetDevicesResponses, GetDevicesStatus200, GetGroupsOptions, GetGroupsQuery, GetGroupsResponse, GetGroupsResponses, GetGroupsStatus200, GetLinkedAccountsOptions, GetLinkedAccountsResponse, GetLinkedAccountsResponses, GetLinkedAccountsStatus200, GetOrganizationsOptions, GetOrganizationsResponse, GetOrganizationsResponses, GetOrganizationsStatus200, GetSessionsOptions, GetSessionsResponse, GetSessionsResponses, GetSessionsStatus200, GroupRepresentation, LinkedAccountRepresentation, OrganizationRepresentation, SessionRepresentation, UpdateAccountBody, UpdateAccountOptions, UpdateAccountResponse, UpdateAccountResponses, UpdateAccountStatus204, UpdateConsentOptions, UpdateConsentPath, UpdateConsentResponse, UpdateConsentResponses, UpdateConsentStatus200, UpdateCredentialLabelBody, UpdateCredentialLabelOptions, UpdateCredentialLabelPath, UpdateCredentialLabelResponse, UpdateCredentialLabelResponses, UpdateCredentialLabelStatus204, UserCredentialMetadataRepresentation, UserProfileAttributesRepresentation, UserProfileMetadataAttributeRepresentation, UserProfileMetadataRepresentation };
1112
489
  //# sourceMappingURL=types.d.mts.map