keycloak-api 1.2.0 → 3.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 (66) hide show
  1. package/LICENSE +15 -0
  2. package/README.md +6 -2
  3. package/dist/account/components.cjs +19 -19
  4. package/dist/account/components.d.cts +252 -0
  5. package/dist/account/components.d.cts.map +1 -0
  6. package/dist/account/components.d.mts +17 -46
  7. package/dist/account/components.d.mts.map +1 -1
  8. package/dist/account/components.mjs +19 -19
  9. package/dist/account/schemas.cjs +15 -1
  10. package/dist/account/schemas.d.cts +2 -0
  11. package/dist/account/schemas.d.cts.map +1 -0
  12. package/dist/account/schemas.d.mts +1 -658
  13. package/dist/account/schemas.d.mts.map +1 -1
  14. package/dist/account/schemas.mjs +1 -1
  15. package/dist/account/types.d.cts +2 -0
  16. package/dist/account/types.d.cts.map +1 -0
  17. package/dist/account/types.d.mts +1 -488
  18. package/dist/account/types.d.mts.map +1 -1
  19. package/dist/admin/components.cjs +1414 -1307
  20. package/dist/admin/components.d.cts +5357 -0
  21. package/dist/admin/components.d.cts.map +1 -0
  22. package/dist/admin/components.d.mts +667 -2369
  23. package/dist/admin/components.d.mts.map +1 -1
  24. package/dist/admin/components.mjs +1414 -1307
  25. package/dist/admin/schemas.cjs +506 -1
  26. package/dist/admin/schemas.d.cts +2 -0
  27. package/dist/admin/schemas.d.cts.map +1 -0
  28. package/dist/admin/schemas.d.mts +1 -38304
  29. package/dist/admin/schemas.d.mts.map +1 -1
  30. package/dist/admin/schemas.mjs +1 -1
  31. package/dist/admin/types.cjs +3 -1
  32. package/dist/admin/types.d.cts +2 -0
  33. package/dist/admin/types.d.cts.map +1 -0
  34. package/dist/admin/types.d.mts +1 -14736
  35. package/dist/admin/types.d.mts.map +1 -1
  36. package/dist/admin/types.mjs +1 -1
  37. package/dist/{fetcher-caoilmfh.d.ts → fetcher-gzwr3hvv.d.ts} +6 -4
  38. package/dist/fetcher-gzwr3hvv.d.ts.map +1 -0
  39. package/dist/fetcher-jnxrupw5.cjs +117 -0
  40. package/dist/fetcher-jvvyxhrh.js +117 -0
  41. package/dist/index.cjs +27 -22
  42. package/dist/index.d.cts +483 -0
  43. package/dist/index.d.cts.map +1 -0
  44. package/dist/index.d.mts +483 -0
  45. package/dist/index.d.mts.map +1 -0
  46. package/dist/index.d.ts +9178 -7344
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.mjs +32 -25
  49. package/dist/{schemas-hxf19s75.cjs → schemas-c2a8hojk.cjs} +3424 -140
  50. package/dist/schemas-c2hogfk8.d.ts +877 -0
  51. package/dist/schemas-c2hogfk8.d.ts.map +1 -0
  52. package/dist/{schemas-u9zsxojw.js → schemas-eezr3mke.js} +2920 -141
  53. package/dist/schemas-jz60alpw.d.ts +47666 -0
  54. package/dist/schemas-jz60alpw.d.ts.map +1 -0
  55. package/dist/{schemas-jfivc3px.cjs → schemas-l4t53apr.cjs} +74 -3
  56. package/dist/{schemas-mx94q7di.js → schemas-oe6lnvlj.js} +61 -4
  57. package/dist/{types-fb17fnxy.cjs → types-f8akg0ce.cjs} +12 -0
  58. package/dist/types-hfm9r5a8.d.ts +602 -0
  59. package/dist/types-hfm9r5a8.d.ts.map +1 -0
  60. package/dist/{types-pvupsyob.js → types-j1j8d5i8.js} +11 -1
  61. package/dist/types-wu4zpk4a.d.ts +17601 -0
  62. package/dist/types-wu4zpk4a.d.ts.map +1 -0
  63. package/package.json +70 -32
  64. package/dist/fetcher-aq8636lm.cjs +0 -65
  65. package/dist/fetcher-caoilmfh.d.ts.map +0 -1
  66. package/dist/fetcher-letfyywe.js +0 -65
@@ -30,9 +30,9 @@ const organizationRepresentationSchema = z__namespace.object({
30
30
  domains: z__namespace.array(z__namespace.string()).optional()
31
31
  });
