@zitadel/components 0.1.0-alpha.16 → 0.1.0-alpha.18
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 +89 -20
- package/dist/atoms/index.d.mts +1 -1
- package/dist/atoms/index.mjs +1 -1
- package/dist/{atoms-C-zXJjaz.mjs → atoms-5-wYIl88.mjs} +295 -190
- package/dist/atoms-5-wYIl88.mjs.map +1 -0
- package/dist/default-Bnjy2dJB.mjs +6 -0
- package/dist/default-Bnjy2dJB.mjs.map +1 -0
- package/dist/{index-BniwXaIC.d.mts → index-BRGZPZ2y.d.mts} +111 -1
- package/dist/index-BRGZPZ2y.d.mts.map +1 -0
- package/dist/{index-D1eMaWbY.d.mts → index-CsJiPZtJ.d.mts} +438 -210
- package/dist/index-CsJiPZtJ.d.mts.map +1 -0
- package/dist/{index-BwQLFs9R.d.mts → index-DIGjtG4z.d.mts} +1642 -1027
- package/dist/index-DIGjtG4z.d.mts.map +1 -0
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +5 -5
- package/dist/jsx.d.ts +63 -0
- package/dist/manifests.mjs +1 -1
- package/dist/orchestrator/index.d.mts +3 -3
- package/dist/orchestrator/index.mjs +3 -3
- package/dist/{orchestrator-BN2nT9FZ.mjs → orchestrator-CctLkpmB.mjs} +1229 -767
- package/dist/orchestrator-CctLkpmB.mjs.map +1 -0
- package/dist/standalone.mjs +2552 -1291
- package/dist/tokens/index.d.mts +1 -1
- package/dist/tokens/index.mjs +1 -1
- package/dist/tokens-BV-PPbQd.mjs +356 -0
- package/dist/tokens-BV-PPbQd.mjs.map +1 -0
- package/package.json +14 -10
- package/dist/atoms-C-zXJjaz.mjs.map +0 -1
- package/dist/default-BoC3JEsO.mjs +0 -6
- package/dist/default-BoC3JEsO.mjs.map +0 -1
- package/dist/index-BniwXaIC.d.mts.map +0 -1
- package/dist/index-BwQLFs9R.d.mts.map +0 -1
- package/dist/index-D1eMaWbY.d.mts.map +0 -1
- package/dist/orchestrator-BN2nT9FZ.mjs.map +0 -1
- package/dist/tokens-CbH2s1jV.mjs +0 -246
- package/dist/tokens-CbH2s1jV.mjs.map +0 -1
|
@@ -296,6 +296,14 @@ declare class ZlCheckbox extends LitElement {
|
|
|
296
296
|
accessor checked: boolean;
|
|
297
297
|
accessor disabled: boolean;
|
|
298
298
|
accessor required: boolean;
|
|
299
|
+
/**
|
|
300
|
+
* Inline validation message shown under the control (empty = none). Set by
|
|
301
|
+
* the orchestrator's template on a field error; display-only, mirroring
|
|
302
|
+
* `<zl-field>` / `<zl-select>` so the flow router routes every field type
|
|
303
|
+
* the same way. Submission gating lives in `<zitadel-login>`.
|
|
304
|
+
*/
|
|
305
|
+
accessor error: string;
|
|
306
|
+
accessor invalid: boolean;
|
|
299
307
|
accessor ariaLabelText: string | undefined;
|
|
300
308
|
accessor testId: string | undefined;
|
|
301
309
|
/**
|
|
@@ -314,6 +322,15 @@ declare class ZlCheckbox extends LitElement {
|
|
|
314
322
|
formResetCallback(): void;
|
|
315
323
|
formStateRestoreCallback(state: string | null): void;
|
|
316
324
|
focus(options?: FocusOptions): void;
|
|
325
|
+
/**
|
|
326
|
+
* The string this control contributes to form submission — the uniform
|
|
327
|
+
* read/write contract `<zitadel-login>` uses to capture and restore field
|
|
328
|
+
* values without knowing each atom's internal shape. Like a native checkbox
|
|
329
|
+
* this is the value token only when checked, empty otherwise; assigning it
|
|
330
|
+
* back restores the checked state.
|
|
331
|
+
*/
|
|
332
|
+
get formValue(): string;
|
|
333
|
+
set formValue(value: string);
|
|
317
334
|
render(): _$lit.TemplateResult<1>;
|
|
318
335
|
private handleChange;
|
|
319
336
|
private syncFormState;
|
|
@@ -326,9 +343,8 @@ declare global {
|
|
|
326
343
|
}
|
|
327
344
|
} //# sourceMappingURL=zl-checkbox.d.ts.map
|
|
328
345
|
//#endregion
|
|
329
|
-
//#region ../api/dist/index-
|
|
330
|
-
//#
|
|
331
|
-
//#region src/generated/model/activateFlowDefinitionParams.d.ts
|
|
346
|
+
//#region ../api/dist/index-D6qIOslB.d.mts
|
|
347
|
+
//#region src/generated/model/completeClaim200.d.ts
|
|
332
348
|
/**
|
|
333
349
|
* Generated by orval v8.10.0 🍺
|
|
334
350
|
* Do not edit manually.
|
|
@@ -336,44 +352,15 @@ declare global {
|
|
|
336
352
|
* This is the next generation of the Zitadel identity platform.
|
|
337
353
|
* OpenAPI spec version: 0.0.1
|
|
338
354
|
*/
|
|
339
|
-
type ActivateFlowDefinitionParams = {
|
|
340
|
-
/**
|
|
341
|
-
* The unique identifier of the project
|
|
342
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
343
|
-
*/
|
|
344
|
-
project_id: string;
|
|
345
|
-
}; //#endregion
|
|
346
|
-
//#region src/generated/model/authorizeDevice200.d.ts
|
|
347
355
|
/**
|
|
348
|
-
*
|
|
349
|
-
* Do not edit manually.
|
|
350
|
-
* Zitadel NextGen
|
|
351
|
-
* This is the next generation of the Zitadel identity platform.
|
|
352
|
-
* OpenAPI spec version: 0.0.1
|
|
356
|
+
* The result of a completed project claim.
|
|
353
357
|
*/
|
|
354
|
-
type
|
|
355
|
-
/**
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
/** The number of seconds until the device code expires.
|
|
359
|
-
*/
|
|
360
|
-
expires_in?: number;
|
|
361
|
-
/** The minimum amount of time in seconds that the client should wait
|
|
362
|
-
between polling requests.
|
|
363
|
-
*/
|
|
364
|
-
interval?: number;
|
|
365
|
-
/** The user code that the user will enter to authorize the device.
|
|
366
|
-
*/
|
|
367
|
-
user_code?: string;
|
|
368
|
-
/** The URI where the user will enter the user code to authorize the device.
|
|
369
|
-
*/
|
|
370
|
-
verification_uri?: string;
|
|
371
|
-
/** The complete URI with the user code included, which the user can visit
|
|
372
|
-
to authorize the device.
|
|
373
|
-
*/
|
|
374
|
-
verification_uri_complete?: string;
|
|
358
|
+
type CompleteClaim200 = {
|
|
359
|
+
/** @pattern ^[a-zA-Z0-9_-]+$ */project_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
360
|
+
team_id: string; /** The time when the project was claimed. */
|
|
361
|
+
claimed_at: string;
|
|
375
362
|
}; //#endregion
|
|
376
|
-
//#region src/generated/model/
|
|
363
|
+
//#region src/generated/model/completeClaim400Details.d.ts
|
|
377
364
|
/**
|
|
378
365
|
* Generated by orval v8.10.0 🍺
|
|
379
366
|
* Do not edit manually.
|
|
@@ -385,7 +372,7 @@ type AuthorizeDevice200 = {
|
|
|
385
372
|
* Additional error-specific context.
|
|
386
373
|
*/
|
|
387
374
|
//#endregion
|
|
388
|
-
//#region src/generated/model/
|
|
375
|
+
//#region src/generated/model/completeClaimBody.d.ts
|
|
389
376
|
/**
|
|
390
377
|
* Generated by orval v8.10.0 🍺
|
|
391
378
|
* Do not edit manually.
|
|
@@ -393,22 +380,17 @@ type AuthorizeDevice200 = {
|
|
|
393
380
|
* This is the next generation of the Zitadel identity platform.
|
|
394
381
|
* OpenAPI spec version: 0.0.1
|
|
395
382
|
*/
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
registered application.
|
|
401
|
-
*/
|
|
402
|
-
client_id: string;
|
|
383
|
+
/**
|
|
384
|
+
* The request to complete a project claim.
|
|
385
|
+
*/
|
|
386
|
+
type CompleteClaimBody = {
|
|
403
387
|
/**
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
*/
|
|
409
|
-
scope?: string;
|
|
388
|
+
* Unique identifier for this challenge (dialect-minted prefixed opaque string).
|
|
389
|
+
* @pattern ^ch_[a-zA-Z0-9_-]+$
|
|
390
|
+
*/
|
|
391
|
+
challenge_id: string;
|
|
410
392
|
}; //#endregion
|
|
411
|
-
//#region src/generated/model/
|
|
393
|
+
//#region src/generated/model/completeClaimDefaultDetails.d.ts
|
|
412
394
|
/**
|
|
413
395
|
* Generated by orval v8.10.0 🍺
|
|
414
396
|
* Do not edit manually.
|
|
@@ -420,149 +402,6 @@ type AuthorizeDeviceParams = {
|
|
|
420
402
|
* Additional error-specific context.
|
|
421
403
|
*/
|
|
422
404
|
//#endregion
|
|
423
|
-
//#region src/generated/model/authorizeGetDefaultDetails.d.ts
|
|
424
|
-
/**
|
|
425
|
-
* Generated by orval v8.10.0 🍺
|
|
426
|
-
* Do not edit manually.
|
|
427
|
-
* Zitadel NextGen
|
|
428
|
-
* This is the next generation of the Zitadel identity platform.
|
|
429
|
-
* OpenAPI spec version: 0.0.1
|
|
430
|
-
*/
|
|
431
|
-
/**
|
|
432
|
-
* Additional error-specific context.
|
|
433
|
-
*/
|
|
434
|
-
type AuthorizeGetDefaultDetails = {
|
|
435
|
-
[key: string]: unknown;
|
|
436
|
-
}; //#endregion
|
|
437
|
-
//#region src/generated/model/authorizeGetDefault.d.ts
|
|
438
|
-
/**
|
|
439
|
-
* Standard error payload returned for failed API requests.
|
|
440
|
-
*/
|
|
441
|
-
type AuthorizeGetDefault = {
|
|
442
|
-
/** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
|
|
443
|
-
message: string; /** Additional error-specific context. */
|
|
444
|
-
details?: AuthorizeGetDefaultDetails;
|
|
445
|
-
}; //#endregion
|
|
446
|
-
//#region src/generated/model/authorizeGetParams.d.ts
|
|
447
|
-
/**
|
|
448
|
-
* Generated by orval v8.10.0 🍺
|
|
449
|
-
* Do not edit manually.
|
|
450
|
-
* Zitadel NextGen
|
|
451
|
-
* This is the next generation of the Zitadel identity platform.
|
|
452
|
-
* OpenAPI spec version: 0.0.1
|
|
453
|
-
*/
|
|
454
|
-
type AuthorizeGetParams = {
|
|
455
|
-
/**
|
|
456
|
-
* A space delimited list of Authentication Class References. This can be
|
|
457
|
-
used to specify certain authentication methods or level of assurance
|
|
458
|
-
that is required for the authentication. For example, you could use
|
|
459
|
-
this to require multi-factor authentication.
|
|
460
|
-
*/
|
|
461
|
-
acr_values?: string;
|
|
462
|
-
/**
|
|
463
|
-
* The client ID of the application that is requesting authorization.
|
|
464
|
-
This is a required parameter and must match the client ID of a
|
|
465
|
-
registered application.
|
|
466
|
-
*/
|
|
467
|
-
client_id: string;
|
|
468
|
-
/**
|
|
469
|
-
* The code challenge is a cryptographic string used in the PKCE (Proof
|
|
470
|
-
Key for Code Exchange) flow to enhance security.
|
|
471
|
-
*/
|
|
472
|
-
code_challenge?: string;
|
|
473
|
-
/**
|
|
474
|
-
* The code challenge method is used in conjunction with the code challenge
|
|
475
|
-
in the PKCE flow. It specifies the method used to generate the code
|
|
476
|
-
challenge. Common values are "S256" for SHA-256 hashing and "plain"
|
|
477
|
-
for no hashing.
|
|
478
|
-
*/
|
|
479
|
-
code_challenge_method?: string;
|
|
480
|
-
/**
|
|
481
|
-
* The display parameter is used to specify how the authorization server
|
|
482
|
-
should display the authentication and consent user interface. Common
|
|
483
|
-
values include "page" for a full-page display, "popup" for a popup
|
|
484
|
-
window, and "touch" for a mobile-optimized display.
|
|
485
|
-
*/
|
|
486
|
-
display?: string;
|
|
487
|
-
/**
|
|
488
|
-
* The ID token hint is a previously issued ID token that can be used to
|
|
489
|
-
pre-fill the authentication form or to provide information about the
|
|
490
|
-
user to the authorization server. This can be useful for single sign-on
|
|
491
|
-
scenarios or for providing a smoother user experience.
|
|
492
|
-
*/
|
|
493
|
-
id_token_hint?: string;
|
|
494
|
-
/**
|
|
495
|
-
* The login hint is a hint to the authorization server about the login
|
|
496
|
-
identifier of the user. This can be used to pre-fill the username or
|
|
497
|
-
email field in the authentication form, making it easier for the user
|
|
498
|
-
to log in.
|
|
499
|
-
*/
|
|
500
|
-
login_hint?: string;
|
|
501
|
-
/**
|
|
502
|
-
* The max age parameter specifies the maximum amount of time in seconds
|
|
503
|
-
that has passed since the user last authenticated. If the user has not
|
|
504
|
-
authenticated within this time frame, they will be required to re-authenticate.
|
|
505
|
-
*/
|
|
506
|
-
max_age?: number;
|
|
507
|
-
/**
|
|
508
|
-
* The nonce parameter is a random string that is used to associate a client
|
|
509
|
-
session with an ID token and to mitigate replay attacks. The authorization
|
|
510
|
-
server should include this value in the ID token that it issues, and the
|
|
511
|
-
client should verify that the value in the ID token matches the value it
|
|
512
|
-
sent in the authorization request.
|
|
513
|
-
*/
|
|
514
|
-
nonce?: string;
|
|
515
|
-
/**
|
|
516
|
-
* The prompt parameter is used to specify whether the authorization server
|
|
517
|
-
should prompt the user for re-authentication and consent. Common values
|
|
518
|
-
include "none" for no prompts, "login" to prompt for re-authentication,
|
|
519
|
-
"consent" to prompt for user consent, and "select_account" to prompt
|
|
520
|
-
the user to select an account if they are logged in with multiple accounts.
|
|
521
|
-
*/
|
|
522
|
-
prompt?: string;
|
|
523
|
-
/**
|
|
524
|
-
* The redirect URI is the URI to which the authorization server will redirect
|
|
525
|
-
the user after they have authorized or denied the request. This must match
|
|
526
|
-
one of the redirect URIs registered for the client application.
|
|
527
|
-
*/
|
|
528
|
-
redirect_uri?: string;
|
|
529
|
-
/**
|
|
530
|
-
* The response mode parameter specifies how the authorization server should
|
|
531
|
-
return the authorization response. Common values include "query" to return
|
|
532
|
-
parameters in the query string, "fragment" to return parameters in the URL
|
|
533
|
-
fragment, and "form_post" to return parameters in an HTTP POST request.
|
|
534
|
-
*/
|
|
535
|
-
response_mode?: string;
|
|
536
|
-
/**
|
|
537
|
-
* The response type parameter specifies the type of response that the client
|
|
538
|
-
is expecting from the authorization server. Common values include "code"
|
|
539
|
-
for the authorization code flow, "token" for the implicit flow, and "id_token"
|
|
540
|
-
for OpenID Connect authentication.
|
|
541
|
-
*/
|
|
542
|
-
response_type: string;
|
|
543
|
-
/**
|
|
544
|
-
* The scope parameter is used to specify the permissions that the client is
|
|
545
|
-
requesting from the user. This is a space-delimited list of scope values,
|
|
546
|
-
and the authorization server will use this information to determine what
|
|
547
|
-
access to grant to the client application.
|
|
548
|
-
*/
|
|
549
|
-
scope?: string;
|
|
550
|
-
/**
|
|
551
|
-
* The state parameter is a random string that is used to maintain state between
|
|
552
|
-
the authorization request and the callback. It is used to prevent cross-site
|
|
553
|
-
request forgery (CSRF) attacks by ensuring that the response received from the
|
|
554
|
-
authorization server corresponds to the request that was sent.
|
|
555
|
-
*/
|
|
556
|
-
state?: string;
|
|
557
|
-
/**
|
|
558
|
-
* The ui_locales parameter is used to specify the preferred languages and scripts
|
|
559
|
-
for the user interface that the authorization server should display. This is a
|
|
560
|
-
space-delimited list of BCP47 language tag values, and it can be used to provide
|
|
561
|
-
a localized user experience for users from different regions and language
|
|
562
|
-
preferences.
|
|
563
|
-
*/
|
|
564
|
-
ui_locales?: string;
|
|
565
|
-
}; //#endregion
|
|
566
405
|
//#region src/generated/model/createAuthAttempt201ChallengesItemMethod.d.ts
|
|
567
406
|
/**
|
|
568
407
|
* Generated by orval v8.10.0 🍺
|
|
@@ -642,8 +481,8 @@ The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{ch
|
|
|
642
481
|
*/
|
|
643
482
|
type CreateAuthAttempt201ChallengesItem = {
|
|
644
483
|
/**
|
|
645
|
-
* Unique identifier for this challenge
|
|
646
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
484
|
+
* Unique identifier for this challenge (dialect-minted prefixed opaque string).
|
|
485
|
+
* @pattern ^ch_[a-zA-Z0-9_-]+$
|
|
647
486
|
*/
|
|
648
487
|
challenge_id: string; /** An authentication factor method. */
|
|
649
488
|
method: CreateAuthAttempt201ChallengesItemMethod;
|
|
@@ -775,8 +614,8 @@ Clients drive the attempt by:
|
|
|
775
614
|
*/
|
|
776
615
|
type CreateAuthAttempt201 = {
|
|
777
616
|
/**
|
|
778
|
-
* Unique identifier for this authentication attempt
|
|
779
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
617
|
+
* Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).
|
|
618
|
+
* @pattern ^att_[a-zA-Z0-9_-]+$
|
|
780
619
|
*/
|
|
781
620
|
attempt_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
782
621
|
project_id: string;
|
|
@@ -847,6 +686,181 @@ type CreateAuthAttemptBody = {
|
|
|
847
686
|
* OpenAPI spec version: 0.0.1
|
|
848
687
|
*/
|
|
849
688
|
//#endregion
|
|
689
|
+
//#region src/generated/model/createBranding201BrandingLayout.d.ts
|
|
690
|
+
/**
|
|
691
|
+
* Generated by orval v8.10.0 🍺
|
|
692
|
+
* Do not edit manually.
|
|
693
|
+
* Zitadel NextGen
|
|
694
|
+
* This is the next generation of the Zitadel identity platform.
|
|
695
|
+
* OpenAPI spec version: 0.0.1
|
|
696
|
+
*/
|
|
697
|
+
/**
|
|
698
|
+
* Layout preset selector. The default.liquid master template uses this
|
|
699
|
+
to branch into layout variants. Customers who eject the template
|
|
700
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
701
|
+
when a custom template fails component-side validation.
|
|
702
|
+
|
|
703
|
+
*/
|
|
704
|
+
type CreateBranding201BrandingLayout = (typeof CreateBranding201BrandingLayout)[keyof typeof CreateBranding201BrandingLayout];
|
|
705
|
+
declare const CreateBranding201BrandingLayout: {
|
|
706
|
+
readonly centered: "centered";
|
|
707
|
+
readonly split: "split";
|
|
708
|
+
}; //#endregion
|
|
709
|
+
//#region src/generated/model/createBranding201Branding.d.ts
|
|
710
|
+
/**
|
|
711
|
+
* Branding configuration. Appears in two places with one shape:
|
|
712
|
+
|
|
713
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
714
|
+
latest branding revision for the project per step response (falling
|
|
715
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
716
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
717
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
718
|
+
shape as a new immutable revision (see ADR 040).
|
|
719
|
+
|
|
720
|
+
*/
|
|
721
|
+
type CreateBranding201Branding = {
|
|
722
|
+
/** Layout preset selector. The default.liquid master template uses this
|
|
723
|
+
to branch into layout variants. Customers who eject the template
|
|
724
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
725
|
+
when a custom template fails component-side validation.
|
|
726
|
+
*/
|
|
727
|
+
layout?: CreateBranding201BrandingLayout;
|
|
728
|
+
/**
|
|
729
|
+
* The LiquidJS template string for rendering this step. The orchestrator
|
|
730
|
+
parses this template, injects the capability dictionaries as context,
|
|
731
|
+
and renders the output HTML into its Shadow DOM.
|
|
732
|
+
* @maxLength 131072
|
|
733
|
+
*/
|
|
734
|
+
liquid_template?: string; /** Team logo URL. */
|
|
735
|
+
logo_url?: string;
|
|
736
|
+
/** Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in
|
|
737
|
+
v1: `POST /branding` rejects a non-empty value, because the login
|
|
738
|
+
component loads this stylesheet at document level (shadow-scoped
|
|
739
|
+
`@font-face` rules never register faces) and an arbitrary URL would
|
|
740
|
+
grant `branding.write` page-wide CSS control over the embedding
|
|
741
|
+
application. Safe tenant font delivery is an ADR 040 follow-up;
|
|
742
|
+
until then, load fonts from the embedding page.
|
|
743
|
+
*/
|
|
744
|
+
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
745
|
+
hero_url?: string;
|
|
746
|
+
}; //#endregion
|
|
747
|
+
//#region src/generated/model/createBranding201.d.ts
|
|
748
|
+
/**
|
|
749
|
+
* A stored branding revision. `branding` echoes the canonical stored
|
|
750
|
+
configuration so clients (e.g. the CLI sync engine) can reconcile local
|
|
751
|
+
files with the server's stored state.
|
|
752
|
+
|
|
753
|
+
*/
|
|
754
|
+
type CreateBranding201 = {
|
|
755
|
+
/** The unique identifier of this branding revision. */id: string; /** When this revision was published. */
|
|
756
|
+
created_at: string;
|
|
757
|
+
/** Branding configuration. Appears in two places with one shape:
|
|
758
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
759
|
+
latest branding revision for the project per step response (falling
|
|
760
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
761
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
762
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
763
|
+
shape as a new immutable revision (see ADR 040).
|
|
764
|
+
*/
|
|
765
|
+
branding: CreateBranding201Branding;
|
|
766
|
+
}; //#endregion
|
|
767
|
+
//#region src/generated/model/createBranding400Details.d.ts
|
|
768
|
+
/**
|
|
769
|
+
* Generated by orval v8.10.0 🍺
|
|
770
|
+
* Do not edit manually.
|
|
771
|
+
* Zitadel NextGen
|
|
772
|
+
* This is the next generation of the Zitadel identity platform.
|
|
773
|
+
* OpenAPI spec version: 0.0.1
|
|
774
|
+
*/
|
|
775
|
+
/**
|
|
776
|
+
* Additional error-specific context.
|
|
777
|
+
*/
|
|
778
|
+
//#endregion
|
|
779
|
+
//#region src/generated/model/createBrandingBodyLayout.d.ts
|
|
780
|
+
/**
|
|
781
|
+
* Generated by orval v8.10.0 🍺
|
|
782
|
+
* Do not edit manually.
|
|
783
|
+
* Zitadel NextGen
|
|
784
|
+
* This is the next generation of the Zitadel identity platform.
|
|
785
|
+
* OpenAPI spec version: 0.0.1
|
|
786
|
+
*/
|
|
787
|
+
/**
|
|
788
|
+
* Layout preset selector. The default.liquid master template uses this
|
|
789
|
+
to branch into layout variants. Customers who eject the template
|
|
790
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
791
|
+
when a custom template fails component-side validation.
|
|
792
|
+
|
|
793
|
+
*/
|
|
794
|
+
type CreateBrandingBodyLayout = (typeof CreateBrandingBodyLayout)[keyof typeof CreateBrandingBodyLayout];
|
|
795
|
+
declare const CreateBrandingBodyLayout: {
|
|
796
|
+
readonly centered: "centered";
|
|
797
|
+
readonly split: "split";
|
|
798
|
+
}; //#endregion
|
|
799
|
+
//#region src/generated/model/createBrandingBody.d.ts
|
|
800
|
+
/**
|
|
801
|
+
* Branding configuration. Appears in two places with one shape:
|
|
802
|
+
|
|
803
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
804
|
+
latest branding revision for the project per step response (falling
|
|
805
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
806
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
807
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
808
|
+
shape as a new immutable revision (see ADR 040).
|
|
809
|
+
|
|
810
|
+
*/
|
|
811
|
+
type CreateBrandingBody = {
|
|
812
|
+
/** Layout preset selector. The default.liquid master template uses this
|
|
813
|
+
to branch into layout variants. Customers who eject the template
|
|
814
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
815
|
+
when a custom template fails component-side validation.
|
|
816
|
+
*/
|
|
817
|
+
layout?: CreateBrandingBodyLayout;
|
|
818
|
+
/**
|
|
819
|
+
* The LiquidJS template string for rendering this step. The orchestrator
|
|
820
|
+
parses this template, injects the capability dictionaries as context,
|
|
821
|
+
and renders the output HTML into its Shadow DOM.
|
|
822
|
+
* @maxLength 131072
|
|
823
|
+
*/
|
|
824
|
+
liquid_template?: string; /** Team logo URL. */
|
|
825
|
+
logo_url?: string;
|
|
826
|
+
/** Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in
|
|
827
|
+
v1: `POST /branding` rejects a non-empty value, because the login
|
|
828
|
+
component loads this stylesheet at document level (shadow-scoped
|
|
829
|
+
`@font-face` rules never register faces) and an arbitrary URL would
|
|
830
|
+
grant `branding.write` page-wide CSS control over the embedding
|
|
831
|
+
application. Safe tenant font delivery is an ADR 040 follow-up;
|
|
832
|
+
until then, load fonts from the embedding page.
|
|
833
|
+
*/
|
|
834
|
+
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
835
|
+
hero_url?: string;
|
|
836
|
+
}; //#endregion
|
|
837
|
+
//#region src/generated/model/createBrandingDefaultDetails.d.ts
|
|
838
|
+
/**
|
|
839
|
+
* Generated by orval v8.10.0 🍺
|
|
840
|
+
* Do not edit manually.
|
|
841
|
+
* Zitadel NextGen
|
|
842
|
+
* This is the next generation of the Zitadel identity platform.
|
|
843
|
+
* OpenAPI spec version: 0.0.1
|
|
844
|
+
*/
|
|
845
|
+
/**
|
|
846
|
+
* Additional error-specific context.
|
|
847
|
+
*/
|
|
848
|
+
//#endregion
|
|
849
|
+
//#region src/generated/model/createBrandingParams.d.ts
|
|
850
|
+
/**
|
|
851
|
+
* Generated by orval v8.10.0 🍺
|
|
852
|
+
* Do not edit manually.
|
|
853
|
+
* Zitadel NextGen
|
|
854
|
+
* This is the next generation of the Zitadel identity platform.
|
|
855
|
+
* OpenAPI spec version: 0.0.1
|
|
856
|
+
*/
|
|
857
|
+
type CreateBrandingParams = {
|
|
858
|
+
/**
|
|
859
|
+
* The unique identifier of the project
|
|
860
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
861
|
+
*/
|
|
862
|
+
project_id: string;
|
|
863
|
+
}; //#endregion
|
|
850
864
|
//#region src/generated/model/createFlow201BrandingLayout.d.ts
|
|
851
865
|
/**
|
|
852
866
|
* Generated by orval v8.10.0 🍺
|
|
@@ -858,7 +872,8 @@ type CreateAuthAttemptBody = {
|
|
|
858
872
|
/**
|
|
859
873
|
* Layout preset selector. The default.liquid master template uses this
|
|
860
874
|
to branch into layout variants. Customers who eject the template
|
|
861
|
-
can ignore this field entirely
|
|
875
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
876
|
+
when a custom template fails component-side validation.
|
|
862
877
|
|
|
863
878
|
*/
|
|
864
879
|
type CreateFlow201BrandingLayout = (typeof CreateFlow201BrandingLayout)[keyof typeof CreateFlow201BrandingLayout];
|
|
@@ -868,23 +883,39 @@ declare const CreateFlow201BrandingLayout: {
|
|
|
868
883
|
}; //#endregion
|
|
869
884
|
//#region src/generated/model/createFlow201Branding.d.ts
|
|
870
885
|
/**
|
|
871
|
-
*
|
|
872
|
-
|
|
873
|
-
|
|
886
|
+
* Branding configuration. Appears in two places with one shape:
|
|
887
|
+
|
|
888
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
889
|
+
latest branding revision for the project per step response (falling
|
|
890
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
891
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
892
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
893
|
+
shape as a new immutable revision (see ADR 040).
|
|
874
894
|
|
|
875
895
|
*/
|
|
876
896
|
type CreateFlow201Branding = {
|
|
877
897
|
/** Layout preset selector. The default.liquid master template uses this
|
|
878
898
|
to branch into layout variants. Customers who eject the template
|
|
879
|
-
can ignore this field entirely
|
|
899
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
900
|
+
when a custom template fails component-side validation.
|
|
880
901
|
*/
|
|
881
902
|
layout?: CreateFlow201BrandingLayout;
|
|
882
|
-
/**
|
|
903
|
+
/**
|
|
904
|
+
* The LiquidJS template string for rendering this step. The orchestrator
|
|
883
905
|
parses this template, injects the capability dictionaries as context,
|
|
884
906
|
and renders the output HTML into its Shadow DOM.
|
|
885
|
-
|
|
907
|
+
* @maxLength 131072
|
|
908
|
+
*/
|
|
886
909
|
liquid_template?: string; /** Team logo URL. */
|
|
887
|
-
logo_url?: string;
|
|
910
|
+
logo_url?: string;
|
|
911
|
+
/** Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in
|
|
912
|
+
v1: `POST /branding` rejects a non-empty value, because the login
|
|
913
|
+
component loads this stylesheet at document level (shadow-scoped
|
|
914
|
+
`@font-face` rules never register faces) and an arbitrary URL would
|
|
915
|
+
grant `branding.write` page-wide CSS control over the embedding
|
|
916
|
+
application. Safe tenant font delivery is an ADR 040 follow-up;
|
|
917
|
+
until then, load fonts from the embedding page.
|
|
918
|
+
*/
|
|
888
919
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
889
920
|
hero_url?: string;
|
|
890
921
|
}; //#endregion
|
|
@@ -1261,9 +1292,11 @@ type CreateFlow201Step = {
|
|
|
1261
1292
|
(e.g. `error.email_required`; the `format` rule is spelled
|
|
1262
1293
|
`error.<field>_invalid`), multiple violations joined with `"; "`.
|
|
1263
1294
|
Field names appear verbatim, so clients localise unknown keys via
|
|
1264
|
-
the generic `error.field_<rule>` catalog entries. Other
|
|
1265
|
-
carry
|
|
1266
|
-
`
|
|
1295
|
+
the generic `error.field_<rule>` catalog entries. Other engine
|
|
1296
|
+
failures carry `error.*` catalog keys as well (e.g.
|
|
1297
|
+
`error.invalid_credentials`, `error.passkey_invalid`); a
|
|
1298
|
+
non-`error.` payload is an outcome token (e.g. `user_not_found`)
|
|
1299
|
+
that clients keep verbatim.
|
|
1267
1300
|
*/
|
|
1268
1301
|
error?: string | null;
|
|
1269
1302
|
/** Present only on terminal steps. Tells the frontend what to do:
|
|
@@ -1312,9 +1345,13 @@ type CreateFlow201 = {
|
|
|
1312
1345
|
and builds name-keyed indexes locally for lookup.
|
|
1313
1346
|
*/
|
|
1314
1347
|
step: CreateFlow201Step;
|
|
1315
|
-
/**
|
|
1316
|
-
|
|
1317
|
-
|
|
1348
|
+
/** Branding configuration. Appears in two places with one shape:
|
|
1349
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
1350
|
+
latest branding revision for the project per step response (falling
|
|
1351
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
1352
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
1353
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
1354
|
+
shape as a new immutable revision (see ADR 040).
|
|
1318
1355
|
*/
|
|
1319
1356
|
branding?: CreateFlow201Branding; /** Present when `step.complete` is `redirect`. */
|
|
1320
1357
|
redirect_uri?: string;
|
|
@@ -1406,7 +1443,7 @@ type CreateFlowBody = {
|
|
|
1406
1443
|
redirect_uri?: string;
|
|
1407
1444
|
hint?: CreateFlowBodyHint;
|
|
1408
1445
|
}; //#endregion
|
|
1409
|
-
//#region src/generated/model/
|
|
1446
|
+
//#region src/generated/model/createFlowDefault.d.ts
|
|
1410
1447
|
/**
|
|
1411
1448
|
* Generated by orval v8.10.0 🍺
|
|
1412
1449
|
* Do not edit manually.
|
|
@@ -1414,9 +1451,6 @@ type CreateFlowBody = {
|
|
|
1414
1451
|
* This is the next generation of the Zitadel identity platform.
|
|
1415
1452
|
* OpenAPI spec version: 0.0.1
|
|
1416
1453
|
*/
|
|
1417
|
-
/**
|
|
1418
|
-
* Additional error-specific context.
|
|
1419
|
-
*/
|
|
1420
1454
|
//#endregion
|
|
1421
1455
|
//#region src/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts
|
|
1422
1456
|
/**
|
|
@@ -2198,7 +2232,7 @@ type CreateFlowDefinitionBody = {
|
|
|
2198
2232
|
*/
|
|
2199
2233
|
flow_definition: CreateFlowDefinitionBodyFlowDefinition;
|
|
2200
2234
|
}; //#endregion
|
|
2201
|
-
//#region src/generated/model/
|
|
2235
|
+
//#region src/generated/model/createFlowDefinitionDefault.d.ts
|
|
2202
2236
|
/**
|
|
2203
2237
|
* Generated by orval v8.10.0 🍺
|
|
2204
2238
|
* Do not edit manually.
|
|
@@ -2206,9 +2240,6 @@ type CreateFlowDefinitionBody = {
|
|
|
2206
2240
|
* This is the next generation of the Zitadel identity platform.
|
|
2207
2241
|
* OpenAPI spec version: 0.0.1
|
|
2208
2242
|
*/
|
|
2209
|
-
/**
|
|
2210
|
-
* Additional error-specific context.
|
|
2211
|
-
*/
|
|
2212
2243
|
//#endregion
|
|
2213
2244
|
//#region src/generated/model/createHandoff200.d.ts
|
|
2214
2245
|
/**
|
|
@@ -2260,14 +2291,14 @@ type CreateProject201 = {
|
|
|
2260
2291
|
name: string;
|
|
2261
2292
|
/** Secret which can be used for authentication when modifying the project.
|
|
2262
2293
|
*/
|
|
2263
|
-
|
|
2294
|
+
project_secret: string;
|
|
2264
2295
|
/** Secret which can be used for previewing and testing the project.
|
|
2265
2296
|
*/
|
|
2266
|
-
|
|
2297
|
+
preview_secret: string;
|
|
2267
2298
|
/** Origins which are allowed for previewing and testing the project.
|
|
2268
2299
|
*/
|
|
2269
|
-
|
|
2270
|
-
|
|
2300
|
+
preview_origins: string[]; /** The time when the project was created. */
|
|
2301
|
+
created_at: string;
|
|
2271
2302
|
}; //#endregion
|
|
2272
2303
|
//#region src/generated/model/createProject429Details.d.ts
|
|
2273
2304
|
/**
|
|
@@ -2293,14 +2324,14 @@ type CreateProjectBody = {
|
|
|
2293
2324
|
/** The name of the project. */name: string;
|
|
2294
2325
|
/** Origins which are allowed for previewing and testing the project.
|
|
2295
2326
|
*/
|
|
2296
|
-
|
|
2327
|
+
preview_origins?: string[];
|
|
2297
2328
|
/** Whether the server should provision fallback default user schema and flow
|
|
2298
2329
|
resources for the project. CLI-managed projects set this to false and
|
|
2299
2330
|
upload their local .zitadel config files through the schema and flow APIs.
|
|
2300
2331
|
*/
|
|
2301
|
-
|
|
2332
|
+
seed_defaults?: boolean;
|
|
2302
2333
|
}; //#endregion
|
|
2303
|
-
//#region src/generated/model/
|
|
2334
|
+
//#region src/generated/model/createProjectDefault.d.ts
|
|
2304
2335
|
/**
|
|
2305
2336
|
* Generated by orval v8.10.0 🍺
|
|
2306
2337
|
* Do not edit manually.
|
|
@@ -2308,9 +2339,6 @@ type CreateProjectBody = {
|
|
|
2308
2339
|
* This is the next generation of the Zitadel identity platform.
|
|
2309
2340
|
* OpenAPI spec version: 0.0.1
|
|
2310
2341
|
*/
|
|
2311
|
-
/**
|
|
2312
|
-
* Additional error-specific context.
|
|
2313
|
-
*/
|
|
2314
2342
|
//#endregion
|
|
2315
2343
|
//#region src/generated/model/createSchema201.d.ts
|
|
2316
2344
|
/**
|
|
@@ -2402,8 +2430,13 @@ type CreateSchemaBody = {
|
|
|
2402
2430
|
"x-unique"?: "unspecified" | "project" | "team" | null; /** The claim name for this property, if applicable */
|
|
2403
2431
|
"x-claim"?: string | null; /** Whether this property is editable by the user or not */
|
|
2404
2432
|
"x-editable"?: boolean; /** Whether this property contains sensitive information or not */
|
|
2405
|
-
"x-sensitive"?: boolean;
|
|
2406
|
-
|
|
2433
|
+
"x-sensitive"?: boolean;
|
|
2434
|
+
/** Whether this property is used for multi-factor authentication or not
|
|
2435
|
+
*/
|
|
2436
|
+
"x-mfa"?: boolean;
|
|
2437
|
+
/** A map of additional properties for the user definition, where the key is
|
|
2438
|
+
the property name and the value is the property schema.
|
|
2439
|
+
*/
|
|
2407
2440
|
properties?: {
|
|
2408
2441
|
[key: string]: unknown;
|
|
2409
2442
|
};
|
|
@@ -2533,7 +2566,6 @@ type CreateSession201SessionMetadata = {
|
|
|
2533
2566
|
- `building`: has a user factor but is still gathering authentication factors
|
|
2534
2567
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
2535
2568
|
- `expired`: TTL elapsed
|
|
2536
|
-
- `revoked`: explicitly revoked via DELETE
|
|
2537
2569
|
|
|
2538
2570
|
*/
|
|
2539
2571
|
type CreateSession201SessionState = (typeof CreateSession201SessionState)[keyof typeof CreateSession201SessionState];
|
|
@@ -2541,7 +2573,6 @@ declare const CreateSession201SessionState: {
|
|
|
2541
2573
|
readonly building: "building";
|
|
2542
2574
|
readonly active: "active";
|
|
2543
2575
|
readonly expired: "expired";
|
|
2544
|
-
readonly revoked: "revoked";
|
|
2545
2576
|
}; //#endregion
|
|
2546
2577
|
//#region src/generated/model/createSession201SessionUserAgent.d.ts
|
|
2547
2578
|
/**
|
|
@@ -2571,8 +2602,8 @@ in through `auth_attempts`.
|
|
|
2571
2602
|
*/
|
|
2572
2603
|
type CreateSession201Session = {
|
|
2573
2604
|
/**
|
|
2574
|
-
* Unique identifier for this session.
|
|
2575
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
2605
|
+
* Unique identifier for this session (dialect-minted prefixed opaque string).
|
|
2606
|
+
* @pattern ^sess_[a-zA-Z0-9_-]+$
|
|
2576
2607
|
*/
|
|
2577
2608
|
session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
2578
2609
|
project_id: string;
|
|
@@ -2580,7 +2611,6 @@ type CreateSession201Session = {
|
|
|
2580
2611
|
- `building`: has a user factor but is still gathering authentication factors
|
|
2581
2612
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
2582
2613
|
- `expired`: TTL elapsed
|
|
2583
|
-
- `revoked`: explicitly revoked via DELETE
|
|
2584
2614
|
*/
|
|
2585
2615
|
state: CreateSession201SessionState;
|
|
2586
2616
|
/** The authenticated user. Null for anonymous sessions and until the `user`
|
|
@@ -2687,7 +2717,7 @@ type CreateSessionBody = {
|
|
|
2687
2717
|
*/
|
|
2688
2718
|
user_agent?: CreateSessionBodyUserAgent;
|
|
2689
2719
|
}; //#endregion
|
|
2690
|
-
//#region src/generated/model/
|
|
2720
|
+
//#region src/generated/model/createSessionDefault.d.ts
|
|
2691
2721
|
/**
|
|
2692
2722
|
* Generated by orval v8.10.0 🍺
|
|
2693
2723
|
* Do not edit manually.
|
|
@@ -2695,11 +2725,8 @@ type CreateSessionBody = {
|
|
|
2695
2725
|
* This is the next generation of the Zitadel identity platform.
|
|
2696
2726
|
* OpenAPI spec version: 0.0.1
|
|
2697
2727
|
*/
|
|
2698
|
-
/**
|
|
2699
|
-
* Additional error-specific context.
|
|
2700
|
-
*/
|
|
2701
2728
|
//#endregion
|
|
2702
|
-
//#region src/generated/model/
|
|
2729
|
+
//#region src/generated/model/createTeam201Status.d.ts
|
|
2703
2730
|
/**
|
|
2704
2731
|
* Generated by orval v8.10.0 🍺
|
|
2705
2732
|
* Do not edit manually.
|
|
@@ -2707,9 +2734,32 @@ type CreateSessionBody = {
|
|
|
2707
2734
|
* This is the next generation of the Zitadel identity platform.
|
|
2708
2735
|
* OpenAPI spec version: 0.0.1
|
|
2709
2736
|
*/
|
|
2737
|
+
/**
|
|
2738
|
+
* The lifecycle state of a team.
|
|
2739
|
+
|
|
2740
|
+
active: The team is available for use.
|
|
2741
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
2742
|
+
|
|
2743
|
+
*/
|
|
2744
|
+
type CreateTeam201Status = (typeof CreateTeam201Status)[keyof typeof CreateTeam201Status];
|
|
2745
|
+
declare const CreateTeam201Status: {
|
|
2746
|
+
readonly active: "active";
|
|
2747
|
+
readonly deactivated: "deactivated";
|
|
2748
|
+
}; //#endregion
|
|
2749
|
+
//#region src/generated/model/createTeam201.d.ts
|
|
2750
|
+
/**
|
|
2751
|
+
* Details of a team.
|
|
2752
|
+
*/
|
|
2710
2753
|
type CreateTeam201 = {
|
|
2711
|
-
/** The unique identifier of the team. */id: string; /** The
|
|
2712
|
-
|
|
2754
|
+
/** The unique identifier of the team. */id: string; /** The name of the team. */
|
|
2755
|
+
name: string;
|
|
2756
|
+
/** The lifecycle state of a team.
|
|
2757
|
+
active: The team is available for use.
|
|
2758
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
2759
|
+
*/
|
|
2760
|
+
status: CreateTeam201Status; /** The time when the team was created. */
|
|
2761
|
+
created_at: string; /** The time when the team was last updated. */
|
|
2762
|
+
updated_at: string;
|
|
2713
2763
|
}; //#endregion
|
|
2714
2764
|
//#region src/generated/model/createTeam400Details.d.ts
|
|
2715
2765
|
/**
|
|
@@ -2732,7 +2782,12 @@ type CreateTeam201 = {
|
|
|
2732
2782
|
* OpenAPI spec version: 0.0.1
|
|
2733
2783
|
*/
|
|
2734
2784
|
type CreateTeamBody = {
|
|
2735
|
-
|
|
2785
|
+
/**
|
|
2786
|
+
* The name of the team. Must be unique within the project.
|
|
2787
|
+
* @minLength 1
|
|
2788
|
+
* @maxLength 200
|
|
2789
|
+
*/
|
|
2790
|
+
name: string;
|
|
2736
2791
|
}; //#endregion
|
|
2737
2792
|
//#region src/generated/model/createTeamDefaultDetails.d.ts
|
|
2738
2793
|
/**
|
|
@@ -2790,7 +2845,7 @@ type CreateUser201 = {
|
|
|
2790
2845
|
* Additional error-specific context.
|
|
2791
2846
|
*/
|
|
2792
2847
|
//#endregion
|
|
2793
|
-
//#region src/generated/model/
|
|
2848
|
+
//#region src/generated/model/createUserBodyMetadataStatus.d.ts
|
|
2794
2849
|
/**
|
|
2795
2850
|
* Generated by orval v8.10.0 🍺
|
|
2796
2851
|
* Do not edit manually.
|
|
@@ -2798,17 +2853,46 @@ type CreateUser201 = {
|
|
|
2798
2853
|
* This is the next generation of the Zitadel identity platform.
|
|
2799
2854
|
* OpenAPI spec version: 0.0.1
|
|
2800
2855
|
*/
|
|
2856
|
+
/**
|
|
2857
|
+
* The status of the user.
|
|
2858
|
+
*/
|
|
2859
|
+
type CreateUserBodyMetadataStatus = (typeof CreateUserBodyMetadataStatus)[keyof typeof CreateUserBodyMetadataStatus];
|
|
2860
|
+
declare const CreateUserBodyMetadataStatus: {
|
|
2861
|
+
readonly active: "active";
|
|
2862
|
+
readonly suspended: "suspended";
|
|
2863
|
+
readonly deactivated: "deactivated";
|
|
2864
|
+
readonly pending_purge: "pending_purge";
|
|
2865
|
+
}; //#endregion
|
|
2866
|
+
//#region src/generated/model/createUserBodyMetadata.d.ts
|
|
2867
|
+
type CreateUserBodyMetadata = {
|
|
2868
|
+
/** The time when the user was created. */created_at: string; /** The time when the user was last updated. */
|
|
2869
|
+
updated_at: string; /** The status of the user. */
|
|
2870
|
+
status: CreateUserBodyMetadataStatus;
|
|
2871
|
+
/** The team that owns this user's identity lifecycle, or `null` when the
|
|
2872
|
+
user is self-owned. This is a single team and a different concept from
|
|
2873
|
+
the user's team roster: it decides who may deprovision the user, not
|
|
2874
|
+
which teams the user collaborates in. The roster is its own paginated
|
|
2875
|
+
resource — `GET /users/{user_id}/teams`.
|
|
2876
|
+
*/
|
|
2877
|
+
lifecycle_owner_team_id?: string | null;
|
|
2878
|
+
}; //#endregion
|
|
2879
|
+
//#region src/generated/model/createUserBody.d.ts
|
|
2801
2880
|
/**
|
|
2802
2881
|
* A user represents an individual identity in the system. It can be used to
|
|
2803
2882
|
represent a human user, but also a service account or any other type of
|
|
2804
2883
|
identity. The content of a user is determined by the configured schema for
|
|
2805
2884
|
users, this is only a base schema.
|
|
2806
2885
|
|
|
2886
|
+
The server assigns the resource primary key (`id`) on create. Clients must
|
|
2887
|
+
not send `id` in the create body; it is returned in the create response.
|
|
2888
|
+
|
|
2807
2889
|
*/
|
|
2808
2890
|
type CreateUserBody = {
|
|
2891
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
|
|
2892
|
+
metadata?: CreateUserBodyMetadata;
|
|
2809
2893
|
[key: string]: unknown;
|
|
2810
2894
|
}; //#endregion
|
|
2811
|
-
//#region src/generated/model/
|
|
2895
|
+
//#region src/generated/model/createUserDefault.d.ts
|
|
2812
2896
|
/**
|
|
2813
2897
|
* Generated by orval v8.10.0 🍺
|
|
2814
2898
|
* Do not edit manually.
|
|
@@ -2816,9 +2900,6 @@ type CreateUserBody = {
|
|
|
2816
2900
|
* This is the next generation of the Zitadel identity platform.
|
|
2817
2901
|
* OpenAPI spec version: 0.0.1
|
|
2818
2902
|
*/
|
|
2819
|
-
/**
|
|
2820
|
-
* Additional error-specific context.
|
|
2821
|
-
*/
|
|
2822
2903
|
//#endregion
|
|
2823
2904
|
//#region src/generated/model/createUserParams.d.ts
|
|
2824
2905
|
/**
|
|
@@ -2840,7 +2921,7 @@ type CreateUserParams = {
|
|
|
2840
2921
|
*/
|
|
2841
2922
|
team_id?: string;
|
|
2842
2923
|
}; //#endregion
|
|
2843
|
-
//#region src/generated/model/
|
|
2924
|
+
//#region src/generated/model/deleteFlowDefinition409Details.d.ts
|
|
2844
2925
|
/**
|
|
2845
2926
|
* Generated by orval v8.10.0 🍺
|
|
2846
2927
|
* Do not edit manually.
|
|
@@ -2852,7 +2933,7 @@ type CreateUserParams = {
|
|
|
2852
2933
|
* Additional error-specific context.
|
|
2853
2934
|
*/
|
|
2854
2935
|
//#endregion
|
|
2855
|
-
//#region src/generated/model/
|
|
2936
|
+
//#region src/generated/model/deleteFlowDefinitionParams.d.ts
|
|
2856
2937
|
/**
|
|
2857
2938
|
* Generated by orval v8.10.0 🍺
|
|
2858
2939
|
* Do not edit manually.
|
|
@@ -2860,14 +2941,14 @@ type CreateUserParams = {
|
|
|
2860
2941
|
* This is the next generation of the Zitadel identity platform.
|
|
2861
2942
|
* OpenAPI spec version: 0.0.1
|
|
2862
2943
|
*/
|
|
2863
|
-
type
|
|
2944
|
+
type DeleteFlowDefinitionParams = {
|
|
2864
2945
|
/**
|
|
2865
|
-
* The
|
|
2946
|
+
* The project id to filter by.
|
|
2866
2947
|
* @pattern ^[a-zA-Z0-9_-]+$
|
|
2867
2948
|
*/
|
|
2868
2949
|
project_id: string;
|
|
2869
2950
|
}; //#endregion
|
|
2870
|
-
//#region src/generated/model/
|
|
2951
|
+
//#region src/generated/model/deleteTeam400Details.d.ts
|
|
2871
2952
|
/**
|
|
2872
2953
|
* Generated by orval v8.10.0 🍺
|
|
2873
2954
|
* Do not edit manually.
|
|
@@ -2879,7 +2960,7 @@ type DeactivateFlowDefinitionParams = {
|
|
|
2879
2960
|
* Additional error-specific context.
|
|
2880
2961
|
*/
|
|
2881
2962
|
//#endregion
|
|
2882
|
-
//#region src/generated/model/
|
|
2963
|
+
//#region src/generated/model/deleteTeamParams.d.ts
|
|
2883
2964
|
/**
|
|
2884
2965
|
* Generated by orval v8.10.0 🍺
|
|
2885
2966
|
* Do not edit manually.
|
|
@@ -2887,14 +2968,14 @@ type DeactivateFlowDefinitionParams = {
|
|
|
2887
2968
|
* This is the next generation of the Zitadel identity platform.
|
|
2888
2969
|
* OpenAPI spec version: 0.0.1
|
|
2889
2970
|
*/
|
|
2890
|
-
type
|
|
2971
|
+
type DeleteTeamParams = {
|
|
2891
2972
|
/**
|
|
2892
|
-
* The
|
|
2973
|
+
* The unique identifier of the project
|
|
2893
2974
|
* @pattern ^[a-zA-Z0-9_-]+$
|
|
2894
2975
|
*/
|
|
2895
2976
|
project_id: string;
|
|
2896
2977
|
}; //#endregion
|
|
2897
|
-
//#region src/generated/model/
|
|
2978
|
+
//#region src/generated/model/deleteUserByID401Details.d.ts
|
|
2898
2979
|
/**
|
|
2899
2980
|
* Generated by orval v8.10.0 🍺
|
|
2900
2981
|
* Do not edit manually.
|
|
@@ -2906,7 +2987,7 @@ type DeleteFlowDefinitionParams = {
|
|
|
2906
2987
|
* Additional error-specific context.
|
|
2907
2988
|
*/
|
|
2908
2989
|
//#endregion
|
|
2909
|
-
//#region src/generated/model/
|
|
2990
|
+
//#region src/generated/model/deleteUserByIDParams.d.ts
|
|
2910
2991
|
/**
|
|
2911
2992
|
* Generated by orval v8.10.0 🍺
|
|
2912
2993
|
* Do not edit manually.
|
|
@@ -2914,48 +2995,12 @@ type DeleteFlowDefinitionParams = {
|
|
|
2914
2995
|
* This is the next generation of the Zitadel identity platform.
|
|
2915
2996
|
* OpenAPI spec version: 0.0.1
|
|
2916
2997
|
*/
|
|
2917
|
-
type
|
|
2918
|
-
/**
|
|
2919
|
-
* The client ID is the identifier for the client application that is making
|
|
2920
|
-
the request. This is used by the authorization server to identify the
|
|
2921
|
-
client and to determine whether it is authorized to perform the requested
|
|
2922
|
-
action.
|
|
2923
|
-
*/
|
|
2924
|
-
client_id?: string;
|
|
2925
|
-
/**
|
|
2926
|
-
* The ID token hint is a previously issued ID token that can be used to
|
|
2927
|
-
pre-fill the authentication form or to provide information about the
|
|
2928
|
-
user to the authorization server. This can be useful for single sign-on
|
|
2929
|
-
scenarios or for providing a smoother user experience.
|
|
2930
|
-
*/
|
|
2931
|
-
id_token_hint?: string;
|
|
2998
|
+
type DeleteUserByIDParams = {
|
|
2932
2999
|
/**
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
logout_hint?: string;
|
|
2938
|
-
/**
|
|
2939
|
-
* The post logout redirect URI is the URI to which the user will be
|
|
2940
|
-
redirected after they have logged out. This must be a registered URI
|
|
2941
|
-
for the client application and is used to ensure that the user is
|
|
2942
|
-
redirected to a safe location after logging out.
|
|
2943
|
-
*/
|
|
2944
|
-
post_logout_redirect_uri?: string;
|
|
2945
|
-
/**
|
|
2946
|
-
* The state parameter is an opaque value that is used by the client to
|
|
2947
|
-
maintain state between the request and the callback. It is typically used
|
|
2948
|
-
to prevent cross-site request forgery (CSRF) attacks by including a unique
|
|
2949
|
-
value in the request that the client can verify when it receives the callback.
|
|
2950
|
-
*/
|
|
2951
|
-
state?: string;
|
|
2952
|
-
/**
|
|
2953
|
-
* The ui_locales parameter is a space-separated list of BCP47 language tags
|
|
2954
|
-
that are used to indicate the preferred languages and scripts for the user
|
|
2955
|
-
interface. This can be used by the authorization server to display the logout
|
|
2956
|
-
page in the user's preferred language.
|
|
2957
|
-
*/
|
|
2958
|
-
ui_locales?: string;
|
|
3000
|
+
* The unique identifier of the project
|
|
3001
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
3002
|
+
*/
|
|
3003
|
+
project_id: string;
|
|
2959
3004
|
}; //#endregion
|
|
2960
3005
|
//#region src/generated/model/exchangeHandoff200SessionFactorsItemMethod.d.ts
|
|
2961
3006
|
/**
|
|
@@ -3043,7 +3088,6 @@ type ExchangeHandoff200SessionMetadata = {
|
|
|
3043
3088
|
- `building`: has a user factor but is still gathering authentication factors
|
|
3044
3089
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
3045
3090
|
- `expired`: TTL elapsed
|
|
3046
|
-
- `revoked`: explicitly revoked via DELETE
|
|
3047
3091
|
|
|
3048
3092
|
*/
|
|
3049
3093
|
type ExchangeHandoff200SessionState = (typeof ExchangeHandoff200SessionState)[keyof typeof ExchangeHandoff200SessionState];
|
|
@@ -3051,7 +3095,6 @@ declare const ExchangeHandoff200SessionState: {
|
|
|
3051
3095
|
readonly building: "building";
|
|
3052
3096
|
readonly active: "active";
|
|
3053
3097
|
readonly expired: "expired";
|
|
3054
|
-
readonly revoked: "revoked";
|
|
3055
3098
|
}; //#endregion
|
|
3056
3099
|
//#region src/generated/model/exchangeHandoff200SessionUserAgent.d.ts
|
|
3057
3100
|
/**
|
|
@@ -3081,8 +3124,8 @@ in through `auth_attempts`.
|
|
|
3081
3124
|
*/
|
|
3082
3125
|
type ExchangeHandoff200Session = {
|
|
3083
3126
|
/**
|
|
3084
|
-
* Unique identifier for this session.
|
|
3085
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
3127
|
+
* Unique identifier for this session (dialect-minted prefixed opaque string).
|
|
3128
|
+
* @pattern ^sess_[a-zA-Z0-9_-]+$
|
|
3086
3129
|
*/
|
|
3087
3130
|
session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
3088
3131
|
project_id: string;
|
|
@@ -3090,7 +3133,6 @@ type ExchangeHandoff200Session = {
|
|
|
3090
3133
|
- `building`: has a user factor but is still gathering authentication factors
|
|
3091
3134
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
3092
3135
|
- `expired`: TTL elapsed
|
|
3093
|
-
- `revoked`: explicitly revoked via DELETE
|
|
3094
3136
|
*/
|
|
3095
3137
|
state: ExchangeHandoff200SessionState;
|
|
3096
3138
|
/** The authenticated user. Null for anonymous sessions and until the `user`
|
|
@@ -3187,7 +3229,7 @@ type ExchangeHandoffBody = {
|
|
|
3187
3229
|
*/
|
|
3188
3230
|
ttl?: string;
|
|
3189
3231
|
}; //#endregion
|
|
3190
|
-
//#region src/generated/model/
|
|
3232
|
+
//#region src/generated/model/exchangeHandoffDefault.d.ts
|
|
3191
3233
|
/**
|
|
3192
3234
|
* Generated by orval v8.10.0 🍺
|
|
3193
3235
|
* Do not edit manually.
|
|
@@ -3195,9 +3237,6 @@ type ExchangeHandoffBody = {
|
|
|
3195
3237
|
* This is the next generation of the Zitadel identity platform.
|
|
3196
3238
|
* OpenAPI spec version: 0.0.1
|
|
3197
3239
|
*/
|
|
3198
|
-
/**
|
|
3199
|
-
* Additional error-specific context.
|
|
3200
|
-
*/
|
|
3201
3240
|
//#endregion
|
|
3202
3241
|
//#region src/generated/model/exchangeHandoffParams.d.ts
|
|
3203
3242
|
/**
|
|
@@ -3293,8 +3332,8 @@ The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{ch
|
|
|
3293
3332
|
*/
|
|
3294
3333
|
type GetAuthAttempt200ChallengesItem = {
|
|
3295
3334
|
/**
|
|
3296
|
-
* Unique identifier for this challenge
|
|
3297
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
3335
|
+
* Unique identifier for this challenge (dialect-minted prefixed opaque string).
|
|
3336
|
+
* @pattern ^ch_[a-zA-Z0-9_-]+$
|
|
3298
3337
|
*/
|
|
3299
3338
|
challenge_id: string; /** An authentication factor method. */
|
|
3300
3339
|
method: GetAuthAttempt200ChallengesItemMethod;
|
|
@@ -3426,8 +3465,8 @@ Clients drive the attempt by:
|
|
|
3426
3465
|
*/
|
|
3427
3466
|
type GetAuthAttempt200 = {
|
|
3428
3467
|
/**
|
|
3429
|
-
* Unique identifier for this authentication attempt
|
|
3430
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
3468
|
+
* Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).
|
|
3469
|
+
* @pattern ^att_[a-zA-Z0-9_-]+$
|
|
3431
3470
|
*/
|
|
3432
3471
|
attempt_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
3433
3472
|
project_id: string;
|
|
@@ -3475,6 +3514,162 @@ type GetAuthAttempt200 = {
|
|
|
3475
3514
|
* OpenAPI spec version: 0.0.1
|
|
3476
3515
|
*/
|
|
3477
3516
|
//#endregion
|
|
3517
|
+
//#region src/generated/model/getBrandingById200BrandingLayout.d.ts
|
|
3518
|
+
/**
|
|
3519
|
+
* Generated by orval v8.10.0 🍺
|
|
3520
|
+
* Do not edit manually.
|
|
3521
|
+
* Zitadel NextGen
|
|
3522
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3523
|
+
* OpenAPI spec version: 0.0.1
|
|
3524
|
+
*/
|
|
3525
|
+
/**
|
|
3526
|
+
* Layout preset selector. The default.liquid master template uses this
|
|
3527
|
+
to branch into layout variants. Customers who eject the template
|
|
3528
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
3529
|
+
when a custom template fails component-side validation.
|
|
3530
|
+
|
|
3531
|
+
*/
|
|
3532
|
+
type GetBrandingById200BrandingLayout = (typeof GetBrandingById200BrandingLayout)[keyof typeof GetBrandingById200BrandingLayout];
|
|
3533
|
+
declare const GetBrandingById200BrandingLayout: {
|
|
3534
|
+
readonly centered: "centered";
|
|
3535
|
+
readonly split: "split";
|
|
3536
|
+
}; //#endregion
|
|
3537
|
+
//#region src/generated/model/getBrandingById200Branding.d.ts
|
|
3538
|
+
/**
|
|
3539
|
+
* Branding configuration. Appears in two places with one shape:
|
|
3540
|
+
|
|
3541
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
3542
|
+
latest branding revision for the project per step response (falling
|
|
3543
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
3544
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
3545
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
3546
|
+
shape as a new immutable revision (see ADR 040).
|
|
3547
|
+
|
|
3548
|
+
*/
|
|
3549
|
+
type GetBrandingById200Branding = {
|
|
3550
|
+
/** Layout preset selector. The default.liquid master template uses this
|
|
3551
|
+
to branch into layout variants. Customers who eject the template
|
|
3552
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
3553
|
+
when a custom template fails component-side validation.
|
|
3554
|
+
*/
|
|
3555
|
+
layout?: GetBrandingById200BrandingLayout;
|
|
3556
|
+
/**
|
|
3557
|
+
* The LiquidJS template string for rendering this step. The orchestrator
|
|
3558
|
+
parses this template, injects the capability dictionaries as context,
|
|
3559
|
+
and renders the output HTML into its Shadow DOM.
|
|
3560
|
+
* @maxLength 131072
|
|
3561
|
+
*/
|
|
3562
|
+
liquid_template?: string; /** Team logo URL. */
|
|
3563
|
+
logo_url?: string;
|
|
3564
|
+
/** Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in
|
|
3565
|
+
v1: `POST /branding` rejects a non-empty value, because the login
|
|
3566
|
+
component loads this stylesheet at document level (shadow-scoped
|
|
3567
|
+
`@font-face` rules never register faces) and an arbitrary URL would
|
|
3568
|
+
grant `branding.write` page-wide CSS control over the embedding
|
|
3569
|
+
application. Safe tenant font delivery is an ADR 040 follow-up;
|
|
3570
|
+
until then, load fonts from the embedding page.
|
|
3571
|
+
*/
|
|
3572
|
+
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
3573
|
+
hero_url?: string;
|
|
3574
|
+
}; //#endregion
|
|
3575
|
+
//#region src/generated/model/getBrandingById200.d.ts
|
|
3576
|
+
/**
|
|
3577
|
+
* A stored branding revision. `branding` echoes the canonical stored
|
|
3578
|
+
configuration so clients (e.g. the CLI sync engine) can reconcile local
|
|
3579
|
+
files with the server's stored state.
|
|
3580
|
+
|
|
3581
|
+
*/
|
|
3582
|
+
type GetBrandingById200 = {
|
|
3583
|
+
/** The unique identifier of this branding revision. */id: string; /** When this revision was published. */
|
|
3584
|
+
created_at: string;
|
|
3585
|
+
/** Branding configuration. Appears in two places with one shape:
|
|
3586
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
3587
|
+
latest branding revision for the project per step response (falling
|
|
3588
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
3589
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
3590
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
3591
|
+
shape as a new immutable revision (see ADR 040).
|
|
3592
|
+
*/
|
|
3593
|
+
branding: GetBrandingById200Branding;
|
|
3594
|
+
}; //#endregion
|
|
3595
|
+
//#region src/generated/model/getBrandingById404Details.d.ts
|
|
3596
|
+
/**
|
|
3597
|
+
* Generated by orval v8.10.0 🍺
|
|
3598
|
+
* Do not edit manually.
|
|
3599
|
+
* Zitadel NextGen
|
|
3600
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3601
|
+
* OpenAPI spec version: 0.0.1
|
|
3602
|
+
*/
|
|
3603
|
+
/**
|
|
3604
|
+
* Additional error-specific context.
|
|
3605
|
+
*/
|
|
3606
|
+
//#endregion
|
|
3607
|
+
//#region src/generated/model/getBrandingByIdParams.d.ts
|
|
3608
|
+
/**
|
|
3609
|
+
* Generated by orval v8.10.0 🍺
|
|
3610
|
+
* Do not edit manually.
|
|
3611
|
+
* Zitadel NextGen
|
|
3612
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3613
|
+
* OpenAPI spec version: 0.0.1
|
|
3614
|
+
*/
|
|
3615
|
+
type GetBrandingByIdParams = {
|
|
3616
|
+
/**
|
|
3617
|
+
* The unique identifier of the project
|
|
3618
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
3619
|
+
*/
|
|
3620
|
+
project_id: string;
|
|
3621
|
+
}; //#endregion
|
|
3622
|
+
//#region src/generated/model/getClaimStatus200.d.ts
|
|
3623
|
+
/**
|
|
3624
|
+
* Generated by orval v8.10.0 🍺
|
|
3625
|
+
* Do not edit manually.
|
|
3626
|
+
* Zitadel NextGen
|
|
3627
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3628
|
+
* OpenAPI spec version: 0.0.1
|
|
3629
|
+
*/
|
|
3630
|
+
/**
|
|
3631
|
+
* The state of a claim challenge. While pending it carries only `status`; once
|
|
3632
|
+
completed it also carries the owning team, the claim timestamp, and the
|
|
3633
|
+
dashboard URL. Modelled as discriminated variants so a `pending` response can
|
|
3634
|
+
never carry stale completion fields and a `completed` response always carries
|
|
3635
|
+
them.
|
|
3636
|
+
|
|
3637
|
+
*/
|
|
3638
|
+
type GetClaimStatus200 = {
|
|
3639
|
+
/** The claim has not completed yet. */status: "pending";
|
|
3640
|
+
} | {
|
|
3641
|
+
/** The claim has completed. */status: "completed"; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
3642
|
+
team_id: string; /** The time when the project was claimed. */
|
|
3643
|
+
claimed_at: string; /** The dashboard URL for the owning team. */
|
|
3644
|
+
dashboard_url: string;
|
|
3645
|
+
}; //#endregion
|
|
3646
|
+
//#region src/generated/model/getClaimStatus401Details.d.ts
|
|
3647
|
+
/**
|
|
3648
|
+
* Generated by orval v8.10.0 🍺
|
|
3649
|
+
* Do not edit manually.
|
|
3650
|
+
* Zitadel NextGen
|
|
3651
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3652
|
+
* OpenAPI spec version: 0.0.1
|
|
3653
|
+
*/
|
|
3654
|
+
/**
|
|
3655
|
+
* Additional error-specific context.
|
|
3656
|
+
*/
|
|
3657
|
+
//#endregion
|
|
3658
|
+
//#region src/generated/model/getClaimStatusParams.d.ts
|
|
3659
|
+
/**
|
|
3660
|
+
* Generated by orval v8.10.0 🍺
|
|
3661
|
+
* Do not edit manually.
|
|
3662
|
+
* Zitadel NextGen
|
|
3663
|
+
* This is the next generation of the Zitadel identity platform.
|
|
3664
|
+
* OpenAPI spec version: 0.0.1
|
|
3665
|
+
*/
|
|
3666
|
+
type GetClaimStatusParams = {
|
|
3667
|
+
/**
|
|
3668
|
+
* Unique identifier for this challenge (dialect-minted prefixed opaque string).
|
|
3669
|
+
* @pattern ^ch_[a-zA-Z0-9_-]+$
|
|
3670
|
+
*/
|
|
3671
|
+
challenge_id: string;
|
|
3672
|
+
}; //#endregion
|
|
3478
3673
|
//#region src/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts
|
|
3479
3674
|
/**
|
|
3480
3675
|
* Generated by orval v8.10.0 🍺
|
|
@@ -3855,7 +4050,7 @@ type GetFlowDefinition200 = {
|
|
|
3855
4050
|
created_at: string;
|
|
3856
4051
|
updated_at: string;
|
|
3857
4052
|
}; //#endregion
|
|
3858
|
-
//#region src/generated/model/
|
|
4053
|
+
//#region src/generated/model/getFlowDefinitionDefault.d.ts
|
|
3859
4054
|
/**
|
|
3860
4055
|
* Generated by orval v8.10.0 🍺
|
|
3861
4056
|
* Do not edit manually.
|
|
@@ -3863,9 +4058,6 @@ type GetFlowDefinition200 = {
|
|
|
3863
4058
|
* This is the next generation of the Zitadel identity platform.
|
|
3864
4059
|
* OpenAPI spec version: 0.0.1
|
|
3865
4060
|
*/
|
|
3866
|
-
/**
|
|
3867
|
-
* Additional error-specific context.
|
|
3868
|
-
*/
|
|
3869
4061
|
//#endregion
|
|
3870
4062
|
//#region src/generated/model/getFlowDefinitionParams.d.ts
|
|
3871
4063
|
/**
|
|
@@ -3893,7 +4085,8 @@ type GetFlowDefinitionParams = {
|
|
|
3893
4085
|
/**
|
|
3894
4086
|
* Layout preset selector. The default.liquid master template uses this
|
|
3895
4087
|
to branch into layout variants. Customers who eject the template
|
|
3896
|
-
can ignore this field entirely
|
|
4088
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
4089
|
+
when a custom template fails component-side validation.
|
|
3897
4090
|
|
|
3898
4091
|
*/
|
|
3899
4092
|
type GetFlowStep200BrandingLayout = (typeof GetFlowStep200BrandingLayout)[keyof typeof GetFlowStep200BrandingLayout];
|
|
@@ -3903,23 +4096,39 @@ declare const GetFlowStep200BrandingLayout: {
|
|
|
3903
4096
|
}; //#endregion
|
|
3904
4097
|
//#region src/generated/model/getFlowStep200Branding.d.ts
|
|
3905
4098
|
/**
|
|
3906
|
-
*
|
|
3907
|
-
|
|
3908
|
-
|
|
4099
|
+
* Branding configuration. Appears in two places with one shape:
|
|
4100
|
+
|
|
4101
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
4102
|
+
latest branding revision for the project per step response (falling
|
|
4103
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
4104
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
4105
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
4106
|
+
shape as a new immutable revision (see ADR 040).
|
|
3909
4107
|
|
|
3910
4108
|
*/
|
|
3911
4109
|
type GetFlowStep200Branding = {
|
|
3912
4110
|
/** Layout preset selector. The default.liquid master template uses this
|
|
3913
4111
|
to branch into layout variants. Customers who eject the template
|
|
3914
|
-
can ignore this field entirely
|
|
4112
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
4113
|
+
when a custom template fails component-side validation.
|
|
3915
4114
|
*/
|
|
3916
4115
|
layout?: GetFlowStep200BrandingLayout;
|
|
3917
|
-
/**
|
|
4116
|
+
/**
|
|
4117
|
+
* The LiquidJS template string for rendering this step. The orchestrator
|
|
3918
4118
|
parses this template, injects the capability dictionaries as context,
|
|
3919
4119
|
and renders the output HTML into its Shadow DOM.
|
|
3920
|
-
|
|
4120
|
+
* @maxLength 131072
|
|
4121
|
+
*/
|
|
3921
4122
|
liquid_template?: string; /** Team logo URL. */
|
|
3922
|
-
logo_url?: string;
|
|
4123
|
+
logo_url?: string;
|
|
4124
|
+
/** Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in
|
|
4125
|
+
v1: `POST /branding` rejects a non-empty value, because the login
|
|
4126
|
+
component loads this stylesheet at document level (shadow-scoped
|
|
4127
|
+
`@font-face` rules never register faces) and an arbitrary URL would
|
|
4128
|
+
grant `branding.write` page-wide CSS control over the embedding
|
|
4129
|
+
application. Safe tenant font delivery is an ADR 040 follow-up;
|
|
4130
|
+
until then, load fonts from the embedding page.
|
|
4131
|
+
*/
|
|
3923
4132
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
3924
4133
|
hero_url?: string;
|
|
3925
4134
|
}; //#endregion
|
|
@@ -4296,9 +4505,11 @@ type GetFlowStep200Step = {
|
|
|
4296
4505
|
(e.g. `error.email_required`; the `format` rule is spelled
|
|
4297
4506
|
`error.<field>_invalid`), multiple violations joined with `"; "`.
|
|
4298
4507
|
Field names appear verbatim, so clients localise unknown keys via
|
|
4299
|
-
the generic `error.field_<rule>` catalog entries. Other
|
|
4300
|
-
carry
|
|
4301
|
-
`
|
|
4508
|
+
the generic `error.field_<rule>` catalog entries. Other engine
|
|
4509
|
+
failures carry `error.*` catalog keys as well (e.g.
|
|
4510
|
+
`error.invalid_credentials`, `error.passkey_invalid`); a
|
|
4511
|
+
non-`error.` payload is an outcome token (e.g. `user_not_found`)
|
|
4512
|
+
that clients keep verbatim.
|
|
4302
4513
|
*/
|
|
4303
4514
|
error?: string | null;
|
|
4304
4515
|
/** Present only on terminal steps. Tells the frontend what to do:
|
|
@@ -4347,9 +4558,13 @@ type GetFlowStep200 = {
|
|
|
4347
4558
|
and builds name-keyed indexes locally for lookup.
|
|
4348
4559
|
*/
|
|
4349
4560
|
step: GetFlowStep200Step;
|
|
4350
|
-
/**
|
|
4351
|
-
|
|
4352
|
-
|
|
4561
|
+
/** Branding configuration. Appears in two places with one shape:
|
|
4562
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
4563
|
+
latest branding revision for the project per step response (falling
|
|
4564
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
4565
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
4566
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
4567
|
+
shape as a new immutable revision (see ADR 040).
|
|
4353
4568
|
*/
|
|
4354
4569
|
branding?: GetFlowStep200Branding; /** Present when `step.complete` is `redirect`. */
|
|
4355
4570
|
redirect_uri?: string;
|
|
@@ -4398,53 +4613,7 @@ type GetHealthDefault = {
|
|
|
4398
4613
|
message: string; /** Additional error-specific context. */
|
|
4399
4614
|
details?: GetHealthDefaultDetails;
|
|
4400
4615
|
}; //#endregion
|
|
4401
|
-
//#region src/generated/model/
|
|
4402
|
-
/**
|
|
4403
|
-
* Generated by orval v8.10.0 🍺
|
|
4404
|
-
* Do not edit manually.
|
|
4405
|
-
* Zitadel NextGen
|
|
4406
|
-
* This is the next generation of the Zitadel identity platform.
|
|
4407
|
-
* OpenAPI spec version: 0.0.1
|
|
4408
|
-
*/
|
|
4409
|
-
/**
|
|
4410
|
-
* Additional error-specific context.
|
|
4411
|
-
*/
|
|
4412
|
-
//#endregion
|
|
4413
|
-
//#region src/generated/model/getKeys200KeysItem.d.ts
|
|
4414
|
-
/**
|
|
4415
|
-
* Generated by orval v8.10.0 🍺
|
|
4416
|
-
* Do not edit manually.
|
|
4417
|
-
* Zitadel NextGen
|
|
4418
|
-
* This is the next generation of the Zitadel identity platform.
|
|
4419
|
-
* OpenAPI spec version: 0.0.1
|
|
4420
|
-
*/
|
|
4421
|
-
type GetKeys200KeysItem = {
|
|
4422
|
-
use?: string;
|
|
4423
|
-
kty?: string;
|
|
4424
|
-
kid?: string;
|
|
4425
|
-
crv?: string;
|
|
4426
|
-
alg?: string;
|
|
4427
|
-
k?: string;
|
|
4428
|
-
x?: string;
|
|
4429
|
-
y?: string;
|
|
4430
|
-
n?: string;
|
|
4431
|
-
e?: string;
|
|
4432
|
-
d?: string;
|
|
4433
|
-
p?: string;
|
|
4434
|
-
q?: string;
|
|
4435
|
-
dp?: string;
|
|
4436
|
-
dq?: string;
|
|
4437
|
-
qi?: string;
|
|
4438
|
-
x5c?: string[];
|
|
4439
|
-
x5u?: string;
|
|
4440
|
-
x5t?: string;
|
|
4441
|
-
x5tS256?: string;
|
|
4442
|
-
}; //#endregion
|
|
4443
|
-
//#region src/generated/model/getKeys200.d.ts
|
|
4444
|
-
type GetKeys200 = {
|
|
4445
|
-
keys?: GetKeys200KeysItem[];
|
|
4446
|
-
}; //#endregion
|
|
4447
|
-
//#region src/generated/model/getKeysDefaultDetails.d.ts
|
|
4616
|
+
//#region src/generated/model/getLive4xxDetails.d.ts
|
|
4448
4617
|
/**
|
|
4449
4618
|
* Generated by orval v8.10.0 🍺
|
|
4450
4619
|
* Do not edit manually.
|
|
@@ -4565,7 +4734,6 @@ type GetMySession200Metadata = {
|
|
|
4565
4734
|
- `building`: has a user factor but is still gathering authentication factors
|
|
4566
4735
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
4567
4736
|
- `expired`: TTL elapsed
|
|
4568
|
-
- `revoked`: explicitly revoked via DELETE
|
|
4569
4737
|
|
|
4570
4738
|
*/
|
|
4571
4739
|
type GetMySession200State = (typeof GetMySession200State)[keyof typeof GetMySession200State];
|
|
@@ -4573,7 +4741,6 @@ declare const GetMySession200State: {
|
|
|
4573
4741
|
readonly building: "building";
|
|
4574
4742
|
readonly active: "active";
|
|
4575
4743
|
readonly expired: "expired";
|
|
4576
|
-
readonly revoked: "revoked";
|
|
4577
4744
|
}; //#endregion
|
|
4578
4745
|
//#region src/generated/model/getMySession200UserAgent.d.ts
|
|
4579
4746
|
/**
|
|
@@ -4603,8 +4770,8 @@ in through `auth_attempts`.
|
|
|
4603
4770
|
*/
|
|
4604
4771
|
type GetMySession200 = {
|
|
4605
4772
|
/**
|
|
4606
|
-
* Unique identifier for this session.
|
|
4607
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
4773
|
+
* Unique identifier for this session (dialect-minted prefixed opaque string).
|
|
4774
|
+
* @pattern ^sess_[a-zA-Z0-9_-]+$
|
|
4608
4775
|
*/
|
|
4609
4776
|
session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
4610
4777
|
project_id: string;
|
|
@@ -4612,7 +4779,6 @@ type GetMySession200 = {
|
|
|
4612
4779
|
- `building`: has a user factor but is still gathering authentication factors
|
|
4613
4780
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
4614
4781
|
- `expired`: TTL elapsed
|
|
4615
|
-
- `revoked`: explicitly revoked via DELETE
|
|
4616
4782
|
*/
|
|
4617
4783
|
state: GetMySession200State;
|
|
4618
4784
|
/** The authenticated user. Null for anonymous sessions and until the `user`
|
|
@@ -4656,30 +4822,7 @@ type GetMySession200 = {
|
|
|
4656
4822
|
*/
|
|
4657
4823
|
expires_at: string;
|
|
4658
4824
|
}; //#endregion
|
|
4659
|
-
//#region src/generated/model/
|
|
4660
|
-
/**
|
|
4661
|
-
* Generated by orval v8.10.0 🍺
|
|
4662
|
-
* Do not edit manually.
|
|
4663
|
-
* Zitadel NextGen
|
|
4664
|
-
* This is the next generation of the Zitadel identity platform.
|
|
4665
|
-
* OpenAPI spec version: 0.0.1
|
|
4666
|
-
*/
|
|
4667
|
-
/**
|
|
4668
|
-
* Additional error-specific context.
|
|
4669
|
-
*/
|
|
4670
|
-
//#endregion
|
|
4671
|
-
//#region src/generated/model/getMyUser200.d.ts
|
|
4672
|
-
/**
|
|
4673
|
-
* Generated by orval v8.10.0 🍺
|
|
4674
|
-
* Do not edit manually.
|
|
4675
|
-
* Zitadel NextGen
|
|
4676
|
-
* This is the next generation of the Zitadel identity platform.
|
|
4677
|
-
* OpenAPI spec version: 0.0.1
|
|
4678
|
-
*/
|
|
4679
|
-
type GetMyUser200 = {
|
|
4680
|
-
[key: string]: unknown;
|
|
4681
|
-
}; //#endregion
|
|
4682
|
-
//#region src/generated/model/getMyUser401Details.d.ts
|
|
4825
|
+
//#region src/generated/model/getMySession401.d.ts
|
|
4683
4826
|
/**
|
|
4684
4827
|
* Generated by orval v8.10.0 🍺
|
|
4685
4828
|
* Do not edit manually.
|
|
@@ -4688,39 +4831,13 @@ type GetMyUser200 = {
|
|
|
4688
4831
|
* OpenAPI spec version: 0.0.1
|
|
4689
4832
|
*/
|
|
4690
4833
|
/**
|
|
4691
|
-
*
|
|
4834
|
+
* The request lacks valid authentication credentials.
|
|
4835
|
+
|
|
4836
|
+
Error code: auth.unauthorized
|
|
4837
|
+
|
|
4692
4838
|
*/
|
|
4693
4839
|
//#endregion
|
|
4694
|
-
//#region src/generated/model/
|
|
4695
|
-
/**
|
|
4696
|
-
* Generated by orval v8.10.0 🍺
|
|
4697
|
-
* Do not edit manually.
|
|
4698
|
-
* Zitadel NextGen
|
|
4699
|
-
* This is the next generation of the Zitadel identity platform.
|
|
4700
|
-
* OpenAPI spec version: 0.0.1
|
|
4701
|
-
*/
|
|
4702
|
-
type GetOpenIDConfiguration200ClaimTypesSupportedItem = (typeof GetOpenIDConfiguration200ClaimTypesSupportedItem)[keyof typeof GetOpenIDConfiguration200ClaimTypesSupportedItem];
|
|
4703
|
-
declare const GetOpenIDConfiguration200ClaimTypesSupportedItem: {
|
|
4704
|
-
readonly normal: "normal";
|
|
4705
|
-
readonly aggregated: "aggregated";
|
|
4706
|
-
readonly distributed: "distributed";
|
|
4707
|
-
}; //#endregion
|
|
4708
|
-
//#region src/generated/model/getOpenIDConfiguration200DisplayValuesSupportedItem.d.ts
|
|
4709
|
-
/**
|
|
4710
|
-
* Generated by orval v8.10.0 🍺
|
|
4711
|
-
* Do not edit manually.
|
|
4712
|
-
* Zitadel NextGen
|
|
4713
|
-
* This is the next generation of the Zitadel identity platform.
|
|
4714
|
-
* OpenAPI spec version: 0.0.1
|
|
4715
|
-
*/
|
|
4716
|
-
type GetOpenIDConfiguration200DisplayValuesSupportedItem = (typeof GetOpenIDConfiguration200DisplayValuesSupportedItem)[keyof typeof GetOpenIDConfiguration200DisplayValuesSupportedItem];
|
|
4717
|
-
declare const GetOpenIDConfiguration200DisplayValuesSupportedItem: {
|
|
4718
|
-
readonly page: "page";
|
|
4719
|
-
readonly popup: "popup";
|
|
4720
|
-
readonly touch: "touch";
|
|
4721
|
-
readonly wap: "wap";
|
|
4722
|
-
}; //#endregion
|
|
4723
|
-
//#region src/generated/model/getOpenIDConfiguration200SubjectTypesSupportedItem.d.ts
|
|
4840
|
+
//#region src/generated/model/getMyUser200MetadataStatus.d.ts
|
|
4724
4841
|
/**
|
|
4725
4842
|
* Generated by orval v8.10.0 🍺
|
|
4726
4843
|
* Do not edit manually.
|
|
@@ -4728,68 +4845,46 @@ declare const GetOpenIDConfiguration200DisplayValuesSupportedItem: {
|
|
|
4728
4845
|
* This is the next generation of the Zitadel identity platform.
|
|
4729
4846
|
* OpenAPI spec version: 0.0.1
|
|
4730
4847
|
*/
|
|
4731
|
-
type GetOpenIDConfiguration200SubjectTypesSupportedItem = (typeof GetOpenIDConfiguration200SubjectTypesSupportedItem)[keyof typeof GetOpenIDConfiguration200SubjectTypesSupportedItem];
|
|
4732
|
-
declare const GetOpenIDConfiguration200SubjectTypesSupportedItem: {
|
|
4733
|
-
readonly public: "public";
|
|
4734
|
-
readonly pairwise: "pairwise";
|
|
4735
|
-
}; //#endregion
|
|
4736
|
-
//#region src/generated/model/getOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem.d.ts
|
|
4737
4848
|
/**
|
|
4738
|
-
*
|
|
4739
|
-
* Do not edit manually.
|
|
4740
|
-
* Zitadel NextGen
|
|
4741
|
-
* This is the next generation of the Zitadel identity platform.
|
|
4742
|
-
* OpenAPI spec version: 0.0.1
|
|
4849
|
+
* The status of the user.
|
|
4743
4850
|
*/
|
|
4744
|
-
type
|
|
4745
|
-
declare const
|
|
4746
|
-
readonly
|
|
4747
|
-
readonly
|
|
4748
|
-
readonly
|
|
4749
|
-
readonly
|
|
4851
|
+
type GetMyUser200MetadataStatus = (typeof GetMyUser200MetadataStatus)[keyof typeof GetMyUser200MetadataStatus];
|
|
4852
|
+
declare const GetMyUser200MetadataStatus: {
|
|
4853
|
+
readonly active: "active";
|
|
4854
|
+
readonly suspended: "suspended";
|
|
4855
|
+
readonly deactivated: "deactivated";
|
|
4856
|
+
readonly pending_purge: "pending_purge";
|
|
4857
|
+
}; //#endregion
|
|
4858
|
+
//#region src/generated/model/getMyUser200Metadata.d.ts
|
|
4859
|
+
type GetMyUser200Metadata = {
|
|
4860
|
+
/** The time when the user was created. */created_at: string; /** The time when the user was last updated. */
|
|
4861
|
+
updated_at: string; /** The status of the user. */
|
|
4862
|
+
status: GetMyUser200MetadataStatus;
|
|
4863
|
+
/** The team that owns this user's identity lifecycle, or `null` when the
|
|
4864
|
+
user is self-owned. This is a single team and a different concept from
|
|
4865
|
+
the user's team roster: it decides who may deprovision the user, not
|
|
4866
|
+
which teams the user collaborates in. The roster is its own paginated
|
|
4867
|
+
resource — `GET /users/{user_id}/teams`.
|
|
4868
|
+
*/
|
|
4869
|
+
lifecycle_owner_team_id?: string | null;
|
|
4750
4870
|
}; //#endregion
|
|
4751
|
-
//#region src/generated/model/
|
|
4871
|
+
//#region src/generated/model/getMyUser200.d.ts
|
|
4752
4872
|
/**
|
|
4753
|
-
*
|
|
4873
|
+
* A user represents an individual identity in the system. It can be used to
|
|
4874
|
+
represent a human user, but also a service account or any other type of
|
|
4875
|
+
identity. The content of a user is determined by the configured schema for
|
|
4876
|
+
users, this is only a base schema.
|
|
4877
|
+
|
|
4878
|
+
The server assigns the resource primary key (`id`) on create. Clients must
|
|
4879
|
+
not send `id` in the create body; it is returned in the create response.
|
|
4880
|
+
|
|
4754
4881
|
*/
|
|
4755
|
-
type
|
|
4756
|
-
/**
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
userinfo_endpoint?: string; /** REQUIRED. URL of the OP's JWK Set document containing the signing key(s) the RP uses to validate signatures from the OP. */
|
|
4760
|
-
jwks_uri: string; /** RECOMMENDED. URL of the OP's Dynamic Client Registration Endpoint. */
|
|
4761
|
-
registration_endpoint?: string; /** RECOMMENDED. JSON array containing a list of the OAuth 2.0 scope values that this server supports. The server MUST support the openid scope value. */
|
|
4762
|
-
scopes_supported?: string[]; /** REQUIRED. JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. */
|
|
4763
|
-
response_types_supported: string[]; /** OPTIONAL. JSON array containing a list of the OAuth 2.0 response_mode values that this OP supports. Default is ["query", "fragment"]. */
|
|
4764
|
-
response_modes_supported?: string[]; /** OPTIONAL. JSON array containing a list of the OAuth 2.0 Grant Type values that this OP supports. Default is ["authorization_code", "implicit"]. */
|
|
4765
|
-
grant_types_supported?: string[]; /** OPTIONAL. JSON array containing a list of the Authentication Context Class References that this OP supports. */
|
|
4766
|
-
acr_values_supported?: string[]; /** REQUIRED. JSON array containing a list of the Subject Identifier types that this OP supports. Valid types include pairwise and public. */
|
|
4767
|
-
subject_types_supported: GetOpenIDConfiguration200SubjectTypesSupportedItem[]; /** REQUIRED. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for the ID Token. The algorithm RS256 MUST be included. */
|
|
4768
|
-
id_token_signing_alg_values_supported: string[]; /** OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for the ID Token. */
|
|
4769
|
-
id_token_encryption_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for the ID Token. */
|
|
4770
|
-
id_token_encryption_enc_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the UserInfo Endpoint. */
|
|
4771
|
-
userinfo_signing_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the UserInfo Endpoint. */
|
|
4772
|
-
userinfo_encryption_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the UserInfo Endpoint. */
|
|
4773
|
-
userinfo_encryption_enc_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWS signing algorithms (alg values) supported by the OP for Request Objects. Servers SHOULD support none and RS256. */
|
|
4774
|
-
request_object_signing_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the OP for Request Objects. */
|
|
4775
|
-
request_object_encryption_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the OP for Request Objects. */
|
|
4776
|
-
request_object_encryption_enc_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of Client Authentication methods supported by the Token Endpoint. Default is client_secret_basic. */
|
|
4777
|
-
token_endpoint_auth_methods_supported?: GetOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem[]; /** OPTIONAL. JSON array containing a list of the JWS signing algorithms supported by the Token Endpoint for private_key_jwt and client_secret_jwt authentication. The value none MUST NOT be used. */
|
|
4778
|
-
token_endpoint_auth_signing_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the display parameter values that the OpenID Provider supports. */
|
|
4779
|
-
display_values_supported?: GetOpenIDConfiguration200DisplayValuesSupportedItem[]; /** OPTIONAL. JSON array containing a list of the Claim Types that the OpenID Provider supports. Default is normal. */
|
|
4780
|
-
claim_types_supported?: GetOpenIDConfiguration200ClaimTypesSupportedItem[]; /** RECOMMENDED. JSON array containing a list of the Claim Names of the Claims that the OpenID Provider MAY be able to supply values for. */
|
|
4781
|
-
claims_supported?: string[]; /** OPTIONAL. URL of a page containing human-readable information for developers using the OpenID Provider. */
|
|
4782
|
-
service_documentation?: string; /** OPTIONAL. Languages and scripts supported for values in Claims being returned, as BCP47 language tag values. */
|
|
4783
|
-
claims_locales_supported?: string[]; /** OPTIONAL. Languages and scripts supported for the user interface, as BCP47 language tag values. */
|
|
4784
|
-
ui_locales_supported?: string[]; /** OPTIONAL. Boolean value specifying whether the OP supports use of the claims parameter. Default is false. */
|
|
4785
|
-
claims_parameter_supported?: boolean; /** OPTIONAL. Boolean value specifying whether the OP supports use of the request parameter. Default is false. */
|
|
4786
|
-
request_parameter_supported?: boolean; /** OPTIONAL. Boolean value specifying whether the OP supports use of the request_uri parameter. Default is true. */
|
|
4787
|
-
request_uri_parameter_supported?: boolean; /** OPTIONAL. Boolean value specifying whether the OP requires any request_uri values used to be pre-registered. Default is false. */
|
|
4788
|
-
require_request_uri_registration?: boolean; /** OPTIONAL. URL the OP provides to the person registering the Client about the OP's requirements on how the Relying Party can use the data provided. */
|
|
4789
|
-
op_policy_uri?: string; /** OPTIONAL. URL the OP provides to the person registering the Client about the OpenID Provider's terms of service. */
|
|
4790
|
-
op_tos_uri?: string;
|
|
4882
|
+
type GetMyUser200 = {
|
|
4883
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
|
|
4884
|
+
metadata?: GetMyUser200Metadata;
|
|
4885
|
+
[key: string]: unknown;
|
|
4791
4886
|
}; //#endregion
|
|
4792
|
-
//#region src/generated/model/
|
|
4887
|
+
//#region src/generated/model/getMyUser401Details.d.ts
|
|
4793
4888
|
/**
|
|
4794
4889
|
* Generated by orval v8.10.0 🍺
|
|
4795
4890
|
* Do not edit manually.
|
|
@@ -4817,9 +4912,9 @@ type GetProject200 = {
|
|
|
4817
4912
|
name: string;
|
|
4818
4913
|
/** Origins which are allowed for previewing and testing the project.
|
|
4819
4914
|
*/
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4915
|
+
preview_origins?: string[]; /** The time when the project was created. */
|
|
4916
|
+
created_at: string; /** The time when the project was last updated. */
|
|
4917
|
+
updated_at: string;
|
|
4823
4918
|
}; //#endregion
|
|
4824
4919
|
//#region src/generated/model/getProject401Details.d.ts
|
|
4825
4920
|
/**
|
|
@@ -4923,8 +5018,13 @@ type GetSchemaById200 = {
|
|
|
4923
5018
|
"x-unique"?: "unspecified" | "project" | "team" | null; /** The claim name for this property, if applicable */
|
|
4924
5019
|
"x-claim"?: string | null; /** Whether this property is editable by the user or not */
|
|
4925
5020
|
"x-editable"?: boolean; /** Whether this property contains sensitive information or not */
|
|
4926
|
-
"x-sensitive"?: boolean;
|
|
4927
|
-
|
|
5021
|
+
"x-sensitive"?: boolean;
|
|
5022
|
+
/** Whether this property is used for multi-factor authentication or not
|
|
5023
|
+
*/
|
|
5024
|
+
"x-mfa"?: boolean;
|
|
5025
|
+
/** A map of additional properties for the user definition, where the key is
|
|
5026
|
+
the property name and the value is the property schema.
|
|
5027
|
+
*/
|
|
4928
5028
|
properties?: {
|
|
4929
5029
|
[key: string]: unknown;
|
|
4930
5030
|
};
|
|
@@ -5051,7 +5151,6 @@ type GetSession200Metadata = {
|
|
|
5051
5151
|
- `building`: has a user factor but is still gathering authentication factors
|
|
5052
5152
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
5053
5153
|
- `expired`: TTL elapsed
|
|
5054
|
-
- `revoked`: explicitly revoked via DELETE
|
|
5055
5154
|
|
|
5056
5155
|
*/
|
|
5057
5156
|
type GetSession200State = (typeof GetSession200State)[keyof typeof GetSession200State];
|
|
@@ -5059,7 +5158,6 @@ declare const GetSession200State: {
|
|
|
5059
5158
|
readonly building: "building";
|
|
5060
5159
|
readonly active: "active";
|
|
5061
5160
|
readonly expired: "expired";
|
|
5062
|
-
readonly revoked: "revoked";
|
|
5063
5161
|
}; //#endregion
|
|
5064
5162
|
//#region src/generated/model/getSession200UserAgent.d.ts
|
|
5065
5163
|
/**
|
|
@@ -5089,8 +5187,8 @@ in through `auth_attempts`.
|
|
|
5089
5187
|
*/
|
|
5090
5188
|
type GetSession200 = {
|
|
5091
5189
|
/**
|
|
5092
|
-
* Unique identifier for this session.
|
|
5093
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5190
|
+
* Unique identifier for this session (dialect-minted prefixed opaque string).
|
|
5191
|
+
* @pattern ^sess_[a-zA-Z0-9_-]+$
|
|
5094
5192
|
*/
|
|
5095
5193
|
session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
5096
5194
|
project_id: string;
|
|
@@ -5098,7 +5196,6 @@ type GetSession200 = {
|
|
|
5098
5196
|
- `building`: has a user factor but is still gathering authentication factors
|
|
5099
5197
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
5100
5198
|
- `expired`: TTL elapsed
|
|
5101
|
-
- `revoked`: explicitly revoked via DELETE
|
|
5102
5199
|
*/
|
|
5103
5200
|
state: GetSession200State;
|
|
5104
5201
|
/** The authenticated user. Null for anonymous sessions and until the `user`
|
|
@@ -5169,7 +5266,7 @@ type GetSessionParams = {
|
|
|
5169
5266
|
*/
|
|
5170
5267
|
project_id: string;
|
|
5171
5268
|
}; //#endregion
|
|
5172
|
-
//#region src/generated/model/
|
|
5269
|
+
//#region src/generated/model/getTeam200Status.d.ts
|
|
5173
5270
|
/**
|
|
5174
5271
|
* Generated by orval v8.10.0 🍺
|
|
5175
5272
|
* Do not edit manually.
|
|
@@ -5178,12 +5275,31 @@ type GetSessionParams = {
|
|
|
5178
5275
|
* OpenAPI spec version: 0.0.1
|
|
5179
5276
|
*/
|
|
5180
5277
|
/**
|
|
5181
|
-
* The
|
|
5278
|
+
* The lifecycle state of a team.
|
|
5279
|
+
|
|
5280
|
+
active: The team is available for use.
|
|
5281
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
5282
|
+
|
|
5283
|
+
*/
|
|
5284
|
+
type GetTeam200Status = (typeof GetTeam200Status)[keyof typeof GetTeam200Status];
|
|
5285
|
+
declare const GetTeam200Status: {
|
|
5286
|
+
readonly active: "active";
|
|
5287
|
+
readonly deactivated: "deactivated";
|
|
5288
|
+
}; //#endregion
|
|
5289
|
+
//#region src/generated/model/getTeam200.d.ts
|
|
5290
|
+
/**
|
|
5291
|
+
* Details of a team.
|
|
5182
5292
|
*/
|
|
5183
5293
|
type GetTeam200 = {
|
|
5184
|
-
/** The unique identifier of the team. */id: string; /** The
|
|
5185
|
-
|
|
5186
|
-
|
|
5294
|
+
/** The unique identifier of the team. */id: string; /** The name of the team. */
|
|
5295
|
+
name: string;
|
|
5296
|
+
/** The lifecycle state of a team.
|
|
5297
|
+
active: The team is available for use.
|
|
5298
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
5299
|
+
*/
|
|
5300
|
+
status: GetTeam200Status; /** The time when the team was created. */
|
|
5301
|
+
created_at: string; /** The time when the team was last updated. */
|
|
5302
|
+
updated_at: string;
|
|
5187
5303
|
}; //#endregion
|
|
5188
5304
|
//#region src/generated/model/getTeam401Details.d.ts
|
|
5189
5305
|
/**
|
|
@@ -5212,7 +5328,7 @@ type GetTeamParams = {
|
|
|
5212
5328
|
*/
|
|
5213
5329
|
project_id: string;
|
|
5214
5330
|
}; //#endregion
|
|
5215
|
-
//#region src/generated/model/
|
|
5331
|
+
//#region src/generated/model/getUserByID200MetadataStatus.d.ts
|
|
5216
5332
|
/**
|
|
5217
5333
|
* Generated by orval v8.10.0 🍺
|
|
5218
5334
|
* Do not edit manually.
|
|
@@ -5221,10 +5337,45 @@ type GetTeamParams = {
|
|
|
5221
5337
|
* OpenAPI spec version: 0.0.1
|
|
5222
5338
|
*/
|
|
5223
5339
|
/**
|
|
5224
|
-
*
|
|
5340
|
+
* The status of the user.
|
|
5225
5341
|
*/
|
|
5226
|
-
|
|
5227
|
-
|
|
5342
|
+
type GetUserByID200MetadataStatus = (typeof GetUserByID200MetadataStatus)[keyof typeof GetUserByID200MetadataStatus];
|
|
5343
|
+
declare const GetUserByID200MetadataStatus: {
|
|
5344
|
+
readonly active: "active";
|
|
5345
|
+
readonly suspended: "suspended";
|
|
5346
|
+
readonly deactivated: "deactivated";
|
|
5347
|
+
readonly pending_purge: "pending_purge";
|
|
5348
|
+
}; //#endregion
|
|
5349
|
+
//#region src/generated/model/getUserByID200Metadata.d.ts
|
|
5350
|
+
type GetUserByID200Metadata = {
|
|
5351
|
+
/** The time when the user was created. */created_at: string; /** The time when the user was last updated. */
|
|
5352
|
+
updated_at: string; /** The status of the user. */
|
|
5353
|
+
status: GetUserByID200MetadataStatus;
|
|
5354
|
+
/** The team that owns this user's identity lifecycle, or `null` when the
|
|
5355
|
+
user is self-owned. This is a single team and a different concept from
|
|
5356
|
+
the user's team roster: it decides who may deprovision the user, not
|
|
5357
|
+
which teams the user collaborates in. The roster is its own paginated
|
|
5358
|
+
resource — `GET /users/{user_id}/teams`.
|
|
5359
|
+
*/
|
|
5360
|
+
lifecycle_owner_team_id?: string | null;
|
|
5361
|
+
}; //#endregion
|
|
5362
|
+
//#region src/generated/model/getUserByID200.d.ts
|
|
5363
|
+
/**
|
|
5364
|
+
* A user represents an individual identity in the system. It can be used to
|
|
5365
|
+
represent a human user, but also a service account or any other type of
|
|
5366
|
+
identity. The content of a user is determined by the configured schema for
|
|
5367
|
+
users, this is only a base schema.
|
|
5368
|
+
|
|
5369
|
+
The server assigns the resource primary key (`id`) on create. Clients must
|
|
5370
|
+
not send `id` in the create body; it is returned in the create response.
|
|
5371
|
+
|
|
5372
|
+
*/
|
|
5373
|
+
type GetUserByID200 = {
|
|
5374
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
|
|
5375
|
+
metadata?: GetUserByID200Metadata;
|
|
5376
|
+
[key: string]: unknown;
|
|
5377
|
+
}; //#endregion
|
|
5378
|
+
//#region src/generated/model/getUserByID401Details.d.ts
|
|
5228
5379
|
/**
|
|
5229
5380
|
* Generated by orval v8.10.0 🍺
|
|
5230
5381
|
* Do not edit manually.
|
|
@@ -5232,13 +5383,11 @@ type GetTeamParams = {
|
|
|
5232
5383
|
* This is the next generation of the Zitadel identity platform.
|
|
5233
5384
|
* OpenAPI spec version: 0.0.1
|
|
5234
5385
|
*/
|
|
5235
|
-
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
}; //#endregion
|
|
5241
|
-
//#region src/generated/model/getTokenBodyGrantType.d.ts
|
|
5386
|
+
/**
|
|
5387
|
+
* Additional error-specific context.
|
|
5388
|
+
*/
|
|
5389
|
+
//#endregion
|
|
5390
|
+
//#region src/generated/model/getUserByIDParams.d.ts
|
|
5242
5391
|
/**
|
|
5243
5392
|
* Generated by orval v8.10.0 🍺
|
|
5244
5393
|
* Do not edit manually.
|
|
@@ -5246,48 +5395,19 @@ type GetToken200 = {
|
|
|
5246
5395
|
* This is the next generation of the Zitadel identity platform.
|
|
5247
5396
|
* OpenAPI spec version: 0.0.1
|
|
5248
5397
|
*/
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
declare const GetTokenBodyGrantType: {
|
|
5254
|
-
readonly authorization_code: "authorization_code";
|
|
5255
|
-
readonly client_credentials: "client_credentials";
|
|
5256
|
-
readonly password: "password";
|
|
5257
|
-
readonly refresh_token: "refresh_token";
|
|
5258
|
-
}; //#endregion
|
|
5259
|
-
//#region src/generated/model/getTokenBody.d.ts
|
|
5260
|
-
type GetTokenBody = {
|
|
5261
|
-
/** The authorization code received from the authorization server. Required
|
|
5262
|
-
for the authorization_code grant type.
|
|
5263
|
-
*/
|
|
5264
|
-
code?: string;
|
|
5265
|
-
/** The client assertion, typically a JWT, used for client authentication.
|
|
5266
|
-
*/
|
|
5267
|
-
client_assertion?: string;
|
|
5268
|
-
/** The type of client assertion being used. Required when the client is
|
|
5269
|
-
authenticating using a JWT assertion.
|
|
5270
|
-
*/
|
|
5271
|
-
client_assertion_type?: string;
|
|
5272
|
-
/** The client identifier issued to the client during the registration
|
|
5273
|
-
process. Required for all grant types.
|
|
5274
|
-
*/
|
|
5275
|
-
client_id?: string;
|
|
5276
|
-
/** The client secret issued to the client during the registration process.
|
|
5277
|
-
Required for all grant types except when using public clients.
|
|
5278
|
-
*/
|
|
5279
|
-
client_secret?: string;
|
|
5280
|
-
/** The code verifier used in PKCE (Proof Key for Code Exchange) flows. Required
|
|
5281
|
-
for the authorization_code grant type when PKCE is used.
|
|
5398
|
+
type GetUserByIDParams = {
|
|
5399
|
+
/**
|
|
5400
|
+
* The unique identifier of the project
|
|
5401
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5282
5402
|
*/
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5403
|
+
project_id: string;
|
|
5404
|
+
/**
|
|
5405
|
+
* The unique identifier of the team
|
|
5406
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5287
5407
|
*/
|
|
5288
|
-
|
|
5408
|
+
team_id?: string;
|
|
5289
5409
|
}; //#endregion
|
|
5290
|
-
//#region src/generated/model/
|
|
5410
|
+
//#region src/generated/model/initClaim201.d.ts
|
|
5291
5411
|
/**
|
|
5292
5412
|
* Generated by orval v8.10.0 🍺
|
|
5293
5413
|
* Do not edit manually.
|
|
@@ -5296,140 +5416,21 @@ type GetTokenBody = {
|
|
|
5296
5416
|
* OpenAPI spec version: 0.0.1
|
|
5297
5417
|
*/
|
|
5298
5418
|
/**
|
|
5299
|
-
*
|
|
5419
|
+
* The claim challenge minted for a project.
|
|
5300
5420
|
*/
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
* Generated by orval v8.10.0 🍺
|
|
5305
|
-
* Do not edit manually.
|
|
5306
|
-
* Zitadel NextGen
|
|
5307
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5308
|
-
* OpenAPI spec version: 0.0.1
|
|
5309
|
-
*/
|
|
5310
|
-
type GetUserByID200 = {
|
|
5311
|
-
[key: string]: unknown;
|
|
5312
|
-
}; //#endregion
|
|
5313
|
-
//#region src/generated/model/getUserByID401Details.d.ts
|
|
5314
|
-
/**
|
|
5315
|
-
* Generated by orval v8.10.0 🍺
|
|
5316
|
-
* Do not edit manually.
|
|
5317
|
-
* Zitadel NextGen
|
|
5318
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5319
|
-
* OpenAPI spec version: 0.0.1
|
|
5320
|
-
*/
|
|
5321
|
-
/**
|
|
5322
|
-
* Additional error-specific context.
|
|
5323
|
-
*/
|
|
5324
|
-
//#endregion
|
|
5325
|
-
//#region src/generated/model/getUserByIDParams.d.ts
|
|
5326
|
-
/**
|
|
5327
|
-
* Generated by orval v8.10.0 🍺
|
|
5328
|
-
* Do not edit manually.
|
|
5329
|
-
* Zitadel NextGen
|
|
5330
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5331
|
-
* OpenAPI spec version: 0.0.1
|
|
5332
|
-
*/
|
|
5333
|
-
type GetUserByIDParams = {
|
|
5334
|
-
/**
|
|
5335
|
-
* The unique identifier of the project
|
|
5336
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5421
|
+
type InitClaim201 = {
|
|
5422
|
+
/** The browser URL a developer opens to complete the claim. It embeds the
|
|
5423
|
+
`challenge_id` so the browser leg does not need the project secret.
|
|
5337
5424
|
*/
|
|
5338
|
-
|
|
5425
|
+
claim_url: string;
|
|
5339
5426
|
/**
|
|
5340
|
-
*
|
|
5341
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5427
|
+
* Unique identifier for this challenge (dialect-minted prefixed opaque string).
|
|
5428
|
+
* @pattern ^ch_[a-zA-Z0-9_-]+$
|
|
5342
5429
|
*/
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
//#region src/generated/model/getUserInfo4xxDetails.d.ts
|
|
5346
|
-
/**
|
|
5347
|
-
* Generated by orval v8.10.0 🍺
|
|
5348
|
-
* Do not edit manually.
|
|
5349
|
-
* Zitadel NextGen
|
|
5350
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5351
|
-
* OpenAPI spec version: 0.0.1
|
|
5352
|
-
*/
|
|
5353
|
-
/**
|
|
5354
|
-
* Additional error-specific context.
|
|
5355
|
-
*/
|
|
5356
|
-
//#endregion
|
|
5357
|
-
//#region src/generated/model/getUserInfo200.d.ts
|
|
5358
|
-
/**
|
|
5359
|
-
* Generated by orval v8.10.0 🍺
|
|
5360
|
-
* Do not edit manually.
|
|
5361
|
-
* Zitadel NextGen
|
|
5362
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5363
|
-
* OpenAPI spec version: 0.0.1
|
|
5364
|
-
*/
|
|
5365
|
-
type GetUserInfo200 = {
|
|
5366
|
-
/** The unique identifier for the user. */sub?: string; /** The full name of the user. */
|
|
5367
|
-
name?: string; /** The email address of the user. */
|
|
5368
|
-
email?: string; /** The preferred username of the user. */
|
|
5369
|
-
preferred_username?: string; /** The URL of the user's profile picture. */
|
|
5370
|
-
picture?: string; /** The given name of the user. */
|
|
5371
|
-
given_name?: string; /** The family name of the user. */
|
|
5372
|
-
family_name?: string;
|
|
5373
|
-
}; //#endregion
|
|
5374
|
-
//#region src/generated/model/getUserInfoDefaultDetails.d.ts
|
|
5375
|
-
/**
|
|
5376
|
-
* Generated by orval v8.10.0 🍺
|
|
5377
|
-
* Do not edit manually.
|
|
5378
|
-
* Zitadel NextGen
|
|
5379
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5380
|
-
* OpenAPI spec version: 0.0.1
|
|
5381
|
-
*/
|
|
5382
|
-
/**
|
|
5383
|
-
* Additional error-specific context.
|
|
5384
|
-
*/
|
|
5385
|
-
//#endregion
|
|
5386
|
-
//#region src/generated/model/introspect200.d.ts
|
|
5387
|
-
/**
|
|
5388
|
-
* Generated by orval v8.10.0 🍺
|
|
5389
|
-
* Do not edit manually.
|
|
5390
|
-
* Zitadel NextGen
|
|
5391
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5392
|
-
* OpenAPI spec version: 0.0.1
|
|
5393
|
-
*/
|
|
5394
|
-
type Introspect200 = {
|
|
5395
|
-
/** Indicates whether the token is active */active?: boolean; /** The audience of the token (if applicable) */
|
|
5396
|
-
aud?: string; /** The client ID associated with the token */
|
|
5397
|
-
client_id?: string; /** The expiration time of the token (in seconds since epoch) */
|
|
5398
|
-
exp?: number; /** The time the token was issued (in seconds since epoch) */
|
|
5399
|
-
iat?: number; /** The issuer of the token (if applicable) */
|
|
5400
|
-
iss?: string; /** The unique identifier for the token (if applicable) */
|
|
5401
|
-
jti?: string; /** The time before which the token is not valid (in seconds since epoch) */
|
|
5402
|
-
nbf?: number; /** The scopes associated with the token */
|
|
5403
|
-
scope?: string; /** The subject of the token (if applicable) */
|
|
5404
|
-
sub?: string; /** The type of the token (access_token or refresh_token) */
|
|
5405
|
-
token_type?: string; /** The username associated with the token (if applicable) */
|
|
5406
|
-
username?: string;
|
|
5407
|
-
}; //#endregion
|
|
5408
|
-
//#region src/generated/model/introspect400Details.d.ts
|
|
5409
|
-
/**
|
|
5410
|
-
* Generated by orval v8.10.0 🍺
|
|
5411
|
-
* Do not edit manually.
|
|
5412
|
-
* Zitadel NextGen
|
|
5413
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5414
|
-
* OpenAPI spec version: 0.0.1
|
|
5415
|
-
*/
|
|
5416
|
-
/**
|
|
5417
|
-
* Additional error-specific context.
|
|
5418
|
-
*/
|
|
5419
|
-
//#endregion
|
|
5420
|
-
//#region src/generated/model/introspectBody.d.ts
|
|
5421
|
-
/**
|
|
5422
|
-
* Generated by orval v8.10.0 🍺
|
|
5423
|
-
* Do not edit manually.
|
|
5424
|
-
* Zitadel NextGen
|
|
5425
|
-
* This is the next generation of the Zitadel identity platform.
|
|
5426
|
-
* OpenAPI spec version: 0.0.1
|
|
5427
|
-
*/
|
|
5428
|
-
type IntrospectBody = {
|
|
5429
|
-
/** The token to introspect */token: string; /** A hint about the type of the token (access_token or refresh_token) */
|
|
5430
|
-
token_type_hint?: string;
|
|
5430
|
+
challenge_id: string; /** The time when the claim challenge expires. */
|
|
5431
|
+
expires_at: string;
|
|
5431
5432
|
}; //#endregion
|
|
5432
|
-
//#region src/generated/model/
|
|
5433
|
+
//#region src/generated/model/initClaim401Details.d.ts
|
|
5433
5434
|
/**
|
|
5434
5435
|
* Generated by orval v8.10.0 🍺
|
|
5435
5436
|
* Do not edit manually.
|
|
@@ -5520,8 +5521,8 @@ The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{ch
|
|
|
5520
5521
|
*/
|
|
5521
5522
|
type IssueChallenge201 = {
|
|
5522
5523
|
/**
|
|
5523
|
-
* Unique identifier for this challenge
|
|
5524
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5524
|
+
* Unique identifier for this challenge (dialect-minted prefixed opaque string).
|
|
5525
|
+
* @pattern ^ch_[a-zA-Z0-9_-]+$
|
|
5525
5526
|
*/
|
|
5526
5527
|
challenge_id: string; /** An authentication factor method. */
|
|
5527
5528
|
method: IssueChallenge201Method;
|
|
@@ -5604,6 +5605,45 @@ type IssueChallengeBody = {
|
|
|
5604
5605
|
* OpenAPI spec version: 0.0.1
|
|
5605
5606
|
*/
|
|
5606
5607
|
//#endregion
|
|
5608
|
+
//#region src/generated/model/listBranding200Item.d.ts
|
|
5609
|
+
/**
|
|
5610
|
+
* Generated by orval v8.10.0 🍺
|
|
5611
|
+
* Do not edit manually.
|
|
5612
|
+
* Zitadel NextGen
|
|
5613
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5614
|
+
* OpenAPI spec version: 0.0.1
|
|
5615
|
+
*/
|
|
5616
|
+
type ListBranding200Item = {
|
|
5617
|
+
/** The unique identifier of this branding revision. */id: string; /** When this revision was published. */
|
|
5618
|
+
created_at: string;
|
|
5619
|
+
}; //#endregion
|
|
5620
|
+
//#region src/generated/model/listBrandingDefaultDetails.d.ts
|
|
5621
|
+
/**
|
|
5622
|
+
* Generated by orval v8.10.0 🍺
|
|
5623
|
+
* Do not edit manually.
|
|
5624
|
+
* Zitadel NextGen
|
|
5625
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5626
|
+
* OpenAPI spec version: 0.0.1
|
|
5627
|
+
*/
|
|
5628
|
+
/**
|
|
5629
|
+
* Additional error-specific context.
|
|
5630
|
+
*/
|
|
5631
|
+
//#endregion
|
|
5632
|
+
//#region src/generated/model/listBrandingParams.d.ts
|
|
5633
|
+
/**
|
|
5634
|
+
* Generated by orval v8.10.0 🍺
|
|
5635
|
+
* Do not edit manually.
|
|
5636
|
+
* Zitadel NextGen
|
|
5637
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5638
|
+
* OpenAPI spec version: 0.0.1
|
|
5639
|
+
*/
|
|
5640
|
+
type ListBrandingParams = {
|
|
5641
|
+
/**
|
|
5642
|
+
* The unique identifier of the project
|
|
5643
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5644
|
+
*/
|
|
5645
|
+
project_id: string;
|
|
5646
|
+
}; //#endregion
|
|
5607
5647
|
//#region src/generated/model/listFlowDefinitions200FlowDefinitionsItemStatus.d.ts
|
|
5608
5648
|
/**
|
|
5609
5649
|
* Generated by orval v8.10.0 🍺
|
|
@@ -5725,7 +5765,7 @@ type ListFlowDefinitionsParams = {
|
|
|
5725
5765
|
*/
|
|
5726
5766
|
type ListSchemas200Item = {
|
|
5727
5767
|
/** The unique identifier for this schema. */id: string;
|
|
5728
|
-
|
|
5768
|
+
created_at: string;
|
|
5729
5769
|
}; //#endregion
|
|
5730
5770
|
//#region src/generated/model/listSchemasDefaultDetails.d.ts
|
|
5731
5771
|
/**
|
|
@@ -5771,7 +5811,7 @@ type ListSchemasParams = {
|
|
|
5771
5811
|
*/
|
|
5772
5812
|
object_type?: string;
|
|
5773
5813
|
}; //#endregion
|
|
5774
|
-
//#region src/generated/model/
|
|
5814
|
+
//#region src/generated/model/listUserPasskeys200PasskeysItem.d.ts
|
|
5775
5815
|
/**
|
|
5776
5816
|
* Generated by orval v8.10.0 🍺
|
|
5777
5817
|
* Do not edit manually.
|
|
@@ -5779,16 +5819,23 @@ type ListSchemasParams = {
|
|
|
5779
5819
|
* This is the next generation of the Zitadel identity platform.
|
|
5780
5820
|
* OpenAPI spec version: 0.0.1
|
|
5781
5821
|
*/
|
|
5822
|
+
type ListUserPasskeys200PasskeysItem = {
|
|
5823
|
+
/** The unique identifier of the passkey. */id: string; /** The name of the passkey. */
|
|
5824
|
+
name: string; /** The timestamp when the passkey was created. */
|
|
5825
|
+
created_at: string;
|
|
5826
|
+
}; //#endregion
|
|
5827
|
+
//#region src/generated/model/listUserPasskeys200.d.ts
|
|
5782
5828
|
/**
|
|
5783
|
-
*
|
|
5829
|
+
* Response containing the user's passkeys.
|
|
5784
5830
|
*/
|
|
5785
|
-
type
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5831
|
+
type ListUserPasskeys200 = {
|
|
5832
|
+
passkeys: ListUserPasskeys200PasskeysItem[];
|
|
5833
|
+
/** Token to pass as `page_token` in the next request to fetch the following page.
|
|
5834
|
+
Absent when there are no more results.
|
|
5835
|
+
*/
|
|
5836
|
+
next_page_token?: string | null;
|
|
5790
5837
|
}; //#endregion
|
|
5791
|
-
//#region src/generated/model/
|
|
5838
|
+
//#region src/generated/model/listUserPasskeys400Details.d.ts
|
|
5792
5839
|
/**
|
|
5793
5840
|
* Generated by orval v8.10.0 🍺
|
|
5794
5841
|
* Do not edit manually.
|
|
@@ -5797,40 +5844,38 @@ declare const ListSessions200SessionsItemFactorsItemMethod: {
|
|
|
5797
5844
|
* OpenAPI spec version: 0.0.1
|
|
5798
5845
|
*/
|
|
5799
5846
|
/**
|
|
5800
|
-
*
|
|
5801
|
-
- `identifier`: includes user_id
|
|
5802
|
-
- `password`: no additional data
|
|
5803
|
-
- `passkey`: includes credential details and verification flags
|
|
5804
|
-
|
|
5847
|
+
* Additional error-specific context.
|
|
5805
5848
|
*/
|
|
5806
|
-
|
|
5807
|
-
|
|
5808
|
-
} | {
|
|
5809
|
-
[key: string]: unknown;
|
|
5810
|
-
} | {
|
|
5811
|
-
/** The credential ID that was used */credential_id: string; /** Whether user verification was performed (PIN/biometric) */
|
|
5812
|
-
user_verified: boolean; /** Whether the credential is backup eligible (can be synced) */
|
|
5813
|
-
backup_eligible?: boolean; /** Whether the credential is currently backed up */
|
|
5814
|
-
backup_state?: boolean; /** Authenticator attachment modality */
|
|
5815
|
-
authenticator_attachment?: "platform" | "cross-platform";
|
|
5816
|
-
}; //#endregion
|
|
5817
|
-
//#region src/generated/model/listSessions200SessionsItemFactorsItem.d.ts
|
|
5849
|
+
//#endregion
|
|
5850
|
+
//#region src/generated/model/listUserPasskeysParams.d.ts
|
|
5818
5851
|
/**
|
|
5819
|
-
*
|
|
5820
|
-
|
|
5821
|
-
|
|
5852
|
+
* Generated by orval v8.10.0 🍺
|
|
5853
|
+
* Do not edit manually.
|
|
5854
|
+
* Zitadel NextGen
|
|
5855
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5856
|
+
* OpenAPI spec version: 0.0.1
|
|
5822
5857
|
*/
|
|
5823
|
-
type
|
|
5824
|
-
/**
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5858
|
+
type ListUserPasskeysParams = {
|
|
5859
|
+
/**
|
|
5860
|
+
* Maximum number of items to return.
|
|
5861
|
+
* @minimum 1
|
|
5862
|
+
* @maximum 100
|
|
5863
|
+
*/
|
|
5864
|
+
limit?: number;
|
|
5865
|
+
/**
|
|
5866
|
+
* Token for fetching the next page of results.
|
|
5867
|
+
Obtain this value from `next_page_token` in the previous response.
|
|
5868
|
+
Omit to start from the beginning.
|
|
5869
|
+
Its format is opaque and may change between releases.
|
|
5870
|
+
*/
|
|
5871
|
+
page_token?: string;
|
|
5872
|
+
/**
|
|
5873
|
+
* The unique identifier of the project
|
|
5874
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5830
5875
|
*/
|
|
5831
|
-
|
|
5876
|
+
project_id: string;
|
|
5832
5877
|
}; //#endregion
|
|
5833
|
-
//#region src/generated/model/
|
|
5878
|
+
//#region src/generated/model/listUsers200UsersItemMetadataStatus.d.ts
|
|
5834
5879
|
/**
|
|
5835
5880
|
* Generated by orval v8.10.0 🍺
|
|
5836
5881
|
* Do not edit manually.
|
|
@@ -5839,12 +5884,56 @@ type ListSessions200SessionsItemFactorsItem = {
|
|
|
5839
5884
|
* OpenAPI spec version: 0.0.1
|
|
5840
5885
|
*/
|
|
5841
5886
|
/**
|
|
5842
|
-
*
|
|
5887
|
+
* The status of the user.
|
|
5888
|
+
*/
|
|
5889
|
+
type ListUsers200UsersItemMetadataStatus = (typeof ListUsers200UsersItemMetadataStatus)[keyof typeof ListUsers200UsersItemMetadataStatus];
|
|
5890
|
+
declare const ListUsers200UsersItemMetadataStatus: {
|
|
5891
|
+
readonly active: "active";
|
|
5892
|
+
readonly suspended: "suspended";
|
|
5893
|
+
readonly deactivated: "deactivated";
|
|
5894
|
+
readonly pending_purge: "pending_purge";
|
|
5895
|
+
}; //#endregion
|
|
5896
|
+
//#region src/generated/model/listUsers200UsersItemMetadata.d.ts
|
|
5897
|
+
type ListUsers200UsersItemMetadata = {
|
|
5898
|
+
/** The time when the user was created. */created_at: string; /** The time when the user was last updated. */
|
|
5899
|
+
updated_at: string; /** The status of the user. */
|
|
5900
|
+
status: ListUsers200UsersItemMetadataStatus;
|
|
5901
|
+
/** The team that owns this user's identity lifecycle, or `null` when the
|
|
5902
|
+
user is self-owned. This is a single team and a different concept from
|
|
5903
|
+
the user's team roster: it decides who may deprovision the user, not
|
|
5904
|
+
which teams the user collaborates in. The roster is its own paginated
|
|
5905
|
+
resource — `GET /users/{user_id}/teams`.
|
|
5906
|
+
*/
|
|
5907
|
+
lifecycle_owner_team_id?: string | null;
|
|
5908
|
+
}; //#endregion
|
|
5909
|
+
//#region src/generated/model/listUsers200UsersItem.d.ts
|
|
5910
|
+
/**
|
|
5911
|
+
* A user represents an individual identity in the system. It can be used to
|
|
5912
|
+
represent a human user, but also a service account or any other type of
|
|
5913
|
+
identity. The content of a user is determined by the configured schema for
|
|
5914
|
+
users, this is only a base schema.
|
|
5915
|
+
|
|
5916
|
+
The server assigns the resource primary key (`id`) on create. Clients must
|
|
5917
|
+
not send `id` in the create body; it is returned in the create response.
|
|
5918
|
+
|
|
5843
5919
|
*/
|
|
5844
|
-
type
|
|
5920
|
+
type ListUsers200UsersItem = {
|
|
5921
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
|
|
5922
|
+
metadata?: ListUsers200UsersItemMetadata;
|
|
5845
5923
|
[key: string]: unknown;
|
|
5846
|
-
}
|
|
5847
|
-
//#region src/generated/model/
|
|
5924
|
+
}; //#endregion
|
|
5925
|
+
//#region src/generated/model/listUsers200.d.ts
|
|
5926
|
+
/**
|
|
5927
|
+
* Paginated list of users.
|
|
5928
|
+
*/
|
|
5929
|
+
type ListUsers200 = {
|
|
5930
|
+
users: ListUsers200UsersItem[];
|
|
5931
|
+
/** Token to pass as `page_token` in the next request to fetch the following page.
|
|
5932
|
+
Absent when there are no more results.
|
|
5933
|
+
*/
|
|
5934
|
+
next_page_token?: string | null;
|
|
5935
|
+
}; //#endregion
|
|
5936
|
+
//#region src/generated/model/listUsers400Details.d.ts
|
|
5848
5937
|
/**
|
|
5849
5938
|
* Generated by orval v8.10.0 🍺
|
|
5850
5939
|
* Do not edit manually.
|
|
@@ -5853,21 +5942,10 @@ type ListSessions200SessionsItemMetadata = {
|
|
|
5853
5942
|
* OpenAPI spec version: 0.0.1
|
|
5854
5943
|
*/
|
|
5855
5944
|
/**
|
|
5856
|
-
*
|
|
5857
|
-
- `building`: has a user factor but is still gathering authentication factors
|
|
5858
|
-
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
5859
|
-
- `expired`: TTL elapsed
|
|
5860
|
-
- `revoked`: explicitly revoked via DELETE
|
|
5861
|
-
|
|
5945
|
+
* Additional error-specific context.
|
|
5862
5946
|
*/
|
|
5863
|
-
|
|
5864
|
-
|
|
5865
|
-
readonly building: "building";
|
|
5866
|
-
readonly active: "active";
|
|
5867
|
-
readonly expired: "expired";
|
|
5868
|
-
readonly revoked: "revoked";
|
|
5869
|
-
}; //#endregion
|
|
5870
|
-
//#region src/generated/model/listSessions200SessionsItemUserAgent.d.ts
|
|
5947
|
+
//#endregion
|
|
5948
|
+
//#region src/generated/model/listUsersParams.d.ts
|
|
5871
5949
|
/**
|
|
5872
5950
|
* Generated by orval v8.10.0 🍺
|
|
5873
5951
|
* Do not edit manually.
|
|
@@ -5875,38 +5953,447 @@ declare const ListSessions200SessionsItemState: {
|
|
|
5875
5953
|
* This is the next generation of the Zitadel identity platform.
|
|
5876
5954
|
* OpenAPI spec version: 0.0.1
|
|
5877
5955
|
*/
|
|
5956
|
+
type ListUsersParams = {
|
|
5957
|
+
/**
|
|
5958
|
+
* Maximum number of items to return.
|
|
5959
|
+
* @minimum 1
|
|
5960
|
+
* @maximum 100
|
|
5961
|
+
*/
|
|
5962
|
+
limit?: number;
|
|
5963
|
+
/**
|
|
5964
|
+
* Token for fetching the next page of results.
|
|
5965
|
+
Obtain this value from `next_page_token` in the previous response.
|
|
5966
|
+
Omit to start from the beginning.
|
|
5967
|
+
Its format is opaque and may change between releases.
|
|
5968
|
+
*/
|
|
5969
|
+
page_token?: string;
|
|
5970
|
+
}; //#endregion
|
|
5971
|
+
//#region src/generated/model/listUserTeams200TeamsItemMembershipStatus.d.ts
|
|
5878
5972
|
/**
|
|
5879
|
-
*
|
|
5973
|
+
* Generated by orval v8.10.0 🍺
|
|
5974
|
+
* Do not edit manually.
|
|
5975
|
+
* Zitadel NextGen
|
|
5976
|
+
* This is the next generation of the Zitadel identity platform.
|
|
5977
|
+
* OpenAPI spec version: 0.0.1
|
|
5880
5978
|
*/
|
|
5881
|
-
type ListSessions200SessionsItemUserAgent = {
|
|
5882
|
-
/** Client-supplied device fingerprint. */fingerprint?: string; /** IP address of the client at session creation. */
|
|
5883
|
-
ip?: string;
|
|
5884
|
-
[key: string]: unknown;
|
|
5885
|
-
} | null; //#endregion
|
|
5886
|
-
//#region src/generated/model/listSessions200SessionsItem.d.ts
|
|
5887
5979
|
/**
|
|
5888
|
-
* The
|
|
5889
|
-
|
|
5890
|
-
A session is the durable post-auth primitive. It accumulates verified authentication
|
|
5891
|
-
factors and exposes `assurance_levels[]` — the set of assurance profiles its current
|
|
5892
|
-
factors satisfy. Sessions are read-only from the client's perspective: factors flow
|
|
5893
|
-
in through `auth_attempts`.
|
|
5980
|
+
* The user's participation state on this team. Memberships the user was
|
|
5981
|
+
removed from are not returned.
|
|
5894
5982
|
|
|
5895
5983
|
*/
|
|
5896
|
-
type
|
|
5984
|
+
type ListUserTeams200TeamsItemMembershipStatus = (typeof ListUserTeams200TeamsItemMembershipStatus)[keyof typeof ListUserTeams200TeamsItemMembershipStatus];
|
|
5985
|
+
declare const ListUserTeams200TeamsItemMembershipStatus: {
|
|
5986
|
+
readonly pending: "pending";
|
|
5987
|
+
readonly active: "active";
|
|
5988
|
+
readonly inactive: "inactive";
|
|
5989
|
+
}; //#endregion
|
|
5990
|
+
//#region src/generated/model/listUserTeams200TeamsItem.d.ts
|
|
5991
|
+
/**
|
|
5992
|
+
* One entry of a user's team roster: a team the user belongs to, with the
|
|
5993
|
+
membership's participation state. The team's `name` travels with the entry, so
|
|
5994
|
+
a page renders without a follow-up `POST /teams/query` per row.
|
|
5995
|
+
|
|
5996
|
+
Roster membership is not lifecycle ownership. A user can belong to many teams
|
|
5997
|
+
while still owning their own lifecycle — that single owning team is reported
|
|
5998
|
+
as `metadata.lifecycle_owner_team_id` on the user itself.
|
|
5999
|
+
|
|
6000
|
+
*/
|
|
6001
|
+
type ListUserTeams200TeamsItem = {
|
|
6002
|
+
/** The unique identifier of the team. */id: string; /** The name of the team. */
|
|
6003
|
+
name: string;
|
|
6004
|
+
/** The user's participation state on this team. Memberships the user was
|
|
6005
|
+
removed from are not returned.
|
|
6006
|
+
*/
|
|
6007
|
+
membership_status: ListUserTeams200TeamsItemMembershipStatus; /** The time when the user joined this team. */
|
|
6008
|
+
created_at: string; /** The time when this membership was last changed. */
|
|
6009
|
+
updated_at: string;
|
|
6010
|
+
}; //#endregion
|
|
6011
|
+
//#region src/generated/model/listUserTeams200.d.ts
|
|
6012
|
+
/**
|
|
6013
|
+
* Paginated list of the teams a user belongs to.
|
|
6014
|
+
*/
|
|
6015
|
+
type ListUserTeams200 = {
|
|
6016
|
+
teams: ListUserTeams200TeamsItem[];
|
|
6017
|
+
/** Token to pass as `page_token` in the next request to fetch the following page.
|
|
6018
|
+
Absent when there are no more results.
|
|
6019
|
+
*/
|
|
6020
|
+
next_page_token?: string | null;
|
|
6021
|
+
}; //#endregion
|
|
6022
|
+
//#region src/generated/model/listUserTeams400Details.d.ts
|
|
6023
|
+
/**
|
|
6024
|
+
* Generated by orval v8.10.0 🍺
|
|
6025
|
+
* Do not edit manually.
|
|
6026
|
+
* Zitadel NextGen
|
|
6027
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6028
|
+
* OpenAPI spec version: 0.0.1
|
|
6029
|
+
*/
|
|
6030
|
+
/**
|
|
6031
|
+
* Additional error-specific context.
|
|
6032
|
+
*/
|
|
6033
|
+
//#endregion
|
|
6034
|
+
//#region src/generated/model/listUserTeamsParams.d.ts
|
|
6035
|
+
/**
|
|
6036
|
+
* Generated by orval v8.10.0 🍺
|
|
6037
|
+
* Do not edit manually.
|
|
6038
|
+
* Zitadel NextGen
|
|
6039
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6040
|
+
* OpenAPI spec version: 0.0.1
|
|
6041
|
+
*/
|
|
6042
|
+
type ListUserTeamsParams = {
|
|
5897
6043
|
/**
|
|
5898
|
-
*
|
|
6044
|
+
* Maximum number of items to return.
|
|
6045
|
+
* @minimum 1
|
|
6046
|
+
* @maximum 100
|
|
6047
|
+
*/
|
|
6048
|
+
limit?: number;
|
|
6049
|
+
/**
|
|
6050
|
+
* Token for fetching the next page of results.
|
|
6051
|
+
Obtain this value from `next_page_token` in the previous response.
|
|
6052
|
+
Omit to start from the beginning.
|
|
6053
|
+
Its format is opaque and may change between releases.
|
|
6054
|
+
*/
|
|
6055
|
+
page_token?: string;
|
|
6056
|
+
/**
|
|
6057
|
+
* The unique identifier of the project
|
|
5899
6058
|
* @pattern ^[a-zA-Z0-9_-]+$
|
|
5900
6059
|
*/
|
|
6060
|
+
project_id: string;
|
|
6061
|
+
}; //#endregion
|
|
6062
|
+
//#region src/generated/model/patchProject200.d.ts
|
|
6063
|
+
/**
|
|
6064
|
+
* Generated by orval v8.10.0 🍺
|
|
6065
|
+
* Do not edit manually.
|
|
6066
|
+
* Zitadel NextGen
|
|
6067
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6068
|
+
* OpenAPI spec version: 0.0.1
|
|
6069
|
+
*/
|
|
6070
|
+
/**
|
|
6071
|
+
* The current state of a project.
|
|
6072
|
+
*/
|
|
6073
|
+
type PatchProject200 = {
|
|
6074
|
+
/** The unique identifier of the project. */id: string; /** The name of the project. */
|
|
6075
|
+
name: string;
|
|
6076
|
+
/** Origins which are allowed for previewing and testing the project.
|
|
6077
|
+
*/
|
|
6078
|
+
preview_origins?: string[]; /** The time when the project was created. */
|
|
6079
|
+
created_at: string; /** The time when the project was last updated. */
|
|
6080
|
+
updated_at: string;
|
|
6081
|
+
}; //#endregion
|
|
6082
|
+
//#region src/generated/model/patchProject400Details.d.ts
|
|
6083
|
+
/**
|
|
6084
|
+
* Generated by orval v8.10.0 🍺
|
|
6085
|
+
* Do not edit manually.
|
|
6086
|
+
* Zitadel NextGen
|
|
6087
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6088
|
+
* OpenAPI spec version: 0.0.1
|
|
6089
|
+
*/
|
|
6090
|
+
/**
|
|
6091
|
+
* Additional error-specific context.
|
|
6092
|
+
*/
|
|
6093
|
+
//#endregion
|
|
6094
|
+
//#region src/generated/model/patchProjectBody.d.ts
|
|
6095
|
+
/**
|
|
6096
|
+
* Generated by orval v8.10.0 🍺
|
|
6097
|
+
* Do not edit manually.
|
|
6098
|
+
* Zitadel NextGen
|
|
6099
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6100
|
+
* OpenAPI spec version: 0.0.1
|
|
6101
|
+
*/
|
|
6102
|
+
type PatchProjectBody = {
|
|
6103
|
+
/** The name of the project. */name?: null | string;
|
|
6104
|
+
}; //#endregion
|
|
6105
|
+
//#region src/generated/model/patchProjectDefault.d.ts
|
|
6106
|
+
/**
|
|
6107
|
+
* Generated by orval v8.10.0 🍺
|
|
6108
|
+
* Do not edit manually.
|
|
6109
|
+
* Zitadel NextGen
|
|
6110
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6111
|
+
* OpenAPI spec version: 0.0.1
|
|
6112
|
+
*/
|
|
6113
|
+
//#endregion
|
|
6114
|
+
//#region src/generated/model/queryProjects200ProjectsItem.d.ts
|
|
6115
|
+
/**
|
|
6116
|
+
* Generated by orval v8.10.0 🍺
|
|
6117
|
+
* Do not edit manually.
|
|
6118
|
+
* Zitadel NextGen
|
|
6119
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6120
|
+
* OpenAPI spec version: 0.0.1
|
|
6121
|
+
*/
|
|
6122
|
+
/**
|
|
6123
|
+
* The current state of a project.
|
|
6124
|
+
*/
|
|
6125
|
+
type QueryProjects200ProjectsItem = {
|
|
6126
|
+
/** The unique identifier of the project. */id: string; /** The name of the project. */
|
|
6127
|
+
name: string;
|
|
6128
|
+
/** Origins which are allowed for previewing and testing the project.
|
|
6129
|
+
*/
|
|
6130
|
+
preview_origins?: string[]; /** The time when the project was created. */
|
|
6131
|
+
created_at: string; /** The time when the project was last updated. */
|
|
6132
|
+
updated_at: string;
|
|
6133
|
+
}; //#endregion
|
|
6134
|
+
//#region src/generated/model/queryProjects200.d.ts
|
|
6135
|
+
/**
|
|
6136
|
+
* Paginated list of projects.
|
|
6137
|
+
*/
|
|
6138
|
+
type QueryProjects200 = {
|
|
6139
|
+
projects: QueryProjects200ProjectsItem[];
|
|
6140
|
+
/** Token to pass as `page_token` in the next request to fetch the following page.
|
|
6141
|
+
Absent when there are no more results. The follow-up request must repeat the
|
|
6142
|
+
same `sorting` that produced this token (omit only when both pages use the default).
|
|
6143
|
+
*/
|
|
6144
|
+
next_page_token?: string | null;
|
|
6145
|
+
}; //#endregion
|
|
6146
|
+
//#region src/generated/model/queryProjects400Details.d.ts
|
|
6147
|
+
/**
|
|
6148
|
+
* Generated by orval v8.10.0 🍺
|
|
6149
|
+
* Do not edit manually.
|
|
6150
|
+
* Zitadel NextGen
|
|
6151
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6152
|
+
* OpenAPI spec version: 0.0.1
|
|
6153
|
+
*/
|
|
6154
|
+
/**
|
|
6155
|
+
* Additional error-specific context.
|
|
6156
|
+
*/
|
|
6157
|
+
//#endregion
|
|
6158
|
+
//#region src/generated/model/queryProjectsBodyFilterItemField.d.ts
|
|
6159
|
+
/**
|
|
6160
|
+
* Generated by orval v8.10.0 🍺
|
|
6161
|
+
* Do not edit manually.
|
|
6162
|
+
* Zitadel NextGen
|
|
6163
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6164
|
+
* OpenAPI spec version: 0.0.1
|
|
6165
|
+
*/
|
|
6166
|
+
type QueryProjectsBodyFilterItemField = (typeof QueryProjectsBodyFilterItemField)[keyof typeof QueryProjectsBodyFilterItemField];
|
|
6167
|
+
declare const QueryProjectsBodyFilterItemField: {
|
|
6168
|
+
readonly created_at: "created_at";
|
|
6169
|
+
}; //#endregion
|
|
6170
|
+
//#region src/generated/model/queryProjectsBodyFilterItemOperation.d.ts
|
|
6171
|
+
/**
|
|
6172
|
+
* Generated by orval v8.10.0 🍺
|
|
6173
|
+
* Do not edit manually.
|
|
6174
|
+
* Zitadel NextGen
|
|
6175
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6176
|
+
* OpenAPI spec version: 0.0.1
|
|
6177
|
+
*/
|
|
6178
|
+
/**
|
|
6179
|
+
* Filter operation defines the operations which can be used when filtering on a
|
|
6180
|
+
query endpoint.
|
|
6181
|
+
|
|
6182
|
+
*/
|
|
6183
|
+
type QueryProjectsBodyFilterItemOperation = (typeof QueryProjectsBodyFilterItemOperation)[keyof typeof QueryProjectsBodyFilterItemOperation];
|
|
6184
|
+
declare const QueryProjectsBodyFilterItemOperation: {
|
|
6185
|
+
readonly equals: "equals";
|
|
6186
|
+
readonly not_equals: "not_equals";
|
|
6187
|
+
readonly contains: "contains";
|
|
6188
|
+
readonly not_contains: "not_contains";
|
|
6189
|
+
readonly less_than: "less_than";
|
|
6190
|
+
readonly less_than_or_equal: "less_than_or_equal";
|
|
6191
|
+
readonly greater_than: "greater_than";
|
|
6192
|
+
readonly greater_than_or_equal: "greater_than_or_equal";
|
|
6193
|
+
}; //#endregion
|
|
6194
|
+
//#region src/generated/model/queryProjectsBodyFilterItem.d.ts
|
|
6195
|
+
type QueryProjectsBodyFilterItem = {
|
|
6196
|
+
field: QueryProjectsBodyFilterItemField;
|
|
6197
|
+
/** Filter-value specifies which values can be filtered by a query endpoint. This
|
|
6198
|
+
is a union of types. When a value is specified which is not assignable to the
|
|
6199
|
+
field which is being filtered, a 400 error will be returned.
|
|
6200
|
+
*/
|
|
6201
|
+
value?: string | number | boolean | null;
|
|
6202
|
+
/** Filter operation defines the operations which can be used when filtering on a
|
|
6203
|
+
query endpoint.
|
|
6204
|
+
*/
|
|
6205
|
+
operation: QueryProjectsBodyFilterItemOperation;
|
|
6206
|
+
}; //#endregion
|
|
6207
|
+
//#region src/generated/model/queryProjectsBodySortingDirection.d.ts
|
|
6208
|
+
/**
|
|
6209
|
+
* Generated by orval v8.10.0 🍺
|
|
6210
|
+
* Do not edit manually.
|
|
6211
|
+
* Zitadel NextGen
|
|
6212
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6213
|
+
* OpenAPI spec version: 0.0.1
|
|
6214
|
+
*/
|
|
6215
|
+
type QueryProjectsBodySortingDirection = (typeof QueryProjectsBodySortingDirection)[keyof typeof QueryProjectsBodySortingDirection];
|
|
6216
|
+
declare const QueryProjectsBodySortingDirection: {
|
|
6217
|
+
readonly asc: "asc";
|
|
6218
|
+
readonly desc: "desc";
|
|
6219
|
+
}; //#endregion
|
|
6220
|
+
//#region src/generated/model/queryProjectsBodySortingField.d.ts
|
|
6221
|
+
/**
|
|
6222
|
+
* Generated by orval v8.10.0 🍺
|
|
6223
|
+
* Do not edit manually.
|
|
6224
|
+
* Zitadel NextGen
|
|
6225
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6226
|
+
* OpenAPI spec version: 0.0.1
|
|
6227
|
+
*/
|
|
6228
|
+
type QueryProjectsBodySortingField = (typeof QueryProjectsBodySortingField)[keyof typeof QueryProjectsBodySortingField];
|
|
6229
|
+
declare const QueryProjectsBodySortingField: {
|
|
6230
|
+
readonly created_at: "created_at";
|
|
6231
|
+
}; //#endregion
|
|
6232
|
+
//#region src/generated/model/queryProjectsBodySorting.d.ts
|
|
6233
|
+
type QueryProjectsBodySorting = {
|
|
6234
|
+
field: QueryProjectsBodySortingField;
|
|
6235
|
+
direction: QueryProjectsBodySortingDirection;
|
|
6236
|
+
}; //#endregion
|
|
6237
|
+
//#region src/generated/model/queryProjectsBody.d.ts
|
|
6238
|
+
/**
|
|
6239
|
+
* Request to query projects.
|
|
6240
|
+
*/
|
|
6241
|
+
type QueryProjectsBody = {
|
|
6242
|
+
/**
|
|
6243
|
+
* @minimum 1
|
|
6244
|
+
* @maximum 100
|
|
6245
|
+
*/
|
|
6246
|
+
limit?: number;
|
|
6247
|
+
/** Token to retrieve the next page of results. Must be sent with the same
|
|
6248
|
+
`sorting` as the request that issued the token. Omitting `sorting` reuses
|
|
6249
|
+
the default sort and only succeeds when that default matches the token.
|
|
6250
|
+
*/
|
|
6251
|
+
page_token?: string | null;
|
|
6252
|
+
sorting?: QueryProjectsBodySorting; /** Filter criteria for querying projects. */
|
|
6253
|
+
filter?: QueryProjectsBodyFilterItem[];
|
|
6254
|
+
}; //#endregion
|
|
6255
|
+
//#region src/generated/model/queryProjectsDefault.d.ts
|
|
6256
|
+
/**
|
|
6257
|
+
* Generated by orval v8.10.0 🍺
|
|
6258
|
+
* Do not edit manually.
|
|
6259
|
+
* Zitadel NextGen
|
|
6260
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6261
|
+
* OpenAPI spec version: 0.0.1
|
|
6262
|
+
*/
|
|
6263
|
+
//#endregion
|
|
6264
|
+
//#region src/generated/model/querySessions200SessionsItemFactorsItemMethod.d.ts
|
|
6265
|
+
/**
|
|
6266
|
+
* Generated by orval v8.10.0 🍺
|
|
6267
|
+
* Do not edit manually.
|
|
6268
|
+
* Zitadel NextGen
|
|
6269
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6270
|
+
* OpenAPI spec version: 0.0.1
|
|
6271
|
+
*/
|
|
6272
|
+
/**
|
|
6273
|
+
* An authentication factor method.
|
|
6274
|
+
*/
|
|
6275
|
+
type QuerySessions200SessionsItemFactorsItemMethod = (typeof QuerySessions200SessionsItemFactorsItemMethod)[keyof typeof QuerySessions200SessionsItemFactorsItemMethod];
|
|
6276
|
+
declare const QuerySessions200SessionsItemFactorsItemMethod: {
|
|
6277
|
+
readonly identifier: "identifier";
|
|
6278
|
+
readonly password: "password";
|
|
6279
|
+
readonly passkey: "passkey";
|
|
6280
|
+
}; //#endregion
|
|
6281
|
+
//#region src/generated/model/querySessions200SessionsItemFactorsItemPayload.d.ts
|
|
6282
|
+
/**
|
|
6283
|
+
* Generated by orval v8.10.0 🍺
|
|
6284
|
+
* Do not edit manually.
|
|
6285
|
+
* Zitadel NextGen
|
|
6286
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6287
|
+
* OpenAPI spec version: 0.0.1
|
|
6288
|
+
*/
|
|
6289
|
+
/**
|
|
6290
|
+
* Method-specific factor metadata. Structure depends on the `method` field.
|
|
6291
|
+
- `identifier`: includes user_id
|
|
6292
|
+
- `password`: no additional data
|
|
6293
|
+
- `passkey`: includes credential details and verification flags
|
|
6294
|
+
|
|
6295
|
+
*/
|
|
6296
|
+
type QuerySessions200SessionsItemFactorsItemPayload = {
|
|
6297
|
+
/** @pattern ^user_[a-zA-Z0-9_-]+$ */user_id: string;
|
|
6298
|
+
} | {
|
|
6299
|
+
[key: string]: unknown;
|
|
6300
|
+
} | {
|
|
6301
|
+
/** The credential ID that was used */credential_id: string; /** Whether user verification was performed (PIN/biometric) */
|
|
6302
|
+
user_verified: boolean; /** Whether the credential is backup eligible (can be synced) */
|
|
6303
|
+
backup_eligible?: boolean; /** Whether the credential is currently backed up */
|
|
6304
|
+
backup_state?: boolean; /** Authenticator attachment modality */
|
|
6305
|
+
authenticator_attachment?: "platform" | "cross-platform";
|
|
6306
|
+
}; //#endregion
|
|
6307
|
+
//#region src/generated/model/querySessions200SessionsItemFactorsItem.d.ts
|
|
6308
|
+
/**
|
|
6309
|
+
* A successfully verified authentication factor with verification metadata.
|
|
6310
|
+
Method-specific details are included in the `payload` field.
|
|
6311
|
+
|
|
6312
|
+
*/
|
|
6313
|
+
type QuerySessions200SessionsItemFactorsItem = {
|
|
6314
|
+
/** An authentication factor method. */method: QuerySessions200SessionsItemFactorsItemMethod; /** When this factor was successfully verified */
|
|
6315
|
+
verified_at: string;
|
|
6316
|
+
/** Method-specific factor metadata. Structure depends on the `method` field.
|
|
6317
|
+
- `identifier`: includes user_id
|
|
6318
|
+
- `password`: no additional data
|
|
6319
|
+
- `passkey`: includes credential details and verification flags
|
|
6320
|
+
*/
|
|
6321
|
+
payload?: QuerySessions200SessionsItemFactorsItemPayload;
|
|
6322
|
+
}; //#endregion
|
|
6323
|
+
//#region src/generated/model/querySessions200SessionsItemMetadata.d.ts
|
|
6324
|
+
/**
|
|
6325
|
+
* Generated by orval v8.10.0 🍺
|
|
6326
|
+
* Do not edit manually.
|
|
6327
|
+
* Zitadel NextGen
|
|
6328
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6329
|
+
* OpenAPI spec version: 0.0.1
|
|
6330
|
+
*/
|
|
6331
|
+
/**
|
|
6332
|
+
* Arbitrary key/value metadata attached to the session.
|
|
6333
|
+
*/
|
|
6334
|
+
type QuerySessions200SessionsItemMetadata = {
|
|
6335
|
+
[key: string]: unknown;
|
|
6336
|
+
} | null; //#endregion
|
|
6337
|
+
//#region src/generated/model/querySessions200SessionsItemState.d.ts
|
|
6338
|
+
/**
|
|
6339
|
+
* Generated by orval v8.10.0 🍺
|
|
6340
|
+
* Do not edit manually.
|
|
6341
|
+
* Zitadel NextGen
|
|
6342
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6343
|
+
* OpenAPI spec version: 0.0.1
|
|
6344
|
+
*/
|
|
6345
|
+
/**
|
|
6346
|
+
* Current lifecycle state of the session:
|
|
6347
|
+
- `building`: has a user factor but is still gathering authentication factors
|
|
6348
|
+
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
6349
|
+
- `expired`: TTL elapsed
|
|
6350
|
+
|
|
6351
|
+
*/
|
|
6352
|
+
type QuerySessions200SessionsItemState = (typeof QuerySessions200SessionsItemState)[keyof typeof QuerySessions200SessionsItemState];
|
|
6353
|
+
declare const QuerySessions200SessionsItemState: {
|
|
6354
|
+
readonly building: "building";
|
|
6355
|
+
readonly active: "active";
|
|
6356
|
+
readonly expired: "expired";
|
|
6357
|
+
}; //#endregion
|
|
6358
|
+
//#region src/generated/model/querySessions200SessionsItemUserAgent.d.ts
|
|
6359
|
+
/**
|
|
6360
|
+
* Generated by orval v8.10.0 🍺
|
|
6361
|
+
* Do not edit manually.
|
|
6362
|
+
* Zitadel NextGen
|
|
6363
|
+
* This is the next generation of the Zitadel identity platform.
|
|
6364
|
+
* OpenAPI spec version: 0.0.1
|
|
6365
|
+
*/
|
|
6366
|
+
/**
|
|
6367
|
+
* User agent information captured at session creation.
|
|
6368
|
+
*/
|
|
6369
|
+
type QuerySessions200SessionsItemUserAgent = {
|
|
6370
|
+
/** Client-supplied device fingerprint. */fingerprint?: string; /** IP address of the client at session creation. */
|
|
6371
|
+
ip?: string;
|
|
6372
|
+
[key: string]: unknown;
|
|
6373
|
+
} | null; //#endregion
|
|
6374
|
+
//#region src/generated/model/querySessions200SessionsItem.d.ts
|
|
6375
|
+
/**
|
|
6376
|
+
* The current state of a session.
|
|
6377
|
+
|
|
6378
|
+
A session is the durable post-auth primitive. It accumulates verified authentication
|
|
6379
|
+
factors and exposes `assurance_levels[]` — the set of assurance profiles its current
|
|
6380
|
+
factors satisfy. Sessions are read-only from the client's perspective: factors flow
|
|
6381
|
+
in through `auth_attempts`.
|
|
6382
|
+
|
|
6383
|
+
*/
|
|
6384
|
+
type QuerySessions200SessionsItem = {
|
|
6385
|
+
/**
|
|
6386
|
+
* Unique identifier for this session (dialect-minted prefixed opaque string).
|
|
6387
|
+
* @pattern ^sess_[a-zA-Z0-9_-]+$
|
|
6388
|
+
*/
|
|
5901
6389
|
session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
5902
6390
|
project_id: string;
|
|
5903
6391
|
/** Current lifecycle state of the session:
|
|
5904
6392
|
- `building`: has a user factor but is still gathering authentication factors
|
|
5905
6393
|
- `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
|
|
5906
6394
|
- `expired`: TTL elapsed
|
|
5907
|
-
- `revoked`: explicitly revoked via DELETE
|
|
5908
6395
|
*/
|
|
5909
|
-
state:
|
|
6396
|
+
state: QuerySessions200SessionsItemState;
|
|
5910
6397
|
/** The authenticated user. Null for anonymous sessions and until the `user`
|
|
5911
6398
|
factor has been verified through an `auth_attempt`.
|
|
5912
6399
|
*/
|
|
@@ -5933,33 +6420,33 @@ type ListSessions200SessionsItem = {
|
|
|
5933
6420
|
Each value is a factor event object with at least `verified_at` and
|
|
5934
6421
|
method-specific properties (e.g. `user_verified`, `hardware` for passkeys).
|
|
5935
6422
|
*/
|
|
5936
|
-
factors:
|
|
6423
|
+
factors: QuerySessions200SessionsItemFactorsItem[];
|
|
5937
6424
|
/** All assurance levels whose schemas the current session factors satisfy.
|
|
5938
6425
|
This list shrinks as factor freshness windows expire and grows when step-up
|
|
5939
6426
|
auth_attempts add or refresh factors.
|
|
5940
6427
|
Whether any level is "enough" is determined by the request context, not the session.
|
|
5941
6428
|
*/
|
|
5942
6429
|
assurance_levels?: string[]; /** Arbitrary key/value metadata attached to the session. */
|
|
5943
|
-
metadata?:
|
|
5944
|
-
user_agent?:
|
|
6430
|
+
metadata?: QuerySessions200SessionsItemMetadata; /** User agent information captured at session creation. */
|
|
6431
|
+
user_agent?: QuerySessions200SessionsItemUserAgent; /** When this session was created. */
|
|
5945
6432
|
created_at: string;
|
|
5946
6433
|
/** When this session expires. Short TTL (10 min) for anonymous sessions;
|
|
5947
6434
|
reset to the full configured session TTL once the first authentication factor is written.
|
|
5948
6435
|
*/
|
|
5949
6436
|
expires_at: string;
|
|
5950
6437
|
}; //#endregion
|
|
5951
|
-
//#region src/generated/model/
|
|
6438
|
+
//#region src/generated/model/querySessions200.d.ts
|
|
5952
6439
|
/**
|
|
5953
6440
|
* Paginated list of sessions.
|
|
5954
6441
|
*/
|
|
5955
|
-
type
|
|
5956
|
-
sessions:
|
|
6442
|
+
type QuerySessions200 = {
|
|
6443
|
+
sessions: QuerySessions200SessionsItem[];
|
|
5957
6444
|
/** Token to pass as `page_token` in the next request to fetch the following page.
|
|
5958
6445
|
Absent when there are no more results.
|
|
5959
6446
|
*/
|
|
5960
6447
|
next_page_token?: string | null;
|
|
5961
6448
|
}; //#endregion
|
|
5962
|
-
//#region src/generated/model/
|
|
6449
|
+
//#region src/generated/model/querySessions400Details.d.ts
|
|
5963
6450
|
/**
|
|
5964
6451
|
* Generated by orval v8.10.0 🍺
|
|
5965
6452
|
* Do not edit manually.
|
|
@@ -5971,7 +6458,7 @@ type ListSessions200 = {
|
|
|
5971
6458
|
* Additional error-specific context.
|
|
5972
6459
|
*/
|
|
5973
6460
|
//#endregion
|
|
5974
|
-
//#region src/generated/model/
|
|
6461
|
+
//#region src/generated/model/querySessionsBodyFilterItemField.d.ts
|
|
5975
6462
|
/**
|
|
5976
6463
|
* Generated by orval v8.10.0 🍺
|
|
5977
6464
|
* Do not edit manually.
|
|
@@ -5979,55 +6466,20 @@ type ListSessions200 = {
|
|
|
5979
6466
|
* This is the next generation of the Zitadel identity platform.
|
|
5980
6467
|
* OpenAPI spec version: 0.0.1
|
|
5981
6468
|
*/
|
|
5982
|
-
type ListSessionsState = (typeof ListSessionsState)[keyof typeof ListSessionsState];
|
|
5983
|
-
declare const ListSessionsState: {
|
|
5984
|
-
readonly building: "building";
|
|
5985
|
-
readonly active: "active";
|
|
5986
|
-
readonly expired: "expired";
|
|
5987
|
-
readonly revoked: "revoked";
|
|
5988
|
-
}; //#endregion
|
|
5989
|
-
//#region src/generated/model/listSessionsParams.d.ts
|
|
5990
|
-
type ListSessionsParams = {
|
|
5991
|
-
/**
|
|
5992
|
-
* Maximum number of items to return.
|
|
5993
|
-
* @minimum 1
|
|
5994
|
-
* @maximum 100
|
|
5995
|
-
*/
|
|
5996
|
-
limit?: number;
|
|
5997
|
-
/**
|
|
5998
|
-
* Token for fetching the next page of results.
|
|
5999
|
-
Obtain this value from `next_page_token` in the previous response.
|
|
6000
|
-
Omit to start from the beginning.
|
|
6001
|
-
Its format is opaque and may change between releases.
|
|
6002
|
-
*/
|
|
6003
|
-
page_token?: string;
|
|
6004
|
-
/**
|
|
6005
|
-
* The unique identifier of the project
|
|
6006
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
6007
|
-
*/
|
|
6008
|
-
project_id: string;
|
|
6009
|
-
/**
|
|
6010
|
-
* Filter sessions by lifecycle state.
|
|
6011
|
-
*/
|
|
6012
|
-
state?: ListSessionsState;
|
|
6013
|
-
/**
|
|
6014
|
-
* Filter sessions by user.
|
|
6015
|
-
* @pattern ^user_[a-zA-Z0-9_-]+$
|
|
6016
|
-
*/
|
|
6017
|
-
user_id?: string;
|
|
6018
|
-
}; //#endregion
|
|
6019
|
-
//#region src/generated/model/listUsers200Item.d.ts
|
|
6020
6469
|
/**
|
|
6021
|
-
*
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6470
|
+
* Field to filter sessions by:
|
|
6471
|
+
- `created_at`: RFC3339 timestamp
|
|
6472
|
+
- `user_id`: user id
|
|
6473
|
+
- `state`: one of `building`, `active`, `expired`
|
|
6474
|
+
|
|
6026
6475
|
*/
|
|
6027
|
-
type
|
|
6028
|
-
|
|
6476
|
+
type QuerySessionsBodyFilterItemField = (typeof QuerySessionsBodyFilterItemField)[keyof typeof QuerySessionsBodyFilterItemField];
|
|
6477
|
+
declare const QuerySessionsBodyFilterItemField: {
|
|
6478
|
+
readonly created_at: "created_at";
|
|
6479
|
+
readonly user_id: "user_id";
|
|
6480
|
+
readonly state: "state";
|
|
6029
6481
|
}; //#endregion
|
|
6030
|
-
//#region src/generated/model/
|
|
6482
|
+
//#region src/generated/model/querySessionsBodyFilterItemOperation.d.ts
|
|
6031
6483
|
/**
|
|
6032
6484
|
* Generated by orval v8.10.0 🍺
|
|
6033
6485
|
* Do not edit manually.
|
|
@@ -6036,10 +6488,40 @@ type ListUsers200Item = {
|
|
|
6036
6488
|
* OpenAPI spec version: 0.0.1
|
|
6037
6489
|
*/
|
|
6038
6490
|
/**
|
|
6039
|
-
*
|
|
6491
|
+
* Filter operation defines the operations which can be used when filtering on a
|
|
6492
|
+
query endpoint.
|
|
6493
|
+
|
|
6040
6494
|
*/
|
|
6041
|
-
|
|
6042
|
-
|
|
6495
|
+
type QuerySessionsBodyFilterItemOperation = (typeof QuerySessionsBodyFilterItemOperation)[keyof typeof QuerySessionsBodyFilterItemOperation];
|
|
6496
|
+
declare const QuerySessionsBodyFilterItemOperation: {
|
|
6497
|
+
readonly equals: "equals";
|
|
6498
|
+
readonly not_equals: "not_equals";
|
|
6499
|
+
readonly contains: "contains";
|
|
6500
|
+
readonly not_contains: "not_contains";
|
|
6501
|
+
readonly less_than: "less_than";
|
|
6502
|
+
readonly less_than_or_equal: "less_than_or_equal";
|
|
6503
|
+
readonly greater_than: "greater_than";
|
|
6504
|
+
readonly greater_than_or_equal: "greater_than_or_equal";
|
|
6505
|
+
}; //#endregion
|
|
6506
|
+
//#region src/generated/model/querySessionsBodyFilterItem.d.ts
|
|
6507
|
+
type QuerySessionsBodyFilterItem = {
|
|
6508
|
+
/** Field to filter sessions by:
|
|
6509
|
+
- `created_at`: RFC3339 timestamp
|
|
6510
|
+
- `user_id`: user id
|
|
6511
|
+
- `state`: one of `building`, `active`, `expired`
|
|
6512
|
+
*/
|
|
6513
|
+
field: QuerySessionsBodyFilterItemField;
|
|
6514
|
+
/** Filter-value specifies which values can be filtered by a query endpoint. This
|
|
6515
|
+
is a union of types. When a value is specified which is not assignable to the
|
|
6516
|
+
field which is being filtered, a 400 error will be returned.
|
|
6517
|
+
*/
|
|
6518
|
+
value?: string | number | boolean | null;
|
|
6519
|
+
/** Filter operation defines the operations which can be used when filtering on a
|
|
6520
|
+
query endpoint.
|
|
6521
|
+
*/
|
|
6522
|
+
operation: QuerySessionsBodyFilterItemOperation;
|
|
6523
|
+
}; //#endregion
|
|
6524
|
+
//#region src/generated/model/querySessionsBodySortingDirection.d.ts
|
|
6043
6525
|
/**
|
|
6044
6526
|
* Generated by orval v8.10.0 🍺
|
|
6045
6527
|
* Do not edit manually.
|
|
@@ -6047,20 +6529,12 @@ type ListUsers200Item = {
|
|
|
6047
6529
|
* This is the next generation of the Zitadel identity platform.
|
|
6048
6530
|
* OpenAPI spec version: 0.0.1
|
|
6049
6531
|
*/
|
|
6050
|
-
type
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
*/
|
|
6055
|
-
offset?: number;
|
|
6056
|
-
/**
|
|
6057
|
-
* Maximum number of items to return.
|
|
6058
|
-
* @minimum 1
|
|
6059
|
-
* @maximum 100
|
|
6060
|
-
*/
|
|
6061
|
-
limit?: number;
|
|
6532
|
+
type QuerySessionsBodySortingDirection = (typeof QuerySessionsBodySortingDirection)[keyof typeof QuerySessionsBodySortingDirection];
|
|
6533
|
+
declare const QuerySessionsBodySortingDirection: {
|
|
6534
|
+
readonly asc: "asc";
|
|
6535
|
+
readonly desc: "desc";
|
|
6062
6536
|
}; //#endregion
|
|
6063
|
-
//#region src/generated/model/
|
|
6537
|
+
//#region src/generated/model/querySessionsBodySortingField.d.ts
|
|
6064
6538
|
/**
|
|
6065
6539
|
* Generated by orval v8.10.0 🍺
|
|
6066
6540
|
* Do not edit manually.
|
|
@@ -6069,18 +6543,40 @@ type ListUsersParams = {
|
|
|
6069
6543
|
* OpenAPI spec version: 0.0.1
|
|
6070
6544
|
*/
|
|
6071
6545
|
/**
|
|
6072
|
-
*
|
|
6546
|
+
* Field to sort sessions by. Only stored columns are sortable: the keyset
|
|
6547
|
+
cursor holds the last row's sort values, so a computed value such as
|
|
6548
|
+
`state` would skip or duplicate rows between pages.
|
|
6549
|
+
|
|
6073
6550
|
*/
|
|
6074
|
-
type
|
|
6075
|
-
|
|
6076
|
-
|
|
6077
|
-
|
|
6551
|
+
type QuerySessionsBodySortingField = (typeof QuerySessionsBodySortingField)[keyof typeof QuerySessionsBodySortingField];
|
|
6552
|
+
declare const QuerySessionsBodySortingField: {
|
|
6553
|
+
readonly created_at: "created_at";
|
|
6554
|
+
readonly user_id: "user_id";
|
|
6555
|
+
}; //#endregion
|
|
6556
|
+
//#region src/generated/model/querySessionsBodySorting.d.ts
|
|
6557
|
+
type QuerySessionsBodySorting = {
|
|
6558
|
+
/** Field to sort sessions by. Only stored columns are sortable: the keyset
|
|
6559
|
+
cursor holds the last row's sort values, so a computed value such as
|
|
6560
|
+
`state` would skip or duplicate rows between pages.
|
|
6078
6561
|
*/
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
updatedAt: string;
|
|
6562
|
+
field: QuerySessionsBodySortingField;
|
|
6563
|
+
direction: QuerySessionsBodySortingDirection;
|
|
6082
6564
|
}; //#endregion
|
|
6083
|
-
//#region src/generated/model/
|
|
6565
|
+
//#region src/generated/model/querySessionsBody.d.ts
|
|
6566
|
+
/**
|
|
6567
|
+
* Request to query the sessions of a project.
|
|
6568
|
+
*/
|
|
6569
|
+
type QuerySessionsBody = {
|
|
6570
|
+
/**
|
|
6571
|
+
* @minimum 1
|
|
6572
|
+
* @maximum 100
|
|
6573
|
+
*/
|
|
6574
|
+
limit?: number; /** Token to retrieve the next page of results. */
|
|
6575
|
+
page_token?: string | null;
|
|
6576
|
+
sorting?: QuerySessionsBodySorting; /** Filter criteria for querying sessions. */
|
|
6577
|
+
filter?: QuerySessionsBodyFilterItem[];
|
|
6578
|
+
}; //#endregion
|
|
6579
|
+
//#region src/generated/model/querySessionsDefault.d.ts
|
|
6084
6580
|
/**
|
|
6085
6581
|
* Generated by orval v8.10.0 🍺
|
|
6086
6582
|
* Do not edit manually.
|
|
@@ -6088,11 +6584,8 @@ type PatchProject200 = {
|
|
|
6088
6584
|
* This is the next generation of the Zitadel identity platform.
|
|
6089
6585
|
* OpenAPI spec version: 0.0.1
|
|
6090
6586
|
*/
|
|
6091
|
-
/**
|
|
6092
|
-
* Additional error-specific context.
|
|
6093
|
-
*/
|
|
6094
6587
|
//#endregion
|
|
6095
|
-
//#region src/generated/model/
|
|
6588
|
+
//#region src/generated/model/querySessionsParams.d.ts
|
|
6096
6589
|
/**
|
|
6097
6590
|
* Generated by orval v8.10.0 🍺
|
|
6098
6591
|
* Do not edit manually.
|
|
@@ -6100,10 +6593,14 @@ type PatchProject200 = {
|
|
|
6100
6593
|
* This is the next generation of the Zitadel identity platform.
|
|
6101
6594
|
* OpenAPI spec version: 0.0.1
|
|
6102
6595
|
*/
|
|
6103
|
-
type
|
|
6104
|
-
/**
|
|
6596
|
+
type QuerySessionsParams = {
|
|
6597
|
+
/**
|
|
6598
|
+
* The unique identifier of the project
|
|
6599
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
6600
|
+
*/
|
|
6601
|
+
project_id: string;
|
|
6105
6602
|
}; //#endregion
|
|
6106
|
-
//#region src/generated/model/
|
|
6603
|
+
//#region src/generated/model/queryTeams200TeamsItemStatus.d.ts
|
|
6107
6604
|
/**
|
|
6108
6605
|
* Generated by orval v8.10.0 🍺
|
|
6109
6606
|
* Do not edit manually.
|
|
@@ -6112,41 +6609,45 @@ type PatchProjectBody = {
|
|
|
6112
6609
|
* OpenAPI spec version: 0.0.1
|
|
6113
6610
|
*/
|
|
6114
6611
|
/**
|
|
6115
|
-
*
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
* Generated by orval v8.10.0 🍺
|
|
6121
|
-
* Do not edit manually.
|
|
6122
|
-
* Zitadel NextGen
|
|
6123
|
-
* This is the next generation of the Zitadel identity platform.
|
|
6124
|
-
* OpenAPI spec version: 0.0.1
|
|
6612
|
+
* The lifecycle state of a team.
|
|
6613
|
+
|
|
6614
|
+
active: The team is available for use.
|
|
6615
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
6616
|
+
|
|
6125
6617
|
*/
|
|
6618
|
+
type QueryTeams200TeamsItemStatus = (typeof QueryTeams200TeamsItemStatus)[keyof typeof QueryTeams200TeamsItemStatus];
|
|
6619
|
+
declare const QueryTeams200TeamsItemStatus: {
|
|
6620
|
+
readonly active: "active";
|
|
6621
|
+
readonly deactivated: "deactivated";
|
|
6622
|
+
}; //#endregion
|
|
6623
|
+
//#region src/generated/model/queryTeams200TeamsItem.d.ts
|
|
6126
6624
|
/**
|
|
6127
|
-
*
|
|
6625
|
+
* Details of a team.
|
|
6128
6626
|
*/
|
|
6129
|
-
type
|
|
6130
|
-
/** The unique identifier of the
|
|
6627
|
+
type QueryTeams200TeamsItem = {
|
|
6628
|
+
/** The unique identifier of the team. */id: string; /** The name of the team. */
|
|
6131
6629
|
name: string;
|
|
6132
|
-
/**
|
|
6630
|
+
/** The lifecycle state of a team.
|
|
6631
|
+
active: The team is available for use.
|
|
6632
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
6133
6633
|
*/
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6634
|
+
status: QueryTeams200TeamsItemStatus; /** The time when the team was created. */
|
|
6635
|
+
created_at: string; /** The time when the team was last updated. */
|
|
6636
|
+
updated_at: string;
|
|
6137
6637
|
}; //#endregion
|
|
6138
|
-
//#region src/generated/model/
|
|
6638
|
+
//#region src/generated/model/queryTeams200.d.ts
|
|
6139
6639
|
/**
|
|
6140
|
-
* Paginated list of
|
|
6640
|
+
* Paginated list of teams.
|
|
6141
6641
|
*/
|
|
6142
|
-
type
|
|
6143
|
-
|
|
6642
|
+
type QueryTeams200 = {
|
|
6643
|
+
teams: QueryTeams200TeamsItem[];
|
|
6144
6644
|
/** Token to pass as `page_token` in the next request to fetch the following page.
|
|
6145
|
-
Absent when there are no more results.
|
|
6645
|
+
Absent when there are no more results. The follow-up request must repeat the
|
|
6646
|
+
same `sorting` that produced this token (omit only when both pages use the default).
|
|
6146
6647
|
*/
|
|
6147
6648
|
next_page_token?: string | null;
|
|
6148
6649
|
}; //#endregion
|
|
6149
|
-
//#region src/generated/model/
|
|
6650
|
+
//#region src/generated/model/queryTeams400Details.d.ts
|
|
6150
6651
|
/**
|
|
6151
6652
|
* Generated by orval v8.10.0 🍺
|
|
6152
6653
|
* Do not edit manually.
|
|
@@ -6158,7 +6659,7 @@ type QueryProjects200 = {
|
|
|
6158
6659
|
* Additional error-specific context.
|
|
6159
6660
|
*/
|
|
6160
6661
|
//#endregion
|
|
6161
|
-
//#region src/generated/model/
|
|
6662
|
+
//#region src/generated/model/queryTeamsBodyFilterItemField.d.ts
|
|
6162
6663
|
/**
|
|
6163
6664
|
* Generated by orval v8.10.0 🍺
|
|
6164
6665
|
* Do not edit manually.
|
|
@@ -6166,12 +6667,11 @@ type QueryProjects200 = {
|
|
|
6166
6667
|
* This is the next generation of the Zitadel identity platform.
|
|
6167
6668
|
* OpenAPI spec version: 0.0.1
|
|
6168
6669
|
*/
|
|
6169
|
-
type
|
|
6170
|
-
declare const
|
|
6171
|
-
readonly
|
|
6172
|
-
readonly createdAt: "createdAt";
|
|
6670
|
+
type QueryTeamsBodyFilterItemField = (typeof QueryTeamsBodyFilterItemField)[keyof typeof QueryTeamsBodyFilterItemField];
|
|
6671
|
+
declare const QueryTeamsBodyFilterItemField: {
|
|
6672
|
+
readonly created_at: "created_at";
|
|
6173
6673
|
}; //#endregion
|
|
6174
|
-
//#region src/generated/model/
|
|
6674
|
+
//#region src/generated/model/queryTeamsBodyFilterItemOperation.d.ts
|
|
6175
6675
|
/**
|
|
6176
6676
|
* Generated by orval v8.10.0 🍺
|
|
6177
6677
|
* Do not edit manually.
|
|
@@ -6184,8 +6684,8 @@ declare const QueryProjectsBodyFilterItemField: {
|
|
|
6184
6684
|
query endpoint.
|
|
6185
6685
|
|
|
6186
6686
|
*/
|
|
6187
|
-
type
|
|
6188
|
-
declare const
|
|
6687
|
+
type QueryTeamsBodyFilterItemOperation = (typeof QueryTeamsBodyFilterItemOperation)[keyof typeof QueryTeamsBodyFilterItemOperation];
|
|
6688
|
+
declare const QueryTeamsBodyFilterItemOperation: {
|
|
6189
6689
|
readonly equals: "equals";
|
|
6190
6690
|
readonly not_equals: "not_equals";
|
|
6191
6691
|
readonly contains: "contains";
|
|
@@ -6195,9 +6695,9 @@ declare const QueryProjectsBodyFilterItemOperation: {
|
|
|
6195
6695
|
readonly greater_than: "greater_than";
|
|
6196
6696
|
readonly greater_than_or_equal: "greater_than_or_equal";
|
|
6197
6697
|
}; //#endregion
|
|
6198
|
-
//#region src/generated/model/
|
|
6199
|
-
type
|
|
6200
|
-
field:
|
|
6698
|
+
//#region src/generated/model/queryTeamsBodyFilterItem.d.ts
|
|
6699
|
+
type QueryTeamsBodyFilterItem = {
|
|
6700
|
+
field: QueryTeamsBodyFilterItemField;
|
|
6201
6701
|
/** Filter-value specifies which values can be filtered by a query endpoint. This
|
|
6202
6702
|
is a union of types. When a value is specified which is not assignable to the
|
|
6203
6703
|
field which is being filtered, a 400 error will be returned.
|
|
@@ -6206,9 +6706,9 @@ type QueryProjectsBodyFilterItem = {
|
|
|
6206
6706
|
/** Filter operation defines the operations which can be used when filtering on a
|
|
6207
6707
|
query endpoint.
|
|
6208
6708
|
*/
|
|
6209
|
-
operation:
|
|
6709
|
+
operation: QueryTeamsBodyFilterItemOperation;
|
|
6210
6710
|
}; //#endregion
|
|
6211
|
-
//#region src/generated/model/
|
|
6711
|
+
//#region src/generated/model/queryTeamsBodySortingDirection.d.ts
|
|
6212
6712
|
/**
|
|
6213
6713
|
* Generated by orval v8.10.0 🍺
|
|
6214
6714
|
* Do not edit manually.
|
|
@@ -6216,12 +6716,12 @@ type QueryProjectsBodyFilterItem = {
|
|
|
6216
6716
|
* This is the next generation of the Zitadel identity platform.
|
|
6217
6717
|
* OpenAPI spec version: 0.0.1
|
|
6218
6718
|
*/
|
|
6219
|
-
type
|
|
6220
|
-
declare const
|
|
6719
|
+
type QueryTeamsBodySortingDirection = (typeof QueryTeamsBodySortingDirection)[keyof typeof QueryTeamsBodySortingDirection];
|
|
6720
|
+
declare const QueryTeamsBodySortingDirection: {
|
|
6221
6721
|
readonly asc: "asc";
|
|
6222
6722
|
readonly desc: "desc";
|
|
6223
6723
|
}; //#endregion
|
|
6224
|
-
//#region src/generated/model/
|
|
6724
|
+
//#region src/generated/model/queryTeamsBodySortingField.d.ts
|
|
6225
6725
|
/**
|
|
6226
6726
|
* Generated by orval v8.10.0 🍺
|
|
6227
6727
|
* Do not edit manually.
|
|
@@ -6229,31 +6729,34 @@ declare const QueryProjectsBodySortingDirection: {
|
|
|
6229
6729
|
* This is the next generation of the Zitadel identity platform.
|
|
6230
6730
|
* OpenAPI spec version: 0.0.1
|
|
6231
6731
|
*/
|
|
6232
|
-
type
|
|
6233
|
-
declare const
|
|
6234
|
-
readonly
|
|
6235
|
-
readonly createdAt: "createdAt";
|
|
6732
|
+
type QueryTeamsBodySortingField = (typeof QueryTeamsBodySortingField)[keyof typeof QueryTeamsBodySortingField];
|
|
6733
|
+
declare const QueryTeamsBodySortingField: {
|
|
6734
|
+
readonly created_at: "created_at";
|
|
6236
6735
|
}; //#endregion
|
|
6237
|
-
//#region src/generated/model/
|
|
6238
|
-
type
|
|
6239
|
-
field:
|
|
6240
|
-
direction:
|
|
6736
|
+
//#region src/generated/model/queryTeamsBodySorting.d.ts
|
|
6737
|
+
type QueryTeamsBodySorting = {
|
|
6738
|
+
field: QueryTeamsBodySortingField;
|
|
6739
|
+
direction: QueryTeamsBodySortingDirection;
|
|
6241
6740
|
}; //#endregion
|
|
6242
|
-
//#region src/generated/model/
|
|
6741
|
+
//#region src/generated/model/queryTeamsBody.d.ts
|
|
6243
6742
|
/**
|
|
6244
|
-
* Request to query
|
|
6743
|
+
* Request to query the teams of a project.
|
|
6245
6744
|
*/
|
|
6246
|
-
type
|
|
6745
|
+
type QueryTeamsBody = {
|
|
6247
6746
|
/**
|
|
6248
6747
|
* @minimum 1
|
|
6249
6748
|
* @maximum 100
|
|
6250
6749
|
*/
|
|
6251
|
-
limit?: number;
|
|
6750
|
+
limit?: number;
|
|
6751
|
+
/** Token to retrieve the next page of results. Must be sent with the same
|
|
6752
|
+
`sorting` as the request that issued the token. Omitting `sorting` reuses
|
|
6753
|
+
the default sort and only succeeds when that default matches the token.
|
|
6754
|
+
*/
|
|
6252
6755
|
page_token?: string | null;
|
|
6253
|
-
sorting?:
|
|
6254
|
-
filter?:
|
|
6756
|
+
sorting?: QueryTeamsBodySorting; /** Filter criteria for querying teams. */
|
|
6757
|
+
filter?: QueryTeamsBodyFilterItem[];
|
|
6255
6758
|
}; //#endregion
|
|
6256
|
-
//#region src/generated/model/
|
|
6759
|
+
//#region src/generated/model/queryTeamsDefaultDetails.d.ts
|
|
6257
6760
|
/**
|
|
6258
6761
|
* Generated by orval v8.10.0 🍺
|
|
6259
6762
|
* Do not edit manually.
|
|
@@ -6265,7 +6768,7 @@ type QueryProjectsBody = {
|
|
|
6265
6768
|
* Additional error-specific context.
|
|
6266
6769
|
*/
|
|
6267
6770
|
//#endregion
|
|
6268
|
-
//#region src/generated/model/
|
|
6771
|
+
//#region src/generated/model/queryTeamsParams.d.ts
|
|
6269
6772
|
/**
|
|
6270
6773
|
* Generated by orval v8.10.0 🍺
|
|
6271
6774
|
* Do not edit manually.
|
|
@@ -6273,14 +6776,14 @@ type QueryProjectsBody = {
|
|
|
6273
6776
|
* This is the next generation of the Zitadel identity platform.
|
|
6274
6777
|
* OpenAPI spec version: 0.0.1
|
|
6275
6778
|
*/
|
|
6276
|
-
type
|
|
6779
|
+
type QueryTeamsParams = {
|
|
6277
6780
|
/**
|
|
6278
6781
|
* The unique identifier of the project
|
|
6279
6782
|
* @pattern ^[a-zA-Z0-9_-]+$
|
|
6280
6783
|
*/
|
|
6281
6784
|
project_id: string;
|
|
6282
6785
|
}; //#endregion
|
|
6283
|
-
//#region src/generated/model/
|
|
6786
|
+
//#region src/generated/model/revokeMySession401.d.ts
|
|
6284
6787
|
/**
|
|
6285
6788
|
* Generated by orval v8.10.0 🍺
|
|
6286
6789
|
* Do not edit manually.
|
|
@@ -6289,10 +6792,13 @@ type RevokeSessionParams = {
|
|
|
6289
6792
|
* OpenAPI spec version: 0.0.1
|
|
6290
6793
|
*/
|
|
6291
6794
|
/**
|
|
6292
|
-
*
|
|
6795
|
+
* The request lacks valid authentication credentials.
|
|
6796
|
+
|
|
6797
|
+
Error code: auth.unauthorized
|
|
6798
|
+
|
|
6293
6799
|
*/
|
|
6294
6800
|
//#endregion
|
|
6295
|
-
//#region src/generated/model/
|
|
6801
|
+
//#region src/generated/model/revokeSessionParams.d.ts
|
|
6296
6802
|
/**
|
|
6297
6803
|
* Generated by orval v8.10.0 🍺
|
|
6298
6804
|
* Do not edit manually.
|
|
@@ -6300,11 +6806,14 @@ type RevokeSessionParams = {
|
|
|
6300
6806
|
* This is the next generation of the Zitadel identity platform.
|
|
6301
6807
|
* OpenAPI spec version: 0.0.1
|
|
6302
6808
|
*/
|
|
6303
|
-
type
|
|
6304
|
-
/**
|
|
6305
|
-
|
|
6809
|
+
type RevokeSessionParams = {
|
|
6810
|
+
/**
|
|
6811
|
+
* The unique identifier of the project
|
|
6812
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
6813
|
+
*/
|
|
6814
|
+
project_id: string;
|
|
6306
6815
|
}; //#endregion
|
|
6307
|
-
//#region src/generated/model/
|
|
6816
|
+
//#region src/generated/model/setUserPassword400Details.d.ts
|
|
6308
6817
|
/**
|
|
6309
6818
|
* Generated by orval v8.10.0 🍺
|
|
6310
6819
|
* Do not edit manually.
|
|
@@ -6332,9 +6841,9 @@ type SetUserPasswordBody = {
|
|
|
6332
6841
|
/** Whether the user is required to change their password on the next login.
|
|
6333
6842
|
If not provided, it will default to false.
|
|
6334
6843
|
*/
|
|
6335
|
-
|
|
6844
|
+
is_change_required?: boolean;
|
|
6336
6845
|
}; //#endregion
|
|
6337
|
-
//#region src/generated/model/
|
|
6846
|
+
//#region src/generated/model/setUserPasswordDefault.d.ts
|
|
6338
6847
|
/**
|
|
6339
6848
|
* Generated by orval v8.10.0 🍺
|
|
6340
6849
|
* Do not edit manually.
|
|
@@ -6342,9 +6851,6 @@ type SetUserPasswordBody = {
|
|
|
6342
6851
|
* This is the next generation of the Zitadel identity platform.
|
|
6343
6852
|
* OpenAPI spec version: 0.0.1
|
|
6344
6853
|
*/
|
|
6345
|
-
/**
|
|
6346
|
-
* Additional error-specific context.
|
|
6347
|
-
*/
|
|
6348
6854
|
//#endregion
|
|
6349
6855
|
//#region src/generated/model/setUserPasswordParams.d.ts
|
|
6350
6856
|
/**
|
|
@@ -6361,63 +6867,6 @@ type SetUserPasswordParams = {
|
|
|
6361
6867
|
*/
|
|
6362
6868
|
project_id: string;
|
|
6363
6869
|
}; //#endregion
|
|
6364
|
-
//#region src/generated/model/submitFlowEvent400Details.d.ts
|
|
6365
|
-
/**
|
|
6366
|
-
* Generated by orval v8.10.0 🍺
|
|
6367
|
-
* Do not edit manually.
|
|
6368
|
-
* Zitadel NextGen
|
|
6369
|
-
* This is the next generation of the Zitadel identity platform.
|
|
6370
|
-
* OpenAPI spec version: 0.0.1
|
|
6371
|
-
*/
|
|
6372
|
-
/**
|
|
6373
|
-
* Additional error-specific context.
|
|
6374
|
-
*/
|
|
6375
|
-
//#endregion
|
|
6376
|
-
//#region src/generated/model/submitFlowEventBodyPayload.d.ts
|
|
6377
|
-
/**
|
|
6378
|
-
* Generated by orval v8.10.0 🍺
|
|
6379
|
-
* Do not edit manually.
|
|
6380
|
-
* Zitadel NextGen
|
|
6381
|
-
* This is the next generation of the Zitadel identity platform.
|
|
6382
|
-
* OpenAPI spec version: 0.0.1
|
|
6383
|
-
*/
|
|
6384
|
-
/**
|
|
6385
|
-
* Event payload (fingerprint hash, timing data, etc.).
|
|
6386
|
-
*/
|
|
6387
|
-
type SubmitFlowEventBodyPayload = {
|
|
6388
|
-
[key: string]: unknown;
|
|
6389
|
-
}; //#endregion
|
|
6390
|
-
//#region src/generated/model/submitFlowEventBodyType.d.ts
|
|
6391
|
-
/**
|
|
6392
|
-
* Generated by orval v8.10.0 🍺
|
|
6393
|
-
* Do not edit manually.
|
|
6394
|
-
* Zitadel NextGen
|
|
6395
|
-
* This is the next generation of the Zitadel identity platform.
|
|
6396
|
-
* OpenAPI spec version: 0.0.1
|
|
6397
|
-
*/
|
|
6398
|
-
type SubmitFlowEventBodyType = (typeof SubmitFlowEventBodyType)[keyof typeof SubmitFlowEventBodyType];
|
|
6399
|
-
declare const SubmitFlowEventBodyType: {
|
|
6400
|
-
readonly fingerprint: "fingerprint";
|
|
6401
|
-
readonly telemetry: "telemetry";
|
|
6402
|
-
}; //#endregion
|
|
6403
|
-
//#region src/generated/model/submitFlowEventBody.d.ts
|
|
6404
|
-
type SubmitFlowEventBody = {
|
|
6405
|
-
/** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */session_token?: string;
|
|
6406
|
-
type: SubmitFlowEventBodyType; /** Event payload (fingerprint hash, timing data, etc.). */
|
|
6407
|
-
payload?: SubmitFlowEventBodyPayload;
|
|
6408
|
-
}; //#endregion
|
|
6409
|
-
//#region src/generated/model/submitFlowEventDefaultDetails.d.ts
|
|
6410
|
-
/**
|
|
6411
|
-
* Generated by orval v8.10.0 🍺
|
|
6412
|
-
* Do not edit manually.
|
|
6413
|
-
* Zitadel NextGen
|
|
6414
|
-
* This is the next generation of the Zitadel identity platform.
|
|
6415
|
-
* OpenAPI spec version: 0.0.1
|
|
6416
|
-
*/
|
|
6417
|
-
/**
|
|
6418
|
-
* Additional error-specific context.
|
|
6419
|
-
*/
|
|
6420
|
-
//#endregion
|
|
6421
6870
|
//#region src/generated/model/submitFlowStep200BrandingLayout.d.ts
|
|
6422
6871
|
/**
|
|
6423
6872
|
* Generated by orval v8.10.0 🍺
|
|
@@ -6429,7 +6878,8 @@ type SubmitFlowEventBody = {
|
|
|
6429
6878
|
/**
|
|
6430
6879
|
* Layout preset selector. The default.liquid master template uses this
|
|
6431
6880
|
to branch into layout variants. Customers who eject the template
|
|
6432
|
-
can ignore this field entirely
|
|
6881
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
6882
|
+
when a custom template fails component-side validation.
|
|
6433
6883
|
|
|
6434
6884
|
*/
|
|
6435
6885
|
type SubmitFlowStep200BrandingLayout = (typeof SubmitFlowStep200BrandingLayout)[keyof typeof SubmitFlowStep200BrandingLayout];
|
|
@@ -6439,23 +6889,39 @@ declare const SubmitFlowStep200BrandingLayout: {
|
|
|
6439
6889
|
}; //#endregion
|
|
6440
6890
|
//#region src/generated/model/submitFlowStep200Branding.d.ts
|
|
6441
6891
|
/**
|
|
6442
|
-
*
|
|
6443
|
-
|
|
6444
|
-
|
|
6892
|
+
* Branding configuration. Appears in two places with one shape:
|
|
6893
|
+
|
|
6894
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
6895
|
+
latest branding revision for the project per step response (falling
|
|
6896
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
6897
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
6898
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
6899
|
+
shape as a new immutable revision (see ADR 040).
|
|
6445
6900
|
|
|
6446
6901
|
*/
|
|
6447
6902
|
type SubmitFlowStep200Branding = {
|
|
6448
6903
|
/** Layout preset selector. The default.liquid master template uses this
|
|
6449
6904
|
to branch into layout variants. Customers who eject the template
|
|
6450
|
-
can ignore this field entirely
|
|
6905
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
6906
|
+
when a custom template fails component-side validation.
|
|
6451
6907
|
*/
|
|
6452
6908
|
layout?: SubmitFlowStep200BrandingLayout;
|
|
6453
|
-
/**
|
|
6909
|
+
/**
|
|
6910
|
+
* The LiquidJS template string for rendering this step. The orchestrator
|
|
6454
6911
|
parses this template, injects the capability dictionaries as context,
|
|
6455
6912
|
and renders the output HTML into its Shadow DOM.
|
|
6456
|
-
|
|
6913
|
+
* @maxLength 131072
|
|
6914
|
+
*/
|
|
6457
6915
|
liquid_template?: string; /** Team logo URL. */
|
|
6458
|
-
logo_url?: string;
|
|
6916
|
+
logo_url?: string;
|
|
6917
|
+
/** Custom font stylesheet URL (e.g., Google Fonts CSS). Read-only in
|
|
6918
|
+
v1: `POST /branding` rejects a non-empty value, because the login
|
|
6919
|
+
component loads this stylesheet at document level (shadow-scoped
|
|
6920
|
+
`@font-face` rules never register faces) and an arbitrary URL would
|
|
6921
|
+
grant `branding.write` page-wide CSS control over the embedding
|
|
6922
|
+
application. Safe tenant font delivery is an ADR 040 follow-up;
|
|
6923
|
+
until then, load fonts from the embedding page.
|
|
6924
|
+
*/
|
|
6459
6925
|
font_url?: string; /** Hero/background image URL (used by split layout). */
|
|
6460
6926
|
hero_url?: string;
|
|
6461
6927
|
}; //#endregion
|
|
@@ -6832,9 +7298,11 @@ type SubmitFlowStep200Step = {
|
|
|
6832
7298
|
(e.g. `error.email_required`; the `format` rule is spelled
|
|
6833
7299
|
`error.<field>_invalid`), multiple violations joined with `"; "`.
|
|
6834
7300
|
Field names appear verbatim, so clients localise unknown keys via
|
|
6835
|
-
the generic `error.field_<rule>` catalog entries. Other
|
|
6836
|
-
carry
|
|
6837
|
-
`
|
|
7301
|
+
the generic `error.field_<rule>` catalog entries. Other engine
|
|
7302
|
+
failures carry `error.*` catalog keys as well (e.g.
|
|
7303
|
+
`error.invalid_credentials`, `error.passkey_invalid`); a
|
|
7304
|
+
non-`error.` payload is an outcome token (e.g. `user_not_found`)
|
|
7305
|
+
that clients keep verbatim.
|
|
6838
7306
|
*/
|
|
6839
7307
|
error?: string | null;
|
|
6840
7308
|
/** Present only on terminal steps. Tells the frontend what to do:
|
|
@@ -6883,9 +7351,13 @@ type SubmitFlowStep200 = {
|
|
|
6883
7351
|
and builds name-keyed indexes locally for lookup.
|
|
6884
7352
|
*/
|
|
6885
7353
|
step: SubmitFlowStep200Step;
|
|
6886
|
-
/**
|
|
6887
|
-
|
|
6888
|
-
|
|
7354
|
+
/** Branding configuration. Appears in two places with one shape:
|
|
7355
|
+
- On flow responses as a read-only projection: the server resolves the
|
|
7356
|
+
latest branding revision for the project per step response (falling
|
|
7357
|
+
back to built-in defaults when none is stored). Branding is configured
|
|
7358
|
+
via the Branding API / `zitadel apply`, not the Flow API.
|
|
7359
|
+
- As the request body of `POST /branding`, which publishes the same
|
|
7360
|
+
shape as a new immutable revision (see ADR 040).
|
|
6889
7361
|
*/
|
|
6890
7362
|
branding?: SubmitFlowStep200Branding; /** Present when `step.complete` is `redirect`. */
|
|
6891
7363
|
redirect_uri?: string;
|
|
@@ -6910,7 +7382,8 @@ type SubmitFlowStep200 = {
|
|
|
6910
7382
|
/**
|
|
6911
7383
|
* Layout preset selector. The default.liquid master template uses this
|
|
6912
7384
|
to branch into layout variants. Customers who eject the template
|
|
6913
|
-
can ignore this field entirely
|
|
7385
|
+
can ignore this field entirely; it also serves as the degrade target
|
|
7386
|
+
when a custom template fails component-side validation.
|
|
6914
7387
|
|
|
6915
7388
|
*/
|
|
6916
7389
|
//#endregion
|
|
@@ -7004,7 +7477,7 @@ type SubmitFlowStepBody = {
|
|
|
7004
7477
|
*/
|
|
7005
7478
|
sso_provider_id?: string;
|
|
7006
7479
|
}; //#endregion
|
|
7007
|
-
//#region src/generated/model/
|
|
7480
|
+
//#region src/generated/model/submitFlowStepDefault.d.ts
|
|
7008
7481
|
/**
|
|
7009
7482
|
* Generated by orval v8.10.0 🍺
|
|
7010
7483
|
* Do not edit manually.
|
|
@@ -7012,9 +7485,6 @@ type SubmitFlowStepBody = {
|
|
|
7012
7485
|
* This is the next generation of the Zitadel identity platform.
|
|
7013
7486
|
* OpenAPI spec version: 0.0.1
|
|
7014
7487
|
*/
|
|
7015
|
-
/**
|
|
7016
|
-
* Additional error-specific context.
|
|
7017
|
-
*/
|
|
7018
7488
|
//#endregion
|
|
7019
7489
|
//#region src/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts
|
|
7020
7490
|
/**
|
|
@@ -7793,7 +8263,7 @@ type UpdateFlowDefinitionBody = {
|
|
|
7793
8263
|
*/
|
|
7794
8264
|
flow_definition: UpdateFlowDefinitionBodyFlowDefinition;
|
|
7795
8265
|
}; //#endregion
|
|
7796
|
-
//#region src/generated/model/
|
|
8266
|
+
//#region src/generated/model/updateFlowDefinitionDefault.d.ts
|
|
7797
8267
|
/**
|
|
7798
8268
|
* Generated by orval v8.10.0 🍺
|
|
7799
8269
|
* Do not edit manually.
|
|
@@ -7801,9 +8271,6 @@ type UpdateFlowDefinitionBody = {
|
|
|
7801
8271
|
* This is the next generation of the Zitadel identity platform.
|
|
7802
8272
|
* OpenAPI spec version: 0.0.1
|
|
7803
8273
|
*/
|
|
7804
|
-
/**
|
|
7805
|
-
* Additional error-specific context.
|
|
7806
|
-
*/
|
|
7807
8274
|
//#endregion
|
|
7808
8275
|
//#region src/generated/model/updateFlowDefinitionParams.d.ts
|
|
7809
8276
|
/**
|
|
@@ -7820,6 +8287,96 @@ type UpdateFlowDefinitionParams = {
|
|
|
7820
8287
|
*/
|
|
7821
8288
|
project_id: string;
|
|
7822
8289
|
}; //#endregion
|
|
8290
|
+
//#region src/generated/model/updateTeam200Status.d.ts
|
|
8291
|
+
/**
|
|
8292
|
+
* Generated by orval v8.10.0 🍺
|
|
8293
|
+
* Do not edit manually.
|
|
8294
|
+
* Zitadel NextGen
|
|
8295
|
+
* This is the next generation of the Zitadel identity platform.
|
|
8296
|
+
* OpenAPI spec version: 0.0.1
|
|
8297
|
+
*/
|
|
8298
|
+
/**
|
|
8299
|
+
* The lifecycle state of a team.
|
|
8300
|
+
|
|
8301
|
+
active: The team is available for use.
|
|
8302
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
8303
|
+
|
|
8304
|
+
*/
|
|
8305
|
+
type UpdateTeam200Status = (typeof UpdateTeam200Status)[keyof typeof UpdateTeam200Status];
|
|
8306
|
+
declare const UpdateTeam200Status: {
|
|
8307
|
+
readonly active: "active";
|
|
8308
|
+
readonly deactivated: "deactivated";
|
|
8309
|
+
}; //#endregion
|
|
8310
|
+
//#region src/generated/model/updateTeam200.d.ts
|
|
8311
|
+
/**
|
|
8312
|
+
* Details of a team.
|
|
8313
|
+
*/
|
|
8314
|
+
type UpdateTeam200 = {
|
|
8315
|
+
/** The unique identifier of the team. */id: string; /** The name of the team. */
|
|
8316
|
+
name: string;
|
|
8317
|
+
/** The lifecycle state of a team.
|
|
8318
|
+
active: The team is available for use.
|
|
8319
|
+
deactivated: The team is no longer active but is retained for historical and audit purposes.
|
|
8320
|
+
*/
|
|
8321
|
+
status: UpdateTeam200Status; /** The time when the team was created. */
|
|
8322
|
+
created_at: string; /** The time when the team was last updated. */
|
|
8323
|
+
updated_at: string;
|
|
8324
|
+
}; //#endregion
|
|
8325
|
+
//#region src/generated/model/updateTeam400Details.d.ts
|
|
8326
|
+
/**
|
|
8327
|
+
* Generated by orval v8.10.0 🍺
|
|
8328
|
+
* Do not edit manually.
|
|
8329
|
+
* Zitadel NextGen
|
|
8330
|
+
* This is the next generation of the Zitadel identity platform.
|
|
8331
|
+
* OpenAPI spec version: 0.0.1
|
|
8332
|
+
*/
|
|
8333
|
+
/**
|
|
8334
|
+
* Additional error-specific context.
|
|
8335
|
+
*/
|
|
8336
|
+
//#endregion
|
|
8337
|
+
//#region src/generated/model/updateTeamBody.d.ts
|
|
8338
|
+
/**
|
|
8339
|
+
* Generated by orval v8.10.0 🍺
|
|
8340
|
+
* Do not edit manually.
|
|
8341
|
+
* Zitadel NextGen
|
|
8342
|
+
* This is the next generation of the Zitadel identity platform.
|
|
8343
|
+
* OpenAPI spec version: 0.0.1
|
|
8344
|
+
*/
|
|
8345
|
+
type UpdateTeamBody = {
|
|
8346
|
+
/**
|
|
8347
|
+
* The name of the team. Must be unique within the project.
|
|
8348
|
+
* @minLength 1
|
|
8349
|
+
* @maxLength 200
|
|
8350
|
+
*/
|
|
8351
|
+
name?: string;
|
|
8352
|
+
}; //#endregion
|
|
8353
|
+
//#region src/generated/model/updateTeamDefaultDetails.d.ts
|
|
8354
|
+
/**
|
|
8355
|
+
* Generated by orval v8.10.0 🍺
|
|
8356
|
+
* Do not edit manually.
|
|
8357
|
+
* Zitadel NextGen
|
|
8358
|
+
* This is the next generation of the Zitadel identity platform.
|
|
8359
|
+
* OpenAPI spec version: 0.0.1
|
|
8360
|
+
*/
|
|
8361
|
+
/**
|
|
8362
|
+
* Additional error-specific context.
|
|
8363
|
+
*/
|
|
8364
|
+
//#endregion
|
|
8365
|
+
//#region src/generated/model/updateTeamParams.d.ts
|
|
8366
|
+
/**
|
|
8367
|
+
* Generated by orval v8.10.0 🍺
|
|
8368
|
+
* Do not edit manually.
|
|
8369
|
+
* Zitadel NextGen
|
|
8370
|
+
* This is the next generation of the Zitadel identity platform.
|
|
8371
|
+
* OpenAPI spec version: 0.0.1
|
|
8372
|
+
*/
|
|
8373
|
+
type UpdateTeamParams = {
|
|
8374
|
+
/**
|
|
8375
|
+
* The unique identifier of the project
|
|
8376
|
+
* @pattern ^[a-zA-Z0-9_-]+$
|
|
8377
|
+
*/
|
|
8378
|
+
project_id: string;
|
|
8379
|
+
}; //#endregion
|
|
7823
8380
|
//#region src/generated/model/verifyChallengeProof200ChallengesItemMethod.d.ts
|
|
7824
8381
|
/**
|
|
7825
8382
|
* Generated by orval v8.10.0 🍺
|
|
@@ -7899,8 +8456,8 @@ The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{ch
|
|
|
7899
8456
|
*/
|
|
7900
8457
|
type VerifyChallengeProof200ChallengesItem = {
|
|
7901
8458
|
/**
|
|
7902
|
-
* Unique identifier for this challenge
|
|
7903
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
8459
|
+
* Unique identifier for this challenge (dialect-minted prefixed opaque string).
|
|
8460
|
+
* @pattern ^ch_[a-zA-Z0-9_-]+$
|
|
7904
8461
|
*/
|
|
7905
8462
|
challenge_id: string; /** An authentication factor method. */
|
|
7906
8463
|
method: VerifyChallengeProof200ChallengesItemMethod;
|
|
@@ -8032,8 +8589,8 @@ Clients drive the attempt by:
|
|
|
8032
8589
|
*/
|
|
8033
8590
|
type VerifyChallengeProof200 = {
|
|
8034
8591
|
/**
|
|
8035
|
-
* Unique identifier for this authentication attempt
|
|
8036
|
-
* @pattern ^[a-zA-Z0-9_-]+$
|
|
8592
|
+
* Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).
|
|
8593
|
+
* @pattern ^att_[a-zA-Z0-9_-]+$
|
|
8037
8594
|
*/
|
|
8038
8595
|
attempt_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
|
|
8039
8596
|
project_id: string;
|
|
@@ -8168,6 +8725,16 @@ declare class ZlField extends LitElement {
|
|
|
8168
8725
|
formResetCallback(): void;
|
|
8169
8726
|
formStateRestoreCallback(state: string | null): void;
|
|
8170
8727
|
focus(options?: FocusOptions): void;
|
|
8728
|
+
/**
|
|
8729
|
+
* The string this control contributes to form submission — the uniform
|
|
8730
|
+
* read/write contract `<zitadel-login>` uses to capture and restore field
|
|
8731
|
+
* values without knowing each atom's internal shape. The getter reads the
|
|
8732
|
+
* live `<input>` so browser/password-manager autofill that writes the native
|
|
8733
|
+
* control directly (bypassing the `value` property and its `input` event) is
|
|
8734
|
+
* still captured.
|
|
8735
|
+
*/
|
|
8736
|
+
get formValue(): string;
|
|
8737
|
+
set formValue(value: string);
|
|
8171
8738
|
render(): _$lit.TemplateResult<1>;
|
|
8172
8739
|
private renderLabelRow;
|
|
8173
8740
|
private renderTrailingIcon;
|
|
@@ -8217,6 +8784,13 @@ declare global {
|
|
|
8217
8784
|
* gap 24px (spacing-04) between header / main / footer slots
|
|
8218
8785
|
* footer min-height 1.5rem to reserve room for the attribution
|
|
8219
8786
|
* pill even when the slot is empty (prevents jitter).
|
|
8787
|
+
*
|
|
8788
|
+
* All of the above is page chrome. In widget mode (`data-widget`, stamped
|
|
8789
|
+
* by the orchestrators whenever their `variant` is not `page`) the shell
|
|
8790
|
+
* sheds it entirely — background, viewport min-height, AND the responsive
|
|
8791
|
+
* padding — leaving a transparent, content-sized pass-through: the
|
|
8792
|
+
* embedding app owns spacing around the card. Only the region gap
|
|
8793
|
+
* survives, because it separates real content (card → attribution pill).
|
|
8220
8794
|
*/
|
|
8221
8795
|
declare class ZlPageShell extends LitElement {
|
|
8222
8796
|
static styles: _$lit.CSSResult[];
|
|
@@ -8361,7 +8935,7 @@ declare class ZlPasskey extends LitElement {
|
|
|
8361
8935
|
*/
|
|
8362
8936
|
startCeremony(): Promise<void>;
|
|
8363
8937
|
private handleCancelSubmit;
|
|
8364
|
-
render():
|
|
8938
|
+
render(): _$lit.TemplateResult<1> | typeof nothing;
|
|
8365
8939
|
/**
|
|
8366
8940
|
* `navigator.credentials.get()` — authentication ceremony.
|
|
8367
8941
|
*/
|
|
@@ -8464,20 +9038,26 @@ type ZlSelectChangeDetail = {
|
|
|
8464
9038
|
value: string;
|
|
8465
9039
|
};
|
|
8466
9040
|
/**
|
|
8467
|
-
* Atom: `<zl-select>` — a select
|
|
9041
|
+
* Atom: `<zl-select>` — a select bound to a single choice.
|
|
8468
9042
|
*
|
|
8469
9043
|
* Spec lineage (file `8UjCXw8yemgljmbkWGrSfE`, "Zitadel - Design System - External"):
|
|
8470
9044
|
* - trigger + open/selected matrix: node `4397:4816` (Dropdown)
|
|
8471
9045
|
* - option (Items) state matrix: node `4397:4098` (Input text)
|
|
8472
9046
|
*
|
|
8473
|
-
*
|
|
8474
|
-
*
|
|
8475
|
-
*
|
|
8476
|
-
*
|
|
8477
|
-
*
|
|
9047
|
+
* Agent-first contract (see `packages/components/AGENTS.md` → "Input atoms expose
|
|
9048
|
+
* a real native control"): the operable, accessible, form-associated, and
|
|
9049
|
+
* automatable control is a real native `<select>`. Screen readers, keyboard
|
|
9050
|
+
* users, password managers, native form submission/validation, and automation
|
|
9051
|
+
* drivers (Playwright `selectOption`, the chrome-devtools accessibility
|
|
9052
|
+
* snapshot, the Codex in-app browser) all interact with that native element via
|
|
9053
|
+
* the stable `data-testid="zitadel-select-${name}"`.
|
|
8478
9054
|
*
|
|
8479
|
-
*
|
|
8480
|
-
*
|
|
9055
|
+
* The Figma-styled trigger + popup (`.zr-select__trigger` / `.zr-select__listbox`)
|
|
9056
|
+
* are a pointer-only **visual** layer: they are `aria-hidden` and never in the
|
|
9057
|
+
* tab order, so they don't duplicate the native control in the accessibility
|
|
9058
|
+
* tree. A mouse user sees the styled popup; everyone else (keyboard, AT, agents)
|
|
9059
|
+
* uses the native `<select>` and its native popup. Both paths converge on
|
|
9060
|
+
* `value`, emit `zl-change`, and mirror `internals.setFormValue()`.
|
|
8481
9061
|
*/
|
|
8482
9062
|
declare class ZlSelect extends LitElement {
|
|
8483
9063
|
static formAssociated: boolean;
|
|
@@ -8501,12 +9081,21 @@ declare class ZlSelect extends LitElement {
|
|
|
8501
9081
|
*/
|
|
8502
9082
|
accessor options: ZlSelectOption[];
|
|
8503
9083
|
accessor required: boolean;
|
|
9084
|
+
/**
|
|
9085
|
+
* Inline validation message shown under the control (empty = none). Set by
|
|
9086
|
+
* the orchestrator's template when the flow re-renders with a field error;
|
|
9087
|
+
* display-only — submission gating lives in `<zitadel-login>`, mirroring
|
|
9088
|
+
* `<zl-field>`'s `error` contract so the router treats every field type the
|
|
9089
|
+
* same way.
|
|
9090
|
+
*/
|
|
9091
|
+
accessor error: string;
|
|
9092
|
+
accessor invalid: boolean;
|
|
8504
9093
|
accessor disabled: boolean;
|
|
8505
9094
|
accessor open: boolean;
|
|
8506
9095
|
accessor ariaLabelText: string | undefined;
|
|
8507
9096
|
accessor testId: string | undefined;
|
|
8508
|
-
private accessor
|
|
8509
|
-
private accessor
|
|
9097
|
+
private accessor activeValue;
|
|
9098
|
+
private accessor nativeEl;
|
|
8510
9099
|
private readonly baseId;
|
|
8511
9100
|
private readonly internals;
|
|
8512
9101
|
private defaultValue;
|
|
@@ -8517,25 +9106,51 @@ declare class ZlSelect extends LitElement {
|
|
|
8517
9106
|
formResetCallback(): void;
|
|
8518
9107
|
formStateRestoreCallback(state: string | null): void;
|
|
8519
9108
|
focus(options?: FocusOptions): void;
|
|
9109
|
+
/**
|
|
9110
|
+
* The string this control contributes to form submission — the uniform
|
|
9111
|
+
* read/write contract `<zitadel-login>` uses to capture and restore field
|
|
9112
|
+
* values without knowing each atom's internal shape. For a select that is
|
|
9113
|
+
* simply the chosen option's value (empty = nothing chosen).
|
|
9114
|
+
*/
|
|
9115
|
+
get formValue(): string;
|
|
9116
|
+
set formValue(value: string);
|
|
9117
|
+
/**
|
|
9118
|
+
* Options as painted in the listbox: a leading empty row (labelled with the
|
|
9119
|
+
* placeholder) so the user can return to "no selection". For a `required`
|
|
9120
|
+
* field this empty row is the prompt — choosing it leaves the value empty,
|
|
9121
|
+
* so `required` validation still blocks submit (native `<select>`
|
|
9122
|
+
* semantics). Any empty-valued member of the caller's list is dropped first,
|
|
9123
|
+
* so a schema enum that lists "" doesn't render a second, duplicate empty
|
|
9124
|
+
* option. The public `options` property stays the caller's list.
|
|
9125
|
+
*/
|
|
9126
|
+
private get listOptions();
|
|
8520
9127
|
render(): _$lit.TemplateResult<1>;
|
|
8521
9128
|
private renderLabel;
|
|
8522
9129
|
private renderOption;
|
|
8523
|
-
private optionId;
|
|
8524
9130
|
private handleLabelClick;
|
|
8525
9131
|
private handleTriggerClick;
|
|
8526
|
-
|
|
9132
|
+
/**
|
|
9133
|
+
* The native `<select>` is the source of truth for keyboard, AT, and
|
|
9134
|
+
* automation. Its `change` event covers native-popup selection as well as
|
|
9135
|
+
* programmatic value-setting by automation drivers.
|
|
9136
|
+
*/
|
|
9137
|
+
private handleNativeChange;
|
|
8527
9138
|
private handleOptionClick;
|
|
8528
9139
|
private handleOptionPointerMove;
|
|
8529
9140
|
private handleDocumentPointerDown;
|
|
8530
|
-
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
private
|
|
8535
|
-
|
|
8536
|
-
|
|
9141
|
+
/**
|
|
9142
|
+
* Escape closes the styled popup and stops propagation so it doesn't also
|
|
9143
|
+
* dismiss an enclosing dialog.
|
|
9144
|
+
*/
|
|
9145
|
+
private handleDocumentKeydown;
|
|
9146
|
+
/**
|
|
9147
|
+
* Apply a new value from any input path (native select, styled popup), keeping
|
|
9148
|
+
* `value`, form state, and listeners in sync and emitting the `zl-change`
|
|
9149
|
+
* contract plus a composed native `change` for host forms.
|
|
9150
|
+
*/
|
|
9151
|
+
private commitValue;
|
|
8537
9152
|
private syncFormState;
|
|
8538
|
-
private
|
|
9153
|
+
private nativeTestId;
|
|
8539
9154
|
}
|
|
8540
9155
|
declare const zlSelectManifest: AtomManifest;
|
|
8541
9156
|
declare global {
|
|
@@ -8544,5 +9159,5 @@ declare global {
|
|
|
8544
9159
|
}
|
|
8545
9160
|
} //# sourceMappingURL=zl-select.d.ts.map
|
|
8546
9161
|
//#endregion
|
|
8547
|
-
export { ExchangeHandoff200 as $,
|
|
8548
|
-
//# sourceMappingURL=index-
|
|
9162
|
+
export { ExchangeHandoff200 as $, SubmitFlowStepBody as $t, CreateFlow201StepGates as A, ListFlowDefinitionsParams as At, CreateSchemaBody as B, PatchProjectBody as Bt, CreateFlow201 as C, GetUserByIDParams as Ct, CreateFlow201StepActionsItem as D, ListBranding200Item as Dt, CreateFlow201Step as E, IssueChallengeBody as Et, CreateFlowDefinitionBody as F, ListUserTeams200 as Ft, CreateTeamBody as G, QuerySessionsParams as Gt, CreateSession201 as H, QueryProjectsBody as Ht, CreateHandoff200 as I, ListUserTeamsParams as It, CreateUserBody as J, QueryTeamsParams as Jt, CreateTeamParams as K, QueryTeams200 as Kt, CreateProject201 as L, ListUsers200 as Lt, CreateFlowBody as M, ListSchemasParams as Mt, CreateFlowBodyPurpose as N, ListUserPasskeys200 as Nt, CreateFlow201StepChallenge as O, ListBrandingParams as Ot, CreateFlowDefinition201 as P, ListUserPasskeysParams as Pt, DeleteUserByIDParams as Q, SubmitFlowStep200 as Qt, CreateProjectBody as R, ListUsersParams as Rt, CreateBrandingParams as S, GetUserByID200 as St, CreateFlow201BrandingLayout as T, IssueChallenge201 as Tt, CreateSessionBody as U, QuerySessions200 as Ut, CreateSchemaParams as V, QueryProjects200 as Vt, CreateTeam201 as W, QuerySessionsBody as Wt, DeleteFlowDefinitionParams as X, SetUserPasswordBody as Xt, CreateUserParams as Y, RevokeSessionParams as Yt, DeleteTeamParams as Z, SetUserPasswordParams as Zt, CompleteClaimBody as _, IconName as _n, GetSchemaByIdParams as _t, ZlPill as a, UpdateTeamParams as an, GetClaimStatus200 as at, CreateBranding201 as b, GetTeam200 as bt, ZlPasskeyErrorDetail as c, ZlCheckbox as cn, GetFlowDefinitionParams as ct, ZlPageShell as d, ZlCard as dn, GetLiveDefault as dt, UpdateFlowDefinition200 as en, ExchangeHandoffBody as et, zlPageShellManifest as f, zlCardManifest as fn, GetMySession200 as ft, CompleteClaim200 as g, zlAlertManifest as gn, GetSchemaById200 as gt, zlFieldManifest as h, ZlAlert as hn, GetReadyDefault as ht, zlSelectManifest as i, UpdateTeamBody as in, GetBrandingByIdParams as it, CreateFlow201StepSsoProvidersItem as j, ListSchemas200Item as jt, CreateFlow201StepFieldsItem as k, ListFlowDefinitions200 as kt, ZlPasskeyResultDetail as l, ZlCheckboxChangeDetail as ln, GetFlowStep200 as lt, ZlFieldType as m, zlButtonManifest as mn, GetProject200 as mt, ZlSelectChangeDetail as n, UpdateFlowDefinitionParams as nn, GetAuthAttempt200 as nt, zlPillManifest as o, VerifyChallengeProof200 as on, GetClaimStatusParams as ot, ZlField as p, ZlButton as pn, GetMyUser200 as pt, CreateUser201 as q, QueryTeamsBody as qt, ZlSelectOption as r, UpdateTeam200 as rn, GetBrandingById200 as rt, ZlPasskey as s, VerifyChallengeProofBody as sn, GetFlowDefinition200 as st, ZlSelect as t, UpdateFlowDefinitionBody as tn, ExchangeHandoffParams as tt, zlPasskeyManifest as u, zlCheckboxManifest as un, GetHealthDefault as ut, CreateAuthAttempt201 as v, ZlIcon as vn, GetSession200 as vt, CreateFlow201Branding as w, InitClaim201 as wt, CreateBrandingBody as x, GetTeamParams as xt, CreateAuthAttemptBody as y, zlIconManifest as yn, GetSessionParams as yt, CreateSchema201 as z, PatchProject200 as zt };
|
|
9163
|
+
//# sourceMappingURL=index-DIGjtG4z.d.mts.map
|