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.
- package/README.md +79 -0
- package/dist/account/components.cjs +26 -88
- package/dist/account/components.d.mts +32 -547
- package/dist/account/components.d.mts.map +1 -1
- package/dist/account/components.mjs +7 -69
- package/dist/account/schemas.cjs +72 -270
- package/dist/account/schemas.d.mts +3 -3
- package/dist/account/schemas.d.mts.map +1 -1
- package/dist/account/schemas.mjs +1 -183
- package/dist/account/types.d.mts +197 -820
- package/dist/account/types.d.mts.map +1 -1
- package/dist/admin/components.cjs +526 -588
- package/dist/admin/components.d.mts +1769 -6465
- package/dist/admin/components.d.mts.map +1 -1
- package/dist/admin/components.mjs +113 -175
- package/dist/admin/schemas.cjs +2928 -7511
- package/dist/admin/schemas.d.mts +15807 -1703
- package/dist/admin/schemas.d.mts.map +1 -1
- package/dist/admin/schemas.mjs +1 -4790
- package/dist/admin/types.cjs +13 -57
- package/dist/admin/types.d.mts +8584 -21398
- package/dist/admin/types.d.mts.map +1 -1
- package/dist/admin/types.mjs +1 -49
- package/dist/fetcher-aq8636lm.cjs +65 -0
- package/dist/fetcher-caoilmfh.d.ts +38 -0
- package/dist/fetcher-caoilmfh.d.ts.map +1 -0
- package/dist/fetcher-letfyywe.js +65 -0
- package/dist/index.cjs +19 -18758
- package/dist/index.d.ts +28078 -27708
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +8 -18727
- package/dist/schemas-abkntf15.js +7543 -0
- package/dist/schemas-c8nj5m3b.cjs +10490 -0
- package/dist/schemas-jfivc3px.cjs +349 -0
- package/dist/schemas-mx94q7di.js +258 -0
- package/dist/types-fb17fnxy.cjs +73 -0
- package/dist/types-pvupsyob.js +63 -0
- package/package.json +9 -10
|
@@ -1,529 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Do not edit manually.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* @type object
|
|
7
|
-
*/
|
|
8
|
-
type OrganizationRepresentation = {
|
|
9
|
-
/**
|
|
10
|
-
* @type string | undefined
|
|
11
|
-
*/
|
|
12
|
-
id?: string | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* @type string | undefined
|
|
15
|
-
*/
|
|
16
|
-
name?: string | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* @type string | undefined
|
|
19
|
-
*/
|
|
20
|
-
alias?: string | undefined;
|
|
21
|
-
/**
|
|
22
|
-
* @type string | undefined
|
|
23
|
-
*/
|
|
24
|
-
description?: string | undefined;
|
|
25
|
-
/**
|
|
26
|
-
* @type boolean | undefined
|
|
27
|
-
*/
|
|
28
|
-
enabled?: boolean | undefined;
|
|
29
|
-
/**
|
|
30
|
-
* @type array | undefined
|
|
31
|
-
*/
|
|
32
|
-
domains?: string[] | undefined;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* @type object
|
|
36
|
-
*/
|
|
37
|
-
type GroupRepresentation = {
|
|
38
|
-
/**
|
|
39
|
-
* @type object | undefined
|
|
40
|
-
*/
|
|
41
|
-
access?: {
|
|
42
|
-
[key: string]: unknown;
|
|
43
|
-
} | undefined;
|
|
44
|
-
/**
|
|
45
|
-
* @type object | undefined
|
|
46
|
-
*/
|
|
47
|
-
attributes?: {
|
|
48
|
-
[key: string]: unknown;
|
|
49
|
-
} | undefined;
|
|
50
|
-
/**
|
|
51
|
-
* @type object | undefined
|
|
52
|
-
*/
|
|
53
|
-
clientRoles?: {
|
|
54
|
-
[key: string]: unknown;
|
|
55
|
-
} | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* @type string | undefined
|
|
58
|
-
*/
|
|
59
|
-
id?: string | undefined;
|
|
60
|
-
/**
|
|
61
|
-
* @type string | undefined
|
|
62
|
-
*/
|
|
63
|
-
name?: string | undefined;
|
|
64
|
-
/**
|
|
65
|
-
* @type string | undefined
|
|
66
|
-
*/
|
|
67
|
-
path?: string | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* @type array | undefined
|
|
70
|
-
*/
|
|
71
|
-
realmRoles?: string[] | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* @type array | undefined
|
|
74
|
-
*/
|
|
75
|
-
subGroups?: GroupRepresentation[] | undefined;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* @type object
|
|
79
|
-
*/
|
|
80
|
-
type ConsentScopeRepresentation = {
|
|
81
|
-
/**
|
|
82
|
-
* @type string | undefined
|
|
83
|
-
*/
|
|
84
|
-
id?: string | undefined;
|
|
85
|
-
/**
|
|
86
|
-
* @type string | undefined
|
|
87
|
-
*/
|
|
88
|
-
name?: string | undefined;
|
|
89
|
-
/**
|
|
90
|
-
* @type string | undefined
|
|
91
|
-
*/
|
|
92
|
-
displayText?: string | undefined;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* @type object
|
|
96
|
-
*/
|
|
97
|
-
type ConsentRepresentation = {
|
|
98
|
-
/**
|
|
99
|
-
* @type number | undefined
|
|
100
|
-
*/
|
|
101
|
-
createdDate?: number | undefined;
|
|
102
|
-
/**
|
|
103
|
-
* @type number | undefined
|
|
104
|
-
*/
|
|
105
|
-
lastUpdatedDate?: number | undefined;
|
|
106
|
-
/**
|
|
107
|
-
* @type array | undefined
|
|
108
|
-
*/
|
|
109
|
-
grantedScopes?: ConsentScopeRepresentation[] | undefined;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* @type object
|
|
113
|
-
*/
|
|
114
|
-
type ClientRepresentation = {
|
|
115
|
-
/**
|
|
116
|
-
* @type string | undefined
|
|
117
|
-
*/
|
|
118
|
-
clientId?: string | undefined;
|
|
119
|
-
/**
|
|
120
|
-
* @type string | undefined
|
|
121
|
-
*/
|
|
122
|
-
clientName?: string | undefined;
|
|
123
|
-
/**
|
|
124
|
-
* @type string | undefined
|
|
125
|
-
*/
|
|
126
|
-
description?: string | undefined;
|
|
127
|
-
/**
|
|
128
|
-
* @type boolean | undefined
|
|
129
|
-
*/
|
|
130
|
-
userConsentRequired?: boolean | undefined;
|
|
131
|
-
/**
|
|
132
|
-
* @type boolean | undefined
|
|
133
|
-
*/
|
|
134
|
-
inUse?: boolean | undefined;
|
|
135
|
-
/**
|
|
136
|
-
* @type boolean | undefined
|
|
137
|
-
*/
|
|
138
|
-
offlineAccess?: boolean | undefined;
|
|
139
|
-
/**
|
|
140
|
-
* @type string | undefined
|
|
141
|
-
*/
|
|
142
|
-
rootUrl?: string | undefined;
|
|
143
|
-
/**
|
|
144
|
-
* @type string | undefined
|
|
145
|
-
*/
|
|
146
|
-
baseUrl?: string | undefined;
|
|
147
|
-
/**
|
|
148
|
-
* @type string | undefined
|
|
149
|
-
*/
|
|
150
|
-
effectiveUrl?: string | undefined;
|
|
151
|
-
/**
|
|
152
|
-
* @type string | undefined
|
|
153
|
-
*/
|
|
154
|
-
logoUri?: string | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* @type string | undefined
|
|
157
|
-
*/
|
|
158
|
-
policyUri?: string | undefined;
|
|
159
|
-
/**
|
|
160
|
-
* @type string | undefined
|
|
161
|
-
*/
|
|
162
|
-
tosUri?: string | undefined;
|
|
163
|
-
/**
|
|
164
|
-
* @type object | undefined
|
|
165
|
-
*/
|
|
166
|
-
consent?: ConsentRepresentation | undefined;
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* @type object
|
|
170
|
-
*/
|
|
171
|
-
type LinkedAccountRepresentation = {
|
|
172
|
-
/**
|
|
173
|
-
* @type boolean | undefined
|
|
174
|
-
*/
|
|
175
|
-
connected?: boolean | undefined;
|
|
176
|
-
/**
|
|
177
|
-
* @type boolean | undefined
|
|
178
|
-
*/
|
|
179
|
-
social?: boolean | undefined;
|
|
180
|
-
/**
|
|
181
|
-
* @type string | undefined
|
|
182
|
-
*/
|
|
183
|
-
providerAlias?: string | undefined;
|
|
184
|
-
/**
|
|
185
|
-
* @type string | undefined
|
|
186
|
-
*/
|
|
187
|
-
providerName?: string | undefined;
|
|
188
|
-
/**
|
|
189
|
-
* @type string | undefined
|
|
190
|
-
*/
|
|
191
|
-
displayName?: string | undefined;
|
|
192
|
-
/**
|
|
193
|
-
* @type string | undefined
|
|
194
|
-
*/
|
|
195
|
-
linkedUsername?: string | undefined;
|
|
196
|
-
};
|
|
197
|
-
/**
|
|
198
|
-
* @type object
|
|
199
|
-
*/
|
|
200
|
-
type AccountLinkUriRepresentation = {
|
|
201
|
-
/**
|
|
202
|
-
* @type string | undefined
|
|
203
|
-
*/
|
|
204
|
-
accountLinkUri?: string | undefined;
|
|
205
|
-
/**
|
|
206
|
-
* @type string | undefined
|
|
207
|
-
*/
|
|
208
|
-
nonce?: string | undefined;
|
|
209
|
-
/**
|
|
210
|
-
* @type string | undefined
|
|
211
|
-
*/
|
|
212
|
-
hash?: string | undefined;
|
|
213
|
-
};
|
|
214
|
-
/**
|
|
215
|
-
* @type object
|
|
216
|
-
*/
|
|
217
|
-
type UserProfileMetadataAttributeRepresentation = {
|
|
218
|
-
/**
|
|
219
|
-
* @type string | undefined
|
|
220
|
-
*/
|
|
221
|
-
name?: string | undefined;
|
|
222
|
-
/**
|
|
223
|
-
* @type string | undefined
|
|
224
|
-
*/
|
|
225
|
-
displayName?: string | undefined;
|
|
226
|
-
/**
|
|
227
|
-
* @type boolean | undefined
|
|
228
|
-
*/
|
|
229
|
-
required?: boolean | undefined;
|
|
230
|
-
/**
|
|
231
|
-
* @type boolean | undefined
|
|
232
|
-
*/
|
|
233
|
-
readOnly?: boolean | undefined;
|
|
234
|
-
/**
|
|
235
|
-
* @type object | undefined
|
|
236
|
-
*/
|
|
237
|
-
validators?: object | undefined;
|
|
238
|
-
};
|
|
239
|
-
/**
|
|
240
|
-
* @type object
|
|
241
|
-
*/
|
|
242
|
-
type UserProfileMetadataRepresentation = {
|
|
243
|
-
/**
|
|
244
|
-
* @type array | undefined
|
|
245
|
-
*/
|
|
246
|
-
attributes?: UserProfileMetadataAttributeRepresentation[] | undefined;
|
|
247
|
-
};
|
|
248
|
-
/**
|
|
249
|
-
* @type object
|
|
250
|
-
*/
|
|
251
|
-
type UserProfileAttributesRepresentation = {
|
|
252
|
-
/**
|
|
253
|
-
* @type array | undefined
|
|
254
|
-
*/
|
|
255
|
-
locale?: string[] | undefined;
|
|
256
|
-
};
|
|
257
|
-
/**
|
|
258
|
-
* @type object
|
|
259
|
-
*/
|
|
260
|
-
type AccountRepresentation = {
|
|
261
|
-
/**
|
|
262
|
-
* @type string | undefined
|
|
263
|
-
*/
|
|
264
|
-
id?: string | undefined;
|
|
265
|
-
/**
|
|
266
|
-
* @type string | undefined
|
|
267
|
-
*/
|
|
268
|
-
username?: string | undefined;
|
|
269
|
-
/**
|
|
270
|
-
* @type string | undefined
|
|
271
|
-
*/
|
|
272
|
-
firstName?: string | undefined;
|
|
273
|
-
/**
|
|
274
|
-
* @type string | undefined
|
|
275
|
-
*/
|
|
276
|
-
lastName?: string | undefined;
|
|
277
|
-
/**
|
|
278
|
-
* @type string | undefined
|
|
279
|
-
*/
|
|
280
|
-
email?: string | undefined;
|
|
281
|
-
/**
|
|
282
|
-
* @type boolean | undefined
|
|
283
|
-
*/
|
|
284
|
-
emailVerified?: boolean | undefined;
|
|
285
|
-
/**
|
|
286
|
-
* @type object | undefined
|
|
287
|
-
*/
|
|
288
|
-
userProfileMetadata?: UserProfileMetadataRepresentation | undefined;
|
|
289
|
-
/**
|
|
290
|
-
* @type object | undefined
|
|
291
|
-
*/
|
|
292
|
-
attributes?: UserProfileAttributesRepresentation | undefined;
|
|
293
|
-
};
|
|
294
|
-
/**
|
|
295
|
-
* @type object
|
|
296
|
-
*/
|
|
297
|
-
type CredentialMetadataRepresentation = {
|
|
298
|
-
/**
|
|
299
|
-
* @type string | undefined
|
|
300
|
-
*/
|
|
301
|
-
id?: string | undefined;
|
|
302
|
-
/**
|
|
303
|
-
* @type string | undefined
|
|
304
|
-
*/
|
|
305
|
-
type?: string | undefined;
|
|
306
|
-
/**
|
|
307
|
-
* @type string | undefined
|
|
308
|
-
*/
|
|
309
|
-
userLabel?: string | undefined;
|
|
310
|
-
/**
|
|
311
|
-
* @type string | undefined
|
|
312
|
-
*/
|
|
313
|
-
createdDate?: string | undefined;
|
|
314
|
-
/**
|
|
315
|
-
* @type object | undefined
|
|
316
|
-
*/
|
|
317
|
-
credentialData?: object | undefined;
|
|
318
|
-
};
|
|
319
|
-
/**
|
|
320
|
-
* @type object
|
|
321
|
-
*/
|
|
322
|
-
type UserCredentialMetadataRepresentation = {
|
|
323
|
-
/**
|
|
324
|
-
* @type object | undefined
|
|
325
|
-
*/
|
|
326
|
-
credential?: CredentialMetadataRepresentation | undefined;
|
|
327
|
-
};
|
|
328
|
-
/**
|
|
329
|
-
* @type object
|
|
330
|
-
*/
|
|
331
|
-
type CredentialRepresentation = {
|
|
332
|
-
/**
|
|
333
|
-
* @type string | undefined
|
|
334
|
-
*/
|
|
335
|
-
type?: string | undefined;
|
|
336
|
-
/**
|
|
337
|
-
* @type string | undefined
|
|
338
|
-
*/
|
|
339
|
-
category?: string | undefined;
|
|
340
|
-
/**
|
|
341
|
-
* @type string | undefined
|
|
342
|
-
*/
|
|
343
|
-
displayName?: string | undefined;
|
|
344
|
-
/**
|
|
345
|
-
* @type string | undefined
|
|
346
|
-
*/
|
|
347
|
-
helpText?: string | undefined;
|
|
348
|
-
/**
|
|
349
|
-
* @type string | undefined
|
|
350
|
-
*/
|
|
351
|
-
iconCssClass?: string | undefined;
|
|
352
|
-
/**
|
|
353
|
-
* @type string | undefined
|
|
354
|
-
*/
|
|
355
|
-
updateAction?: string | undefined;
|
|
356
|
-
/**
|
|
357
|
-
* @type boolean | undefined
|
|
358
|
-
*/
|
|
359
|
-
removeable?: boolean | undefined;
|
|
360
|
-
/**
|
|
361
|
-
* @type array | undefined
|
|
362
|
-
*/
|
|
363
|
-
userCredentialMetadatas?: UserCredentialMetadataRepresentation[] | undefined;
|
|
364
|
-
};
|
|
365
|
-
/**
|
|
366
|
-
* @type object
|
|
367
|
-
*/
|
|
368
|
-
type SessionRepresentation = {
|
|
369
|
-
/**
|
|
370
|
-
* @type string | undefined
|
|
371
|
-
*/
|
|
372
|
-
id?: string | undefined;
|
|
373
|
-
/**
|
|
374
|
-
* @type string | undefined
|
|
375
|
-
*/
|
|
376
|
-
ipAddress?: string | undefined;
|
|
377
|
-
/**
|
|
378
|
-
* @type number | undefined
|
|
379
|
-
*/
|
|
380
|
-
started?: number | undefined;
|
|
381
|
-
/**
|
|
382
|
-
* @type number | undefined
|
|
383
|
-
*/
|
|
384
|
-
lastAccess?: number | undefined;
|
|
385
|
-
/**
|
|
386
|
-
* @type number | undefined
|
|
387
|
-
*/
|
|
388
|
-
expires?: number | undefined;
|
|
389
|
-
/**
|
|
390
|
-
* @type string | undefined
|
|
391
|
-
*/
|
|
392
|
-
browser?: string | undefined;
|
|
393
|
-
/**
|
|
394
|
-
* @type boolean | undefined
|
|
395
|
-
*/
|
|
396
|
-
current?: boolean | undefined;
|
|
397
|
-
/**
|
|
398
|
-
* @type array | undefined
|
|
399
|
-
*/
|
|
400
|
-
clients?: ClientRepresentation[] | undefined;
|
|
401
|
-
};
|
|
402
|
-
/**
|
|
403
|
-
* @type object
|
|
404
|
-
*/
|
|
405
|
-
type DeviceRepresentation = {
|
|
406
|
-
/**
|
|
407
|
-
* @type string | undefined
|
|
408
|
-
*/
|
|
409
|
-
id?: string | undefined;
|
|
410
|
-
/**
|
|
411
|
-
* @type string | undefined
|
|
412
|
-
*/
|
|
413
|
-
ipAddress?: string | undefined;
|
|
414
|
-
/**
|
|
415
|
-
* @type string | undefined
|
|
416
|
-
*/
|
|
417
|
-
os?: string | undefined;
|
|
418
|
-
/**
|
|
419
|
-
* @type string | undefined
|
|
420
|
-
*/
|
|
421
|
-
osVersion?: string | undefined;
|
|
422
|
-
/**
|
|
423
|
-
* @type string | undefined
|
|
424
|
-
*/
|
|
425
|
-
browser?: string | undefined;
|
|
426
|
-
/**
|
|
427
|
-
* @type string | undefined
|
|
428
|
-
*/
|
|
429
|
-
device?: string | undefined;
|
|
430
|
-
/**
|
|
431
|
-
* @type number | undefined
|
|
432
|
-
*/
|
|
433
|
-
lastAccess?: number | undefined;
|
|
434
|
-
/**
|
|
435
|
-
* @type boolean | undefined
|
|
436
|
-
*/
|
|
437
|
-
current?: boolean | undefined;
|
|
438
|
-
/**
|
|
439
|
-
* @type boolean | undefined
|
|
440
|
-
*/
|
|
441
|
-
mobile?: boolean | undefined;
|
|
442
|
-
/**
|
|
443
|
-
* @type array | undefined
|
|
444
|
-
*/
|
|
445
|
-
sessions?: SessionRepresentation[] | undefined;
|
|
446
|
-
};
|
|
447
|
-
/**
|
|
448
|
-
* @type object
|
|
449
|
-
*/
|
|
450
|
-
type UpdateAccountData = AccountRepresentation;
|
|
451
|
-
/**
|
|
452
|
-
* @type array
|
|
453
|
-
*/
|
|
454
|
-
type GetApplicationsStatus200 = ClientRepresentation[];
|
|
455
|
-
/**
|
|
456
|
-
* @type array
|
|
457
|
-
*/
|
|
458
|
-
type GetCredentialsStatus200 = CredentialRepresentation[];
|
|
459
|
-
/**
|
|
460
|
-
* @type string | undefined
|
|
461
|
-
*/
|
|
462
|
-
type UpdateCredentialLabelData = string | undefined;
|
|
463
|
-
/**
|
|
464
|
-
* @type array
|
|
465
|
-
*/
|
|
466
|
-
type GetSessionsStatus200 = SessionRepresentation[];
|
|
467
|
-
/**
|
|
468
|
-
* @type array
|
|
469
|
-
*/
|
|
470
|
-
type GetDevicesStatus200 = DeviceRepresentation[];
|
|
471
|
-
/**
|
|
472
|
-
* @type array
|
|
473
|
-
*/
|
|
474
|
-
type GetLinkedAccountsStatus200 = LinkedAccountRepresentation[];
|
|
475
|
-
/**
|
|
476
|
-
* @type array
|
|
477
|
-
*/
|
|
478
|
-
type GetGroupsStatus200 = GroupRepresentation[];
|
|
479
|
-
/**
|
|
480
|
-
* @type array
|
|
481
|
-
*/
|
|
482
|
-
type GetOrganizationsStatus200 = OrganizationRepresentation[];
|
|
483
|
-
|
|
484
|
-
type RequestInit = {
|
|
485
|
-
body?: string | FormData | undefined;
|
|
486
|
-
headers?: Record<string, string> | undefined;
|
|
487
|
-
method?: string | undefined;
|
|
488
|
-
signal?: any | undefined;
|
|
489
|
-
};
|
|
490
|
-
type Response = {
|
|
491
|
-
ok: boolean;
|
|
492
|
-
status: number;
|
|
493
|
-
url: string;
|
|
494
|
-
json(): Promise<any>;
|
|
495
|
-
text(): Promise<string>;
|
|
496
|
-
headers?: {
|
|
497
|
-
get(name: string): string | null;
|
|
498
|
-
} | undefined;
|
|
499
|
-
};
|
|
500
|
-
type FetchImpl = (url: string, init?: RequestInit | undefined) => Promise<Response>;
|
|
501
|
-
|
|
502
|
-
type FetcherConfig = {
|
|
503
|
-
baseUrl?: string;
|
|
504
|
-
token?: string | null;
|
|
505
|
-
fetchImpl?: FetchImpl;
|
|
506
|
-
headers?: Record<string, any>;
|
|
507
|
-
};
|
|
508
|
-
type FetcherOptions<TBody, THeaders, TQueryParams, TPathParams> = {
|
|
509
|
-
url: string;
|
|
510
|
-
method: string;
|
|
511
|
-
body?: TBody | undefined;
|
|
512
|
-
headers?: THeaders | undefined;
|
|
513
|
-
queryParams?: TQueryParams | undefined;
|
|
514
|
-
pathParams?: TPathParams | undefined;
|
|
515
|
-
signal?: AbortSignal | undefined;
|
|
516
|
-
} & FetcherConfig;
|
|
517
|
-
declare function client<TData, TError, TBody, THeaders, TQueryParams, TPathParams>({ url, method, body, headers, pathParams, queryParams, signal, baseUrl, token, fetchImpl, }: FetcherOptions<TBody, THeaders, TQueryParams, TPathParams>): Promise<TData>;
|
|
1
|
+
import { AccountLinkUriRepresentation, ConsentRepresentation, AccountRepresentation, GetApplicationsStatus200, GetCredentialsStatus200, GetDevicesStatus200, GetGroupsStatus200, GetLinkedAccountsStatus200, GetOrganizationsStatus200, GetSessionsStatus200, UpdateAccountBody, UpdateCredentialLabelBody } from './types.mjs';
|
|
2
|
+
import { F as FetcherConfig, c as client } from '../fetcher-caoilmfh.js';
|
|
518
3
|
|
|
519
4
|
/**
|
|
520
5
|
* @summary Get account
|
|
521
6
|
* @description Get user details for currently logged in user
|
|
522
7
|
* @link /account/
|
|
523
8
|
*/
|
|
524
|
-
declare function getAccount({ queryParams, config }?: {
|
|
9
|
+
declare function getAccount({ queryParams, config, }?: {
|
|
525
10
|
queryParams?: {
|
|
526
|
-
|
|
11
|
+
userProfileMetadata?: boolean;
|
|
527
12
|
};
|
|
528
13
|
config?: Partial<FetcherConfig> & {
|
|
529
14
|
client?: typeof client;
|
|
@@ -533,8 +18,8 @@ declare function getAccount({ queryParams, config }?: {
|
|
|
533
18
|
* @summary Update account
|
|
534
19
|
* @link /account/
|
|
535
20
|
*/
|
|
536
|
-
declare function updateAccount({ body, config }?: {
|
|
537
|
-
body:
|
|
21
|
+
declare function updateAccount({ body, config, }?: {
|
|
22
|
+
body: UpdateAccountBody;
|
|
538
23
|
config?: Partial<FetcherConfig> & {
|
|
539
24
|
client?: typeof client;
|
|
540
25
|
};
|
|
@@ -543,9 +28,9 @@ declare function updateAccount({ body, config }?: {
|
|
|
543
28
|
* @summary Get applications
|
|
544
29
|
* @link /account/applications
|
|
545
30
|
*/
|
|
546
|
-
declare function getApplications({ queryParams, config }?: {
|
|
31
|
+
declare function getApplications({ queryParams, config, }?: {
|
|
547
32
|
queryParams?: {
|
|
548
|
-
|
|
33
|
+
name?: string;
|
|
549
34
|
};
|
|
550
35
|
config?: Partial<FetcherConfig> & {
|
|
551
36
|
client?: typeof client;
|
|
@@ -555,9 +40,9 @@ declare function getApplications({ queryParams, config }?: {
|
|
|
555
40
|
* @summary Get consent
|
|
556
41
|
* @link /account/applications/{clientId}/consent
|
|
557
42
|
*/
|
|
558
|
-
declare function getConsent({ pathParams, config }?: {
|
|
43
|
+
declare function getConsent({ pathParams, config, }?: {
|
|
559
44
|
pathParams: {
|
|
560
|
-
|
|
45
|
+
clientId: string;
|
|
561
46
|
};
|
|
562
47
|
config?: Partial<FetcherConfig> & {
|
|
563
48
|
client?: typeof client;
|
|
@@ -567,9 +52,9 @@ declare function getConsent({ pathParams, config }?: {
|
|
|
567
52
|
* @summary Create consent
|
|
568
53
|
* @link /account/applications/{clientId}/consent
|
|
569
54
|
*/
|
|
570
|
-
declare function createConsent({ pathParams, config }?: {
|
|
55
|
+
declare function createConsent({ pathParams, config, }?: {
|
|
571
56
|
pathParams: {
|
|
572
|
-
|
|
57
|
+
clientId: string;
|
|
573
58
|
};
|
|
574
59
|
config?: Partial<FetcherConfig> & {
|
|
575
60
|
client?: typeof client;
|
|
@@ -579,9 +64,9 @@ declare function createConsent({ pathParams, config }?: {
|
|
|
579
64
|
* @summary Update consent
|
|
580
65
|
* @link /account/applications/{clientId}/consent
|
|
581
66
|
*/
|
|
582
|
-
declare function updateConsent({ pathParams, config }?: {
|
|
67
|
+
declare function updateConsent({ pathParams, config, }?: {
|
|
583
68
|
pathParams: {
|
|
584
|
-
|
|
69
|
+
clientId: string;
|
|
585
70
|
};
|
|
586
71
|
config?: Partial<FetcherConfig> & {
|
|
587
72
|
client?: typeof client;
|
|
@@ -591,9 +76,9 @@ declare function updateConsent({ pathParams, config }?: {
|
|
|
591
76
|
* @summary Delete consent
|
|
592
77
|
* @link /account/applications/{clientId}/consent
|
|
593
78
|
*/
|
|
594
|
-
declare function deleteConsent({ pathParams, config }?: {
|
|
79
|
+
declare function deleteConsent({ pathParams, config, }?: {
|
|
595
80
|
pathParams: {
|
|
596
|
-
|
|
81
|
+
clientId: string;
|
|
597
82
|
};
|
|
598
83
|
config?: Partial<FetcherConfig> & {
|
|
599
84
|
client?: typeof client;
|
|
@@ -604,9 +89,9 @@ declare function deleteConsent({ pathParams, config }?: {
|
|
|
604
89
|
* @description Get credentials for currently logged in user
|
|
605
90
|
* @link /account/credentials
|
|
606
91
|
*/
|
|
607
|
-
declare function getCredentials({ queryParams, config }?: {
|
|
92
|
+
declare function getCredentials({ queryParams, config, }?: {
|
|
608
93
|
queryParams?: {
|
|
609
|
-
|
|
94
|
+
type?: string;
|
|
610
95
|
"user-credentials"?: boolean;
|
|
611
96
|
};
|
|
612
97
|
config?: Partial<FetcherConfig> & {
|
|
@@ -617,9 +102,9 @@ declare function getCredentials({ queryParams, config }?: {
|
|
|
617
102
|
* @summary Delete the credential
|
|
618
103
|
* @link /account/credentials/{credentialId}
|
|
619
104
|
*/
|
|
620
|
-
declare function deleteCredential({ pathParams, config }?: {
|
|
105
|
+
declare function deleteCredential({ pathParams, config, }?: {
|
|
621
106
|
pathParams: {
|
|
622
|
-
|
|
107
|
+
credentialId: string;
|
|
623
108
|
};
|
|
624
109
|
config?: Partial<FetcherConfig> & {
|
|
625
110
|
client?: typeof client;
|
|
@@ -629,11 +114,11 @@ declare function deleteCredential({ pathParams, config }?: {
|
|
|
629
114
|
* @summary Update a user label of specified credential of current user
|
|
630
115
|
* @link /account/credentials/{credentialId}/label
|
|
631
116
|
*/
|
|
632
|
-
declare function updateCredentialLabel({ pathParams, body, config }?: {
|
|
117
|
+
declare function updateCredentialLabel({ pathParams, body, config, }?: {
|
|
633
118
|
pathParams: {
|
|
634
|
-
|
|
119
|
+
credentialId: string;
|
|
635
120
|
};
|
|
636
|
-
body?:
|
|
121
|
+
body?: UpdateCredentialLabelBody;
|
|
637
122
|
config?: Partial<FetcherConfig> & {
|
|
638
123
|
client?: typeof client;
|
|
639
124
|
};
|
|
@@ -671,9 +156,9 @@ declare function getDevices({ config }?: {
|
|
|
671
156
|
* @summary Delete the session
|
|
672
157
|
* @link /account/sessions/{sessionId}
|
|
673
158
|
*/
|
|
674
|
-
declare function deleteSession({ pathParams, config }?: {
|
|
159
|
+
declare function deleteSession({ pathParams, config, }?: {
|
|
675
160
|
pathParams: {
|
|
676
|
-
|
|
161
|
+
sessionId: string;
|
|
677
162
|
};
|
|
678
163
|
config?: Partial<FetcherConfig> & {
|
|
679
164
|
client?: typeof client;
|
|
@@ -694,12 +179,12 @@ declare function getLinkedAccounts({ config }?: {
|
|
|
694
179
|
* @description Build account linking URI
|
|
695
180
|
* @link /account/linked-accounts/{providerId}
|
|
696
181
|
*/
|
|
697
|
-
declare function buildLinkingUri({ pathParams, queryParams, config }?: {
|
|
182
|
+
declare function buildLinkingUri({ pathParams, queryParams, config, }?: {
|
|
698
183
|
pathParams: {
|
|
699
|
-
|
|
184
|
+
providerId: string;
|
|
700
185
|
};
|
|
701
186
|
queryParams?: {
|
|
702
|
-
|
|
187
|
+
redirectUri?: string;
|
|
703
188
|
};
|
|
704
189
|
config?: Partial<FetcherConfig> & {
|
|
705
190
|
client?: typeof client;
|
|
@@ -709,9 +194,9 @@ declare function buildLinkingUri({ pathParams, queryParams, config }?: {
|
|
|
709
194
|
* @summary Delete the linked provider
|
|
710
195
|
* @link /account/linked-accounts/{providerId}
|
|
711
196
|
*/
|
|
712
|
-
declare function deleteLinkedProvider({ pathParams, config }?: {
|
|
197
|
+
declare function deleteLinkedProvider({ pathParams, config, }?: {
|
|
713
198
|
pathParams: {
|
|
714
|
-
|
|
199
|
+
providerId: string;
|
|
715
200
|
};
|
|
716
201
|
config?: Partial<FetcherConfig> & {
|
|
717
202
|
client?: typeof client;
|
|
@@ -721,9 +206,9 @@ declare function deleteLinkedProvider({ pathParams, config }?: {
|
|
|
721
206
|
* @summary Get groups that this user is a member of
|
|
722
207
|
* @link /account/groups
|
|
723
208
|
*/
|
|
724
|
-
declare function getGroups({ queryParams, config }?: {
|
|
209
|
+
declare function getGroups({ queryParams, config, }?: {
|
|
725
210
|
queryParams?: {
|
|
726
|
-
|
|
211
|
+
briefRepresentation?: boolean;
|
|
727
212
|
};
|
|
728
213
|
config?: Partial<FetcherConfig> & {
|
|
729
214
|
client?: typeof client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.mts","sources":["../../src/account/generated/
|
|
1
|
+
{"version":3,"file":"components.d.mts","sources":["../../src/account/generated/components.ts"],"mappings":";;;AAQA;AACA;AACA;AACA;AACA;AACA,iBAAiB,UAAU;AAC3B;AACA;AACA;AACA,aAAa,OAAO,CAAC,aAAa;AAClC,wBAAwBA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,aAAa,OAAO,CAAC,aAAa;AAClC,wBAAwBT,MAAa;AACrC;AACA,IAAI,OAAO,CAACU,yBAAiC;AAC7C,cAAc,gBAAgB;AAC9B,4BAA4B,UAAU;AACtC,6BAA6B,aAAa;AAC1C,wCAAwC,eAAe;AACvD,2DAA2D,UAAU;AACrE,4DAA4D,aAAa;AACzE,2DAA2D,aAAa;AACxE,8DAA8D,aAAa;AAC3E,uCAAuC,cAAc;AACrD,yDAAyD,gBAAgB;AACzE,4DAA4D,qBAAqB;AACjF,oCAAoC,WAAW;AAC/C,uCAAuC,oBAAoB;AAC3D,4CAA4C,UAAU;AACtD,mDAAmD,aAAa;AAChE,2CAA2C,iBAAiB;AAC5D,wDAAwD,eAAe;AACvE,2DAA2D,oBAAoB;AAC/E,kCAAkC,SAAS;AAC3C,yCAAyC,gBAAgB;AACzD;AACA,cAAc,eAAe;AAC7B;AACA,2BAA2B,UAAU;AACrC,8BAA8B,aAAa;AAC3C,gCAAgC,eAAe;AAC/C,2BAA2B,UAAU;AACrC,8BAA8B,aAAa;AAC3C,8BAA8B,aAAa;AAC3C,8BAA8B,aAAa;AAC3C,+BAA+B,cAAc;AAC7C,iCAAiC,gBAAgB;AACjD,sCAAsC,qBAAqB;AAC3D,4BAA4B,WAAW;AACvC,qCAAqC,oBAAoB;AACzD,2BAA2B,UAAU;AACrC,8BAA8B,aAAa;AAC3C,kCAAkC,iBAAiB;AACnD,gCAAgC,eAAe;AAC/C,qCAAqC,oBAAoB;AACzD,0BAA0B,SAAS;AACnC,iCAAiC,gBAAgB;AACjD;AACA;AACA,cAAc,aAAa;AAC3B;AACA;AACA;AACA;AACA;AACA;AACA;;","names":["defaultClient","__types.AccountRepresentation","__types.GetApplicationsStatus200","__types.ConsentRepresentation","__types.GetCredentialsStatus200","__types.GetSessionsStatus200","__types.GetDevicesStatus200","__types.GetLinkedAccountsStatus200","__types.AccountLinkUriRepresentation","__types.GetGroupsStatus200","__types.GetOrganizationsStatus200"]}
|