32
32
  const groupRepresentationSchema = z__namespace.object({
33
- access: z__namespace.object({}).catchall(z__namespace.unknown()).optional(),
34
- attributes: z__namespace.object({}).catchall(z__namespace.unknown()).optional(),
35
- clientRoles: z__namespace.object({}).catchall(z__namespace.unknown()).optional(),
33
+ access: z__namespace.looseObject({}).optional(),
34
+ attributes: z__namespace.looseObject({}).optional(),
35
+ clientRoles: z__namespace.looseObject({}).optional(),
36
36
  id: z__namespace.string().optional(),
37
37
  name: z__namespace.string().optional(),
38
38
  path: z__namespace.string().optional(),
@@ -147,35 +147,63 @@ const deviceRepresentationSchema = z__namespace.object({
147
147
  const getAccountQueryUserProfileMetadataSchema = z__namespace.boolean().optional();
148
148
  const getAccountStatus200Schema = accountRepresentationSchema;
149
149
  const getAccountResponseSchema = getAccountStatus200Schema;
150
+ const getAccountQuerySchema = z__namespace.object({
151
+ userProfileMetadata: z__namespace.boolean().optional()
152
+ });
150
153
  const updateAccountStatus204Schema = z__namespace.unknown();
151
154
  const updateAccountResponseSchema = updateAccountStatus204Schema;
152
155
  const updateAccountBodySchema = accountRepresentationSchema;
153
156
  const getApplicationsQueryNameSchema = z__namespace.string().optional();
154
157
  const getApplicationsStatus200Schema = z__namespace.array(clientRepresentationSchema);
155
158
  const getApplicationsResponseSchema = getApplicationsStatus200Schema;
159
+ const getApplicationsQuerySchema = z__namespace.object({
160
+ name: z__namespace.string().optional()
161
+ });
156
162
  const getConsentPathClientIdSchema = z__namespace.string().describe("client id");
157
163
  const getConsentStatus200Schema = consentRepresentationSchema;
158
164
  const getConsentResponseSchema = getConsentStatus200Schema;
165
+ const getConsentPathSchema = z__namespace.object({
166
+ clientId: z__namespace.string().describe("client id")
167
+ });
159
168
  const createConsentPathClientIdSchema = z__namespace.string().describe("client id");
160
169
  const createConsentStatus200Schema = consentRepresentationSchema;
161
170
  const createConsentResponseSchema = createConsentStatus200Schema;
171
+ const createConsentPathSchema = z__namespace.object({
172
+ clientId: z__namespace.string().describe("client id")
173
+ });
162
174
  const updateConsentPathClientIdSchema = z__namespace.string().describe("client id");
163
175
  const updateConsentStatus200Schema = consentRepresentationSchema;
164
176
  const updateConsentResponseSchema = updateConsentStatus200Schema;
177
+ const updateConsentPathSchema = z__namespace.object({
178
+ clientId: z__namespace.string().describe("client id")
179
+ });
165
180
  const deleteConsentPathClientIdSchema = z__namespace.string().describe("client id");
166
181
  const deleteConsentStatus204Schema = z__namespace.unknown();
167
182
  const deleteConsentResponseSchema = deleteConsentStatus204Schema;
183
+ const deleteConsentPathSchema = z__namespace.object({
184
+ clientId: z__namespace.string().describe("client id")
185
+ });
168
186
  const getCredentialsQueryTypeSchema = z__namespace.string().optional();
169
187
  const getCredentialsQueryUserCredentialsSchema = z__namespace.boolean().optional();
170
188
  const getCredentialsStatus200Schema = z__namespace.array(credentialRepresentationSchema);
171
189
  const getCredentialsResponseSchema = getCredentialsStatus200Schema;
190
+ const getCredentialsQuerySchema = z__namespace.object({
191
+ type: z__namespace.string().optional(),
192
+ "user-credentials": z__namespace.boolean().optional()
193
+ });
172
194
  const deleteCredentialPathCredentialIdSchema = z__namespace.string().describe("Credential ID");
173
195
  const deleteCredentialStatus204Schema = z__namespace.unknown();
174
196
  const deleteCredentialResponseSchema = deleteCredentialStatus204Schema;
197
+ const deleteCredentialPathSchema = z__namespace.object({
198
+ credentialId: z__namespace.string().describe("Credential ID")
199
+ });
175
200
  const updateCredentialLabelPathCredentialIdSchema = z__namespace.string().describe("Credential ID");
176
201
  const updateCredentialLabelStatus204Schema = z__namespace.unknown();
177
202
  const updateCredentialLabelResponseSchema = updateCredentialLabelStatus204Schema;
178
203
  const updateCredentialLabelBodySchema = z__namespace.string().optional();
204
+ const updateCredentialLabelPathSchema = z__namespace.object({
205
+ credentialId: z__namespace.string().describe("Credential ID")
206
+ });
179
207
  const getSessionsStatus200Schema = z__namespace.array(sessionRepresentationSchema);
180
208
  const getSessionsResponseSchema = getSessionsStatus200Schema;
181
209
  const deleteCurrentSessionStatus204Schema = z__namespace.unknown();
@@ -185,18 +213,33 @@ const getDevicesResponseSchema = getDevicesStatus200Schema;
185
213
  const deleteSessionPathSessionIdSchema = z__namespace.string().describe("Session ID");
186
214
  const deleteSessionStatus204Schema = z__namespace.unknown();
187
215
  const deleteSessionResponseSchema = deleteSessionStatus204Schema;
216
+ const deleteSessionPathSchema = z__namespace.object({
217
+ sessionId: z__namespace.string().describe("Session ID")
218
+ });
188
219
  const getLinkedAccountsStatus200Schema = z__namespace.array(linkedAccountRepresentationSchema);
189
220
  const getLinkedAccountsResponseSchema = getLinkedAccountsStatus200Schema;
190
221
  const buildLinkingUriPathProviderIdSchema = z__namespace.string().describe("Provider ID");
191
222
  const buildLinkingUriQueryRedirectUriSchema = z__namespace.string().describe("Redirect URI to return to after account linking");
192
223
  const buildLinkingUriStatus200Schema = accountLinkUriRepresentationSchema;
193
224
  const buildLinkingUriResponseSchema = buildLinkingUriStatus200Schema;
225
+ const buildLinkingUriPathSchema = z__namespace.object({
226
+ providerId: z__namespace.string().describe("Provider ID")
227
+ });
228
+ const buildLinkingUriQuerySchema = z__namespace.object({
229
+ redirectUri: z__namespace.string().describe("Redirect URI to return to after account linking")
230
+ });
194
231
  const deleteLinkedProviderPathProviderIdSchema = z__namespace.string().describe("Provider ID");
195
232
  const deleteLinkedProviderStatus204Schema = z__namespace.unknown();
196
233
  const deleteLinkedProviderResponseSchema = deleteLinkedProviderStatus204Schema;
234
+ const deleteLinkedProviderPathSchema = z__namespace.object({
235
+ providerId: z__namespace.string().describe("Provider ID")
236
+ });
197
237
  const getGroupsQueryBriefRepresentationSchema = z__namespace.boolean().optional().default(true);
198
238
  const getGroupsStatus200Schema = z__namespace.array(z__namespace.lazy(()=>groupRepresentationSchema));
199
239
  const getGroupsResponseSchema = getGroupsStatus200Schema;
240
+ const getGroupsQuerySchema = z__namespace.object({
241
+ briefRepresentation: z__namespace.boolean().optional().default(true)
242
+ });
200
243
  const getOrganizationsStatus200Schema = z__namespace.array(organizationRepresentationSchema);
201
244
  const getOrganizationsResponseSchema = getOrganizationsStatus200Schema;
202
245
 
@@ -205,41 +248,52 @@ var schemas = {
205
248
  accountLinkUriRepresentationSchema: accountLinkUriRepresentationSchema,
206
249
  accountRepresentationSchema: accountRepresentationSchema,
207
250
  buildLinkingUriPathProviderIdSchema: buildLinkingUriPathProviderIdSchema,
251
+ buildLinkingUriPathSchema: buildLinkingUriPathSchema,
208
252
  buildLinkingUriQueryRedirectUriSchema: buildLinkingUriQueryRedirectUriSchema,
253
+ buildLinkingUriQuerySchema: buildLinkingUriQuerySchema,
209
254
  buildLinkingUriResponseSchema: buildLinkingUriResponseSchema,
210
255
  buildLinkingUriStatus200Schema: buildLinkingUriStatus200Schema,
211
256
  clientRepresentationSchema: clientRepresentationSchema,
212
257
  consentRepresentationSchema: consentRepresentationSchema,
213
258
  consentScopeRepresentationSchema: consentScopeRepresentationSchema,
214
259
  createConsentPathClientIdSchema: createConsentPathClientIdSchema,
260
+ createConsentPathSchema: createConsentPathSchema,
215
261
  createConsentResponseSchema: createConsentResponseSchema,
216
262
  createConsentStatus200Schema: createConsentStatus200Schema,
217
263
  credentialMetadataRepresentationSchema: credentialMetadataRepresentationSchema,
218
264
  credentialRepresentationSchema: credentialRepresentationSchema,
219
265
  deleteConsentPathClientIdSchema: deleteConsentPathClientIdSchema,
266
+ deleteConsentPathSchema: deleteConsentPathSchema,
220
267
  deleteConsentResponseSchema: deleteConsentResponseSchema,
221
268
  deleteConsentStatus204Schema: deleteConsentStatus204Schema,
222
269
  deleteCredentialPathCredentialIdSchema: deleteCredentialPathCredentialIdSchema,
270
+ deleteCredentialPathSchema: deleteCredentialPathSchema,
223
271
  deleteCredentialResponseSchema: deleteCredentialResponseSchema,
224
272
  deleteCredentialStatus204Schema: deleteCredentialStatus204Schema,
225
273
  deleteCurrentSessionResponseSchema: deleteCurrentSessionResponseSchema,
226
274
  deleteCurrentSessionStatus204Schema: deleteCurrentSessionStatus204Schema,
227
275
  deleteLinkedProviderPathProviderIdSchema: deleteLinkedProviderPathProviderIdSchema,
276
+ deleteLinkedProviderPathSchema: deleteLinkedProviderPathSchema,
228
277
  deleteLinkedProviderResponseSchema: deleteLinkedProviderResponseSchema,
229
278
  deleteLinkedProviderStatus204Schema: deleteLinkedProviderStatus204Schema,
279
+ deleteSessionPathSchema: deleteSessionPathSchema,
230
280
  deleteSessionPathSessionIdSchema: deleteSessionPathSessionIdSchema,
231
281
  deleteSessionResponseSchema: deleteSessionResponseSchema,
232
282
  deleteSessionStatus204Schema: deleteSessionStatus204Schema,
233
283
  deviceRepresentationSchema: deviceRepresentationSchema,
284
+ getAccountQuerySchema: getAccountQuerySchema,
234
285
  getAccountQueryUserProfileMetadataSchema: getAccountQueryUserProfileMetadataSchema,
235
286
  getAccountResponseSchema: getAccountResponseSchema,
236
287
  getAccountStatus200Schema: getAccountStatus200Schema,
237
288
  getApplicationsQueryNameSchema: getApplicationsQueryNameSchema,
289
+ getApplicationsQuerySchema: getApplicationsQuerySchema,
238
290
  getApplicationsResponseSchema: getApplicationsResponseSchema,
239
291
  getApplicationsStatus200Schema: getApplicationsStatus200Schema,
240
292
  getConsentPathClientIdSchema: getConsentPathClientIdSchema,
293
+ getConsentPathSchema: getConsentPathSchema,
241
294
  getConsentResponseSchema: getConsentResponseSchema,
242
295
  getConsentStatus200Schema: getConsentStatus200Schema,
296
+ getCredentialsQuerySchema: getCredentialsQuerySchema,
243
297
  getCredentialsQueryTypeSchema: getCredentialsQueryTypeSchema,
244
298
  getCredentialsQueryUserCredentialsSchema: getCredentialsQueryUserCredentialsSchema,
245
299
  getCredentialsResponseSchema: getCredentialsResponseSchema,
@@ -247,6 +301,7 @@ var schemas = {
247
301
  getDevicesResponseSchema: getDevicesResponseSchema,
248
302
  getDevicesStatus200Schema: getDevicesStatus200Schema,
249
303
  getGroupsQueryBriefRepresentationSchema: getGroupsQueryBriefRepresentationSchema,
304
+ getGroupsQuerySchema: getGroupsQuerySchema,
250
305
  getGroupsResponseSchema: getGroupsResponseSchema,
251
306
  getGroupsStatus200Schema: getGroupsStatus200Schema,
252
307
  getLinkedAccountsResponseSchema: getLinkedAccountsResponseSchema,
@@ -263,10 +318,12 @@ var schemas = {
263
318
  updateAccountResponseSchema: updateAccountResponseSchema,
264
319
  updateAccountStatus204Schema: updateAccountStatus204Schema,
265
320
  updateConsentPathClientIdSchema: updateConsentPathClientIdSchema,
321
+ updateConsentPathSchema: updateConsentPathSchema,
266
322
  updateConsentResponseSchema: updateConsentResponseSchema,
267
323
  updateConsentStatus200Schema: updateConsentStatus200Schema,
268
324
  updateCredentialLabelBodySchema: updateCredentialLabelBodySchema,
269
325
  updateCredentialLabelPathCredentialIdSchema: updateCredentialLabelPathCredentialIdSchema,
326
+ updateCredentialLabelPathSchema: updateCredentialLabelPathSchema,
270
327
  updateCredentialLabelResponseSchema: updateCredentialLabelResponseSchema,
271
328
  updateCredentialLabelStatus204Schema: updateCredentialLabelStatus204Schema,
272
329
  userCredentialMetadataRepresentationSchema: userCredentialMetadataRepresentationSchema,
@@ -278,41 +335,52 @@ var schemas = {
278
335
  exports.accountLinkUriRepresentationSchema = accountLinkUriRepresentationSchema;
279
336
  exports.accountRepresentationSchema = accountRepresentationSchema;
280
337
  exports.buildLinkingUriPathProviderIdSchema = buildLinkingUriPathProviderIdSchema;
338
+ exports.buildLinkingUriPathSchema = buildLinkingUriPathSchema;
281
339
  exports.buildLinkingUriQueryRedirectUriSchema = buildLinkingUriQueryRedirectUriSchema;
340
+ exports.buildLinkingUriQuerySchema = buildLinkingUriQuerySchema;
282
341
  exports.buildLinkingUriResponseSchema = buildLinkingUriResponseSchema;
283
342
  exports.buildLinkingUriStatus200Schema = buildLinkingUriStatus200Schema;
284
343
  exports.clientRepresentationSchema = clientRepresentationSchema;
285
344
  exports.consentRepresentationSchema = consentRepresentationSchema;
286
345
  exports.consentScopeRepresentationSchema = consentScopeRepresentationSchema;
287
346
  exports.createConsentPathClientIdSchema = createConsentPathClientIdSchema;
347
+ exports.createConsentPathSchema = createConsentPathSchema;
288
348
  exports.createConsentResponseSchema = createConsentResponseSchema;
289
349
  exports.createConsentStatus200Schema = createConsentStatus200Schema;
290
350
  exports.credentialMetadataRepresentationSchema = credentialMetadataRepresentationSchema;
291
351
  exports.credentialRepresentationSchema = credentialRepresentationSchema;
292
352
  exports.deleteConsentPathClientIdSchema = deleteConsentPathClientIdSchema;
353
+ exports.deleteConsentPathSchema = deleteConsentPathSchema;
293
354
  exports.deleteConsentResponseSchema = deleteConsentResponseSchema;
294
355
  exports.deleteConsentStatus204Schema = deleteConsentStatus204Schema;
295
356
  exports.deleteCredentialPathCredentialIdSchema = deleteCredentialPathCredentialIdSchema;
357
+ exports.deleteCredentialPathSchema = deleteCredentialPathSchema;
296
358
  exports.deleteCredentialResponseSchema = deleteCredentialResponseSchema;
297
359
  exports.deleteCredentialStatus204Schema = deleteCredentialStatus204Schema;
298
360
  exports.deleteCurrentSessionResponseSchema = deleteCurrentSessionResponseSchema;
299
361
  exports.deleteCurrentSessionStatus204Schema = deleteCurrentSessionStatus204Schema;
300
362
  exports.deleteLinkedProviderPathProviderIdSchema = deleteLinkedProviderPathProviderIdSchema;
363
+ exports.deleteLinkedProviderPathSchema = deleteLinkedProviderPathSchema;
301
364
  exports.deleteLinkedProviderResponseSchema = deleteLinkedProviderResponseSchema;
302
365
  exports.deleteLinkedProviderStatus204Schema = deleteLinkedProviderStatus204Schema;
366
+ exports.deleteSessionPathSchema = deleteSessionPathSchema;
303
367
  exports.deleteSessionPathSessionIdSchema = deleteSessionPathSessionIdSchema;
304
368
  exports.deleteSessionResponseSchema = deleteSessionResponseSchema;
305
369
  exports.deleteSessionStatus204Schema = deleteSessionStatus204Schema;
306
370
  exports.deviceRepresentationSchema = deviceRepresentationSchema;
371
+ exports.getAccountQuerySchema = getAccountQuerySchema;
307
372
  exports.getAccountQueryUserProfileMetadataSchema = getAccountQueryUserProfileMetadataSchema;
308
373
  exports.getAccountResponseSchema = getAccountResponseSchema;
309
374
  exports.getAccountStatus200Schema = getAccountStatus200Schema;
310
375
  exports.getApplicationsQueryNameSchema = getApplicationsQueryNameSchema;
376
+ exports.getApplicationsQuerySchema = getApplicationsQuerySchema;
311
377
  exports.getApplicationsResponseSchema = getApplicationsResponseSchema;
312
378
  exports.getApplicationsStatus200Schema = getApplicationsStatus200Schema;
313
379
  exports.getConsentPathClientIdSchema = getConsentPathClientIdSchema;
380
+ exports.getConsentPathSchema = getConsentPathSchema;
314
381
  exports.getConsentResponseSchema = getConsentResponseSchema;
315
382
  exports.getConsentStatus200Schema = getConsentStatus200Schema;
383
+ exports.getCredentialsQuerySchema = getCredentialsQuerySchema;
316
384
  exports.getCredentialsQueryTypeSchema = getCredentialsQueryTypeSchema;
317
385
  exports.getCredentialsQueryUserCredentialsSchema = getCredentialsQueryUserCredentialsSchema;
318
386
  exports.getCredentialsResponseSchema = getCredentialsResponseSchema;
@@ -320,6 +388,7 @@ exports.getCredentialsStatus200Schema = getCredentialsStatus200Schema;
320
388
  exports.getDevicesResponseSchema = getDevicesResponseSchema;
321
389
  exports.getDevicesStatus200Schema = getDevicesStatus200Schema;
322
390
  exports.getGroupsQueryBriefRepresentationSchema = getGroupsQueryBriefRepresentationSchema;
391
+ exports.getGroupsQuerySchema = getGroupsQuerySchema;
323
392
  exports.getGroupsResponseSchema = getGroupsResponseSchema;
324
393
  exports.getGroupsStatus200Schema = getGroupsStatus200Schema;
325
394
  exports.getLinkedAccountsResponseSchema = getLinkedAccountsResponseSchema;
@@ -337,10 +406,12 @@ exports.updateAccountBodySchema = updateAccountBodySchema;
337
406
  exports.updateAccountResponseSchema = updateAccountResponseSchema;
338
407
  exports.updateAccountStatus204Schema = updateAccountStatus204Schema;
339
408
  exports.updateConsentPathClientIdSchema = updateConsentPathClientIdSchema;
409
+ exports.updateConsentPathSchema = updateConsentPathSchema;
340
410
  exports.updateConsentResponseSchema = updateConsentResponseSchema;
341
411
  exports.updateConsentStatus200Schema = updateConsentStatus200Schema;
342
412
  exports.updateCredentialLabelBodySchema = updateCredentialLabelBodySchema;
343
413
  exports.updateCredentialLabelPathCredentialIdSchema = updateCredentialLabelPathCredentialIdSchema;
414
+ exports.updateCredentialLabelPathSchema = updateCredentialLabelPathSchema;
344
415
  exports.updateCredentialLabelResponseSchema = updateCredentialLabelResponseSchema;
345
416
  exports.updateCredentialLabelStatus204Schema = updateCredentialLabelStatus204Schema;
346
417
  exports.userCredentialMetadataRepresentationSchema = userCredentialMetadataRepresentationSchema;
@@ -10,9 +10,9 @@ const organizationRepresentationSchema = z.object({
10
10
  domains: z.array(z.string()).optional()
11
11
  });
12
12
  const groupRepresentationSchema = z.object({
13
- access: z.object({}).catchall(z.unknown()).optional(),
14
- attributes: z.object({}).catchall(z.unknown()).optional(),
15
- clientRoles: z.object({}).catchall(z.unknown()).optional(),
13
+ access: z.looseObject({}).optional(),
14
+ attributes: z.looseObject({}).optional(),
15
+ clientRoles: z.looseObject({}).optional(),
16
16
  id: z.string().optional(),
17
17
  name: z.string().optional(),
18
18
  path: z.string().optional(),
@@ -127,35 +127,63 @@ const deviceRepresentationSchema = z.object({
127
127
  const getAccountQueryUserProfileMetadataSchema = z.boolean().optional();
128
128
  const getAccountStatus200Schema = accountRepresentationSchema;
129
129
  const getAccountResponseSchema = getAccountStatus200Schema;
130
+ const getAccountQuerySchema = z.object({
131
+ userProfileMetadata: z.boolean().optional()
132
+ });
130
133
  const updateAccountStatus204Schema = z.unknown();
131
134
  const updateAccountResponseSchema = updateAccountStatus204Schema;
132
135
  const updateAccountBodySchema = accountRepresentationSchema;
133
136
  const getApplicationsQueryNameSchema = z.string().optional();
134
137
  const getApplicationsStatus200Schema = z.array(clientRepresentationSchema);
135
138
  const getApplicationsResponseSchema = getApplicationsStatus200Schema;
139
+ const getApplicationsQuerySchema = z.object({
140
+ name: z.string().optional()
141
+ });
136
142
  const getConsentPathClientIdSchema = z.string().describe("client id");
137
143
  const getConsentStatus200Schema = consentRepresentationSchema;
138
144
  const getConsentResponseSchema = getConsentStatus200Schema;
145
+ const getConsentPathSchema = z.object({
146
+ clientId: z.string().describe("client id")
147
+ });
139
148
  const createConsentPathClientIdSchema = z.string().describe("client id");
140
149
  const createConsentStatus200Schema = consentRepresentationSchema;
141
150
  const createConsentResponseSchema = createConsentStatus200Schema;
151
+ const createConsentPathSchema = z.object({
152
+ clientId: z.string().describe("client id")
153
+ });
142
154
  const updateConsentPathClientIdSchema = z.string().describe("client id");
143
155
  const updateConsentStatus200Schema = consentRepresentationSchema;
144
156
  const updateConsentResponseSchema = updateConsentStatus200Schema;
157
+ const updateConsentPathSchema = z.object({
158
+ clientId: z.string().describe("client id")
159
+ });
145
160
  const deleteConsentPathClientIdSchema = z.string().describe("client id");
146
161
  const deleteConsentStatus204Schema = z.unknown();
147
162
  const deleteConsentResponseSchema = deleteConsentStatus204Schema;
163
+ const deleteConsentPathSchema = z.object({
164
+ clientId: z.string().describe("client id")
165
+ });
148
166
  const getCredentialsQueryTypeSchema = z.string().optional();
149
167
  const getCredentialsQueryUserCredentialsSchema = z.boolean().optional();
150
168
  const getCredentialsStatus200Schema = z.array(credentialRepresentationSchema);
151
169
  const getCredentialsResponseSchema = getCredentialsStatus200Schema;
170
+ const getCredentialsQuerySchema = z.object({
171
+ type: z.string().optional(),
172
+ "user-credentials": z.boolean().optional()
173
+ });
152
174
  const deleteCredentialPathCredentialIdSchema = z.string().describe("Credential ID");
153
175
  const deleteCredentialStatus204Schema = z.unknown();
154
176
  const deleteCredentialResponseSchema = deleteCredentialStatus204Schema;
177
+ const deleteCredentialPathSchema = z.object({
178
+ credentialId: z.string().describe("Credential ID")
179
+ });
155
180
  const updateCredentialLabelPathCredentialIdSchema = z.string().describe("Credential ID");
156
181
  const updateCredentialLabelStatus204Schema = z.unknown();
157
182
  const updateCredentialLabelResponseSchema = updateCredentialLabelStatus204Schema;
158
183
  const updateCredentialLabelBodySchema = z.string().optional();
184
+ const updateCredentialLabelPathSchema = z.object({
185
+ credentialId: z.string().describe("Credential ID")
186
+ });
159
187
  const getSessionsStatus200Schema = z.array(sessionRepresentationSchema);
160
188
  const getSessionsResponseSchema = getSessionsStatus200Schema;
161
189
  const deleteCurrentSessionStatus204Schema = z.unknown();
@@ -165,18 +193,33 @@ const getDevicesResponseSchema = getDevicesStatus200Schema;
165
193
  const deleteSessionPathSessionIdSchema = z.string().describe("Session ID");
166
194
  const deleteSessionStatus204Schema = z.unknown();
167
195
  const deleteSessionResponseSchema = deleteSessionStatus204Schema;
196
+ const deleteSessionPathSchema = z.object({
197
+ sessionId: z.string().describe("Session ID")
198
+ });
168
199
  const getLinkedAccountsStatus200Schema = z.array(linkedAccountRepresentationSchema);
169
200
  const getLinkedAccountsResponseSchema = getLinkedAccountsStatus200Schema;
170
201
  const buildLinkingUriPathProviderIdSchema = z.string().describe("Provider ID");
171
202
  const buildLinkingUriQueryRedirectUriSchema = z.string().describe("Redirect URI to return to after account linking");
172
203
  const buildLinkingUriStatus200Schema = accountLinkUriRepresentationSchema;
173
204
  const buildLinkingUriResponseSchema = buildLinkingUriStatus200Schema;
205
+ const buildLinkingUriPathSchema = z.object({
206
+ providerId: z.string().describe("Provider ID")
207
+ });
208
+ const buildLinkingUriQuerySchema = z.object({
209
+ redirectUri: z.string().describe("Redirect URI to return to after account linking")
210
+ });
174
211
  const deleteLinkedProviderPathProviderIdSchema = z.string().describe("Provider ID");
175
212
  const deleteLinkedProviderStatus204Schema = z.unknown();
176
213
  const deleteLinkedProviderResponseSchema = deleteLinkedProviderStatus204Schema;
214
+ const deleteLinkedProviderPathSchema = z.object({
215
+ providerId: z.string().describe("Provider ID")
216
+ });
177
217
  const getGroupsQueryBriefRepresentationSchema = z.boolean().optional().default(true);
178
218
  const getGroupsStatus200Schema = z.array(z.lazy(()=>groupRepresentationSchema));
179
219
  const getGroupsResponseSchema = getGroupsStatus200Schema;
220
+ const getGroupsQuerySchema = z.object({
221
+ briefRepresentation: z.boolean().optional().default(true)
222
+ });
180
223
  const getOrganizationsStatus200Schema = z.array(organizationRepresentationSchema);
181
224
  const getOrganizationsResponseSchema = getOrganizationsStatus200Schema;
182
225
 
@@ -185,41 +228,52 @@ var schemas = {
185
228
  accountLinkUriRepresentationSchema: accountLinkUriRepresentationSchema,
186
229
  accountRepresentationSchema: accountRepresentationSchema,
187
230
  buildLinkingUriPathProviderIdSchema: buildLinkingUriPathProviderIdSchema,
231
+ buildLinkingUriPathSchema: buildLinkingUriPathSchema,
188
232
  buildLinkingUriQueryRedirectUriSchema: buildLinkingUriQueryRedirectUriSchema,
233
+ buildLinkingUriQuerySchema: buildLinkingUriQuerySchema,
189
234
  buildLinkingUriResponseSchema: buildLinkingUriResponseSchema,
190
235
  buildLinkingUriStatus200Schema: buildLinkingUriStatus200Schema,
191
236
  clientRepresentationSchema: clientRepresentationSchema,
192
237
  consentRepresentationSchema: consentRepresentationSchema,
193
238
  consentScopeRepresentationSchema: consentScopeRepresentationSchema,
194
239
  createConsentPathClientIdSchema: createConsentPathClientIdSchema,
240
+ createConsentPathSchema: createConsentPathSchema,
195
241
  createConsentResponseSchema: createConsentResponseSchema,
196
242
  createConsentStatus200Schema: createConsentStatus200Schema,
197
243
  credentialMetadataRepresentationSchema: credentialMetadataRepresentationSchema,
198
244
  credentialRepresentationSchema: credentialRepresentationSchema,
199
245
  deleteConsentPathClientIdSchema: deleteConsentPathClientIdSchema,
246
+ deleteConsentPathSchema: deleteConsentPathSchema,
200
247
  deleteConsentResponseSchema: deleteConsentResponseSchema,
201
248
  deleteConsentStatus204Schema: deleteConsentStatus204Schema,
202
249
  deleteCredentialPathCredentialIdSchema: deleteCredentialPathCredentialIdSchema,
250
+ deleteCredentialPathSchema: deleteCredentialPathSchema,
203
251
  deleteCredentialResponseSchema: deleteCredentialResponseSchema,
204
252
  deleteCredentialStatus204Schema: deleteCredentialStatus204Schema,
205
253
  deleteCurrentSessionResponseSchema: deleteCurrentSessionResponseSchema,
206
254
  deleteCurrentSessionStatus204Schema: deleteCurrentSessionStatus204Schema,
207
255
  deleteLinkedProviderPathProviderIdSchema: deleteLinkedProviderPathProviderIdSchema,
256
+ deleteLinkedProviderPathSchema: deleteLinkedProviderPathSchema,
208
257
  deleteLinkedProviderResponseSchema: deleteLinkedProviderResponseSchema,
209
258
  deleteLinkedProviderStatus204Schema: deleteLinkedProviderStatus204Schema,
259
+ deleteSessionPathSchema: deleteSessionPathSchema,
210
260
  deleteSessionPathSessionIdSchema: deleteSessionPathSessionIdSchema,
211
261
  deleteSessionResponseSchema: deleteSessionResponseSchema,
212
262
  deleteSessionStatus204Schema: deleteSessionStatus204Schema,
213
263
  deviceRepresentationSchema: deviceRepresentationSchema,
264
+ getAccountQuerySchema: getAccountQuerySchema,
214
265
  getAccountQueryUserProfileMetadataSchema: getAccountQueryUserProfileMetadataSchema,
215
266
  getAccountResponseSchema: getAccountResponseSchema,
216
267
  getAccountStatus200Schema: getAccountStatus200Schema,
217
268
  getApplicationsQueryNameSchema: getApplicationsQueryNameSchema,
269
+ getApplicationsQuerySchema: getApplicationsQuerySchema,
218
270
  getApplicationsResponseSchema: getApplicationsResponseSchema,
219
271
  getApplicationsStatus200Schema: getApplicationsStatus200Schema,
220
272
  getConsentPathClientIdSchema: getConsentPathClientIdSchema,
273
+ getConsentPathSchema: getConsentPathSchema,
221
274
  getConsentResponseSchema: getConsentResponseSchema,
222
275
  getConsentStatus200Schema: getConsentStatus200Schema,
276
+ getCredentialsQuerySchema: getCredentialsQuerySchema,
223
277
  getCredentialsQueryTypeSchema: getCredentialsQueryTypeSchema,
224
278
  getCredentialsQueryUserCredentialsSchema: getCredentialsQueryUserCredentialsSchema,
225
279
  getCredentialsResponseSchema: getCredentialsResponseSchema,
@@ -227,6 +281,7 @@ var schemas = {
227
281
  getDevicesResponseSchema: getDevicesResponseSchema,
228
282
  getDevicesStatus200Schema: getDevicesStatus200Schema,
229
283
  getGroupsQueryBriefRepresentationSchema: getGroupsQueryBriefRepresentationSchema,
284
+ getGroupsQuerySchema: getGroupsQuerySchema,
230
285
  getGroupsResponseSchema: getGroupsResponseSchema,
231
286
  getGroupsStatus200Schema: getGroupsStatus200Schema,
232
287
  getLinkedAccountsResponseSchema: getLinkedAccountsResponseSchema,
@@ -243,10 +298,12 @@ var schemas = {
243
298
  updateAccountResponseSchema: updateAccountResponseSchema,
244
299
  updateAccountStatus204Schema: updateAccountStatus204Schema,
245
300
  updateConsentPathClientIdSchema: updateConsentPathClientIdSchema,
301
+ updateConsentPathSchema: updateConsentPathSchema,
246
302
  updateConsentResponseSchema: updateConsentResponseSchema,
247
303
  updateConsentStatus200Schema: updateConsentStatus200Schema,
248
304
  updateCredentialLabelBodySchema: updateCredentialLabelBodySchema,
249
305
  updateCredentialLabelPathCredentialIdSchema: updateCredentialLabelPathCredentialIdSchema,
306
+ updateCredentialLabelPathSchema: updateCredentialLabelPathSchema,
250
307
  updateCredentialLabelResponseSchema: updateCredentialLabelResponseSchema,
251
308
  updateCredentialLabelStatus204Schema: updateCredentialLabelStatus204Schema,
252
309
  userCredentialMetadataRepresentationSchema: userCredentialMetadataRepresentationSchema,
@@ -255,4 +312,4 @@ var schemas = {
255
312
  userProfileMetadataRepresentationSchema: userProfileMetadataRepresentationSchema
256
313
  };
257
314
 
258
- export { groupRepresentationSchema as $, deleteSessionResponseSchema as A, deleteSessionStatus204Schema as B, deviceRepresentationSchema as C, getAccountQueryUserProfileMetadataSchema as D, getAccountResponseSchema as E, getAccountStatus200Schema as F, getApplicationsQueryNameSchema as G, getApplicationsResponseSchema as H, getApplicationsStatus200Schema as I, getConsentPathClientIdSchema as J, getConsentResponseSchema as K, getConsentStatus200Schema as L, getCredentialsQueryTypeSchema as M, getCredentialsQueryUserCredentialsSchema as N, getCredentialsResponseSchema as O, getCredentialsStatus200Schema as P, getDevicesResponseSchema as Q, getDevicesStatus200Schema as R, getGroupsQueryBriefRepresentationSchema as S, getGroupsResponseSchema as T, getGroupsStatus200Schema as U, getLinkedAccountsResponseSchema as V, getLinkedAccountsStatus200Schema as W, getOrganizationsResponseSchema as X, getOrganizationsStatus200Schema as Y, getSessionsResponseSchema as Z, getSessionsStatus200Schema as _, accountLinkUriRepresentationSchema as a, linkedAccountRepresentationSchema as a0, organizationRepresentationSchema as a1, sessionRepresentationSchema as a2, updateAccountBodySchema as a3, updateAccountResponseSchema as a4, updateAccountStatus204Schema as a5, updateConsentPathClientIdSchema as a6, updateConsentResponseSchema as a7, updateConsentStatus200Schema as a8, updateCredentialLabelBodySchema as a9, updateCredentialLabelPathCredentialIdSchema as aa, updateCredentialLabelResponseSchema as ab, updateCredentialLabelStatus204Schema as ac, userCredentialMetadataRepresentationSchema as ad, userProfileAttributesRepresentationSchema as ae, userProfileMetadataAttributeRepresentationSchema as af, userProfileMetadataRepresentationSchema as ag, schemas as ah, accountRepresentationSchema as b, buildLinkingUriPathProviderIdSchema as c, buildLinkingUriQueryRedirectUriSchema as d, buildLinkingUriResponseSchema as e, buildLinkingUriStatus200Schema as f, clientRepresentationSchema as g, consentRepresentationSchema as h, consentScopeRepresentationSchema as i, createConsentPathClientIdSchema as j, createConsentResponseSchema as k, createConsentStatus200Schema as l, credentialMetadataRepresentationSchema as m, credentialRepresentationSchema as n, deleteConsentPathClientIdSchema as o, deleteConsentResponseSchema as p, deleteConsentStatus204Schema as q, deleteCredentialPathCredentialIdSchema as r, deleteCredentialResponseSchema as s, deleteCredentialStatus204Schema as t, deleteCurrentSessionResponseSchema as u, deleteCurrentSessionStatus204Schema as v, deleteLinkedProviderPathProviderIdSchema as w, deleteLinkedProviderResponseSchema as x, deleteLinkedProviderStatus204Schema as y, deleteSessionPathSessionIdSchema as z };
315
+ export { getDevicesResponseSchema as $, deleteCurrentSessionStatus204Schema as A, deleteLinkedProviderPathProviderIdSchema as B, deleteLinkedProviderPathSchema as C, deleteLinkedProviderResponseSchema as D, deleteLinkedProviderStatus204Schema as E, deleteSessionPathSchema as F, deleteSessionPathSessionIdSchema as G, deleteSessionResponseSchema as H, deleteSessionStatus204Schema as I, deviceRepresentationSchema as J, getAccountQuerySchema as K, getAccountQueryUserProfileMetadataSchema as L, getAccountResponseSchema as M, getAccountStatus200Schema as N, getApplicationsQueryNameSchema as O, getApplicationsQuerySchema as P, getApplicationsResponseSchema as Q, getApplicationsStatus200Schema as R, getConsentPathClientIdSchema as S, getConsentPathSchema as T, getConsentResponseSchema as U, getConsentStatus200Schema as V, getCredentialsQuerySchema as W, getCredentialsQueryTypeSchema as X, getCredentialsQueryUserCredentialsSchema as Y, getCredentialsResponseSchema as Z, getCredentialsStatus200Schema as _, accountLinkUriRepresentationSchema as a, getDevicesStatus200Schema as a0, getGroupsQueryBriefRepresentationSchema as a1, getGroupsQuerySchema as a2, getGroupsResponseSchema as a3, getGroupsStatus200Schema as a4, getLinkedAccountsResponseSchema as a5, getLinkedAccountsStatus200Schema as a6, getOrganizationsResponseSchema as a7, getOrganizationsStatus200Schema as a8, getSessionsResponseSchema as a9, getSessionsStatus200Schema as aa, groupRepresentationSchema as ab, linkedAccountRepresentationSchema as ac, organizationRepresentationSchema as ad, sessionRepresentationSchema as ae, updateAccountBodySchema as af, updateAccountResponseSchema as ag, updateAccountStatus204Schema as ah, updateConsentPathClientIdSchema as ai, updateConsentPathSchema as aj, updateConsentResponseSchema as ak, updateConsentStatus200Schema as al, updateCredentialLabelBodySchema as am, updateCredentialLabelPathCredentialIdSchema as an, updateCredentialLabelPathSchema as ao, updateCredentialLabelResponseSchema as ap, updateCredentialLabelStatus204Schema as aq, userCredentialMetadataRepresentationSchema as ar, userProfileAttributesRepresentationSchema as as, userProfileMetadataAttributeRepresentationSchema as at, userProfileMetadataRepresentationSchema as au, schemas as av, accountRepresentationSchema as b, buildLinkingUriPathProviderIdSchema as c, buildLinkingUriPathSchema as d, buildLinkingUriQueryRedirectUriSchema as e, buildLinkingUriQuerySchema as f, buildLinkingUriResponseSchema as g, buildLinkingUriStatus200Schema as h, clientRepresentationSchema as i, consentRepresentationSchema as j, consentScopeRepresentationSchema as k, createConsentPathClientIdSchema as l, createConsentPathSchema as m, createConsentResponseSchema as n, createConsentStatus200Schema as o, credentialMetadataRepresentationSchema as p, credentialRepresentationSchema as q, deleteConsentPathClientIdSchema as r, deleteConsentPathSchema as s, deleteConsentResponseSchema as t, deleteConsentStatus204Schema as u, deleteCredentialPathCredentialIdSchema as v, deleteCredentialPathSchema as w, deleteCredentialResponseSchema as x, deleteCredentialStatus204Schema as y, deleteCurrentSessionResponseSchema as z };
@@ -45,9 +45,19 @@ const unmanagedAttributePolicy = {
45
45
  ADMIN_VIEW: "ADMIN_VIEW",
46
46
  ENABLED: "ENABLED"
47
47
  };
48
+ const POSTAdminRealmsRealmWorkflowsIdActivateTypeResourceIdType = {
49
+ USERS: "USERS",
50
+ CLIENTS: "CLIENTS"
51
+ };
52
+ const POSTAdminRealmsRealmWorkflowsIdDeactivateTypeResourceIdType = {
53
+ USERS: "USERS",
54
+ CLIENTS: "CLIENTS"
55
+ };
48
56
 
49
57
  var types = {
50
58
  __proto__: null,
59
+ POSTAdminRealmsRealmWorkflowsIdActivateTypeResourceIdType: POSTAdminRealmsRealmWorkflowsIdActivateTypeResourceIdType,
60
+ POSTAdminRealmsRealmWorkflowsIdDeactivateTypeResourceIdType: POSTAdminRealmsRealmWorkflowsIdDeactivateTypeResourceIdType,
51
61
  bruteForceStrategy: bruteForceStrategy,
52
62
  decisionEffect: decisionEffect,
53
63
  decisionStrategy: decisionStrategy,
@@ -60,6 +70,8 @@ var types = {
60
70
  unmanagedAttributePolicy: unmanagedAttributePolicy
61
71
  };
62
72
 
73
+ exports.POSTAdminRealmsRealmWorkflowsIdActivateTypeResourceIdType = POSTAdminRealmsRealmWorkflowsIdActivateTypeResourceIdType;
74
+ exports.POSTAdminRealmsRealmWorkflowsIdDeactivateTypeResourceIdType = POSTAdminRealmsRealmWorkflowsIdDeactivateTypeResourceIdType;
63
75
  exports.bruteForceStrategy = bruteForceStrategy;
64
76
  exports.decisionEffect = decisionEffect;
65
77
  exports.decisionStrategy = decisionStrategy;