@zitadel/components 0.1.0-alpha.17 → 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.
Files changed (36) hide show
  1. package/README.md +85 -19
  2. package/dist/atoms/index.d.mts +1 -1
  3. package/dist/atoms/index.mjs +1 -1
  4. package/dist/{atoms-KC7OJWXZ.mjs → atoms-5-wYIl88.mjs} +263 -188
  5. package/dist/atoms-5-wYIl88.mjs.map +1 -0
  6. package/dist/default-Bnjy2dJB.mjs +6 -0
  7. package/dist/default-Bnjy2dJB.mjs.map +1 -0
  8. package/dist/{index-BniwXaIC.d.mts → index-BRGZPZ2y.d.mts} +111 -1
  9. package/dist/index-BRGZPZ2y.d.mts.map +1 -0
  10. package/dist/{index-DjYJwejg.d.mts → index-CsJiPZtJ.d.mts} +437 -209
  11. package/dist/index-CsJiPZtJ.d.mts.map +1 -0
  12. package/dist/{index-DSZnfOJH.d.mts → index-DIGjtG4z.d.mts} +1626 -1017
  13. package/dist/index-DIGjtG4z.d.mts.map +1 -0
  14. package/dist/index.d.mts +5 -5
  15. package/dist/index.mjs +5 -5
  16. package/dist/jsx.d.ts +63 -0
  17. package/dist/manifests.mjs +1 -1
  18. package/dist/orchestrator/index.d.mts +3 -3
  19. package/dist/orchestrator/index.mjs +3 -3
  20. package/dist/{orchestrator-BWqJw4Yl.mjs → orchestrator-CctLkpmB.mjs} +1195 -764
  21. package/dist/orchestrator-CctLkpmB.mjs.map +1 -0
  22. package/dist/standalone.mjs +2484 -1284
  23. package/dist/tokens/index.d.mts +1 -1
  24. package/dist/tokens/index.mjs +1 -1
  25. package/dist/tokens-BV-PPbQd.mjs +356 -0
  26. package/dist/tokens-BV-PPbQd.mjs.map +1 -0
  27. package/package.json +14 -10
  28. package/dist/atoms-KC7OJWXZ.mjs.map +0 -1
  29. package/dist/default-CfF7GoLv.mjs +0 -6
  30. package/dist/default-CfF7GoLv.mjs.map +0 -1
  31. package/dist/index-BniwXaIC.d.mts.map +0 -1
  32. package/dist/index-DSZnfOJH.d.mts.map +0 -1
  33. package/dist/index-DjYJwejg.d.mts.map +0 -1
  34. package/dist/orchestrator-BWqJw4Yl.mjs.map +0 -1
  35. package/dist/tokens-CbH2s1jV.mjs +0 -246
  36. 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-C4jNq61U.d.mts
