keycloak-api 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +79 -0
- package/dist/account/components.cjs +110 -229
- package/dist/account/components.d.mts +70 -614
- package/dist/account/components.d.mts.map +1 -1
- package/dist/account/components.mjs +110 -229
- package/dist/account/schemas.cjs +71 -270
- package/dist/account/schemas.d.mts +166 -76
- package/dist/account/schemas.d.mts.map +1 -1
- package/dist/account/schemas.mjs +1 -183
- package/dist/account/types.d.mts +314 -737
- package/dist/account/types.d.mts.map +1 -1
- package/dist/admin/components.cjs +3130 -4734
- package/dist/admin/components.d.mts +1661 -8240
- package/dist/admin/components.d.mts.map +1 -1
- package/dist/admin/components.mjs +3131 -4723
- package/dist/admin/schemas.cjs +1875 -7511
- package/dist/admin/schemas.d.mts +22930 -7610
- 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 +10887 -21855
- 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 +45097 -45932
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +8 -18727
- package/dist/schemas-ckfznbee.js +340 -0
- package/dist/schemas-f1u0t5ee.cjs +430 -0
- package/dist/schemas-g9c8wc66.cjs +10203 -0
- package/dist/schemas-pbtpxjsr.js +8309 -0
- package/dist/types-6yzhv6is.cjs +73 -0
- package/dist/types-iyze6mys.js +63 -0
- package/package.json +4 -4
|
@@ -1,744 +1,200 @@
|
|
|
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 { BuildLinkingUriPathParams, BuildLinkingUriQueryParams, AccountLinkUriRepresentation, CreateConsentPathParams, ConsentRepresentation, DeleteConsentPathParams, DeleteCredentialPathParams, DeleteLinkedProviderPathParams, DeleteSessionPathParams, GetAccountQueryParams, AccountRepresentation, GetApplicationsQueryParams, GetApplications200, GetConsentPathParams, GetCredentialsQueryParams, GetCredentials200, GetDevices200, GetGroupsQueryParams, GetGroups200, GetLinkedAccounts200, GetOrganizations200, GetSessions200, UpdateAccountMutationRequest, UpdateConsentPathParams, UpdateCredentialLabelPathParams, UpdateCredentialLabelMutationRequest } from './types.mjs';
|
|
2
|
+
import { F as FetcherConfig, c as client } from '../fetcher-caoilmfh.js';
|
|
518
3
|
|
|
519
4
|
/**
|
|
520
|
-
* @summary Get account
|
|
521
5
|
* @description Get user details for currently logged in user
|
|
522
|
-
* @
|
|
6
|
+
* @summary Get account
|
|
7
|
+
* {@link /account/}
|
|
523
8
|
*/
|
|
524
|
-
declare function getAccount({ queryParams, config }
|
|
525
|
-
queryParams?:
|
|
526
|
-
"userProfileMetadata"?: boolean;
|
|
527
|
-
};
|
|
9
|
+
declare function getAccount({ queryParams, config, }: {
|
|
10
|
+
queryParams?: GetAccountQueryParams;
|
|
528
11
|
config?: Partial<FetcherConfig> & {
|
|
529
12
|
client?: typeof client;
|
|
530
13
|
};
|
|
531
14
|
}): Promise<AccountRepresentation>;
|
|
532
15
|
/**
|
|
533
16
|
* @summary Update account
|
|
534
|
-
* @link /account/
|
|
17
|
+
* {@link /account/}
|
|
535
18
|
*/
|
|
536
|
-
declare function updateAccount({ body, config }
|
|
537
|
-
body:
|
|
19
|
+
declare function updateAccount({ body, config, }: {
|
|
20
|
+
body: UpdateAccountMutationRequest;
|
|
538
21
|
config?: Partial<FetcherConfig> & {
|
|
539
22
|
client?: typeof client;
|
|
540
23
|
};
|
|
541
24
|
}): Promise<unknown>;
|
|
542
25
|
/**
|
|
543
26
|
* @summary Get applications
|
|
544
|
-
* @link /account/applications
|
|
27
|
+
* {@link /account/applications}
|
|
545
28
|
*/
|
|
546
|
-
declare function getApplications({ queryParams, config }
|
|
547
|
-
queryParams?:
|
|
548
|
-
"name"?: string;
|
|
549
|
-
};
|
|
29
|
+
declare function getApplications({ queryParams, config, }: {
|
|
30
|
+
queryParams?: GetApplicationsQueryParams;
|
|
550
31
|
config?: Partial<FetcherConfig> & {
|
|
551
32
|
client?: typeof client;
|
|
552
33
|
};
|
|
553
|
-
}): Promise<
|
|
34
|
+
}): Promise<GetApplications200>;
|
|
554
35
|
/**
|
|
555
36
|
* @summary Get consent
|
|
556
|
-
* @link /account/applications
|
|
37
|
+
* {@link /account/applications/:clientId/consent}
|
|
557
38
|
*/
|
|
558
|
-
declare function getConsent({ pathParams, config }
|
|
559
|
-
pathParams:
|
|
560
|
-
"clientId": string;
|
|
561
|
-
};
|
|
39
|
+
declare function getConsent({ pathParams: { clientId }, config, }: {
|
|
40
|
+
pathParams: GetConsentPathParams;
|
|
562
41
|
config?: Partial<FetcherConfig> & {
|
|
563
42
|
client?: typeof client;
|
|
564
43
|
};
|
|
565
44
|
}): Promise<ConsentRepresentation>;
|
|
566
45
|
/**
|
|
567
46
|
* @summary Create consent
|
|
568
|
-
* @link /account/applications
|
|
47
|
+
* {@link /account/applications/:clientId/consent}
|
|
569
48
|
*/
|
|
570
|
-
declare function createConsent({ pathParams, config }
|
|
571
|
-
pathParams:
|
|
572
|
-
"clientId": string;
|
|
573
|
-
};
|
|
49
|
+
declare function createConsent({ pathParams: { clientId }, config, }: {
|
|
50
|
+
pathParams: CreateConsentPathParams;
|
|
574
51
|
config?: Partial<FetcherConfig> & {
|
|
575
52
|
client?: typeof client;
|
|
576
53
|
};
|
|
577
54
|
}): Promise<ConsentRepresentation>;
|
|
578
55
|
/**
|
|
579
56
|
* @summary Update consent
|
|
580
|
-
* @link /account/applications
|
|
57
|
+
* {@link /account/applications/:clientId/consent}
|
|
581
58
|
*/
|
|
582
|
-
declare function updateConsent({ pathParams, config }
|
|
583
|
-
pathParams:
|
|
584
|
-
"clientId": string;
|
|
585
|
-
};
|
|
59
|
+
declare function updateConsent({ pathParams: { clientId }, config, }: {
|
|
60
|
+
pathParams: UpdateConsentPathParams;
|
|
586
61
|
config?: Partial<FetcherConfig> & {
|
|
587
62
|
client?: typeof client;
|
|
588
63
|
};
|
|
589
64
|
}): Promise<ConsentRepresentation>;
|
|
590
65
|
/**
|
|
591
66
|
* @summary Delete consent
|
|
592
|
-
* @link /account/applications
|
|
67
|
+
* {@link /account/applications/:clientId/consent}
|
|
593
68
|
*/
|
|
594
|
-
declare function deleteConsent({ pathParams, config }
|
|
595
|
-
pathParams:
|
|
596
|
-
"clientId": string;
|
|
597
|
-
};
|
|
69
|
+
declare function deleteConsent({ pathParams: { clientId }, config, }: {
|
|
70
|
+
pathParams: DeleteConsentPathParams;
|
|
598
71
|
config?: Partial<FetcherConfig> & {
|
|
599
72
|
client?: typeof client;
|
|
600
73
|
};
|
|
601
74
|
}): Promise<unknown>;
|
|
602
75
|
/**
|
|
603
|
-
* @summary Get credentials
|
|
604
76
|
* @description Get credentials for currently logged in user
|
|
605
|
-
* @
|
|
77
|
+
* @summary Get credentials
|
|
78
|
+
* {@link /account/credentials}
|
|
606
79
|
*/
|
|
607
|
-
declare function getCredentials({ queryParams, config }
|
|
608
|
-
queryParams?:
|
|
609
|
-
"type"?: string;
|
|
610
|
-
"user-credentials"?: boolean;
|
|
611
|
-
};
|
|
80
|
+
declare function getCredentials({ queryParams, config, }: {
|
|
81
|
+
queryParams?: GetCredentialsQueryParams;
|
|
612
82
|
config?: Partial<FetcherConfig> & {
|
|
613
83
|
client?: typeof client;
|
|
614
84
|
};
|
|
615
|
-
}): Promise<
|
|
85
|
+
}): Promise<GetCredentials200>;
|
|
616
86
|
/**
|
|
617
87
|
* @summary Delete the credential
|
|
618
|
-
* @link /account/credentials
|
|
88
|
+
* {@link /account/credentials/:credentialId}
|
|
619
89
|
*/
|
|
620
|
-
declare function deleteCredential({ pathParams, config }
|
|
621
|
-
pathParams:
|
|
622
|
-
"credentialId": string;
|
|
623
|
-
};
|
|
90
|
+
declare function deleteCredential({ pathParams: { credentialId }, config, }: {
|
|
91
|
+
pathParams: DeleteCredentialPathParams;
|
|
624
92
|
config?: Partial<FetcherConfig> & {
|
|
625
93
|
client?: typeof client;
|
|
626
94
|
};
|
|
627
95
|
}): Promise<unknown>;
|
|
628
96
|
/**
|
|
629
97
|
* @summary Update a user label of specified credential of current user
|
|
630
|
-
* @link /account/credentials
|
|
98
|
+
* {@link /account/credentials/:credentialId/label}
|
|
631
99
|
*/
|
|
632
|
-
declare function updateCredentialLabel({ pathParams, body, config }
|
|
633
|
-
pathParams:
|
|
634
|
-
|
|
635
|
-
};
|
|
636
|
-
body?: UpdateCredentialLabelData;
|
|
100
|
+
declare function updateCredentialLabel({ pathParams: { credentialId }, body, config, }: {
|
|
101
|
+
pathParams: UpdateCredentialLabelPathParams;
|
|
102
|
+
body?: UpdateCredentialLabelMutationRequest;
|
|
637
103
|
config?: Partial<FetcherConfig> & {
|
|
638
104
|
client?: typeof client;
|
|
639
105
|
};
|
|
640
106
|
}): Promise<unknown>;
|
|
641
107
|
/**
|
|
642
|
-
* @summary Get sessions
|
|
643
108
|
* @description Get sessions for currently logged in user
|
|
644
|
-
* @
|
|
109
|
+
* @summary Get sessions
|
|
110
|
+
* {@link /account/sessions}
|
|
645
111
|
*/
|
|
646
|
-
declare function getSessions({ config }
|
|
112
|
+
declare function getSessions({ config, }: {
|
|
647
113
|
config?: Partial<FetcherConfig> & {
|
|
648
114
|
client?: typeof client;
|
|
649
115
|
};
|
|
650
|
-
}): Promise<
|
|
116
|
+
}): Promise<GetSessions200>;
|
|
651
117
|
/**
|
|
652
118
|
* @summary Delete current session
|
|
653
|
-
* @link /account/sessions
|
|
119
|
+
* {@link /account/sessions}
|
|
654
120
|
*/
|
|
655
|
-
declare function deleteCurrentSession({ config }
|
|
121
|
+
declare function deleteCurrentSession({ config, }: {
|
|
656
122
|
config?: Partial<FetcherConfig> & {
|
|
657
123
|
client?: typeof client;
|
|
658
124
|
};
|
|
659
125
|
}): Promise<unknown>;
|
|
660
126
|
/**
|
|
661
|
-
* @summary Get devices
|
|
662
127
|
* @description Get devices for currently logged in user
|
|
663
|
-
* @
|
|
128
|
+
* @summary Get devices
|
|
129
|
+
* {@link /account/sessions/devices}
|
|
664
130
|
*/
|
|
665
|
-
declare function getDevices({ config }
|
|
131
|
+
declare function getDevices({ config, }: {
|
|
666
132
|
config?: Partial<FetcherConfig> & {
|
|
667
133
|
client?: typeof client;
|
|
668
134
|
};
|
|
669
|
-
}): Promise<
|
|
135
|
+
}): Promise<GetDevices200>;
|
|
670
136
|
/**
|
|
671
137
|
* @summary Delete the session
|
|
672
|
-
* @link /account/sessions
|
|
138
|
+
* {@link /account/sessions/:sessionId}
|
|
673
139
|
*/
|
|
674
|
-
declare function deleteSession({ pathParams, config }
|
|
675
|
-
pathParams:
|
|
676
|
-
"sessionId": string;
|
|
677
|
-
};
|
|
140
|
+
declare function deleteSession({ pathParams: { sessionId }, config, }: {
|
|
141
|
+
pathParams: DeleteSessionPathParams;
|
|
678
142
|
config?: Partial<FetcherConfig> & {
|
|
679
143
|
client?: typeof client;
|
|
680
144
|
};
|
|
681
145
|
}): Promise<unknown>;
|
|
682
146
|
/**
|
|
683
|
-
* @summary Get linked accounts
|
|
684
147
|
* @description Get linked accounts for currently logged in user
|
|
685
|
-
* @
|
|
148
|
+
* @summary Get linked accounts
|
|
149
|
+
* {@link /account/linked-accounts}
|
|
686
150
|
*/
|
|
687
|
-
declare function getLinkedAccounts({ config }
|
|
151
|
+
declare function getLinkedAccounts({ config, }: {
|
|
688
152
|
config?: Partial<FetcherConfig> & {
|
|
689
153
|
client?: typeof client;
|
|
690
154
|
};
|
|
691
|
-
}): Promise<
|
|
155
|
+
}): Promise<GetLinkedAccounts200>;
|
|
692
156
|
/**
|
|
693
|
-
* @summary Build account linking URI
|
|
694
157
|
* @description Build account linking URI
|
|
695
|
-
* @
|
|
158
|
+
* @summary Build account linking URI
|
|
159
|
+
* {@link /account/linked-accounts/:providerId}
|
|
696
160
|
*/
|
|
697
|
-
declare function buildLinkingUri({ pathParams, queryParams, config }
|
|
698
|
-
pathParams:
|
|
699
|
-
|
|
700
|
-
};
|
|
701
|
-
queryParams?: {
|
|
702
|
-
"redirectUri"?: string;
|
|
703
|
-
};
|
|
161
|
+
declare function buildLinkingUri({ pathParams: { providerId }, queryParams, config, }: {
|
|
162
|
+
pathParams: BuildLinkingUriPathParams;
|
|
163
|
+
queryParams: BuildLinkingUriQueryParams;
|
|
704
164
|
config?: Partial<FetcherConfig> & {
|
|
705
165
|
client?: typeof client;
|
|
706
166
|
};
|
|
707
167
|
}): Promise<AccountLinkUriRepresentation>;
|
|
708
168
|
/**
|
|
709
169
|
* @summary Delete the linked provider
|
|
710
|
-
* @link /account/linked-accounts
|
|
170
|
+
* {@link /account/linked-accounts/:providerId}
|
|
711
171
|
*/
|
|
712
|
-
declare function deleteLinkedProvider({ pathParams, config }
|
|
713
|
-
pathParams:
|
|
714
|
-
"providerId": string;
|
|
715
|
-
};
|
|
172
|
+
declare function deleteLinkedProvider({ pathParams: { providerId }, config, }: {
|
|
173
|
+
pathParams: DeleteLinkedProviderPathParams;
|
|
716
174
|
config?: Partial<FetcherConfig> & {
|
|
717
175
|
client?: typeof client;
|
|
718
176
|
};
|
|
719
177
|
}): Promise<unknown>;
|
|
720
178
|
/**
|
|
721
179
|
* @summary Get groups that this user is a member of
|
|
722
|
-
* @link /account/groups
|
|
180
|
+
* {@link /account/groups}
|
|
723
181
|
*/
|
|
724
|
-
declare function getGroups({ queryParams, config }
|
|
725
|
-
queryParams?:
|
|
726
|
-
"briefRepresentation"?: boolean;
|
|
727
|
-
};
|
|
182
|
+
declare function getGroups({ queryParams, config, }: {
|
|
183
|
+
queryParams?: GetGroupsQueryParams;
|
|
728
184
|
config?: Partial<FetcherConfig> & {
|
|
729
185
|
client?: typeof client;
|
|
730
186
|
};
|
|
731
|
-
}): Promise<
|
|
187
|
+
}): Promise<GetGroups200>;
|
|
732
188
|
/**
|
|
733
|
-
* @summary Get organizations
|
|
734
189
|
* @description Get organizations for currently logged in user
|
|
735
|
-
* @
|
|
190
|
+
* @summary Get organizations
|
|
191
|
+
* {@link /account/organizations}
|
|
736
192
|
*/
|
|
737
|
-
declare function getOrganizations({ config }
|
|
193
|
+
declare function getOrganizations({ config, }: {
|
|
738
194
|
config?: Partial<FetcherConfig> & {
|
|
739
195
|
client?: typeof client;
|
|
740
196
|
};
|
|
741
|
-
}): Promise<
|
|
197
|
+
}): Promise<GetOrganizations200>;
|
|
742
198
|
declare const operationsByPath: {
|
|
743
199
|
"GET /account/": typeof getAccount;
|
|
744
200
|
"POST /account/": typeof updateAccount;
|