keycloak-api 0.2.5 → 1.0.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/dist/account/components.cjs +490 -0
- package/dist/account/components.d.mts +796 -0
- package/dist/account/components.d.mts.map +1 -0
- package/dist/account/components.mjs +467 -0
- package/dist/account/schemas.cjs +275 -0
- package/dist/account/schemas.d.mts +659 -0
- package/dist/account/schemas.d.mts.map +1 -0
- package/dist/account/schemas.mjs +183 -0
- package/dist/account/types.cjs +1 -0
- package/dist/account/types.d.mts +1112 -0
- package/dist/account/types.d.mts.map +1 -0
- package/dist/account/types.mjs +1 -0
- package/dist/admin/components.cjs +10927 -0
- package/dist/admin/components.d.mts +11710 -0
- package/dist/admin/components.d.mts.map +1 -0
- package/dist/admin/components.mjs +10510 -0
- package/dist/admin/schemas.cjs +7516 -0
- package/dist/admin/schemas.d.mts +24125 -0
- package/dist/admin/schemas.d.mts.map +1 -0
- package/dist/admin/schemas.mjs +4790 -0
- package/dist/admin/types.cjs +60 -0
- package/dist/admin/types.d.mts +27436 -0
- package/dist/admin/types.d.mts.map +1 -0
- package/dist/admin/types.mjs +49 -0
- package/dist/index.cjs +18793 -1776
- package/dist/index.d.ts +69634 -11232
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +18763 -1774
- package/package.json +68 -18
- package/.turbo/turbo-build.log +0 -14
- package/CHANGELOG.md +0 -43
- package/README.md +0 -8
- package/dist/index.d.cts +0 -11913
- package/dist/index.d.mts +0 -11913
- package/specs/account.yaml +0 -578
- package/tsconfig.json +0 -19
|
@@ -0,0 +1,796 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by Kubb (https://kubb.dev/).
|
|
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>;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* @summary Get account
|
|
521
|
+
* @description Get user details for currently logged in user
|
|
522
|
+
* @link /account/
|
|
523
|
+
*/
|
|
524
|
+
declare function getAccount({ queryParams, config }?: {
|
|
525
|
+
queryParams?: {
|
|
526
|
+
"userProfileMetadata"?: boolean;
|
|
527
|
+
};
|
|
528
|
+
config?: Partial<FetcherConfig> & {
|
|
529
|
+
client?: typeof client;
|
|
530
|
+
};
|
|
531
|
+
}): Promise<AccountRepresentation>;
|
|
532
|
+
/**
|
|
533
|
+
* @summary Update account
|
|
534
|
+
* @link /account/
|
|
535
|
+
*/
|
|
536
|
+
declare function updateAccount({ body, config }?: {
|
|
537
|
+
body: UpdateAccountData;
|
|
538
|
+
config?: Partial<FetcherConfig> & {
|
|
539
|
+
client?: typeof client;
|
|
540
|
+
};
|
|
541
|
+
}): Promise<unknown>;
|
|
542
|
+
/**
|
|
543
|
+
* @summary Get applications
|
|
544
|
+
* @link /account/applications
|
|
545
|
+
*/
|
|
546
|
+
declare function getApplications({ queryParams, config }?: {
|
|
547
|
+
queryParams?: {
|
|
548
|
+
"name"?: string;
|
|
549
|
+
};
|
|
550
|
+
config?: Partial<FetcherConfig> & {
|
|
551
|
+
client?: typeof client;
|
|
552
|
+
};
|
|
553
|
+
}): Promise<GetApplicationsStatus200>;
|
|
554
|
+
/**
|
|
555
|
+
* @summary Get consent
|
|
556
|
+
* @link /account/applications/{clientId}/consent
|
|
557
|
+
*/
|
|
558
|
+
declare function getConsent({ pathParams, config }?: {
|
|
559
|
+
pathParams: {
|
|
560
|
+
"clientId": string;
|
|
561
|
+
};
|
|
562
|
+
config?: Partial<FetcherConfig> & {
|
|
563
|
+
client?: typeof client;
|
|
564
|
+
};
|
|
565
|
+
}): Promise<ConsentRepresentation>;
|
|
566
|
+
/**
|
|
567
|
+
* @summary Create consent
|
|
568
|
+
* @link /account/applications/{clientId}/consent
|
|
569
|
+
*/
|
|
570
|
+
declare function createConsent({ pathParams, config }?: {
|
|
571
|
+
pathParams: {
|
|
572
|
+
"clientId": string;
|
|
573
|
+
};
|
|
574
|
+
config?: Partial<FetcherConfig> & {
|
|
575
|
+
client?: typeof client;
|
|
576
|
+
};
|
|
577
|
+
}): Promise<ConsentRepresentation>;
|
|
578
|
+
/**
|
|
579
|
+
* @summary Update consent
|
|
580
|
+
* @link /account/applications/{clientId}/consent
|
|
581
|
+
*/
|
|
582
|
+
declare function updateConsent({ pathParams, config }?: {
|
|
583
|
+
pathParams: {
|
|
584
|
+
"clientId": string;
|
|
585
|
+
};
|
|
586
|
+
config?: Partial<FetcherConfig> & {
|
|
587
|
+
client?: typeof client;
|
|
588
|
+
};
|
|
589
|
+
}): Promise<ConsentRepresentation>;
|
|
590
|
+
/**
|
|
591
|
+
* @summary Delete consent
|
|
592
|
+
* @link /account/applications/{clientId}/consent
|
|
593
|
+
*/
|
|
594
|
+
declare function deleteConsent({ pathParams, config }?: {
|
|
595
|
+
pathParams: {
|
|
596
|
+
"clientId": string;
|
|
597
|
+
};
|
|
598
|
+
config?: Partial<FetcherConfig> & {
|
|
599
|
+
client?: typeof client;
|
|
600
|
+
};
|
|
601
|
+
}): Promise<unknown>;
|
|
602
|
+
/**
|
|
603
|
+
* @summary Get credentials
|
|
604
|
+
* @description Get credentials for currently logged in user
|
|
605
|
+
* @link /account/credentials
|
|
606
|
+
*/
|
|
607
|
+
declare function getCredentials({ queryParams, config }?: {
|
|
608
|
+
queryParams?: {
|
|
609
|
+
"type"?: string;
|
|
610
|
+
"user-credentials"?: boolean;
|
|
611
|
+
};
|
|
612
|
+
config?: Partial<FetcherConfig> & {
|
|
613
|
+
client?: typeof client;
|
|
614
|
+
};
|
|
615
|
+
}): Promise<GetCredentialsStatus200>;
|
|
616
|
+
/**
|
|
617
|
+
* @summary Delete the credential
|
|
618
|
+
* @link /account/credentials/{credentialId}
|
|
619
|
+
*/
|
|
620
|
+
declare function deleteCredential({ pathParams, config }?: {
|
|
621
|
+
pathParams: {
|
|
622
|
+
"credentialId": string;
|
|
623
|
+
};
|
|
624
|
+
config?: Partial<FetcherConfig> & {
|
|
625
|
+
client?: typeof client;
|
|
626
|
+
};
|
|
627
|
+
}): Promise<unknown>;
|
|
628
|
+
/**
|
|
629
|
+
* @summary Update a user label of specified credential of current user
|
|
630
|
+
* @link /account/credentials/{credentialId}/label
|
|
631
|
+
*/
|
|
632
|
+
declare function updateCredentialLabel({ pathParams, body, config }?: {
|
|
633
|
+
pathParams: {
|
|
634
|
+
"credentialId": string;
|
|
635
|
+
};
|
|
636
|
+
body?: UpdateCredentialLabelData;
|
|
637
|
+
config?: Partial<FetcherConfig> & {
|
|
638
|
+
client?: typeof client;
|
|
639
|
+
};
|
|
640
|
+
}): Promise<unknown>;
|
|
641
|
+
/**
|
|
642
|
+
* @summary Get sessions
|
|
643
|
+
* @description Get sessions for currently logged in user
|
|
644
|
+
* @link /account/sessions
|
|
645
|
+
*/
|
|
646
|
+
declare function getSessions({ config }?: {
|
|
647
|
+
config?: Partial<FetcherConfig> & {
|
|
648
|
+
client?: typeof client;
|
|
649
|
+
};
|
|
650
|
+
}): Promise<GetSessionsStatus200>;
|
|
651
|
+
/**
|
|
652
|
+
* @summary Delete current session
|
|
653
|
+
* @link /account/sessions
|
|
654
|
+
*/
|
|
655
|
+
declare function deleteCurrentSession({ config }?: {
|
|
656
|
+
config?: Partial<FetcherConfig> & {
|
|
657
|
+
client?: typeof client;
|
|
658
|
+
};
|
|
659
|
+
}): Promise<unknown>;
|
|
660
|
+
/**
|
|
661
|
+
* @summary Get devices
|
|
662
|
+
* @description Get devices for currently logged in user
|
|
663
|
+
* @link /account/sessions/devices
|
|
664
|
+
*/
|
|
665
|
+
declare function getDevices({ config }?: {
|
|
666
|
+
config?: Partial<FetcherConfig> & {
|
|
667
|
+
client?: typeof client;
|
|
668
|
+
};
|
|
669
|
+
}): Promise<GetDevicesStatus200>;
|
|
670
|
+
/**
|
|
671
|
+
* @summary Delete the session
|
|
672
|
+
* @link /account/sessions/{sessionId}
|
|
673
|
+
*/
|
|
674
|
+
declare function deleteSession({ pathParams, config }?: {
|
|
675
|
+
pathParams: {
|
|
676
|
+
"sessionId": string;
|
|
677
|
+
};
|
|
678
|
+
config?: Partial<FetcherConfig> & {
|
|
679
|
+
client?: typeof client;
|
|
680
|
+
};
|
|
681
|
+
}): Promise<unknown>;
|
|
682
|
+
/**
|
|
683
|
+
* @summary Get linked accounts
|
|
684
|
+
* @description Get linked accounts for currently logged in user
|
|
685
|
+
* @link /account/linked-accounts
|
|
686
|
+
*/
|
|
687
|
+
declare function getLinkedAccounts({ config }?: {
|
|
688
|
+
config?: Partial<FetcherConfig> & {
|
|
689
|
+
client?: typeof client;
|
|
690
|
+
};
|
|
691
|
+
}): Promise<GetLinkedAccountsStatus200>;
|
|
692
|
+
/**
|
|
693
|
+
* @summary Build account linking URI
|
|
694
|
+
* @description Build account linking URI
|
|
695
|
+
* @link /account/linked-accounts/{providerId}
|
|
696
|
+
*/
|
|
697
|
+
declare function buildLinkingUri({ pathParams, queryParams, config }?: {
|
|
698
|
+
pathParams: {
|
|
699
|
+
"providerId": string;
|
|
700
|
+
};
|
|
701
|
+
queryParams?: {
|
|
702
|
+
"redirectUri"?: string;
|
|
703
|
+
};
|
|
704
|
+
config?: Partial<FetcherConfig> & {
|
|
705
|
+
client?: typeof client;
|
|
706
|
+
};
|
|
707
|
+
}): Promise<AccountLinkUriRepresentation>;
|
|
708
|
+
/**
|
|
709
|
+
* @summary Delete the linked provider
|
|
710
|
+
* @link /account/linked-accounts/{providerId}
|
|
711
|
+
*/
|
|
712
|
+
declare function deleteLinkedProvider({ pathParams, config }?: {
|
|
713
|
+
pathParams: {
|
|
714
|
+
"providerId": string;
|
|
715
|
+
};
|
|
716
|
+
config?: Partial<FetcherConfig> & {
|
|
717
|
+
client?: typeof client;
|
|
718
|
+
};
|
|
719
|
+
}): Promise<unknown>;
|
|
720
|
+
/**
|
|
721
|
+
* @summary Get groups that this user is a member of
|
|
722
|
+
* @link /account/groups
|
|
723
|
+
*/
|
|
724
|
+
declare function getGroups({ queryParams, config }?: {
|
|
725
|
+
queryParams?: {
|
|
726
|
+
"briefRepresentation"?: boolean;
|
|
727
|
+
};
|
|
728
|
+
config?: Partial<FetcherConfig> & {
|
|
729
|
+
client?: typeof client;
|
|
730
|
+
};
|
|
731
|
+
}): Promise<GetGroupsStatus200>;
|
|
732
|
+
/**
|
|
733
|
+
* @summary Get organizations
|
|
734
|
+
* @description Get organizations for currently logged in user
|
|
735
|
+
* @link /account/organizations
|
|
736
|
+
*/
|
|
737
|
+
declare function getOrganizations({ config }?: {
|
|
738
|
+
config?: Partial<FetcherConfig> & {
|
|
739
|
+
client?: typeof client;
|
|
740
|
+
};
|
|
741
|
+
}): Promise<GetOrganizationsStatus200>;
|
|
742
|
+
declare const operationsByPath: {
|
|
743
|
+
"GET /account/": typeof getAccount;
|
|
744
|
+
"POST /account/": typeof updateAccount;
|
|
745
|
+
"GET /account/applications": typeof getApplications;
|
|
746
|
+
"GET /account/applications/{clientId}/consent": typeof getConsent;
|
|
747
|
+
"POST /account/applications/{clientId}/consent": typeof createConsent;
|
|
748
|
+
"PUT /account/applications/{clientId}/consent": typeof updateConsent;
|
|
749
|
+
"DELETE /account/applications/{clientId}/consent": typeof deleteConsent;
|
|
750
|
+
"GET /account/credentials": typeof getCredentials;
|
|
751
|
+
"DELETE /account/credentials/{credentialId}": typeof deleteCredential;
|
|
752
|
+
"PUT /account/credentials/{credentialId}/label": typeof updateCredentialLabel;
|
|
753
|
+
"GET /account/sessions": typeof getSessions;
|
|
754
|
+
"DELETE /account/sessions": typeof deleteCurrentSession;
|
|
755
|
+
"GET /account/sessions/devices": typeof getDevices;
|
|
756
|
+
"DELETE /account/sessions/{sessionId}": typeof deleteSession;
|
|
757
|
+
"GET /account/linked-accounts": typeof getLinkedAccounts;
|
|
758
|
+
"GET /account/linked-accounts/{providerId}": typeof buildLinkingUri;
|
|
759
|
+
"DELETE /account/linked-accounts/{providerId}": typeof deleteLinkedProvider;
|
|
760
|
+
"GET /account/groups": typeof getGroups;
|
|
761
|
+
"GET /account/organizations": typeof getOrganizations;
|
|
762
|
+
};
|
|
763
|
+
declare const operationsByTag: {
|
|
764
|
+
account: {
|
|
765
|
+
getAccount: typeof getAccount;
|
|
766
|
+
updateAccount: typeof updateAccount;
|
|
767
|
+
getApplications: typeof getApplications;
|
|
768
|
+
getConsent: typeof getConsent;
|
|
769
|
+
createConsent: typeof createConsent;
|
|
770
|
+
updateConsent: typeof updateConsent;
|
|
771
|
+
deleteConsent: typeof deleteConsent;
|
|
772
|
+
getCredentials: typeof getCredentials;
|
|
773
|
+
deleteCredential: typeof deleteCredential;
|
|
774
|
+
updateCredentialLabel: typeof updateCredentialLabel;
|
|
775
|
+
getSessions: typeof getSessions;
|
|
776
|
+
deleteCurrentSession: typeof deleteCurrentSession;
|
|
777
|
+
getDevices: typeof getDevices;
|
|
778
|
+
deleteSession: typeof deleteSession;
|
|
779
|
+
getLinkedAccounts: typeof getLinkedAccounts;
|
|
780
|
+
buildLinkingUri: typeof buildLinkingUri;
|
|
781
|
+
deleteLinkedProvider: typeof deleteLinkedProvider;
|
|
782
|
+
getGroups: typeof getGroups;
|
|
783
|
+
getOrganizations: typeof getOrganizations;
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
declare const tagDictionary: {
|
|
787
|
+
readonly account: {
|
|
788
|
+
readonly GET: readonly ["getAccount", "getApplications", "getConsent", "getCredentials", "getSessions", "getDevices", "getLinkedAccounts", "buildLinkingUri", "getGroups", "getOrganizations"];
|
|
789
|
+
readonly POST: readonly ["updateAccount", "createConsent"];
|
|
790
|
+
readonly PUT: readonly ["updateConsent", "updateCredentialLabel"];
|
|
791
|
+
readonly DELETE: readonly ["deleteConsent", "deleteCredential", "deleteCurrentSession", "deleteSession", "deleteLinkedProvider"];
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
export { buildLinkingUri, createConsent, deleteConsent, deleteCredential, deleteCurrentSession, deleteLinkedProvider, deleteSession, getAccount, getApplications, getConsent, getCredentials, getDevices, getGroups, getLinkedAccounts, getOrganizations, getSessions, operationsByPath, operationsByTag, tagDictionary, updateAccount, updateConsent, updateCredentialLabel };
|
|
796
|
+
//# sourceMappingURL=components.d.mts.map
|