330
- //#endregion
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
- * Generated by orval v8.10.0 🍺
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 AuthorizeDevice200 = {
355
- /** The device code that the client will use to poll for authorization.
356
- */
357
- device_code?: string;
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/authorizeDevice400Details.d.ts
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/authorizeDeviceParams.d.ts
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
- type AuthorizeDeviceParams = {
397
- /**
398
- * The client ID of the application that is requesting authorization.
399
- This is a required parameter and must match the client ID of a
400
- registered application.
401
- */
402
- client_id: string;
383
+ /**
384
+ * The request to complete a project claim.
385
+ */
386
+ type CompleteClaimBody = {
403
387
  /**
404
- * The scope parameter is used to specify the permissions that the client
405
- is requesting. This is a space delimited list of scopes. For example,
406
- you could use this to request access to the user's profile information or
407
- to request permission to access certain APIs on behalf of the user.
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/authorizeGet400Details.d.ts
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
- * Resolved branding configuration. Inherited from the app team → project
872
- hierarchy at flow creation time (most specific wins). Read-only projection —
873
- branding is configured via the Team/App Branding API, not the Flow API.
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
- /** The LiquidJS template string for rendering this step. The orchestrator
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; /** Custom font URL (e.g., Google Fonts CSS). */
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
@@ -1314,9 +1345,13 @@ type CreateFlow201 = {
1314
1345
  and builds name-keyed indexes locally for lookup.
1315
1346
  */
1316
1347
  step: CreateFlow201Step;
1317
- /** Resolved branding configuration. Inherited from the app team → project
1318
- hierarchy at flow creation time (most specific wins). Read-only projection
1319
- branding is configured via the Team/App Branding API, not the Flow API.
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).
1320
1355
  */
1321
1356
  branding?: CreateFlow201Branding; /** Present when `step.complete` is `redirect`. */
1322
1357
  redirect_uri?: string;
@@ -1408,7 +1443,7 @@ type CreateFlowBody = {
1408
1443
  redirect_uri?: string;
1409
1444
  hint?: CreateFlowBodyHint;
1410
1445
  }; //#endregion
1411
- //#region src/generated/model/createFlowDefaultDetails.d.ts
1446
+ //#region src/generated/model/createFlowDefault.d.ts
1412
1447
  /**
1413
1448
  * Generated by orval v8.10.0 🍺
1414
1449
  * Do not edit manually.
@@ -1416,9 +1451,6 @@ type CreateFlowBody = {
1416
1451
  * This is the next generation of the Zitadel identity platform.
1417
1452
  * OpenAPI spec version: 0.0.1
1418
1453
  */
1419
- /**
1420
- * Additional error-specific context.
1421
- */
1422
1454
  //#endregion
1423
1455
  //#region src/generated/model/createFlowDefinition201FlowDefinitionAudience.d.ts
1424
1456
  /**
@@ -2200,7 +2232,7 @@ type CreateFlowDefinitionBody = {
2200
2232
  */
2201
2233
  flow_definition: CreateFlowDefinitionBodyFlowDefinition;
2202
2234
  }; //#endregion
2203
- //#region src/generated/model/createFlowDefinitionDefaultDetails.d.ts
2235
+ //#region src/generated/model/createFlowDefinitionDefault.d.ts
2204
2236
  /**
2205
2237
  * Generated by orval v8.10.0 🍺
2206
2238
  * Do not edit manually.
@@ -2208,9 +2240,6 @@ type CreateFlowDefinitionBody = {
2208
2240
  * This is the next generation of the Zitadel identity platform.
2209
2241
  * OpenAPI spec version: 0.0.1
2210
2242
  */
2211
- /**
2212
- * Additional error-specific context.
2213
- */
2214
2243
  //#endregion
2215
2244
  //#region src/generated/model/createHandoff200.d.ts
2216
2245
  /**
@@ -2262,14 +2291,14 @@ type CreateProject201 = {
2262
2291
  name: string;
2263
2292
  /** Secret which can be used for authentication when modifying the project.
2264
2293
  */
2265
- projectSecret: string;
2294
+ project_secret: string;
2266
2295
  /** Secret which can be used for previewing and testing the project.
2267
2296
  */
2268
- previewSecret: string;
2297
+ preview_secret: string;
2269
2298
  /** Origins which are allowed for previewing and testing the project.
2270
2299
  */
2271
- previewOrigins: string[]; /** The time when the project was created. */
2272
- createdAt: string;
2300
+ preview_origins: string[]; /** The time when the project was created. */
2301
+ created_at: string;
2273
2302
  }; //#endregion
2274
2303
  //#region src/generated/model/createProject429Details.d.ts
2275
2304
  /**
@@ -2295,14 +2324,14 @@ type CreateProjectBody = {
2295
2324
  /** The name of the project. */name: string;
2296
2325
  /** Origins which are allowed for previewing and testing the project.
2297
2326
  */
2298
- previewOrigins?: string[];
2327
+ preview_origins?: string[];
2299
2328
  /** Whether the server should provision fallback default user schema and flow
2300
2329
  resources for the project. CLI-managed projects set this to false and
2301
2330
  upload their local .zitadel config files through the schema and flow APIs.
2302
2331
  */
2303
- seedDefaults?: boolean;
2332
+ seed_defaults?: boolean;
2304
2333
  }; //#endregion
2305
- //#region src/generated/model/createProjectDefaultDetails.d.ts
2334
+ //#region src/generated/model/createProjectDefault.d.ts
2306
2335
  /**
2307
2336
  * Generated by orval v8.10.0 🍺
2308
2337
  * Do not edit manually.
@@ -2310,9 +2339,6 @@ type CreateProjectBody = {
2310
2339
  * This is the next generation of the Zitadel identity platform.
2311
2340
  * OpenAPI spec version: 0.0.1
2312
2341
  */
2313
- /**
2314
- * Additional error-specific context.
2315
- */
2316
2342
  //#endregion
2317
2343
  //#region src/generated/model/createSchema201.d.ts
2318
2344
  /**
@@ -2404,8 +2430,13 @@ type CreateSchemaBody = {
2404
2430
  "x-unique"?: "unspecified" | "project" | "team" | null; /** The claim name for this property, if applicable */
2405
2431
  "x-claim"?: string | null; /** Whether this property is editable by the user or not */
2406
2432
  "x-editable"?: boolean; /** Whether this property contains sensitive information or not */
2407
- "x-sensitive"?: boolean; /** Whether this property is used for multi-factor authentication or not */
2408
- "x-mfa"?: boolean; /** A map of additional properties for the user definition, where the key is the property name and the value is the property schema */
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
+ */
2409
2440
  properties?: {
2410
2441
  [key: string]: unknown;
2411
2442
  };
@@ -2535,7 +2566,6 @@ type CreateSession201SessionMetadata = {
2535
2566
  - `building`: has a user factor but is still gathering authentication factors
2536
2567
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
2537
2568
  - `expired`: TTL elapsed
2538
- - `revoked`: explicitly revoked via DELETE
2539
2569
 
2540
2570
  */
2541
2571
  type CreateSession201SessionState = (typeof CreateSession201SessionState)[keyof typeof CreateSession201SessionState];
@@ -2543,7 +2573,6 @@ declare const CreateSession201SessionState: {
2543
2573
  readonly building: "building";
2544
2574
  readonly active: "active";
2545
2575
  readonly expired: "expired";
2546
- readonly revoked: "revoked";
2547
2576
  }; //#endregion
2548
2577
  //#region src/generated/model/createSession201SessionUserAgent.d.ts
2549
2578
  /**
@@ -2573,8 +2602,8 @@ in through `auth_attempts`.
2573
2602
  */
2574
2603
  type CreateSession201Session = {
2575
2604
  /**
2576
- * Unique identifier for this session.
2577
- * @pattern ^[a-zA-Z0-9_-]+$
2605
+ * Unique identifier for this session (dialect-minted prefixed opaque string).
2606
+ * @pattern ^sess_[a-zA-Z0-9_-]+$
2578
2607
  */
2579
2608
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
2580
2609
  project_id: string;
@@ -2582,7 +2611,6 @@ type CreateSession201Session = {
2582
2611
  - `building`: has a user factor but is still gathering authentication factors
2583
2612
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
2584
2613
  - `expired`: TTL elapsed
2585
- - `revoked`: explicitly revoked via DELETE
2586
2614
  */
2587
2615
  state: CreateSession201SessionState;
2588
2616
  /** The authenticated user. Null for anonymous sessions and until the `user`
@@ -2689,7 +2717,7 @@ type CreateSessionBody = {
2689
2717
  */
2690
2718
  user_agent?: CreateSessionBodyUserAgent;
2691
2719
  }; //#endregion
2692
- //#region src/generated/model/createSessionDefaultDetails.d.ts
2720
+ //#region src/generated/model/createSessionDefault.d.ts
2693
2721
  /**
2694
2722
  * Generated by orval v8.10.0 🍺
2695
2723
  * Do not edit manually.
@@ -2697,11 +2725,8 @@ type CreateSessionBody = {
2697
2725
  * This is the next generation of the Zitadel identity platform.
2698
2726
  * OpenAPI spec version: 0.0.1
2699
2727
  */
2700
- /**
2701
- * Additional error-specific context.
2702
- */
2703
2728
  //#endregion
2704
- //#region src/generated/model/createTeam201.d.ts
2729
+ //#region src/generated/model/createTeam201Status.d.ts
2705
2730
  /**
2706
2731
  * Generated by orval v8.10.0 🍺
2707
2732
  * Do not edit manually.
@@ -2709,9 +2734,32 @@ type CreateSessionBody = {
2709
2734
  * This is the next generation of the Zitadel identity platform.
2710
2735
  * OpenAPI spec version: 0.0.1
2711
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
+ */
2712
2753
  type CreateTeam201 = {
2713
- /** The unique identifier of the team. */id: string; /** The time when the team was created. */
2714
- createdAt: string;
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;
2715
2763
  }; //#endregion
2716
2764
  //#region src/generated/model/createTeam400Details.d.ts
2717
2765
  /**
@@ -2734,7 +2782,12 @@ type CreateTeam201 = {
2734
2782
  * OpenAPI spec version: 0.0.1
2735
2783
  */
2736
2784
  type CreateTeamBody = {
2737
- [key: string]: unknown;
2785
+ /**
2786
+ * The name of the team. Must be unique within the project.
2787
+ * @minLength 1
2788
+ * @maxLength 200
2789
+ */
2790
+ name: string;
2738
2791
  }; //#endregion
2739
2792
  //#region src/generated/model/createTeamDefaultDetails.d.ts
2740
2793
  /**
@@ -2792,7 +2845,7 @@ type CreateUser201 = {
2792
2845
  * Additional error-specific context.
2793
2846
  */
2794
2847
  //#endregion
2795
- //#region src/generated/model/createUserBody.d.ts
2848
+ //#region src/generated/model/createUserBodyMetadataStatus.d.ts
2796
2849
  /**
2797
2850
  * Generated by orval v8.10.0 🍺
2798
2851
  * Do not edit manually.
@@ -2800,17 +2853,46 @@ type CreateUser201 = {
2800
2853
  * This is the next generation of the Zitadel identity platform.
2801
2854
  * OpenAPI spec version: 0.0.1
2802
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
2803
2880
  /**
2804
2881
  * A user represents an individual identity in the system. It can be used to
2805
2882
  represent a human user, but also a service account or any other type of
2806
2883
  identity. The content of a user is determined by the configured schema for
2807
2884
  users, this is only a base schema.
2808
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
+
2809
2889
  */
2810
2890
  type CreateUserBody = {
2891
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
2892
+ metadata?: CreateUserBodyMetadata;
2811
2893
  [key: string]: unknown;
2812
2894
  }; //#endregion
2813
- //#region src/generated/model/createUserDefaultDetails.d.ts
2895
+ //#region src/generated/model/createUserDefault.d.ts
2814
2896
  /**
2815
2897
  * Generated by orval v8.10.0 🍺
2816
2898
  * Do not edit manually.
@@ -2818,9 +2900,6 @@ type CreateUserBody = {
2818
2900
  * This is the next generation of the Zitadel identity platform.
2819
2901
  * OpenAPI spec version: 0.0.1
2820
2902
  */
2821
- /**
2822
- * Additional error-specific context.
2823
- */
2824
2903
  //#endregion
2825
2904
  //#region src/generated/model/createUserParams.d.ts
2826
2905
  /**
@@ -2842,7 +2921,7 @@ type CreateUserParams = {
2842
2921
  */
2843
2922
  team_id?: string;
2844
2923
  }; //#endregion
2845
- //#region src/generated/model/deactivateFlowDefinition400Details.d.ts
2924
+ //#region src/generated/model/deleteFlowDefinition409Details.d.ts
2846
2925
  /**
2847
2926
  * Generated by orval v8.10.0 🍺
2848
2927
  * Do not edit manually.
@@ -2854,7 +2933,7 @@ type CreateUserParams = {
2854
2933
  * Additional error-specific context.
2855
2934
  */
2856
2935
  //#endregion
2857
- //#region src/generated/model/deactivateFlowDefinitionParams.d.ts
2936
+ //#region src/generated/model/deleteFlowDefinitionParams.d.ts
2858
2937
  /**
2859
2938
  * Generated by orval v8.10.0 🍺
2860
2939
  * Do not edit manually.
@@ -2862,14 +2941,14 @@ type CreateUserParams = {
2862
2941
  * This is the next generation of the Zitadel identity platform.
2863
2942
  * OpenAPI spec version: 0.0.1
2864
2943
  */
2865
- type DeactivateFlowDefinitionParams = {
2944
+ type DeleteFlowDefinitionParams = {
2866
2945
  /**
2867
- * The unique identifier of the project
2946
+ * The project id to filter by.
2868
2947
  * @pattern ^[a-zA-Z0-9_-]+$
2869
2948
  */
2870
2949
  project_id: string;
2871
2950
  }; //#endregion
2872
- //#region src/generated/model/deleteFlowDefinition409Details.d.ts
2951
+ //#region src/generated/model/deleteTeam400Details.d.ts
2873
2952
  /**
2874
2953
  * Generated by orval v8.10.0 🍺
2875
2954
  * Do not edit manually.
@@ -2881,7 +2960,7 @@ type DeactivateFlowDefinitionParams = {
2881
2960
  * Additional error-specific context.
2882
2961
  */
2883
2962
  //#endregion
2884
- //#region src/generated/model/deleteFlowDefinitionParams.d.ts
2963
+ //#region src/generated/model/deleteTeamParams.d.ts
2885
2964
  /**
2886
2965
  * Generated by orval v8.10.0 🍺
2887
2966
  * Do not edit manually.
@@ -2889,14 +2968,14 @@ type DeactivateFlowDefinitionParams = {
2889
2968
  * This is the next generation of the Zitadel identity platform.
2890
2969
  * OpenAPI spec version: 0.0.1
2891
2970
  */
2892
- type DeleteFlowDefinitionParams = {
2971
+ type DeleteTeamParams = {
2893
2972
  /**
2894
- * The project id to filter by.
2973
+ * The unique identifier of the project
2895
2974
  * @pattern ^[a-zA-Z0-9_-]+$
2896
2975
  */
2897
2976
  project_id: string;
2898
2977
  }; //#endregion
2899
- //#region src/generated/model/endSession400Details.d.ts
2978
+ //#region src/generated/model/deleteUserByID401Details.d.ts
2900
2979
  /**
2901
2980
  * Generated by orval v8.10.0 🍺
2902
2981
  * Do not edit manually.
@@ -2908,7 +2987,7 @@ type DeleteFlowDefinitionParams = {
2908
2987
  * Additional error-specific context.
2909
2988
  */
2910
2989
  //#endregion
2911
- //#region src/generated/model/endSessionParams.d.ts
2990
+ //#region src/generated/model/deleteUserByIDParams.d.ts
2912
2991
  /**
2913
2992
  * Generated by orval v8.10.0 🍺
2914
2993
  * Do not edit manually.
@@ -2916,48 +2995,12 @@ type DeleteFlowDefinitionParams = {
2916
2995
  * This is the next generation of the Zitadel identity platform.
2917
2996
  * OpenAPI spec version: 0.0.1
2918
2997
  */
2919
- type EndSessionParams = {
2920
- /**
2921
- * The client ID is the identifier for the client application that is making
2922
- the request. This is used by the authorization server to identify the
2923
- client and to determine whether it is authorized to perform the requested
2924
- action.
2925
- */
2926
- client_id?: string;
2927
- /**
2928
- * The ID token hint is a previously issued ID token that can be used to
2929
- pre-fill the authentication form or to provide information about the
2930
- user to the authorization server. This can be useful for single sign-on
2931
- scenarios or for providing a smoother user experience.
2932
- */
2933
- id_token_hint?: string;
2998
+ type DeleteUserByIDParams = {
2934
2999
  /**
2935
- * The logout hint is a hint to the authorization server about the login
2936
- identifier of the user. This can be used to pre-fill the username or email
2937
- field in the logout form, making it easier for the user to log out.
2938
- */
2939
- logout_hint?: string;
2940
- /**
2941
- * The post logout redirect URI is the URI to which the user will be
2942
- redirected after they have logged out. This must be a registered URI
2943
- for the client application and is used to ensure that the user is
2944
- redirected to a safe location after logging out.
2945
- */
2946
- post_logout_redirect_uri?: string;
2947
- /**
2948
- * The state parameter is an opaque value that is used by the client to
2949
- maintain state between the request and the callback. It is typically used
2950
- to prevent cross-site request forgery (CSRF) attacks by including a unique
2951
- value in the request that the client can verify when it receives the callback.
2952
- */
2953
- state?: string;
2954
- /**
2955
- * The ui_locales parameter is a space-separated list of BCP47 language tags
2956
- that are used to indicate the preferred languages and scripts for the user
2957
- interface. This can be used by the authorization server to display the logout
2958
- page in the user's preferred language.
2959
- */
2960
- ui_locales?: string;
3000
+ * The unique identifier of the project
3001
+ * @pattern ^[a-zA-Z0-9_-]+$
3002
+ */
3003
+ project_id: string;
2961
3004
  }; //#endregion
2962
3005
  //#region src/generated/model/exchangeHandoff200SessionFactorsItemMethod.d.ts
2963
3006
  /**
@@ -3045,7 +3088,6 @@ type ExchangeHandoff200SessionMetadata = {
3045
3088
  - `building`: has a user factor but is still gathering authentication factors
3046
3089
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
3047
3090
  - `expired`: TTL elapsed
3048
- - `revoked`: explicitly revoked via DELETE
3049
3091
 
3050
3092
  */
3051
3093
  type ExchangeHandoff200SessionState = (typeof ExchangeHandoff200SessionState)[keyof typeof ExchangeHandoff200SessionState];
@@ -3053,7 +3095,6 @@ declare const ExchangeHandoff200SessionState: {
3053
3095
  readonly building: "building";
3054
3096
  readonly active: "active";
3055
3097
  readonly expired: "expired";
3056
- readonly revoked: "revoked";
3057
3098
  }; //#endregion
3058
3099
  //#region src/generated/model/exchangeHandoff200SessionUserAgent.d.ts
3059
3100
  /**
@@ -3083,8 +3124,8 @@ in through `auth_attempts`.
3083
3124
  */
3084
3125
  type ExchangeHandoff200Session = {
3085
3126
  /**
3086
- * Unique identifier for this session.
3087
- * @pattern ^[a-zA-Z0-9_-]+$
3127
+ * Unique identifier for this session (dialect-minted prefixed opaque string).
3128
+ * @pattern ^sess_[a-zA-Z0-9_-]+$
3088
3129
  */
3089
3130
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
3090
3131
  project_id: string;
@@ -3092,7 +3133,6 @@ type ExchangeHandoff200Session = {
3092
3133
  - `building`: has a user factor but is still gathering authentication factors
3093
3134
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
3094
3135
  - `expired`: TTL elapsed
3095
- - `revoked`: explicitly revoked via DELETE
3096
3136
  */
3097
3137
  state: ExchangeHandoff200SessionState;
3098
3138
  /** The authenticated user. Null for anonymous sessions and until the `user`
@@ -3189,7 +3229,7 @@ type ExchangeHandoffBody = {
3189
3229
  */
3190
3230
  ttl?: string;
3191
3231
  }; //#endregion
3192
- //#region src/generated/model/exchangeHandoffDefaultDetails.d.ts
3232
+ //#region src/generated/model/exchangeHandoffDefault.d.ts
3193
3233
  /**
3194
3234
  * Generated by orval v8.10.0 🍺
3195
3235
  * Do not edit manually.
@@ -3197,9 +3237,6 @@ type ExchangeHandoffBody = {
3197
3237
  * This is the next generation of the Zitadel identity platform.
3198
3238
  * OpenAPI spec version: 0.0.1
3199
3239
  */
3200
- /**
3201
- * Additional error-specific context.
3202
- */
3203
3240
  //#endregion
3204
3241
  //#region src/generated/model/exchangeHandoffParams.d.ts
3205
3242
  /**
@@ -3295,8 +3332,8 @@ The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{ch
3295
3332
  */
3296
3333
  type GetAuthAttempt200ChallengesItem = {
3297
3334
  /**
3298
- * Unique identifier for this challenge
3299
- * @pattern ^[a-zA-Z0-9_-]+$
3335
+ * Unique identifier for this challenge (dialect-minted prefixed opaque string).
3336
+ * @pattern ^ch_[a-zA-Z0-9_-]+$
3300
3337
  */
3301
3338
  challenge_id: string; /** An authentication factor method. */
3302
3339
  method: GetAuthAttempt200ChallengesItemMethod;
@@ -3428,8 +3465,8 @@ Clients drive the attempt by:
3428
3465
  */
3429
3466
  type GetAuthAttempt200 = {
3430
3467
  /**
3431
- * Unique identifier for this authentication attempt
3432
- * @pattern ^[a-zA-Z0-9_-]+$
3468
+ * Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).
3469
+ * @pattern ^att_[a-zA-Z0-9_-]+$
3433
3470
  */
3434
3471
  attempt_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
3435
3472
  project_id: string;
@@ -3477,6 +3514,162 @@ type GetAuthAttempt200 = {
3477
3514
  * OpenAPI spec version: 0.0.1
3478
3515
  */
3479
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
3480
3673
  //#region src/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts
3481
3674
  /**
3482
3675
  * Generated by orval v8.10.0 🍺
@@ -3857,7 +4050,7 @@ type GetFlowDefinition200 = {
3857
4050
  created_at: string;
3858
4051
  updated_at: string;
3859
4052
  }; //#endregion
3860
- //#region src/generated/model/getFlowDefinitionDefaultDetails.d.ts
4053
+ //#region src/generated/model/getFlowDefinitionDefault.d.ts
3861
4054
  /**
3862
4055
  * Generated by orval v8.10.0 🍺
3863
4056
  * Do not edit manually.
@@ -3865,9 +4058,6 @@ type GetFlowDefinition200 = {
3865
4058
  * This is the next generation of the Zitadel identity platform.
3866
4059
  * OpenAPI spec version: 0.0.1
3867
4060
  */
3868
- /**
3869
- * Additional error-specific context.
3870
- */
3871
4061
  //#endregion
3872
4062
  //#region src/generated/model/getFlowDefinitionParams.d.ts
3873
4063
  /**
@@ -3895,7 +4085,8 @@ type GetFlowDefinitionParams = {
3895
4085
  /**
3896
4086
  * Layout preset selector. The default.liquid master template uses this
3897
4087
  to branch into layout variants. Customers who eject the template
3898
- 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.
3899
4090
 
3900
4091
  */
3901
4092
  type GetFlowStep200BrandingLayout = (typeof GetFlowStep200BrandingLayout)[keyof typeof GetFlowStep200BrandingLayout];
@@ -3905,23 +4096,39 @@ declare const GetFlowStep200BrandingLayout: {
3905
4096
  }; //#endregion
3906
4097
  //#region src/generated/model/getFlowStep200Branding.d.ts
3907
4098
  /**
3908
- * Resolved branding configuration. Inherited from the app team → project
3909
- hierarchy at flow creation time (most specific wins). Read-only projection —
3910
- branding is configured via the Team/App Branding API, not the Flow API.
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).
3911
4107
 
3912
4108
  */
3913
4109
  type GetFlowStep200Branding = {
3914
4110
  /** Layout preset selector. The default.liquid master template uses this
3915
4111
  to branch into layout variants. Customers who eject the template
3916
- 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.
3917
4114
  */
3918
4115
  layout?: GetFlowStep200BrandingLayout;
3919
- /** The LiquidJS template string for rendering this step. The orchestrator
4116
+ /**
4117
+ * The LiquidJS template string for rendering this step. The orchestrator
3920
4118
  parses this template, injects the capability dictionaries as context,
3921
4119
  and renders the output HTML into its Shadow DOM.
3922
- */
4120
+ * @maxLength 131072
4121
+ */
3923
4122
  liquid_template?: string; /** Team logo URL. */
3924
- logo_url?: string; /** Custom font URL (e.g., Google Fonts CSS). */
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
+ */
3925
4132
  font_url?: string; /** Hero/background image URL (used by split layout). */
3926
4133
  hero_url?: string;
3927
4134
  }; //#endregion
@@ -4351,9 +4558,13 @@ type GetFlowStep200 = {
4351
4558
  and builds name-keyed indexes locally for lookup.
4352
4559
  */
4353
4560
  step: GetFlowStep200Step;
4354
- /** Resolved branding configuration. Inherited from the app team → project
4355
- hierarchy at flow creation time (most specific wins). Read-only projection
4356
- branding is configured via the Team/App Branding API, not the Flow API.
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).
4357
4568
  */
4358
4569
  branding?: GetFlowStep200Branding; /** Present when `step.complete` is `redirect`. */
4359
4570
  redirect_uri?: string;
@@ -4402,53 +4613,7 @@ type GetHealthDefault = {
4402
4613
  message: string; /** Additional error-specific context. */
4403
4614
  details?: GetHealthDefaultDetails;
4404
4615
  }; //#endregion
4405
- //#region src/generated/model/getKeys4xxDetails.d.ts
4406
- /**
4407
- * Generated by orval v8.10.0 🍺
4408
- * Do not edit manually.
4409
- * Zitadel NextGen
4410
- * This is the next generation of the Zitadel identity platform.
4411
- * OpenAPI spec version: 0.0.1
4412
- */
4413
- /**
4414
- * Additional error-specific context.
4415
- */
4416
- //#endregion
4417
- //#region src/generated/model/getKeys200KeysItem.d.ts
4418
- /**
4419
- * Generated by orval v8.10.0 🍺
4420
- * Do not edit manually.
4421
- * Zitadel NextGen
4422
- * This is the next generation of the Zitadel identity platform.
4423
- * OpenAPI spec version: 0.0.1
4424
- */
4425
- type GetKeys200KeysItem = {
4426
- use?: string;
4427
- kty?: string;
4428
- kid?: string;
4429
- crv?: string;
4430
- alg?: string;
4431
- k?: string;
4432
- x?: string;
4433
- y?: string;
4434
- n?: string;
4435
- e?: string;
4436
- d?: string;
4437
- p?: string;
4438
- q?: string;
4439
- dp?: string;
4440
- dq?: string;
4441
- qi?: string;
4442
- x5c?: string[];
4443
- x5u?: string;
4444
- x5t?: string;
4445
- x5tS256?: string;
4446
- }; //#endregion
4447
- //#region src/generated/model/getKeys200.d.ts
4448
- type GetKeys200 = {
4449
- keys?: GetKeys200KeysItem[];
4450
- }; //#endregion
4451
- //#region src/generated/model/getKeysDefaultDetails.d.ts
4616
+ //#region src/generated/model/getLive4xxDetails.d.ts
4452
4617
  /**
4453
4618
  * Generated by orval v8.10.0 🍺
4454
4619
  * Do not edit manually.
@@ -4569,7 +4734,6 @@ type GetMySession200Metadata = {
4569
4734
  - `building`: has a user factor but is still gathering authentication factors
4570
4735
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
4571
4736
  - `expired`: TTL elapsed
4572
- - `revoked`: explicitly revoked via DELETE
4573
4737
 
4574
4738
  */
4575
4739
  type GetMySession200State = (typeof GetMySession200State)[keyof typeof GetMySession200State];
@@ -4577,7 +4741,6 @@ declare const GetMySession200State: {
4577
4741
  readonly building: "building";
4578
4742
  readonly active: "active";
4579
4743
  readonly expired: "expired";
4580
- readonly revoked: "revoked";
4581
4744
  }; //#endregion
4582
4745
  //#region src/generated/model/getMySession200UserAgent.d.ts
4583
4746
  /**
@@ -4607,8 +4770,8 @@ in through `auth_attempts`.
4607
4770
  */
4608
4771
  type GetMySession200 = {
4609
4772
  /**
4610
- * Unique identifier for this session.
4611
- * @pattern ^[a-zA-Z0-9_-]+$
4773
+ * Unique identifier for this session (dialect-minted prefixed opaque string).
4774
+ * @pattern ^sess_[a-zA-Z0-9_-]+$
4612
4775
  */
4613
4776
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
4614
4777
  project_id: string;
@@ -4616,7 +4779,6 @@ type GetMySession200 = {
4616
4779
  - `building`: has a user factor but is still gathering authentication factors
4617
4780
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
4618
4781
  - `expired`: TTL elapsed
4619
- - `revoked`: explicitly revoked via DELETE
4620
4782
  */
4621
4783
  state: GetMySession200State;
4622
4784
  /** The authenticated user. Null for anonymous sessions and until the `user`
@@ -4660,30 +4822,7 @@ type GetMySession200 = {
4660
4822
  */
4661
4823
  expires_at: string;
4662
4824
  }; //#endregion
4663
- //#region src/generated/model/getMySession401Details.d.ts
4664
- /**
4665
- * Generated by orval v8.10.0 🍺
4666
- * Do not edit manually.
4667
- * Zitadel NextGen
4668
- * This is the next generation of the Zitadel identity platform.
4669
- * OpenAPI spec version: 0.0.1
4670
- */
4671
- /**
4672
- * Additional error-specific context.
4673
- */
4674
- //#endregion
4675
- //#region src/generated/model/getMyUser200.d.ts
4676
- /**
4677
- * Generated by orval v8.10.0 🍺
4678
- * Do not edit manually.
4679
- * Zitadel NextGen
4680
- * This is the next generation of the Zitadel identity platform.
4681
- * OpenAPI spec version: 0.0.1
4682
- */
4683
- type GetMyUser200 = {
4684
- [key: string]: unknown;
4685
- }; //#endregion
4686
- //#region src/generated/model/getMyUser401Details.d.ts
4825
+ //#region src/generated/model/getMySession401.d.ts
4687
4826
  /**
4688
4827
  * Generated by orval v8.10.0 🍺
4689
4828
  * Do not edit manually.
@@ -4692,39 +4831,13 @@ type GetMyUser200 = {
4692
4831
  * OpenAPI spec version: 0.0.1
4693
4832
  */
4694
4833
  /**
4695
- * Additional error-specific context.
4834
+ * The request lacks valid authentication credentials.
4835
+
4836
+ Error code: auth.unauthorized
4837
+
4696
4838
  */
4697
4839
  //#endregion
4698
- //#region src/generated/model/getOpenIDConfiguration200ClaimTypesSupportedItem.d.ts
4699
- /**
4700
- * Generated by orval v8.10.0 🍺
4701
- * Do not edit manually.
4702
- * Zitadel NextGen
4703
- * This is the next generation of the Zitadel identity platform.
4704
- * OpenAPI spec version: 0.0.1
4705
- */
4706
- type GetOpenIDConfiguration200ClaimTypesSupportedItem = (typeof GetOpenIDConfiguration200ClaimTypesSupportedItem)[keyof typeof GetOpenIDConfiguration200ClaimTypesSupportedItem];
4707
- declare const GetOpenIDConfiguration200ClaimTypesSupportedItem: {
4708
- readonly normal: "normal";
4709
- readonly aggregated: "aggregated";
4710
- readonly distributed: "distributed";
4711
- }; //#endregion
4712
- //#region src/generated/model/getOpenIDConfiguration200DisplayValuesSupportedItem.d.ts
4713
- /**
4714
- * Generated by orval v8.10.0 🍺
4715
- * Do not edit manually.
4716
- * Zitadel NextGen
4717
- * This is the next generation of the Zitadel identity platform.
4718
- * OpenAPI spec version: 0.0.1
4719
- */
4720
- type GetOpenIDConfiguration200DisplayValuesSupportedItem = (typeof GetOpenIDConfiguration200DisplayValuesSupportedItem)[keyof typeof GetOpenIDConfiguration200DisplayValuesSupportedItem];
4721
- declare const GetOpenIDConfiguration200DisplayValuesSupportedItem: {
4722
- readonly page: "page";
4723
- readonly popup: "popup";
4724
- readonly touch: "touch";
4725
- readonly wap: "wap";
4726
- }; //#endregion
4727
- //#region src/generated/model/getOpenIDConfiguration200SubjectTypesSupportedItem.d.ts
4840
+ //#region src/generated/model/getMyUser200MetadataStatus.d.ts
4728
4841
  /**
4729
4842
  * Generated by orval v8.10.0 🍺
4730
4843
  * Do not edit manually.
@@ -4732,68 +4845,46 @@ declare const GetOpenIDConfiguration200DisplayValuesSupportedItem: {
4732
4845
  * This is the next generation of the Zitadel identity platform.
4733
4846
  * OpenAPI spec version: 0.0.1
4734
4847
  */
4735
- type GetOpenIDConfiguration200SubjectTypesSupportedItem = (typeof GetOpenIDConfiguration200SubjectTypesSupportedItem)[keyof typeof GetOpenIDConfiguration200SubjectTypesSupportedItem];
4736
- declare const GetOpenIDConfiguration200SubjectTypesSupportedItem: {
4737
- readonly public: "public";
4738
- readonly pairwise: "pairwise";
4739
- }; //#endregion
4740
- //#region src/generated/model/getOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem.d.ts
4741
4848
  /**
4742
- * Generated by orval v8.10.0 🍺
4743
- * Do not edit manually.
4744
- * Zitadel NextGen
4745
- * This is the next generation of the Zitadel identity platform.
4746
- * OpenAPI spec version: 0.0.1
4849
+ * The status of the user.
4747
4850
  */
4748
- type GetOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem = (typeof GetOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem)[keyof typeof GetOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem];
4749
- declare const GetOpenIDConfiguration200TokenEndpointAuthMethodsSupportedItem: {
4750
- readonly client_secret_post: "client_secret_post";
4751
- readonly client_secret_basic: "client_secret_basic";
4752
- readonly client_secret_jwt: "client_secret_jwt";
4753
- readonly private_key_jwt: "private_key_jwt";
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;
4754
4870
  }; //#endregion
4755
- //#region src/generated/model/getOpenIDConfiguration200.d.ts
4871
+ //#region src/generated/model/getMyUser200.d.ts
4756
4872
  /**
4757
- * OpenID Connect configuration according to the OpenID Connect Discovery 1.0 specification.
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
+
4758
4881
  */
4759
- type GetOpenIDConfiguration200 = {
4760
- /** REQUIRED. URL using the https scheme with no query or fragment components that the OP asserts as its Issuer Identifier. */issuer: string; /** REQUIRED. URL of the OP's OAuth 2.0 Authorization Endpoint. */
4761
- authorization_endpoint: string; /** URL of the OP's OAuth 2.0 Token Endpoint. REQUIRED unless only the Implicit Flow is used. */
4762
- token_endpoint?: string; /** RECOMMENDED. URL of the OP's UserInfo Endpoint. */
4763
- 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. */
4764
- jwks_uri: string; /** RECOMMENDED. URL of the OP's Dynamic Client Registration Endpoint. */
4765
- 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. */
4766
- scopes_supported?: string[]; /** REQUIRED. JSON array containing a list of the OAuth 2.0 response_type values that this OP supports. */
4767
- 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"]. */
4768
- 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"]. */
4769
- grant_types_supported?: string[]; /** OPTIONAL. JSON array containing a list of the Authentication Context Class References that this OP supports. */
4770
- 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. */
4771
- 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. */
4772
- 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. */
4773
- 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. */
4774
- 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. */
4775
- userinfo_signing_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWE encryption algorithms (alg values) supported by the UserInfo Endpoint. */
4776
- userinfo_encryption_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the JWE encryption algorithms (enc values) supported by the UserInfo Endpoint. */
4777
- 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. */
4778
- 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. */
4779
- 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. */
4780
- 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. */
4781
- 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. */
4782
- token_endpoint_auth_signing_alg_values_supported?: string[]; /** OPTIONAL. JSON array containing a list of the display parameter values that the OpenID Provider supports. */
4783
- display_values_supported?: GetOpenIDConfiguration200DisplayValuesSupportedItem[]; /** OPTIONAL. JSON array containing a list of the Claim Types that the OpenID Provider supports. Default is normal. */
4784
- 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. */
4785
- claims_supported?: string[]; /** OPTIONAL. URL of a page containing human-readable information for developers using the OpenID Provider. */
4786
- service_documentation?: string; /** OPTIONAL. Languages and scripts supported for values in Claims being returned, as BCP47 language tag values. */
4787
- claims_locales_supported?: string[]; /** OPTIONAL. Languages and scripts supported for the user interface, as BCP47 language tag values. */
4788
- ui_locales_supported?: string[]; /** OPTIONAL. Boolean value specifying whether the OP supports use of the claims parameter. Default is false. */
4789
- claims_parameter_supported?: boolean; /** OPTIONAL. Boolean value specifying whether the OP supports use of the request parameter. Default is false. */
4790
- request_parameter_supported?: boolean; /** OPTIONAL. Boolean value specifying whether the OP supports use of the request_uri parameter. Default is true. */
4791
- 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. */
4792
- 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. */
4793
- op_policy_uri?: string; /** OPTIONAL. URL the OP provides to the person registering the Client about the OpenID Provider's terms of service. */
4794
- op_tos_uri?: string;
4882
+ type GetMyUser200 = {
4883
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
4884
+ metadata?: GetMyUser200Metadata;
4885
+ [key: string]: unknown;
4795
4886
  }; //#endregion
4796
- //#region src/generated/model/getOpenIDConfigurationDefaultDetails.d.ts
4887
+ //#region src/generated/model/getMyUser401Details.d.ts
4797
4888
  /**
4798
4889
  * Generated by orval v8.10.0 🍺
4799
4890
  * Do not edit manually.
@@ -4821,9 +4912,9 @@ type GetProject200 = {
4821
4912
  name: string;
4822
4913
  /** Origins which are allowed for previewing and testing the project.
4823
4914
  */
4824
- previewOrigins?: string[]; /** The time when the project was created. */
4825
- createdAt: string; /** The time when the project was last updated. */
4826
- updatedAt: string;
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;
4827
4918
  }; //#endregion
4828
4919
  //#region src/generated/model/getProject401Details.d.ts
4829
4920
  /**
@@ -4927,8 +5018,13 @@ type GetSchemaById200 = {
4927
5018
  "x-unique"?: "unspecified" | "project" | "team" | null; /** The claim name for this property, if applicable */
4928
5019
  "x-claim"?: string | null; /** Whether this property is editable by the user or not */
4929
5020
  "x-editable"?: boolean; /** Whether this property contains sensitive information or not */
4930
- "x-sensitive"?: boolean; /** Whether this property is used for multi-factor authentication or not */
4931
- "x-mfa"?: boolean; /** A map of additional properties for the user definition, where the key is the property name and the value is the property schema */
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
+ */
4932
5028
  properties?: {
4933
5029
  [key: string]: unknown;
4934
5030
  };
@@ -5055,7 +5151,6 @@ type GetSession200Metadata = {
5055
5151
  - `building`: has a user factor but is still gathering authentication factors
5056
5152
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
5057
5153
  - `expired`: TTL elapsed
5058
- - `revoked`: explicitly revoked via DELETE
5059
5154
 
5060
5155
  */
5061
5156
  type GetSession200State = (typeof GetSession200State)[keyof typeof GetSession200State];
@@ -5063,7 +5158,6 @@ declare const GetSession200State: {
5063
5158
  readonly building: "building";
5064
5159
  readonly active: "active";
5065
5160
  readonly expired: "expired";
5066
- readonly revoked: "revoked";
5067
5161
  }; //#endregion
5068
5162
  //#region src/generated/model/getSession200UserAgent.d.ts
5069
5163
  /**
@@ -5093,8 +5187,8 @@ in through `auth_attempts`.
5093
5187
  */
5094
5188
  type GetSession200 = {
5095
5189
  /**
5096
- * Unique identifier for this session.
5097
- * @pattern ^[a-zA-Z0-9_-]+$
5190
+ * Unique identifier for this session (dialect-minted prefixed opaque string).
5191
+ * @pattern ^sess_[a-zA-Z0-9_-]+$
5098
5192
  */
5099
5193
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5100
5194
  project_id: string;
@@ -5102,7 +5196,6 @@ type GetSession200 = {
5102
5196
  - `building`: has a user factor but is still gathering authentication factors
5103
5197
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
5104
5198
  - `expired`: TTL elapsed
5105
- - `revoked`: explicitly revoked via DELETE
5106
5199
  */
5107
5200
  state: GetSession200State;
5108
5201
  /** The authenticated user. Null for anonymous sessions and until the `user`
@@ -5173,7 +5266,7 @@ type GetSessionParams = {
5173
5266
  */
5174
5267
  project_id: string;
5175
5268
  }; //#endregion
5176
- //#region src/generated/model/getTeam200.d.ts
5269
+ //#region src/generated/model/getTeam200Status.d.ts
5177
5270
  /**
5178
5271
  * Generated by orval v8.10.0 🍺
5179
5272
  * Do not edit manually.
@@ -5182,12 +5275,31 @@ type GetSessionParams = {
5182
5275
  * OpenAPI spec version: 0.0.1
5183
5276
  */
5184
5277
  /**
5185
- * The current state of a team.
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.
5186
5292
  */
5187
5293
  type GetTeam200 = {
5188
- /** The unique identifier of the team. */id: string; /** The time when the team was created. */
5189
- createdAt: string; /** The time when the team was last updated. */
5190
- updatedAt: string;
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;
5191
5303
  }; //#endregion
5192
5304
  //#region src/generated/model/getTeam401Details.d.ts
5193
5305
  /**
@@ -5216,7 +5328,7 @@ type GetTeamParams = {
5216
5328
  */
5217
5329
  project_id: string;
5218
5330
  }; //#endregion
5219
- //#region src/generated/model/getToken4xxDetails.d.ts
5331
+ //#region src/generated/model/getUserByID200MetadataStatus.d.ts
5220
5332
  /**
5221
5333
  * Generated by orval v8.10.0 🍺
5222
5334
  * Do not edit manually.
@@ -5225,10 +5337,45 @@ type GetTeamParams = {
5225
5337
  * OpenAPI spec version: 0.0.1
5226
5338
  */
5227
5339
  /**
5228
- * Additional error-specific context.
5340
+ * The status of the user.
5229
5341
  */
5230
- //#endregion
5231
- //#region src/generated/model/getToken200.d.ts
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
5232
5379
  /**
5233
5380
  * Generated by orval v8.10.0 🍺
5234
5381
  * Do not edit manually.
@@ -5236,13 +5383,11 @@ type GetTeamParams = {
5236
5383
  * This is the next generation of the Zitadel identity platform.
5237
5384
  * OpenAPI spec version: 0.0.1
5238
5385
  */
5239
- type GetToken200 = {
5240
- /** The access token issued by the authorization server. */access_token?: string; /** The type of the token issued (e.g., Bearer). */
5241
- token_type?: string; /** The lifetime in seconds of the access token. */
5242
- expires_in?: number; /** The refresh token which can be used to obtain new access tokens. */
5243
- refresh_token?: string;
5244
- }; //#endregion
5245
- //#region src/generated/model/getTokenBodyGrantType.d.ts
5386
+ /**
5387
+ * Additional error-specific context.
5388
+ */
5389
+ //#endregion
5390
+ //#region src/generated/model/getUserByIDParams.d.ts
5246
5391
  /**
5247
5392
  * Generated by orval v8.10.0 🍺
5248
5393
  * Do not edit manually.
@@ -5250,48 +5395,19 @@ type GetToken200 = {
5250
5395
  * This is the next generation of the Zitadel identity platform.
5251
5396
  * OpenAPI spec version: 0.0.1
5252
5397
  */
5253
- /**
5254
- * The type of grant being requested.
5255
- */
5256
- type GetTokenBodyGrantType = (typeof GetTokenBodyGrantType)[keyof typeof GetTokenBodyGrantType];
5257
- declare const GetTokenBodyGrantType: {
5258
- readonly authorization_code: "authorization_code";
5259
- readonly client_credentials: "client_credentials";
5260
- readonly password: "password";
5261
- readonly refresh_token: "refresh_token";
5262
- }; //#endregion
5263
- //#region src/generated/model/getTokenBody.d.ts
5264
- type GetTokenBody = {
5265
- /** The authorization code received from the authorization server. Required
5266
- for the authorization_code grant type.
5267
- */
5268
- code?: string;
5269
- /** The client assertion, typically a JWT, used for client authentication.
5270
- */
5271
- client_assertion?: string;
5272
- /** The type of client assertion being used. Required when the client is
5273
- authenticating using a JWT assertion.
5274
- */
5275
- client_assertion_type?: string;
5276
- /** The client identifier issued to the client during the registration
5277
- process. Required for all grant types.
5278
- */
5279
- client_id?: string;
5280
- /** The client secret issued to the client during the registration process.
5281
- Required for all grant types except when using public clients.
5282
- */
5283
- client_secret?: string;
5284
- /** The code verifier used in PKCE (Proof Key for Code Exchange) flows. Required
5285
- 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_-]+$
5286
5402
  */
5287
- code_verifier?: string; /** The type of grant being requested. */
5288
- grant_type?: GetTokenBodyGrantType;
5289
- /** The redirect URI used in the authorization request. Required for the
5290
- authorization_code grant type.
5403
+ project_id: string;
5404
+ /**
5405
+ * The unique identifier of the team
5406
+ * @pattern ^[a-zA-Z0-9_-]+$
5291
5407
  */
5292
- redirect_uri?: string;
5408
+ team_id?: string;
5293
5409
  }; //#endregion
5294
- //#region src/generated/model/getTokenDefaultDetails.d.ts
5410
+ //#region src/generated/model/initClaim201.d.ts
5295
5411
  /**
5296
5412
  * Generated by orval v8.10.0 🍺
5297
5413
  * Do not edit manually.
@@ -5300,140 +5416,21 @@ type GetTokenBody = {
5300
5416
  * OpenAPI spec version: 0.0.1
5301
5417
  */
5302
5418
  /**
5303
- * Additional error-specific context.
5419
+ * The claim challenge minted for a project.
5304
5420
  */
5305
- //#endregion
5306
- //#region src/generated/model/getUserByID200.d.ts
5307
- /**
5308
- * Generated by orval v8.10.0 🍺
5309
- * Do not edit manually.
5310
- * Zitadel NextGen
5311
- * This is the next generation of the Zitadel identity platform.
5312
- * OpenAPI spec version: 0.0.1
5313
- */
5314
- type GetUserByID200 = {
5315
- [key: string]: unknown;
5316
- }; //#endregion
5317
- //#region src/generated/model/getUserByID401Details.d.ts
5318
- /**
5319
- * Generated by orval v8.10.0 🍺
5320
- * Do not edit manually.
5321
- * Zitadel NextGen
5322
- * This is the next generation of the Zitadel identity platform.
5323
- * OpenAPI spec version: 0.0.1
5324
- */
5325
- /**
5326
- * Additional error-specific context.
5327
- */
5328
- //#endregion
5329
- //#region src/generated/model/getUserByIDParams.d.ts
5330
- /**
5331
- * Generated by orval v8.10.0 🍺
5332
- * Do not edit manually.
5333
- * Zitadel NextGen
5334
- * This is the next generation of the Zitadel identity platform.
5335
- * OpenAPI spec version: 0.0.1
5336
- */
5337
- type GetUserByIDParams = {
5338
- /**
5339
- * The unique identifier of the project
5340
- * @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.
5341
5424
  */
5342
- project_id: string;
5425
+ claim_url: string;
5343
5426
  /**
5344
- * The unique identifier of the team
5345
- * @pattern ^[a-zA-Z0-9_-]+$
5427
+ * Unique identifier for this challenge (dialect-minted prefixed opaque string).
5428
+ * @pattern ^ch_[a-zA-Z0-9_-]+$
5346
5429
  */
5347
- team_id?: string;
5348
- }; //#endregion
5349
- //#region src/generated/model/getUserInfo4xxDetails.d.ts
5350
- /**
5351
- * Generated by orval v8.10.0 🍺
5352
- * Do not edit manually.
5353
- * Zitadel NextGen
5354
- * This is the next generation of the Zitadel identity platform.
5355
- * OpenAPI spec version: 0.0.1
5356
- */
5357
- /**
5358
- * Additional error-specific context.
5359
- */
5360
- //#endregion
5361
- //#region src/generated/model/getUserInfo200.d.ts
5362
- /**
5363
- * Generated by orval v8.10.0 🍺
5364
- * Do not edit manually.
5365
- * Zitadel NextGen
5366
- * This is the next generation of the Zitadel identity platform.
5367
- * OpenAPI spec version: 0.0.1
5368
- */
5369
- type GetUserInfo200 = {
5370
- /** The unique identifier for the user. */sub?: string; /** The full name of the user. */
5371
- name?: string; /** The email address of the user. */
5372
- email?: string; /** The preferred username of the user. */
5373
- preferred_username?: string; /** The URL of the user's profile picture. */
5374
- picture?: string; /** The given name of the user. */
5375
- given_name?: string; /** The family name of the user. */
5376
- family_name?: string;
5377
- }; //#endregion
5378
- //#region src/generated/model/getUserInfoDefaultDetails.d.ts
5379
- /**
5380
- * Generated by orval v8.10.0 🍺
5381
- * Do not edit manually.
5382
- * Zitadel NextGen
5383
- * This is the next generation of the Zitadel identity platform.
5384
- * OpenAPI spec version: 0.0.1
5385
- */
5386
- /**
5387
- * Additional error-specific context.
5388
- */
5389
- //#endregion
5390
- //#region src/generated/model/introspect200.d.ts
5391
- /**
5392
- * Generated by orval v8.10.0 🍺
5393
- * Do not edit manually.
5394
- * Zitadel NextGen
5395
- * This is the next generation of the Zitadel identity platform.
5396
- * OpenAPI spec version: 0.0.1
5397
- */
5398
- type Introspect200 = {
5399
- /** Indicates whether the token is active */active?: boolean; /** The audience of the token (if applicable) */
5400
- aud?: string; /** The client ID associated with the token */
5401
- client_id?: string; /** The expiration time of the token (in seconds since epoch) */
5402
- exp?: number; /** The time the token was issued (in seconds since epoch) */
5403
- iat?: number; /** The issuer of the token (if applicable) */
5404
- iss?: string; /** The unique identifier for the token (if applicable) */
5405
- jti?: string; /** The time before which the token is not valid (in seconds since epoch) */
5406
- nbf?: number; /** The scopes associated with the token */
5407
- scope?: string; /** The subject of the token (if applicable) */
5408
- sub?: string; /** The type of the token (access_token or refresh_token) */
5409
- token_type?: string; /** The username associated with the token (if applicable) */
5410
- username?: string;
5411
- }; //#endregion
5412
- //#region src/generated/model/introspect400Details.d.ts
5413
- /**
5414
- * Generated by orval v8.10.0 🍺
5415
- * Do not edit manually.
5416
- * Zitadel NextGen
5417
- * This is the next generation of the Zitadel identity platform.
5418
- * OpenAPI spec version: 0.0.1
5419
- */
5420
- /**
5421
- * Additional error-specific context.
5422
- */
5423
- //#endregion
5424
- //#region src/generated/model/introspectBody.d.ts
5425
- /**
5426
- * Generated by orval v8.10.0 🍺
5427
- * Do not edit manually.
5428
- * Zitadel NextGen
5429
- * This is the next generation of the Zitadel identity platform.
5430
- * OpenAPI spec version: 0.0.1
5431
- */
5432
- type IntrospectBody = {
5433
- /** The token to introspect */token: string; /** A hint about the type of the token (access_token or refresh_token) */
5434
- token_type_hint?: string;
5430
+ challenge_id: string; /** The time when the claim challenge expires. */
5431
+ expires_at: string;
5435
5432
  }; //#endregion
5436
- //#region src/generated/model/introspectDefaultDetails.d.ts
5433
+ //#region src/generated/model/initClaim401Details.d.ts
5437
5434
  /**
5438
5435
  * Generated by orval v8.10.0 🍺
5439
5436
  * Do not edit manually.
@@ -5524,8 +5521,8 @@ The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{ch
5524
5521
  */
5525
5522
  type IssueChallenge201 = {
5526
5523
  /**
5527
- * Unique identifier for this challenge
5528
- * @pattern ^[a-zA-Z0-9_-]+$
5524
+ * Unique identifier for this challenge (dialect-minted prefixed opaque string).
5525
+ * @pattern ^ch_[a-zA-Z0-9_-]+$
5529
5526
  */
5530
5527
  challenge_id: string; /** An authentication factor method. */
5531
5528
  method: IssueChallenge201Method;
@@ -5608,6 +5605,45 @@ type IssueChallengeBody = {
5608
5605
  * OpenAPI spec version: 0.0.1
5609
5606
  */
5610
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
5611
5647
  //#region src/generated/model/listFlowDefinitions200FlowDefinitionsItemStatus.d.ts
5612
5648
  /**
5613
5649
  * Generated by orval v8.10.0 🍺
@@ -5729,7 +5765,7 @@ type ListFlowDefinitionsParams = {
5729
5765
  */
5730
5766
  type ListSchemas200Item = {
5731
5767
  /** The unique identifier for this schema. */id: string;
5732
- createdAt: string;
5768
+ created_at: string;
5733
5769
  }; //#endregion
5734
5770
  //#region src/generated/model/listSchemasDefaultDetails.d.ts
5735
5771
  /**
@@ -5775,7 +5811,7 @@ type ListSchemasParams = {
5775
5811
  */
5776
5812
  object_type?: string;
5777
5813
  }; //#endregion
5778
- //#region src/generated/model/listSessions200SessionsItemFactorsItemMethod.d.ts
5814
+ //#region src/generated/model/listUserPasskeys200PasskeysItem.d.ts
5779
5815
  /**
5780
5816
  * Generated by orval v8.10.0 🍺
5781
5817
  * Do not edit manually.
@@ -5783,16 +5819,23 @@ type ListSchemasParams = {
5783
5819
  * This is the next generation of the Zitadel identity platform.
5784
5820
  * OpenAPI spec version: 0.0.1
5785
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
5786
5828
  /**
5787
- * An authentication factor method.
5829
+ * Response containing the user's passkeys.
5788
5830
  */
5789
- type ListSessions200SessionsItemFactorsItemMethod = (typeof ListSessions200SessionsItemFactorsItemMethod)[keyof typeof ListSessions200SessionsItemFactorsItemMethod];
5790
- declare const ListSessions200SessionsItemFactorsItemMethod: {
5791
- readonly identifier: "identifier";
5792
- readonly password: "password";
5793
- readonly passkey: "passkey";
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;
5794
5837
  }; //#endregion
5795
- //#region src/generated/model/listSessions200SessionsItemFactorsItemPayload.d.ts
5838
+ //#region src/generated/model/listUserPasskeys400Details.d.ts
5796
5839
  /**
5797
5840
  * Generated by orval v8.10.0 🍺
5798
5841
  * Do not edit manually.
@@ -5801,40 +5844,38 @@ declare const ListSessions200SessionsItemFactorsItemMethod: {
5801
5844
  * OpenAPI spec version: 0.0.1
5802
5845
  */
5803
5846
  /**
5804
- * Method-specific factor metadata. Structure depends on the `method` field.
5805
- - `identifier`: includes user_id
5806
- - `password`: no additional data
5807
- - `passkey`: includes credential details and verification flags
5808
-
5847
+ * Additional error-specific context.
5809
5848
  */
5810
- type ListSessions200SessionsItemFactorsItemPayload = {
5811
- /** @pattern ^user_[a-zA-Z0-9_-]+$ */user_id: string;
5812
- } | {
5813
- [key: string]: unknown;
5814
- } | {
5815
- /** The credential ID that was used */credential_id: string; /** Whether user verification was performed (PIN/biometric) */
5816
- user_verified: boolean; /** Whether the credential is backup eligible (can be synced) */
5817
- backup_eligible?: boolean; /** Whether the credential is currently backed up */
5818
- backup_state?: boolean; /** Authenticator attachment modality */
5819
- authenticator_attachment?: "platform" | "cross-platform";
5820
- }; //#endregion
5821
- //#region src/generated/model/listSessions200SessionsItemFactorsItem.d.ts
5849
+ //#endregion
5850
+ //#region src/generated/model/listUserPasskeysParams.d.ts
5822
5851
  /**
5823
- * A successfully verified authentication factor with verification metadata.
5824
- Method-specific details are included in the `payload` field.
5825
-
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
5826
5857
  */
5827
- type ListSessions200SessionsItemFactorsItem = {
5828
- /** An authentication factor method. */method: ListSessions200SessionsItemFactorsItemMethod; /** When this factor was successfully verified */
5829
- verified_at: string;
5830
- /** Method-specific factor metadata. Structure depends on the `method` field.
5831
- - `identifier`: includes user_id
5832
- - `password`: no additional data
5833
- - `passkey`: includes credential details and verification flags
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_-]+$
5834
5875
  */
5835
- payload?: ListSessions200SessionsItemFactorsItemPayload;
5876
+ project_id: string;
5836
5877
  }; //#endregion
5837
- //#region src/generated/model/listSessions200SessionsItemMetadata.d.ts
5878
+ //#region src/generated/model/listUsers200UsersItemMetadataStatus.d.ts
5838
5879
  /**
5839
5880
  * Generated by orval v8.10.0 🍺
5840
5881
  * Do not edit manually.
@@ -5843,12 +5884,56 @@ type ListSessions200SessionsItemFactorsItem = {
5843
5884
  * OpenAPI spec version: 0.0.1
5844
5885
  */
5845
5886
  /**
5846
- * Arbitrary key/value metadata attached to the session.
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
+
5847
5919
  */
5848
- type ListSessions200SessionsItemMetadata = {
5920
+ type ListUsers200UsersItem = {
5921
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
5922
+ metadata?: ListUsers200UsersItemMetadata;
5849
5923
  [key: string]: unknown;
5850
- } | null; //#endregion
5851
- //#region src/generated/model/listSessions200SessionsItemState.d.ts
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
5852
5937
  /**
5853
5938
  * Generated by orval v8.10.0 🍺
5854
5939
  * Do not edit manually.
@@ -5857,21 +5942,10 @@ type ListSessions200SessionsItemMetadata = {
5857
5942
  * OpenAPI spec version: 0.0.1
5858
5943
  */
5859
5944
  /**
5860
- * Current lifecycle state of the session:
5861
- - `building`: has a user factor but is still gathering authentication factors
5862
- - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
5863
- - `expired`: TTL elapsed
5864
- - `revoked`: explicitly revoked via DELETE
5865
-
5945
+ * Additional error-specific context.
5866
5946
  */
5867
- type ListSessions200SessionsItemState = (typeof ListSessions200SessionsItemState)[keyof typeof ListSessions200SessionsItemState];
5868
- declare const ListSessions200SessionsItemState: {
5869
- readonly building: "building";
5870
- readonly active: "active";
5871
- readonly expired: "expired";
5872
- readonly revoked: "revoked";
5873
- }; //#endregion
5874
- //#region src/generated/model/listSessions200SessionsItemUserAgent.d.ts
5947
+ //#endregion
5948
+ //#region src/generated/model/listUsersParams.d.ts
5875
5949
  /**
5876
5950
  * Generated by orval v8.10.0 🍺
5877
5951
  * Do not edit manually.
@@ -5879,38 +5953,447 @@ declare const ListSessions200SessionsItemState: {
5879
5953
  * This is the next generation of the Zitadel identity platform.
5880
5954
  * OpenAPI spec version: 0.0.1
5881
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
5882
5972
  /**
5883
- * User agent information captured at session creation.
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
5884
5978
  */
5885
- type ListSessions200SessionsItemUserAgent = {
5886
- /** Client-supplied device fingerprint. */fingerprint?: string; /** IP address of the client at session creation. */
5887
- ip?: string;
5888
- [key: string]: unknown;
5889
- } | null; //#endregion
5890
- //#region src/generated/model/listSessions200SessionsItem.d.ts
5891
5979
  /**
5892
- * The current state of a session.
5893
-
5894
- A session is the durable post-auth primitive. It accumulates verified authentication
5895
- factors and exposes `assurance_levels[]` — the set of assurance profiles its current
5896
- factors satisfy. Sessions are read-only from the client's perspective: factors flow
5897
- in through `auth_attempts`.
5980
+ * The user's participation state on this team. Memberships the user was
5981
+ removed from are not returned.
5898
5982
 
5899
5983
  */
5900
- type ListSessions200SessionsItem = {
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 = {
5901
6043
  /**
5902
- * Unique identifier for this session.
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
5903
6058
  * @pattern ^[a-zA-Z0-9_-]+$
5904
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
+ */
5905
6389
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5906
6390
  project_id: string;
5907
6391
  /** Current lifecycle state of the session:
5908
6392
  - `building`: has a user factor but is still gathering authentication factors
5909
6393
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
5910
6394
  - `expired`: TTL elapsed
5911
- - `revoked`: explicitly revoked via DELETE
5912
6395
  */
5913
- state: ListSessions200SessionsItemState;
6396
+ state: QuerySessions200SessionsItemState;
5914
6397
  /** The authenticated user. Null for anonymous sessions and until the `user`
5915
6398
  factor has been verified through an `auth_attempt`.
5916
6399
  */
@@ -5937,33 +6420,33 @@ type ListSessions200SessionsItem = {
5937
6420
  Each value is a factor event object with at least `verified_at` and
5938
6421
  method-specific properties (e.g. `user_verified`, `hardware` for passkeys).
5939
6422
  */
5940
- factors: ListSessions200SessionsItemFactorsItem[];
6423
+ factors: QuerySessions200SessionsItemFactorsItem[];
5941
6424
  /** All assurance levels whose schemas the current session factors satisfy.
5942
6425
  This list shrinks as factor freshness windows expire and grows when step-up
5943
6426
  auth_attempts add or refresh factors.
5944
6427
  Whether any level is "enough" is determined by the request context, not the session.
5945
6428
  */
5946
6429
  assurance_levels?: string[]; /** Arbitrary key/value metadata attached to the session. */
5947
- metadata?: ListSessions200SessionsItemMetadata; /** User agent information captured at session creation. */
5948
- user_agent?: ListSessions200SessionsItemUserAgent; /** When this session was created. */
6430
+ metadata?: QuerySessions200SessionsItemMetadata; /** User agent information captured at session creation. */
6431
+ user_agent?: QuerySessions200SessionsItemUserAgent; /** When this session was created. */
5949
6432
  created_at: string;
5950
6433
  /** When this session expires. Short TTL (10 min) for anonymous sessions;
5951
6434
  reset to the full configured session TTL once the first authentication factor is written.
5952
6435
  */
5953
6436
  expires_at: string;
5954
6437
  }; //#endregion
5955
- //#region src/generated/model/listSessions200.d.ts
6438
+ //#region src/generated/model/querySessions200.d.ts
5956
6439
  /**
5957
6440
  * Paginated list of sessions.
5958
6441
  */
5959
- type ListSessions200 = {
5960
- sessions: ListSessions200SessionsItem[];
6442
+ type QuerySessions200 = {
6443
+ sessions: QuerySessions200SessionsItem[];
5961
6444
  /** Token to pass as `page_token` in the next request to fetch the following page.
5962
6445
  Absent when there are no more results.
5963
6446
  */
5964
6447
  next_page_token?: string | null;
5965
6448
  }; //#endregion
5966
- //#region src/generated/model/listSessions400Details.d.ts
6449
+ //#region src/generated/model/querySessions400Details.d.ts
5967
6450
  /**
5968
6451
  * Generated by orval v8.10.0 🍺
5969
6452
  * Do not edit manually.
@@ -5975,7 +6458,7 @@ type ListSessions200 = {
5975
6458
  * Additional error-specific context.
5976
6459
  */
5977
6460
  //#endregion
5978
- //#region src/generated/model/listSessionsState.d.ts
6461
+ //#region src/generated/model/querySessionsBodyFilterItemField.d.ts
5979
6462
  /**
5980
6463
  * Generated by orval v8.10.0 🍺
5981
6464
  * Do not edit manually.
@@ -5983,55 +6466,20 @@ type ListSessions200 = {
5983
6466
  * This is the next generation of the Zitadel identity platform.
5984
6467
  * OpenAPI spec version: 0.0.1
5985
6468
  */
5986
- type ListSessionsState = (typeof ListSessionsState)[keyof typeof ListSessionsState];
5987
- declare const ListSessionsState: {
5988
- readonly building: "building";
5989
- readonly active: "active";
5990
- readonly expired: "expired";
5991
- readonly revoked: "revoked";
5992
- }; //#endregion
5993
- //#region src/generated/model/listSessionsParams.d.ts
5994
- type ListSessionsParams = {
5995
- /**
5996
- * Maximum number of items to return.
5997
- * @minimum 1
5998
- * @maximum 100
5999
- */
6000
- limit?: number;
6001
- /**
6002
- * Token for fetching the next page of results.
6003
- Obtain this value from `next_page_token` in the previous response.
6004
- Omit to start from the beginning.
6005
- Its format is opaque and may change between releases.
6006
- */
6007
- page_token?: string;
6008
- /**
6009
- * The unique identifier of the project
6010
- * @pattern ^[a-zA-Z0-9_-]+$
6011
- */
6012
- project_id: string;
6013
- /**
6014
- * Filter sessions by lifecycle state.
6015
- */
6016
- state?: ListSessionsState;
6017
- /**
6018
- * Filter sessions by user.
6019
- * @pattern ^user_[a-zA-Z0-9_-]+$
6020
- */
6021
- user_id?: string;
6022
- }; //#endregion
6023
- //#region src/generated/model/listUsers200Item.d.ts
6024
6469
  /**
6025
- * Generated by orval v8.10.0 🍺
6026
- * Do not edit manually.
6027
- * Zitadel NextGen
6028
- * This is the next generation of the Zitadel identity platform.
6029
- * OpenAPI spec version: 0.0.1
6470
+ * Field to filter sessions by:
6471
+ - `created_at`: RFC3339 timestamp
6472
+ - `user_id`: user id
6473
+ - `state`: one of `building`, `active`, `expired`
6474
+
6030
6475
  */
6031
- type ListUsers200Item = {
6032
- [key: string]: unknown;
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";
6033
6481
  }; //#endregion
6034
- //#region src/generated/model/listUsers400Details.d.ts
6482
+ //#region src/generated/model/querySessionsBodyFilterItemOperation.d.ts
6035
6483
  /**
6036
6484
  * Generated by orval v8.10.0 🍺
6037
6485
  * Do not edit manually.
@@ -6040,10 +6488,40 @@ type ListUsers200Item = {
6040
6488
  * OpenAPI spec version: 0.0.1
6041
6489
  */
6042
6490
  /**
6043
- * Additional error-specific context.
6491
+ * Filter operation defines the operations which can be used when filtering on a
6492
+ query endpoint.
6493
+
6044
6494
  */
6045
- //#endregion
6046
- //#region src/generated/model/listUsersParams.d.ts
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
6047
6525
  /**
6048
6526
  * Generated by orval v8.10.0 🍺
6049
6527
  * Do not edit manually.
@@ -6051,20 +6529,12 @@ type ListUsers200Item = {
6051
6529
  * This is the next generation of the Zitadel identity platform.
6052
6530
  * OpenAPI spec version: 0.0.1
6053
6531
  */
6054
- type ListUsersParams = {
6055
- /**
6056
- * Number of items to skip before returning results.
6057
- * @minimum 0
6058
- */
6059
- offset?: number;
6060
- /**
6061
- * Maximum number of items to return.
6062
- * @minimum 1
6063
- * @maximum 100
6064
- */
6065
- limit?: number;
6532
+ type QuerySessionsBodySortingDirection = (typeof QuerySessionsBodySortingDirection)[keyof typeof QuerySessionsBodySortingDirection];
6533
+ declare const QuerySessionsBodySortingDirection: {
6534
+ readonly asc: "asc";
6535
+ readonly desc: "desc";
6066
6536
  }; //#endregion
6067
- //#region src/generated/model/patchProject200.d.ts
6537
+ //#region src/generated/model/querySessionsBodySortingField.d.ts
6068
6538
  /**
6069
6539
  * Generated by orval v8.10.0 🍺
6070
6540
  * Do not edit manually.
@@ -6073,18 +6543,40 @@ type ListUsersParams = {
6073
6543
  * OpenAPI spec version: 0.0.1
6074
6544
  */
6075
6545
  /**
6076
- * The current state of a project.
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
+
6077
6550
  */
6078
- type PatchProject200 = {
6079
- /** The unique identifier of the project. */id: string; /** The name of the project. */
6080
- name: string;
6081
- /** Origins which are allowed for previewing and testing the project.
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.
6082
6561
  */
6083
- previewOrigins?: string[]; /** The time when the project was created. */
6084
- createdAt: string; /** The time when the project was last updated. */
6085
- updatedAt: string;
6562
+ field: QuerySessionsBodySortingField;
6563
+ direction: QuerySessionsBodySortingDirection;
6086
6564
  }; //#endregion
6087
- //#region src/generated/model/patchProject400Details.d.ts
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
6088
6580
  /**
6089
6581
  * Generated by orval v8.10.0 🍺
6090
6582
  * Do not edit manually.
@@ -6092,11 +6584,8 @@ type PatchProject200 = {
6092
6584
  * This is the next generation of the Zitadel identity platform.
6093
6585
  * OpenAPI spec version: 0.0.1
6094
6586
  */
6095
- /**
6096
- * Additional error-specific context.
6097
- */
6098
6587
  //#endregion
6099
- //#region src/generated/model/patchProjectBody.d.ts
6588
+ //#region src/generated/model/querySessionsParams.d.ts
6100
6589
  /**
6101
6590
  * Generated by orval v8.10.0 🍺
6102
6591
  * Do not edit manually.
@@ -6104,10 +6593,14 @@ type PatchProject200 = {
6104
6593
  * This is the next generation of the Zitadel identity platform.
6105
6594
  * OpenAPI spec version: 0.0.1
6106
6595
  */
6107
- type PatchProjectBody = {
6108
- /** The name of the project. */name?: null | string;
6596
+ type QuerySessionsParams = {
6597
+ /**
6598
+ * The unique identifier of the project
6599
+ * @pattern ^[a-zA-Z0-9_-]+$
6600
+ */
6601
+ project_id: string;
6109
6602
  }; //#endregion
6110
- //#region src/generated/model/patchProjectDefaultDetails.d.ts
6603
+ //#region src/generated/model/queryTeams200TeamsItemStatus.d.ts
6111
6604
  /**
6112
6605
  * Generated by orval v8.10.0 🍺
6113
6606
  * Do not edit manually.
@@ -6116,41 +6609,45 @@ type PatchProjectBody = {
6116
6609
  * OpenAPI spec version: 0.0.1
6117
6610
  */
6118
6611
  /**
6119
- * Additional error-specific context.
6120
- */
6121
- //#endregion
6122
- //#region src/generated/model/queryProjects200ProjectsItem.d.ts
6123
- /**
6124
- * Generated by orval v8.10.0 🍺
6125
- * Do not edit manually.
6126
- * Zitadel NextGen
6127
- * This is the next generation of the Zitadel identity platform.
6128
- * 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
+
6129
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
6130
6624
  /**
6131
- * The current state of a project.
6625
+ * Details of a team.
6132
6626
  */
6133
- type QueryProjects200ProjectsItem = {
6134
- /** The unique identifier of the project. */id: string; /** The name of the project. */
6627
+ type QueryTeams200TeamsItem = {
6628
+ /** The unique identifier of the team. */id: string; /** The name of the team. */
6135
6629
  name: string;
6136
- /** Origins which are allowed for previewing and testing the project.
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.
6137
6633
  */
6138
- previewOrigins?: string[]; /** The time when the project was created. */
6139
- createdAt: string; /** The time when the project was last updated. */
6140
- updatedAt: string;
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;
6141
6637
  }; //#endregion
6142
- //#region src/generated/model/queryProjects200.d.ts
6638
+ //#region src/generated/model/queryTeams200.d.ts
6143
6639
  /**
6144
- * Paginated list of projects.
6640
+ * Paginated list of teams.
6145
6641
  */
6146
- type QueryProjects200 = {
6147
- projects: QueryProjects200ProjectsItem[];
6642
+ type QueryTeams200 = {
6643
+ teams: QueryTeams200TeamsItem[];
6148
6644
  /** Token to pass as `page_token` in the next request to fetch the following page.
6149
- 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).
6150
6647
  */
6151
6648
  next_page_token?: string | null;
6152
6649
  }; //#endregion
6153
- //#region src/generated/model/queryProjects400Details.d.ts
6650
+ //#region src/generated/model/queryTeams400Details.d.ts
6154
6651
  /**
6155
6652
  * Generated by orval v8.10.0 🍺
6156
6653
  * Do not edit manually.
@@ -6162,7 +6659,7 @@ type QueryProjects200 = {
6162
6659
  * Additional error-specific context.
6163
6660
  */
6164
6661
  //#endregion
6165
- //#region src/generated/model/queryProjectsBodyFilterItemField.d.ts
6662
+ //#region src/generated/model/queryTeamsBodyFilterItemField.d.ts
6166
6663
  /**
6167
6664
  * Generated by orval v8.10.0 🍺
6168
6665
  * Do not edit manually.
@@ -6170,12 +6667,11 @@ type QueryProjects200 = {
6170
6667
  * This is the next generation of the Zitadel identity platform.
6171
6668
  * OpenAPI spec version: 0.0.1
6172
6669
  */
6173
- type QueryProjectsBodyFilterItemField = (typeof QueryProjectsBodyFilterItemField)[keyof typeof QueryProjectsBodyFilterItemField];
6174
- declare const QueryProjectsBodyFilterItemField: {
6175
- readonly name: "name";
6176
- readonly createdAt: "createdAt";
6670
+ type QueryTeamsBodyFilterItemField = (typeof QueryTeamsBodyFilterItemField)[keyof typeof QueryTeamsBodyFilterItemField];
6671
+ declare const QueryTeamsBodyFilterItemField: {
6672
+ readonly created_at: "created_at";
6177
6673
  }; //#endregion
6178
- //#region src/generated/model/queryProjectsBodyFilterItemOperation.d.ts
6674
+ //#region src/generated/model/queryTeamsBodyFilterItemOperation.d.ts
6179
6675
  /**
6180
6676
  * Generated by orval v8.10.0 🍺
6181
6677
  * Do not edit manually.
@@ -6188,8 +6684,8 @@ declare const QueryProjectsBodyFilterItemField: {
6188
6684
  query endpoint.
6189
6685
 
6190
6686
  */
6191
- type QueryProjectsBodyFilterItemOperation = (typeof QueryProjectsBodyFilterItemOperation)[keyof typeof QueryProjectsBodyFilterItemOperation];
6192
- declare const QueryProjectsBodyFilterItemOperation: {
6687
+ type QueryTeamsBodyFilterItemOperation = (typeof QueryTeamsBodyFilterItemOperation)[keyof typeof QueryTeamsBodyFilterItemOperation];
6688
+ declare const QueryTeamsBodyFilterItemOperation: {
6193
6689
  readonly equals: "equals";
6194
6690
  readonly not_equals: "not_equals";
6195
6691
  readonly contains: "contains";
@@ -6199,9 +6695,9 @@ declare const QueryProjectsBodyFilterItemOperation: {
6199
6695
  readonly greater_than: "greater_than";
6200
6696
  readonly greater_than_or_equal: "greater_than_or_equal";
6201
6697
  }; //#endregion
6202
- //#region src/generated/model/queryProjectsBodyFilterItem.d.ts
6203
- type QueryProjectsBodyFilterItem = {
6204
- field: QueryProjectsBodyFilterItemField;
6698
+ //#region src/generated/model/queryTeamsBodyFilterItem.d.ts
6699
+ type QueryTeamsBodyFilterItem = {
6700
+ field: QueryTeamsBodyFilterItemField;
6205
6701
  /** Filter-value specifies which values can be filtered by a query endpoint. This
6206
6702
  is a union of types. When a value is specified which is not assignable to the
6207
6703
  field which is being filtered, a 400 error will be returned.
@@ -6210,9 +6706,9 @@ type QueryProjectsBodyFilterItem = {
6210
6706
  /** Filter operation defines the operations which can be used when filtering on a
6211
6707
  query endpoint.
6212
6708
  */
6213
- operation: QueryProjectsBodyFilterItemOperation;
6709
+ operation: QueryTeamsBodyFilterItemOperation;
6214
6710
  }; //#endregion
6215
- //#region src/generated/model/queryProjectsBodySortingDirection.d.ts
6711
+ //#region src/generated/model/queryTeamsBodySortingDirection.d.ts
6216
6712
  /**
6217
6713
  * Generated by orval v8.10.0 🍺
6218
6714
  * Do not edit manually.
@@ -6220,12 +6716,12 @@ type QueryProjectsBodyFilterItem = {
6220
6716
  * This is the next generation of the Zitadel identity platform.
6221
6717
  * OpenAPI spec version: 0.0.1
6222
6718
  */
6223
- type QueryProjectsBodySortingDirection = (typeof QueryProjectsBodySortingDirection)[keyof typeof QueryProjectsBodySortingDirection];
6224
- declare const QueryProjectsBodySortingDirection: {
6719
+ type QueryTeamsBodySortingDirection = (typeof QueryTeamsBodySortingDirection)[keyof typeof QueryTeamsBodySortingDirection];
6720
+ declare const QueryTeamsBodySortingDirection: {
6225
6721
  readonly asc: "asc";
6226
6722
  readonly desc: "desc";
6227
6723
  }; //#endregion
6228
- //#region src/generated/model/queryProjectsBodySortingField.d.ts
6724
+ //#region src/generated/model/queryTeamsBodySortingField.d.ts
6229
6725
  /**
6230
6726
  * Generated by orval v8.10.0 🍺
6231
6727
  * Do not edit manually.
@@ -6233,31 +6729,34 @@ declare const QueryProjectsBodySortingDirection: {
6233
6729
  * This is the next generation of the Zitadel identity platform.
6234
6730
  * OpenAPI spec version: 0.0.1
6235
6731
  */
6236
- type QueryProjectsBodySortingField = (typeof QueryProjectsBodySortingField)[keyof typeof QueryProjectsBodySortingField];
6237
- declare const QueryProjectsBodySortingField: {
6238
- readonly name: "name";
6239
- readonly createdAt: "createdAt";
6732
+ type QueryTeamsBodySortingField = (typeof QueryTeamsBodySortingField)[keyof typeof QueryTeamsBodySortingField];
6733
+ declare const QueryTeamsBodySortingField: {
6734
+ readonly created_at: "created_at";
6240
6735
  }; //#endregion
6241
- //#region src/generated/model/queryProjectsBodySorting.d.ts
6242
- type QueryProjectsBodySorting = {
6243
- field: QueryProjectsBodySortingField;
6244
- direction: QueryProjectsBodySortingDirection;
6736
+ //#region src/generated/model/queryTeamsBodySorting.d.ts
6737
+ type QueryTeamsBodySorting = {
6738
+ field: QueryTeamsBodySortingField;
6739
+ direction: QueryTeamsBodySortingDirection;
6245
6740
  }; //#endregion
6246
- //#region src/generated/model/queryProjectsBody.d.ts
6741
+ //#region src/generated/model/queryTeamsBody.d.ts
6247
6742
  /**
6248
- * Request to query projects.
6743
+ * Request to query the teams of a project.
6249
6744
  */
6250
- type QueryProjectsBody = {
6745
+ type QueryTeamsBody = {
6251
6746
  /**
6252
6747
  * @minimum 1
6253
6748
  * @maximum 100
6254
6749
  */
6255
- limit?: number; /** Token to retrieve the next page of results. */
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
+ */
6256
6755
  page_token?: string | null;
6257
- sorting?: QueryProjectsBodySorting; /** Filter criteria for querying projects. */
6258
- filter?: QueryProjectsBodyFilterItem[];
6756
+ sorting?: QueryTeamsBodySorting; /** Filter criteria for querying teams. */
6757
+ filter?: QueryTeamsBodyFilterItem[];
6259
6758
  }; //#endregion
6260
- //#region src/generated/model/queryProjectsDefaultDetails.d.ts
6759
+ //#region src/generated/model/queryTeamsDefaultDetails.d.ts
6261
6760
  /**
6262
6761
  * Generated by orval v8.10.0 🍺
6263
6762
  * Do not edit manually.
@@ -6269,7 +6768,7 @@ type QueryProjectsBody = {
6269
6768
  * Additional error-specific context.
6270
6769
  */
6271
6770
  //#endregion
6272
- //#region src/generated/model/revokeSessionParams.d.ts
6771
+ //#region src/generated/model/queryTeamsParams.d.ts
6273
6772
  /**
6274
6773
  * Generated by orval v8.10.0 🍺
6275
6774
  * Do not edit manually.
@@ -6277,14 +6776,14 @@ type QueryProjectsBody = {
6277
6776
  * This is the next generation of the Zitadel identity platform.
6278
6777
  * OpenAPI spec version: 0.0.1
6279
6778
  */
6280
- type RevokeSessionParams = {
6779
+ type QueryTeamsParams = {
6281
6780
  /**
6282
6781
  * The unique identifier of the project
6283
6782
  * @pattern ^[a-zA-Z0-9_-]+$
6284
6783
  */
6285
6784
  project_id: string;
6286
6785
  }; //#endregion
6287
- //#region src/generated/model/revokeToken4xxDetails.d.ts
6786
+ //#region src/generated/model/revokeMySession401.d.ts
6288
6787
  /**
6289
6788
  * Generated by orval v8.10.0 🍺
6290
6789
  * Do not edit manually.
@@ -6293,10 +6792,13 @@ type RevokeSessionParams = {
6293
6792
  * OpenAPI spec version: 0.0.1
6294
6793
  */
6295
6794
  /**
6296
- * Additional error-specific context.
6795
+ * The request lacks valid authentication credentials.
6796
+
6797
+ Error code: auth.unauthorized
6798
+
6297
6799
  */
6298
6800
  //#endregion
6299
- //#region src/generated/model/revokeTokenBody.d.ts
6801
+ //#region src/generated/model/revokeSessionParams.d.ts
6300
6802
  /**
6301
6803
  * Generated by orval v8.10.0 🍺
6302
6804
  * Do not edit manually.
@@ -6304,11 +6806,14 @@ type RevokeSessionParams = {
6304
6806
  * This is the next generation of the Zitadel identity platform.
6305
6807
  * OpenAPI spec version: 0.0.1
6306
6808
  */
6307
- type RevokeTokenBody = {
6308
- /** The token to revoke (access token or refresh token) */token?: string; /** Optional hint about the type of the token being revoked (access_token or refresh_token) */
6309
- token_type_hint?: string;
6809
+ type RevokeSessionParams = {
6810
+ /**
6811
+ * The unique identifier of the project
6812
+ * @pattern ^[a-zA-Z0-9_-]+$
6813
+ */
6814
+ project_id: string;
6310
6815
  }; //#endregion
6311
- //#region src/generated/model/revokeTokenDefaultDetails.d.ts
6816
+ //#region src/generated/model/setUserPassword400Details.d.ts
6312
6817
  /**
6313
6818
  * Generated by orval v8.10.0 🍺
6314
6819
  * Do not edit manually.
@@ -6336,9 +6841,9 @@ type SetUserPasswordBody = {
6336
6841
  /** Whether the user is required to change their password on the next login.
6337
6842
  If not provided, it will default to false.
6338
6843
  */
6339
- isChangeRequired?: boolean;
6844
+ is_change_required?: boolean;
6340
6845
  }; //#endregion
6341
- //#region src/generated/model/setUserPasswordDefaultDetails.d.ts
6846
+ //#region src/generated/model/setUserPasswordDefault.d.ts
6342
6847
  /**
6343
6848
  * Generated by orval v8.10.0 🍺
6344
6849
  * Do not edit manually.
@@ -6346,9 +6851,6 @@ type SetUserPasswordBody = {
6346
6851
  * This is the next generation of the Zitadel identity platform.
6347
6852
  * OpenAPI spec version: 0.0.1
6348
6853
  */
6349
- /**
6350
- * Additional error-specific context.
6351
- */
6352
6854
  //#endregion
6353
6855
  //#region src/generated/model/setUserPasswordParams.d.ts
6354
6856
  /**
@@ -6365,63 +6867,6 @@ type SetUserPasswordParams = {
6365
6867
  */
6366
6868
  project_id: string;
6367
6869
  }; //#endregion
6368
- //#region src/generated/model/submitFlowEvent400Details.d.ts
6369
- /**
6370
- * Generated by orval v8.10.0 🍺
6371
- * Do not edit manually.
6372
- * Zitadel NextGen
6373
- * This is the next generation of the Zitadel identity platform.
6374
- * OpenAPI spec version: 0.0.1
6375
- */
6376
- /**
6377
- * Additional error-specific context.
6378
- */
6379
- //#endregion
6380
- //#region src/generated/model/submitFlowEventBodyPayload.d.ts
6381
- /**
6382
- * Generated by orval v8.10.0 🍺
6383
- * Do not edit manually.
6384
- * Zitadel NextGen
6385
- * This is the next generation of the Zitadel identity platform.
6386
- * OpenAPI spec version: 0.0.1
6387
- */
6388
- /**
6389
- * Event payload (fingerprint hash, timing data, etc.).
6390
- */
6391
- type SubmitFlowEventBodyPayload = {
6392
- [key: string]: unknown;
6393
- }; //#endregion
6394
- //#region src/generated/model/submitFlowEventBodyType.d.ts
6395
- /**
6396
- * Generated by orval v8.10.0 🍺
6397
- * Do not edit manually.
6398
- * Zitadel NextGen
6399
- * This is the next generation of the Zitadel identity platform.
6400
- * OpenAPI spec version: 0.0.1
6401
- */
6402
- type SubmitFlowEventBodyType = (typeof SubmitFlowEventBodyType)[keyof typeof SubmitFlowEventBodyType];
6403
- declare const SubmitFlowEventBodyType: {
6404
- readonly fingerprint: "fingerprint";
6405
- readonly telemetry: "telemetry";
6406
- }; //#endregion
6407
- //#region src/generated/model/submitFlowEventBody.d.ts
6408
- type SubmitFlowEventBody = {
6409
- /** Reserved for future rotation. The sealed `_zflow` cookie carries the flow state today. */session_token?: string;
6410
- type: SubmitFlowEventBodyType; /** Event payload (fingerprint hash, timing data, etc.). */
6411
- payload?: SubmitFlowEventBodyPayload;
6412
- }; //#endregion
6413
- //#region src/generated/model/submitFlowEventDefaultDetails.d.ts
6414
- /**
6415
- * Generated by orval v8.10.0 🍺
6416
- * Do not edit manually.
6417
- * Zitadel NextGen
6418
- * This is the next generation of the Zitadel identity platform.
6419
- * OpenAPI spec version: 0.0.1
6420
- */
6421
- /**
6422
- * Additional error-specific context.
6423
- */
6424
- //#endregion
6425
6870
  //#region src/generated/model/submitFlowStep200BrandingLayout.d.ts
6426
6871
  /**
6427
6872
  * Generated by orval v8.10.0 🍺
@@ -6433,7 +6878,8 @@ type SubmitFlowEventBody = {
6433
6878
  /**
6434
6879
  * Layout preset selector. The default.liquid master template uses this
6435
6880
  to branch into layout variants. Customers who eject the template
6436
- 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.
6437
6883
 
6438
6884
  */
6439
6885
  type SubmitFlowStep200BrandingLayout = (typeof SubmitFlowStep200BrandingLayout)[keyof typeof SubmitFlowStep200BrandingLayout];
@@ -6443,23 +6889,39 @@ declare const SubmitFlowStep200BrandingLayout: {
6443
6889
  }; //#endregion
6444
6890
  //#region src/generated/model/submitFlowStep200Branding.d.ts
6445
6891
  /**
6446
- * Resolved branding configuration. Inherited from the app team → project
6447
- hierarchy at flow creation time (most specific wins). Read-only projection —
6448
- branding is configured via the Team/App Branding API, not the Flow API.
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).
6449
6900
 
6450
6901
  */
6451
6902
  type SubmitFlowStep200Branding = {
6452
6903
  /** Layout preset selector. The default.liquid master template uses this
6453
6904
  to branch into layout variants. Customers who eject the template
6454
- 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.
6455
6907
  */
6456
6908
  layout?: SubmitFlowStep200BrandingLayout;
6457
- /** The LiquidJS template string for rendering this step. The orchestrator
6909
+ /**
6910
+ * The LiquidJS template string for rendering this step. The orchestrator
6458
6911
  parses this template, injects the capability dictionaries as context,
6459
6912
  and renders the output HTML into its Shadow DOM.
6460
- */
6913
+ * @maxLength 131072
6914
+ */
6461
6915
  liquid_template?: string; /** Team logo URL. */
6462
- logo_url?: string; /** Custom font URL (e.g., Google Fonts CSS). */
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
+ */
6463
6925
  font_url?: string; /** Hero/background image URL (used by split layout). */
6464
6926
  hero_url?: string;
6465
6927
  }; //#endregion
@@ -6889,9 +7351,13 @@ type SubmitFlowStep200 = {
6889
7351
  and builds name-keyed indexes locally for lookup.
6890
7352
  */
6891
7353
  step: SubmitFlowStep200Step;
6892
- /** Resolved branding configuration. Inherited from the app team → project
6893
- hierarchy at flow creation time (most specific wins). Read-only projection
6894
- branding is configured via the Team/App Branding API, not the Flow API.
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).
6895
7361
  */
6896
7362
  branding?: SubmitFlowStep200Branding; /** Present when `step.complete` is `redirect`. */
6897
7363
  redirect_uri?: string;
@@ -6916,7 +7382,8 @@ type SubmitFlowStep200 = {
6916
7382
  /**
6917
7383
  * Layout preset selector. The default.liquid master template uses this
6918
7384
  to branch into layout variants. Customers who eject the template
6919
- 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.
6920
7387
 
6921
7388
  */
6922
7389
  //#endregion
@@ -7010,7 +7477,7 @@ type SubmitFlowStepBody = {
7010
7477
  */
7011
7478
  sso_provider_id?: string;
7012
7479
  }; //#endregion
7013
- //#region src/generated/model/submitFlowStepDefaultDetails.d.ts
7480
+ //#region src/generated/model/submitFlowStepDefault.d.ts
7014
7481
  /**
7015
7482
  * Generated by orval v8.10.0 🍺
7016
7483
  * Do not edit manually.
@@ -7018,9 +7485,6 @@ type SubmitFlowStepBody = {
7018
7485
  * This is the next generation of the Zitadel identity platform.
7019
7486
  * OpenAPI spec version: 0.0.1
7020
7487
  */
7021
- /**
7022
- * Additional error-specific context.
7023
- */
7024
7488
  //#endregion
7025
7489
  //#region src/generated/model/updateFlowDefinition200FlowDefinitionAudience.d.ts
7026
7490
  /**
@@ -7799,7 +8263,7 @@ type UpdateFlowDefinitionBody = {
7799
8263
  */
7800
8264
  flow_definition: UpdateFlowDefinitionBodyFlowDefinition;
7801
8265
  }; //#endregion
7802
- //#region src/generated/model/updateFlowDefinitionDefaultDetails.d.ts
8266
+ //#region src/generated/model/updateFlowDefinitionDefault.d.ts
7803
8267
  /**
7804
8268
  * Generated by orval v8.10.0 🍺
7805
8269
  * Do not edit manually.
@@ -7807,9 +8271,6 @@ type UpdateFlowDefinitionBody = {
7807
8271
  * This is the next generation of the Zitadel identity platform.
7808
8272
  * OpenAPI spec version: 0.0.1
7809
8273
  */
7810
- /**
7811
- * Additional error-specific context.
7812
- */
7813
8274
  //#endregion
7814
8275
  //#region src/generated/model/updateFlowDefinitionParams.d.ts
7815
8276
  /**
@@ -7826,6 +8287,96 @@ type UpdateFlowDefinitionParams = {
7826
8287
  */
7827
8288
  project_id: string;
7828
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
7829
8380
  //#region src/generated/model/verifyChallengeProof200ChallengesItemMethod.d.ts
7830
8381
  /**
7831
8382
  * Generated by orval v8.10.0 🍺
@@ -7905,8 +8456,8 @@ The client verifies the proof by POST /auth_attempts/{attempt_id}/challenges/{ch
7905
8456
  */
7906
8457
  type VerifyChallengeProof200ChallengesItem = {
7907
8458
  /**
7908
- * Unique identifier for this challenge
7909
- * @pattern ^[a-zA-Z0-9_-]+$
8459
+ * Unique identifier for this challenge (dialect-minted prefixed opaque string).
8460
+ * @pattern ^ch_[a-zA-Z0-9_-]+$
7910
8461
  */
7911
8462
  challenge_id: string; /** An authentication factor method. */
7912
8463
  method: VerifyChallengeProof200ChallengesItemMethod;
@@ -8038,8 +8589,8 @@ Clients drive the attempt by:
8038
8589
  */
8039
8590
  type VerifyChallengeProof200 = {
8040
8591
  /**
8041
- * Unique identifier for this authentication attempt
8042
- * @pattern ^[a-zA-Z0-9_-]+$
8592
+ * Unique identifier for this authentication attempt (dialect-minted prefixed opaque string).
8593
+ * @pattern ^att_[a-zA-Z0-9_-]+$
8043
8594
  */
8044
8595
  attempt_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
8045
8596
  project_id: string;
@@ -8174,6 +8725,16 @@ declare class ZlField extends LitElement {
8174
8725
  formResetCallback(): void;
8175
8726
  formStateRestoreCallback(state: string | null): void;
8176
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);
8177
8738
  render(): _$lit.TemplateResult<1>;
8178
8739
  private renderLabelRow;
8179
8740
  private renderTrailingIcon;
@@ -8223,6 +8784,13 @@ declare global {
8223
8784
  * gap 24px (spacing-04) between header / main / footer slots
8224
8785
  * footer min-height 1.5rem to reserve room for the attribution
8225
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).
8226
8794
  */
8227
8795
  declare class ZlPageShell extends LitElement {
8228
8796
  static styles: _$lit.CSSResult[];
@@ -8470,20 +9038,26 @@ type ZlSelectChangeDetail = {
8470
9038
  value: string;
8471
9039
  };
8472
9040
  /**
8473
- * Atom: `<zl-select>` — a select-only combobox bound to a single choice.
9041
+ * Atom: `<zl-select>` — a select bound to a single choice.
8474
9042
  *
8475
9043
  * Spec lineage (file `8UjCXw8yemgljmbkWGrSfE`, "Zitadel - Design System - External"):
8476
9044
  * - trigger + open/selected matrix: node `4397:4816` (Dropdown)
8477
9045
  * - option (Items) state matrix: node `4397:4098` (Input text)
8478
9046
  *
8479
- * The trigger mirrors `<zl-field>`'s box; the popup is a `role="listbox"` whose
8480
- * options paint the Figma hover / keyboard-active wash and the chosen row's
8481
- * solid fill + check glyph. Follows the WAI-ARIA select-only combobox pattern:
8482
- * focus stays on the trigger and `aria-activedescendant` tracks the active
8483
- * option, so arrow keys move a virtual cursor without moving DOM focus.
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}"`.
8484
9054
  *
8485
- * Form participation: `<zl-select>` is a form-associated custom element; its
8486
- * `value` is the selected option's value (empty string = nothing chosen).
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()`.
8487
9061
  */
8488
9062
  declare class ZlSelect extends LitElement {
8489
9063
  static formAssociated: boolean;
@@ -8507,12 +9081,21 @@ declare class ZlSelect extends LitElement {
8507
9081
  */
8508
9082
  accessor options: ZlSelectOption[];
8509
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;
8510
9093
  accessor disabled: boolean;
8511
9094
  accessor open: boolean;
8512
9095
  accessor ariaLabelText: string | undefined;
8513
9096
  accessor testId: string | undefined;
8514
- private accessor activeIndex;
8515
- private accessor triggerEl;
9097
+ private accessor activeValue;
9098
+ private accessor nativeEl;
8516
9099
  private readonly baseId;
8517
9100
  private readonly internals;
8518
9101
  private defaultValue;
@@ -8523,25 +9106,51 @@ declare class ZlSelect extends LitElement {
8523
9106
  formResetCallback(): void;
8524
9107
  formStateRestoreCallback(state: string | null): void;
8525
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();
8526
9127
  render(): _$lit.TemplateResult<1>;
8527
9128
  private renderLabel;
8528
9129
  private renderOption;
8529
- private optionId;
8530
9130
  private handleLabelClick;
8531
9131
  private handleTriggerClick;
8532
- private handleTriggerKeyDown;
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;
8533
9138
  private handleOptionClick;
8534
9139
  private handleOptionPointerMove;
8535
9140
  private handleDocumentPointerDown;
8536
- private openMenu;
8537
- private close;
8538
- private commitActive;
8539
- private moveActive;
8540
- private setActive;
8541
- private firstEnabledIndex;
8542
- private lastEnabledIndex;
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;
8543
9152
  private syncFormState;
8544
- private triggerTestId;
9153
+ private nativeTestId;
8545
9154
  }
8546
9155
  declare const zlSelectManifest: AtomManifest;
8547
9156
  declare global {
@@ -8550,5 +9159,5 @@ declare global {
8550
9159
  }
8551
9160
  } //# sourceMappingURL=zl-select.d.ts.map
8552
9161
  //#endregion
8553
- export { ExchangeHandoff200 as $, ZlCheckbox as $t, CreateFlow201StepGates as A, ListFlowDefinitionsParams as At, CreateSchemaBody as B, QueryProjectsBody as Bt, CreateFlow201 as C, GetUserByIDParams as Ct, CreateFlow201StepActionsItem as D, IssueChallenge201 as Dt, CreateFlow201Step as E, IntrospectBody as Et, CreateFlowDefinitionBody as F, ListUsers200Item as Ft, CreateTeamBody as G, SubmitFlowEventBody as Gt, CreateSession201 as H, RevokeTokenBody as Ht, CreateHandoff200 as I, ListUsersParams as It, CreateUserBody as J, UpdateFlowDefinition200 as Jt, CreateTeamParams as K, SubmitFlowStep200 as Kt, CreateProject201 as L, PatchProject200 as Lt, CreateFlowBody as M, ListSchemasParams as Mt, CreateFlowBodyPurpose as N, ListSessions200 as Nt, CreateFlow201StepChallenge as O, IssueChallengeBody as Ot, CreateFlowDefinition201 as P, ListSessionsParams as Pt, EndSessionParams as Q, VerifyChallengeProofBody as Qt, CreateProjectBody as R, PatchProjectBody as Rt, CreateAuthAttemptBody as S, GetUserByID200 as St, CreateFlow201BrandingLayout as T, Introspect200 as Tt, CreateSessionBody as U, SetUserPasswordBody as Ut, CreateSchemaParams as V, RevokeSessionParams as Vt, CreateTeam201 as W, SetUserPasswordParams as Wt, DeactivateFlowDefinitionParams as X, UpdateFlowDefinitionParams as Xt, CreateUserParams as Y, UpdateFlowDefinitionBody as Yt, DeleteFlowDefinitionParams as Z, VerifyChallengeProof200 as Zt, AuthorizeDevice200 as _, GetSessionParams as _t, ZlPill as a, zlButtonManifest as an, GetFlowStep200 as at, AuthorizeGetParams as b, GetToken200 as bt, ZlPasskeyErrorDetail as c, IconName as cn, GetLiveDefault as ct, ZlPageShell as d, GetOpenIDConfiguration200 as dt, ZlCheckboxChangeDetail as en, ExchangeHandoffBody as et, zlPageShellManifest as f, GetProject200 as ft, ActivateFlowDefinitionParams as g, GetSession200 as gt, zlFieldManifest as h, GetSchemaByIdParams as ht, zlSelectManifest as i, ZlButton as in, GetFlowDefinitionParams as it, CreateFlow201StepSsoProvidersItem as j, ListSchemas200Item as jt, CreateFlow201StepFieldsItem as k, ListFlowDefinitions200 as kt, ZlPasskeyResultDetail as l, ZlIcon as ln, GetMySession200 as lt, ZlFieldType as m, GetSchemaById200 as mt, ZlSelectChangeDetail as n, ZlCard as nn, GetAuthAttempt200 as nt, zlPillManifest as o, ZlAlert as on, GetHealthDefault as ot, ZlField as p, GetReadyDefault as pt, CreateUser201 as q, SubmitFlowStepBody as qt, ZlSelectOption as r, zlCardManifest as rn, GetFlowDefinition200 as rt, ZlPasskey as s, zlAlertManifest as sn, GetKeys200 as st, ZlSelect as t, zlCheckboxManifest as tn, ExchangeHandoffParams as tt, zlPasskeyManifest as u, zlIconManifest as un, GetMyUser200 as ut, AuthorizeDeviceParams as v, GetTeam200 as vt, CreateFlow201Branding as w, GetUserInfo200 as wt, CreateAuthAttempt201 as x, GetTokenBody as xt, AuthorizeGetDefault as y, GetTeamParams as yt, CreateSchema201 as z, QueryProjects200 as zt };
8554
- //# sourceMappingURL=index-DSZnfOJH.d.mts.map
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