@zitadel/api 0.1.0-alpha.18 → 0.1.0-alpha.19

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 (120) hide show
  1. package/README.md +38 -3
  2. package/dist/generated/endpoints/zitadelNextGen.d.mts +2 -2
  3. package/dist/generated/endpoints/zitadelNextGen.mjs +104 -98
  4. package/dist/generated/endpoints/zitadelNextGen.mjs.map +1 -1
  5. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts +6 -2
  6. package/dist/generated/endpoints/zitadelNextGen.msw.d.mts.map +1 -1
  7. package/dist/generated/endpoints/zitadelNextGen.msw.mjs +5132 -262
  8. package/dist/generated/endpoints/zitadelNextGen.msw.mjs.map +1 -1
  9. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts +2523 -110
  10. package/dist/generated/endpoints/zitadelNextGen.zod.d.mts.map +1 -1
  11. package/dist/generated/endpoints/zitadelNextGen.zod.mjs +2581 -143
  12. package/dist/generated/endpoints/zitadelNextGen.zod.mjs.map +1 -1
  13. package/dist/generated/model/index.d.mts +2 -2
  14. package/dist/generated/model/index.mjs +29 -5
  15. package/dist/generated/model/index.mjs.map +1 -1
  16. package/dist/{index-D6qIOslB.d.mts → index-Dt_0fSH9.d.mts} +2759 -390
  17. package/dist/index-Dt_0fSH9.d.mts.map +1 -0
  18. package/dist/runtime/api-factory.d.mts +1 -1
  19. package/dist/{zitadelNextGen-BCljAZpG.d.mts → zitadelNextGen-BkDpEAS9.d.mts} +62 -35
  20. package/dist/zitadelNextGen-BkDpEAS9.d.mts.map +1 -0
  21. package/package.json +1 -1
  22. package/src/generated/endpoints/zitadelNextGen.msw.ts +5330 -241
  23. package/src/generated/endpoints/zitadelNextGen.ts +129 -209
  24. package/src/generated/endpoints/zitadelNextGen.zod.ts +4635 -336
  25. package/src/generated/model/createAuthAttemptDefault.ts +10 -0
  26. package/src/generated/model/createFlowDefault.ts +10 -0
  27. package/src/generated/model/createFlowDefinition201FlowDefinitionStepsItemTransitions.ts +11 -0
  28. package/src/generated/model/createFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +11 -0
  29. package/src/generated/model/createFlowDefinitionDefault.ts +10 -0
  30. package/src/generated/model/createHandoffDefault.ts +10 -0
  31. package/src/generated/model/createProjectDefault.ts +20 -0
  32. package/src/generated/model/createSchemaBody.ts +5 -34
  33. package/src/generated/model/createSession201Session.ts +1 -1
  34. package/src/generated/model/createSession201SessionState.ts +1 -1
  35. package/src/generated/model/createSessionDefault.ts +20 -0
  36. package/src/generated/model/createUser201.ts +24 -4
  37. package/src/generated/model/createUser201Attributes.ts +14 -0
  38. package/src/generated/model/{createUserBodyMetadata.ts → createUser201Metadata.ts} +3 -3
  39. package/src/generated/model/{createUserBodyMetadataStatus.ts → createUser201MetadataStatus.ts} +3 -3
  40. package/src/generated/model/createUser500.ts +20 -0
  41. package/src/generated/model/{deleteTeamParams.ts → createUser500Details.ts} +4 -7
  42. package/src/generated/model/createUserBody.ts +22 -11
  43. package/src/generated/model/createUserBodyAttributes.ts +14 -0
  44. package/src/generated/model/createUserDefault.ts +10 -0
  45. package/src/generated/model/deleteFlowDefinitionDefault.ts +10 -0
  46. package/src/generated/model/deleteUserByIDDefault.ts +10 -0
  47. package/src/generated/model/exchangeHandoff200Session.ts +1 -1
  48. package/src/generated/model/exchangeHandoff200SessionState.ts +1 -1
  49. package/src/generated/model/exchangeHandoffDefault.ts +10 -0
  50. package/src/generated/model/getEvent200.ts +1372 -0
  51. package/src/generated/model/getEvent401.ts +20 -0
  52. package/src/generated/model/{getSessionParams.ts → getEvent401Details.ts} +4 -7
  53. package/src/generated/model/getEvent403.ts +20 -0
  54. package/src/generated/model/getEvent403Details.ts +12 -0
  55. package/src/generated/model/getEvent404.ts +20 -0
  56. package/src/generated/model/getEvent404Details.ts +12 -0
  57. package/src/generated/model/getEventDefault.ts +20 -0
  58. package/src/generated/model/getEventDefaultDetails.ts +12 -0
  59. package/src/generated/model/{getTeamParams.ts → getEventParams.ts} +1 -1
  60. package/src/generated/model/getFlowDefinition200FlowDefinitionStepsItemTransitions.ts +11 -0
  61. package/src/generated/model/getMySession200.ts +1 -1
  62. package/src/generated/model/getMySession200State.ts +1 -1
  63. package/src/generated/model/getMyUser200.ts +20 -7
  64. package/src/generated/model/getMyUser200Attributes.ts +14 -0
  65. package/src/generated/model/getSchemaById200.ts +5 -34
  66. package/src/generated/model/getSchemaByIdParams.ts +0 -5
  67. package/src/generated/model/getSession200.ts +1 -1
  68. package/src/generated/model/getSession200State.ts +1 -1
  69. package/src/generated/model/getUserByID200.ts +20 -7
  70. package/src/generated/model/getUserByID200Attributes.ts +14 -0
  71. package/src/generated/model/getUserByIDParams.ts +0 -5
  72. package/src/generated/model/index.ts +32 -13
  73. package/src/generated/model/listEvents200.ts +19 -0
  74. package/src/generated/model/listEvents200DataItem.ts +1372 -0
  75. package/src/generated/model/listEvents400.ts +20 -0
  76. package/src/generated/model/listEvents400Details.ts +12 -0
  77. package/src/generated/model/listEvents401.ts +20 -0
  78. package/src/generated/model/listEvents401Details.ts +12 -0
  79. package/src/generated/model/listEvents403.ts +20 -0
  80. package/src/generated/model/listEvents403Details.ts +12 -0
  81. package/src/generated/model/listEventsCategoryItem.ts +19 -0
  82. package/src/generated/model/listEventsDefault.ts +20 -0
  83. package/src/generated/model/{getFlowDefinitionParams.ts → listEventsDefaultDetails.ts} +4 -7
  84. package/src/generated/model/{getBrandingByIdParams.ts → listEventsOrder.ts} +6 -7
  85. package/src/generated/model/listEventsParams.ts +67 -0
  86. package/src/generated/model/listUserPasskeysParams.ts +0 -5
  87. package/src/generated/model/listUserTeamsDefault.ts +0 -20
  88. package/src/generated/model/listUserTeamsParams.ts +0 -5
  89. package/src/generated/model/listUsers200UsersItem.ts +20 -7
  90. package/src/generated/model/listUsers200UsersItemAttributes.ts +14 -0
  91. package/src/generated/model/patchProjectDefault.ts +10 -0
  92. package/src/generated/model/queryProjectsBodyFilterItem.ts +4 -0
  93. package/src/generated/model/queryProjectsBodyFilterItemOperation.ts +4 -0
  94. package/src/generated/model/querySessions200SessionsItem.ts +1 -1
  95. package/src/generated/model/querySessions200SessionsItemState.ts +1 -1
  96. package/src/generated/model/querySessionsBodyFilterItem.ts +6 -1
  97. package/src/generated/model/querySessionsBodyFilterItemField.ts +2 -1
  98. package/src/generated/model/querySessionsBodyFilterItemOperation.ts +4 -0
  99. package/src/generated/model/querySessionsDefault.ts +10 -0
  100. package/src/generated/model/queryTeamsBodyFilterItem.ts +9 -0
  101. package/src/generated/model/queryTeamsBodyFilterItemField.ts +9 -0
  102. package/src/generated/model/queryTeamsBodyFilterItemOperation.ts +4 -0
  103. package/src/generated/model/queryTeamsBodySorting.ts +5 -0
  104. package/src/generated/model/queryTeamsBodySortingField.ts +9 -0
  105. package/src/generated/model/revokeMySessionDefault.ts +10 -0
  106. package/src/generated/model/revokeSessionDefault.ts +10 -0
  107. package/src/generated/model/setUserPasswordDefault.ts +10 -0
  108. package/src/generated/model/submitFlowStepDefault.ts +10 -0
  109. package/src/generated/model/updateFlowDefinition200FlowDefinitionStepsItemTransitions.ts +11 -0
  110. package/src/generated/model/updateFlowDefinitionBodyFlowDefinitionStepsItemTransitions.ts +11 -0
  111. package/src/generated/model/updateFlowDefinitionDefault.ts +10 -0
  112. package/src/generated/model/verifyChallengeProofDefault.ts +10 -0
  113. package/dist/index-D6qIOslB.d.mts.map +0 -1
  114. package/dist/zitadelNextGen-BCljAZpG.d.mts.map +0 -1
  115. package/src/generated/model/deleteFlowDefinitionParams.ts +0 -15
  116. package/src/generated/model/deleteUserByIDParams.ts +0 -15
  117. package/src/generated/model/revokeSessionParams.ts +0 -15
  118. package/src/generated/model/setUserPasswordParams.ts +0 -15
  119. package/src/generated/model/updateFlowDefinitionParams.ts +0 -15
  120. package/src/generated/model/updateTeamParams.ts +0 -15
@@ -529,6 +529,14 @@ type CreateAuthAttemptDefault = ({
529
529
  details?: {
530
530
  [key: string]: unknown;
531
531
  };
532
+ } & {
533
+ code: "evt.invalid";
534
+ }) | ({
535
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
536
+ message: string; /** Additional error-specific context. */
537
+ details?: {
538
+ [key: string]: unknown;
539
+ };
532
540
  } & {
533
541
  code: "internal";
534
542
  }) | ({
@@ -1411,6 +1419,14 @@ type CreateFlowDefault = ({
1411
1419
  details?: {
1412
1420
  [key: string]: unknown;
1413
1421
  };
1422
+ } & {
1423
+ code: "evt.invalid";
1424
+ }) | ({
1425
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
1426
+ message: string; /** Additional error-specific context. */
1427
+ details?: {
1428
+ [key: string]: unknown;
1429
+ };
1414
1430
  } & {
1415
1431
  code: "flowdef.not_found";
1416
1432
  }) | ({
@@ -1741,6 +1757,17 @@ type CreateFlowDefinition201FlowDefinitionStepsItemTransitions = {
1741
1757
  Example: login → recovery → back to login.
1742
1758
  */
1743
1759
  action?: "switch" | "pivot" | null;
1760
+ /** Local re-purposing. When set, taking this transition changes the
1761
+ flow's current purpose to this value — the dispatch mode a step's
1762
+ challenges run under — while the flow's original purpose stays
1763
+ pinned. Must be a purpose this definition serves, and `target`
1764
+ must be that purpose's entry step. Mutually exclusive with
1765
+ `action`: a transition either re-purposes within this flow or
1766
+ targets another flow, never both.
1767
+ Example: a "Sign up" navigation on the login identifier step
1768
+ (`{ target: register, purpose: register }`).
1769
+ */
1770
+ purpose?: "login" | "register" | "recovery" | "profiling" | "reauth" | "link_account" | null;
1744
1771
  };
1745
1772
  };
1746
1773
  //#endregion
@@ -2185,6 +2212,17 @@ type CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
2185
2212
  Example: login → recovery → back to login.
2186
2213
  */
2187
2214
  action?: "switch" | "pivot" | null;
2215
+ /** Local re-purposing. When set, taking this transition changes the
2216
+ flow's current purpose to this value — the dispatch mode a step's
2217
+ challenges run under — while the flow's original purpose stays
2218
+ pinned. Must be a purpose this definition serves, and `target`
2219
+ must be that purpose's entry step. Mutually exclusive with
2220
+ `action`: a transition either re-purposes within this flow or
2221
+ targets another flow, never both.
2222
+ Example: a "Sign up" navigation on the login identifier step
2223
+ (`{ target: register, purpose: register }`).
2224
+ */
2225
+ purpose?: "login" | "register" | "recovery" | "profiling" | "reauth" | "link_account" | null;
2188
2226
  };
2189
2227
  };
2190
2228
  //#endregion
@@ -2347,6 +2385,14 @@ type CreateFlowDefinitionDefault = ({
2347
2385
  details?: {
2348
2386
  [key: string]: unknown;
2349
2387
  };
2388
+ } & {
2389
+ code: "evt.invalid";
2390
+ }) | ({
2391
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
2392
+ message: string; /** Additional error-specific context. */
2393
+ details?: {
2394
+ [key: string]: unknown;
2395
+ };
2350
2396
  } & {
2351
2397
  code: "flowdef.already_exists";
2352
2398
  }) | ({
@@ -2490,6 +2536,14 @@ type CreateHandoffDefault = ({
2490
2536
  details?: {
2491
2537
  [key: string]: unknown;
2492
2538
  };
2539
+ } & {
2540
+ code: "evt.invalid";
2541
+ }) | ({
2542
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
2543
+ message: string; /** Additional error-specific context. */
2544
+ details?: {
2545
+ [key: string]: unknown;
2546
+ };
2493
2547
  } & {
2494
2548
  code: "internal";
2495
2549
  }) | ({
@@ -2600,6 +2654,14 @@ type CreateProjectDefault = ({
2600
2654
  details?: {
2601
2655
  [key: string]: unknown;
2602
2656
  };
2657
+ } & {
2658
+ code: "evt.invalid";
2659
+ }) | ({
2660
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
2661
+ message: string; /** Additional error-specific context. */
2662
+ details?: {
2663
+ [key: string]: unknown;
2664
+ };
2603
2665
  } & {
2604
2666
  code: "internal";
2605
2667
  }) | ({
@@ -2616,6 +2678,14 @@ type CreateProjectDefault = ({
2616
2678
  details?: {
2617
2679
  [key: string]: unknown;
2618
2680
  };
2681
+ } & {
2682
+ code: "tkn.invalid_tknid";
2683
+ }) | ({
2684
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
2685
+ message: string; /** Additional error-specific context. */
2686
+ details?: {
2687
+ [key: string]: unknown;
2688
+ };
2619
2689
  } & {
2620
2690
  code: "sch.invalid_request";
2621
2691
  }) | ({
@@ -2741,43 +2811,18 @@ type CreateSchemaBody = {
2741
2811
  "x-auth-methods": {
2742
2812
  password?: {
2743
2813
  /** Whether the authentication method is enabled or not */enabled: boolean;
2744
- /**
2745
- * The position of the authentication method in the list of supported methods
2746
- * @minimum 0
2747
- */
2748
- position: number;
2749
2814
  };
2750
2815
  passkey?: {
2751
2816
  /** Whether the authentication method is enabled or not */enabled: boolean;
2752
- /**
2753
- * The position of the authentication method in the list of supported methods
2754
- * @minimum 0
2755
- */
2756
- position: number;
2757
2817
  };
2758
2818
  magic_link?: {
2759
2819
  /** Whether the authentication method is enabled or not */enabled: boolean;
2760
- /**
2761
- * The position of the authentication method in the list of supported methods
2762
- * @minimum 0
2763
- */
2764
- position: number;
2765
2820
  };
2766
2821
  sso?: {
2767
2822
  /** Whether the authentication method is enabled or not */enabled: boolean;
2768
- /**
2769
- * The position of the authentication method in the list of supported methods
2770
- * @minimum 0
2771
- */
2772
- position: number;
2773
2823
  };
2774
2824
  otp?: {
2775
2825
  /** Whether the authentication method is enabled or not */enabled: boolean;
2776
- /**
2777
- * The position of the authentication method in the list of supported methods
2778
- * @minimum 0
2779
- */
2780
- position: number;
2781
2826
  };
2782
2827
  };
2783
2828
  /** A map of additional properties for the user definition, where the
@@ -2785,14 +2830,13 @@ type CreateSchemaBody = {
2785
2830
  */
2786
2831
  properties?: {
2787
2832
  [key: string]: {
2788
- /** The verification method for this property, if applicable */"x-verify"?: string | null; /** The level of uniqueness for this property, if applicable */
2789
- "x-unique"?: "unspecified" | "project" | "team" | null; /** The claim name for this property, if applicable */
2790
- "x-claim"?: string | null; /** Whether this property is editable by the user or not */
2791
- "x-editable"?: boolean; /** Whether this property contains sensitive information or not */
2792
- "x-sensitive"?: boolean;
2793
- /** Whether this property is used for multi-factor authentication or not
2794
- */
2795
- "x-mfa"?: boolean;
2833
+ /** The level of uniqueness for this property, if applicable */"x-unique"?: "unspecified" | "project" | "team" | null; /** The claim name for this property, if applicable */
2834
+ "x-claim"?: string | null;
2835
+ /** Whether this property's value may appear in audit event payloads. Audit
2836
+ payloads are deny-by-default: a property without this annotation
2837
+ contributes its key but never its value.
2838
+ */
2839
+ "x-audit"?: boolean;
2796
2840
  /** A map of additional properties for the user definition, where the key is
2797
2841
  the property name and the value is the property schema.
2798
2842
  */
@@ -2941,7 +2985,7 @@ type CreateSession201SessionMetadata = {
2941
2985
  */
2942
2986
  /**
2943
2987
  * Current lifecycle state of the session:
2944
- - `building`: has a user factor but is still gathering authentication factors
2988
+ - `building`: no verified authentication factors yet
2945
2989
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
2946
2990
  - `expired`: TTL elapsed
2947
2991
 
@@ -2988,7 +3032,7 @@ type CreateSession201Session = {
2988
3032
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
2989
3033
  project_id: string;
2990
3034
  /** Current lifecycle state of the session:
2991
- - `building`: has a user factor but is still gathering authentication factors
3035
+ - `building`: no verified authentication factors yet
2992
3036
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
2993
3037
  - `expired`: TTL elapsed
2994
3038
  */
@@ -3152,6 +3196,14 @@ type CreateSessionDefault = ({
3152
3196
  details?: {
3153
3197
  [key: string]: unknown;
3154
3198
  };
3199
+ } & {
3200
+ code: "evt.invalid";
3201
+ }) | ({
3202
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3203
+ message: string; /** Additional error-specific context. */
3204
+ details?: {
3205
+ [key: string]: unknown;
3206
+ };
3155
3207
  } & {
3156
3208
  code: "internal";
3157
3209
  }) | ({
@@ -3168,6 +3220,14 @@ type CreateSessionDefault = ({
3168
3220
  details?: {
3169
3221
  [key: string]: unknown;
3170
3222
  };
3223
+ } & {
3224
+ code: "tkn.invalid_tknid";
3225
+ }) | ({
3226
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3227
+ message: string; /** Additional error-specific context. */
3228
+ details?: {
3229
+ [key: string]: unknown;
3230
+ };
3171
3231
  } & {
3172
3232
  code: "req.invalid";
3173
3233
  }) | ({
@@ -3433,7 +3493,7 @@ type CreateTeamParams = {
3433
3493
  project_id: string;
3434
3494
  };
3435
3495
  //#endregion
3436
- //#region src/generated/model/createUser201.d.ts
3496
+ //#region src/generated/model/createUser201Attributes.d.ts
3437
3497
  /**
3438
3498
  * Generated by orval v8.10.0 🍺
3439
3499
  * Do not edit manually.
@@ -3442,15 +3502,76 @@ type CreateTeamParams = {
3442
3502
  * OpenAPI spec version: 0.0.1
3443
3503
  */
3444
3504
  /**
3445
- * The content of this response is determined by the configured
3446
- schema for users.
3505
+ * The user's content, satisfying the schema named by `schema`. Property
3506
+ names and types are determined entirely by that schema.
3447
3507
 
3448
3508
  */
3449
- type CreateUser201 = {
3450
- /** The unique identifier of the created user. */id: string;
3509
+ type CreateUser201Attributes = {
3451
3510
  [key: string]: unknown;
3452
3511
  };
3453
3512
  //#endregion
3513
+ //#region src/generated/model/createUser201MetadataStatus.d.ts
3514
+ /**
3515
+ * Generated by orval v8.10.0 🍺
3516
+ * Do not edit manually.
3517
+ * Zitadel NextGen
3518
+ * This is the next generation of the Zitadel identity platform.
3519
+ * OpenAPI spec version: 0.0.1
3520
+ */
3521
+ /**
3522
+ * The status of the user.
3523
+ */
3524
+ type CreateUser201MetadataStatus = (typeof CreateUser201MetadataStatus)[keyof typeof CreateUser201MetadataStatus];
3525
+ declare const CreateUser201MetadataStatus: {
3526
+ readonly active: "active";
3527
+ readonly suspended: "suspended";
3528
+ readonly deactivated: "deactivated";
3529
+ readonly pending_purge: "pending_purge";
3530
+ };
3531
+ //#endregion
3532
+ //#region src/generated/model/createUser201Metadata.d.ts
3533
+ type CreateUser201Metadata = {
3534
+ /** The time when the user was created. */created_at: string; /** The time when the user was last updated. */
3535
+ updated_at: string; /** The status of the user. */
3536
+ status: CreateUser201MetadataStatus;
3537
+ /** The team that owns this user's identity lifecycle, or `null` when the
3538
+ user is self-owned. This is a single team and a different concept from
3539
+ the user's team roster: it decides who may deprovision the user, not
3540
+ which teams the user collaborates in. The roster is its own paginated
3541
+ resource — `GET /users/{user_id}/teams`.
3542
+ */
3543
+ lifecycle_owner_team_id?: string | null;
3544
+ };
3545
+ //#endregion
3546
+ //#region src/generated/model/createUser201.d.ts
3547
+ /**
3548
+ * A user represents an individual identity in the system. It can be used to
3549
+ represent a human user, but also a service account or any other type of
3550
+ identity.
3551
+
3552
+ `attributes` is the document that satisfies the user schema named by
3553
+ `schema`: its property names and types are defined entirely by that schema,
3554
+ and it is what the schema validates. The rest of the object — `id`,
3555
+ `schema`, `metadata` — is the server-owned envelope. Keeping the two apart
3556
+ means a schema may name a property `id` or `metadata` without colliding with
3557
+ the envelope, and closed-world keywords (`additionalProperties: false`,
3558
+ `propertyNames`, `unevaluatedProperties`) behave as their author expects.
3559
+
3560
+ */
3561
+ type CreateUser201 = {
3562
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */id: string;
3563
+ /** The schema that defines the content of `attributes`. These schemas can be
3564
+ created using the `/schemas` endpoint. A default schema is provided.
3565
+ This schema can be retrieved using the same endpoint.
3566
+ */
3567
+ schema: string;
3568
+ /** The user's content, satisfying the schema named by `schema`. Property
3569
+ names and types are determined entirely by that schema.
3570
+ */
3571
+ attributes: CreateUser201Attributes;
3572
+ metadata: CreateUser201Metadata;
3573
+ };
3574
+ //#endregion
3454
3575
  //#region src/generated/model/createUser400Details.d.ts
3455
3576
  /**
3456
3577
  * Generated by orval v8.10.0 🍺
@@ -3551,7 +3672,7 @@ type CreateUser409 = {
3551
3672
  details?: CreateUser409Details;
3552
3673
  };
3553
3674
  //#endregion
3554
- //#region src/generated/model/createUserBodyMetadataStatus.d.ts
3675
+ //#region src/generated/model/createUser500Details.d.ts
3555
3676
  /**
3556
3677
  * Generated by orval v8.10.0 🍺
3557
3678
  * Do not edit manually.
@@ -3560,45 +3681,65 @@ type CreateUser409 = {
3560
3681
  * OpenAPI spec version: 0.0.1
3561
3682
  */
3562
3683
  /**
3563
- * The status of the user.
3684
+ * Additional error-specific context.
3564
3685
  */
3565
- type CreateUserBodyMetadataStatus = (typeof CreateUserBodyMetadataStatus)[keyof typeof CreateUserBodyMetadataStatus];
3566
- declare const CreateUserBodyMetadataStatus: {
3567
- readonly active: "active";
3568
- readonly suspended: "suspended";
3569
- readonly deactivated: "deactivated";
3570
- readonly pending_purge: "pending_purge";
3686
+ type CreateUser500Details = {
3687
+ [key: string]: unknown;
3571
3688
  };
3572
3689
  //#endregion
3573
- //#region src/generated/model/createUserBodyMetadata.d.ts
3574
- type CreateUserBodyMetadata = {
3575
- /** The time when the user was created. */created_at: string; /** The time when the user was last updated. */
3576
- updated_at: string; /** The status of the user. */
3577
- status: CreateUserBodyMetadataStatus;
3578
- /** The team that owns this user's identity lifecycle, or `null` when the
3579
- user is self-owned. This is a single team and a different concept from
3580
- the user's team roster: it decides who may deprovision the user, not
3581
- which teams the user collaborates in. The roster is its own paginated
3582
- resource — `GET /users/{user_id}/teams`.
3583
- */
3584
- lifecycle_owner_team_id?: string | null;
3690
+ //#region src/generated/model/createUser500.d.ts
3691
+ /**
3692
+ * Standard error payload returned for failed API requests.
3693
+ */
3694
+ type CreateUser500 = {
3695
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3696
+ message: string; /** Additional error-specific context. */
3697
+ details?: CreateUser500Details;
3698
+ };
3699
+ //#endregion
3700
+ //#region src/generated/model/createUserBodyAttributes.d.ts
3701
+ /**
3702
+ * Generated by orval v8.10.0 🍺
3703
+ * Do not edit manually.
3704
+ * Zitadel NextGen
3705
+ * This is the next generation of the Zitadel identity platform.
3706
+ * OpenAPI spec version: 0.0.1
3707
+ */
3708
+ /**
3709
+ * The user's schema-defined content. Validated against `schema`; a
3710
+ property the schema does not permit is rejected with `user.invalid`.
3711
+
3712
+ */
3713
+ type CreateUserBodyAttributes = {
3714
+ [key: string]: unknown;
3585
3715
  };
3586
3716
  //#endregion
3587
3717
  //#region src/generated/model/createUserBody.d.ts
3588
3718
  /**
3589
- * A user represents an individual identity in the system. It can be used to
3590
- represent a human user, but also a service account or any other type of
3591
- identity. The content of a user is determined by the configured schema for
3592
- users, this is only a base schema.
3719
+ * `attributes` is the document that must satisfy the user schema named by
3720
+ `schema`.
3593
3721
 
3594
- The server assigns the resource primary key (`id`) on create. Clients must
3595
- not send `id` in the create body; it is returned in the create response.
3722
+ The resource primary key is server-assigned and returned in the response, so
3723
+ the request carries no `id`; `metadata` is server-owned for the same reason.
3724
+ Neither is part of this schema, which is what frees a user schema to declare
3725
+ properties of those names.
3726
+
3727
+ A request carrying any other top-level property is rejected rather than
3728
+ ignored. `attributes` stays open, since the user schema is what determines
3729
+ what belongs in it.
3596
3730
 
3597
3731
  */
3598
3732
  type CreateUserBody = {
3599
- /** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
3600
- metadata?: CreateUserBodyMetadata;
3601
- [key: string]: unknown;
3733
+ /**
3734
+ * The schema that defines the content of `attributes`. These schemas can be
3735
+ created using the `/schemas` endpoint. A default schema is provided.
3736
+ * @minLength 1
3737
+ */
3738
+ schema: string;
3739
+ /** The user's schema-defined content. Validated against `schema`; a
3740
+ property the schema does not permit is rejected with `user.invalid`.
3741
+ */
3742
+ attributes: CreateUserBodyAttributes;
3602
3743
  };
3603
3744
  //#endregion
3604
3745
  //#region src/generated/model/createUserDefault.d.ts
@@ -3623,6 +3764,14 @@ type CreateUserDefault = ({
3623
3764
  details?: {
3624
3765
  [key: string]: unknown;
3625
3766
  };
3767
+ } & {
3768
+ code: "evt.invalid";
3769
+ }) | ({
3770
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3771
+ message: string; /** Additional error-specific context. */
3772
+ details?: {
3773
+ [key: string]: unknown;
3774
+ };
3626
3775
  } & {
3627
3776
  code: "internal";
3628
3777
  }) | ({
@@ -3735,6 +3884,14 @@ type DeleteFlowDefinitionDefault = ({
3735
3884
  details?: {
3736
3885
  [key: string]: unknown;
3737
3886
  };
3887
+ } & {
3888
+ code: "evt.invalid";
3889
+ }) | ({
3890
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
3891
+ message: string; /** Additional error-specific context. */
3892
+ details?: {
3893
+ [key: string]: unknown;
3894
+ };
3738
3895
  } & {
3739
3896
  code: "flowdef.not_found";
3740
3897
  }) | ({
@@ -3779,22 +3936,6 @@ type DeleteFlowDefinitionDefault = ({
3779
3936
  code: "req.invalid";
3780
3937
  });
3781
3938
  //#endregion
3782
- //#region src/generated/model/deleteFlowDefinitionParams.d.ts
3783
- /**
3784
- * Generated by orval v8.10.0 🍺
3785
- * Do not edit manually.
3786
- * Zitadel NextGen
3787
- * This is the next generation of the Zitadel identity platform.
3788
- * OpenAPI spec version: 0.0.1
3789
- */
3790
- type DeleteFlowDefinitionParams = {
3791
- /**
3792
- * The project id to filter by.
3793
- * @pattern ^[a-zA-Z0-9_-]+$
3794
- */
3795
- project_id: string;
3796
- };
3797
- //#endregion
3798
3939
  //#region src/generated/model/deleteTeam400Details.d.ts
3799
3940
  /**
3800
3941
  * Generated by orval v8.10.0 🍺
@@ -3895,22 +4036,6 @@ type DeleteTeamDefault = {
3895
4036
  details?: DeleteTeamDefaultDetails;
3896
4037
  };
3897
4038
  //#endregion
3898
- //#region src/generated/model/deleteTeamParams.d.ts
3899
- /**
3900
- * Generated by orval v8.10.0 🍺
3901
- * Do not edit manually.
3902
- * Zitadel NextGen
3903
- * This is the next generation of the Zitadel identity platform.
3904
- * OpenAPI spec version: 0.0.1
3905
- */
3906
- type DeleteTeamParams = {
3907
- /**
3908
- * The unique identifier of the project
3909
- * @pattern ^[a-zA-Z0-9_-]+$
3910
- */
3911
- project_id: string;
3912
- };
3913
- //#endregion
3914
4039
  //#region src/generated/model/deleteUserByID401Details.d.ts
3915
4040
  /**
3916
4041
  * Generated by orval v8.10.0 🍺
@@ -3983,6 +4108,14 @@ type DeleteUserByIDDefault = ({
3983
4108
  details?: {
3984
4109
  [key: string]: unknown;
3985
4110
  };
4111
+ } & {
4112
+ code: "evt.invalid";
4113
+ }) | ({
4114
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
4115
+ message: string; /** Additional error-specific context. */
4116
+ details?: {
4117
+ [key: string]: unknown;
4118
+ };
3986
4119
  } & {
3987
4120
  code: "internal";
3988
4121
  }) | ({
@@ -4011,22 +4144,6 @@ type DeleteUserByIDDefault = ({
4011
4144
  code: "user.permission_denied";
4012
4145
  });
4013
4146
  //#endregion
4014
- //#region src/generated/model/deleteUserByIDParams.d.ts
4015
- /**
4016
- * Generated by orval v8.10.0 🍺
4017
- * Do not edit manually.
4018
- * Zitadel NextGen
4019
- * This is the next generation of the Zitadel identity platform.
4020
- * OpenAPI spec version: 0.0.1
4021
- */
4022
- type DeleteUserByIDParams = {
4023
- /**
4024
- * The unique identifier of the project
4025
- * @pattern ^[a-zA-Z0-9_-]+$
4026
- */
4027
- project_id: string;
4028
- };
4029
- //#endregion
4030
4147
  //#region src/generated/model/exchangeHandoff200SessionFactorsItemMethod.d.ts
4031
4148
  /**
4032
4149
  * Generated by orval v8.10.0 🍺
@@ -4114,7 +4231,7 @@ type ExchangeHandoff200SessionMetadata = {
4114
4231
  */
4115
4232
  /**
4116
4233
  * Current lifecycle state of the session:
4117
- - `building`: has a user factor but is still gathering authentication factors
4234
+ - `building`: no verified authentication factors yet
4118
4235
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
4119
4236
  - `expired`: TTL elapsed
4120
4237
 
@@ -4161,7 +4278,7 @@ type ExchangeHandoff200Session = {
4161
4278
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
4162
4279
  project_id: string;
4163
4280
  /** Current lifecycle state of the session:
4164
- - `building`: has a user factor but is still gathering authentication factors
4281
+ - `building`: no verified authentication factors yet
4165
4282
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
4166
4283
  - `expired`: TTL elapsed
4167
4284
  */
@@ -4372,6 +4489,14 @@ type ExchangeHandoffDefault = ({
4372
4489
  details?: {
4373
4490
  [key: string]: unknown;
4374
4491
  };
4492
+ } & {
4493
+ code: "evt.invalid";
4494
+ }) | ({
4495
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
4496
+ message: string; /** Additional error-specific context. */
4497
+ details?: {
4498
+ [key: string]: unknown;
4499
+ };
4375
4500
  } & {
4376
4501
  code: "internal";
4377
4502
  }) | ({
@@ -4899,22 +5024,6 @@ type GetBrandingByIdDefault = {
4899
5024
  details?: GetBrandingByIdDefaultDetails;
4900
5025
  };
4901
5026
  //#endregion
4902
- //#region src/generated/model/getBrandingByIdParams.d.ts
4903
- /**
4904
- * Generated by orval v8.10.0 🍺
4905
- * Do not edit manually.
4906
- * Zitadel NextGen
4907
- * This is the next generation of the Zitadel identity platform.
4908
- * OpenAPI spec version: 0.0.1
4909
- */
4910
- type GetBrandingByIdParams = {
4911
- /**
4912
- * The unique identifier of the project
4913
- * @pattern ^[a-zA-Z0-9_-]+$
4914
- */
4915
- project_id: string;
4916
- };
4917
- //#endregion
4918
5027
  //#region src/generated/model/getClaimStatus200.d.ts
4919
5028
  /**
4920
5029
  * Generated by orval v8.10.0 🍺
@@ -5104,27 +5213,7 @@ type GetClaimStatusParams = {
5104
5213
  challenge_id: string;
5105
5214
  };
5106
5215
  //#endregion
5107
- //#region src/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts
5108
- /**
5109
- * Generated by orval v8.10.0 🍺
5110
- * Do not edit manually.
5111
- * Zitadel NextGen
5112
- * This is the next generation of the Zitadel identity platform.
5113
- * OpenAPI spec version: 0.0.1
5114
- */
5115
- /**
5116
- * Scopes which teams or apps this flow definition applies to. Empty or
5117
- omitted fields mean "no restriction"; when both are empty the definition
5118
- matches every request in the project. The engine picks the most specific
5119
- matching definition: app > team > project-wide.
5120
-
5121
- */
5122
- type GetFlowDefinition200FlowDefinitionAudience = {
5123
- /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
5124
- app_ids?: string[];
5125
- };
5126
- //#endregion
5127
- //#region src/generated/model/getFlowDefinition200FlowDefinitionStatus.d.ts
5216
+ //#region src/generated/model/getEvent200.d.ts
5128
5217
  /**
5129
5218
  * Generated by orval v8.10.0 🍺
5130
5219
  * Do not edit manually.
@@ -5133,14 +5222,1093 @@ type GetFlowDefinition200FlowDefinitionAudience = {
5133
5222
  * OpenAPI spec version: 0.0.1
5134
5223
  */
5135
5224
  /**
5136
- * The lifecycle state of this flow definition.
5137
-
5138
- active: The flow definition is ready to be used. The flow engine can select it for new flows.
5139
- draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
5140
-
5141
- Allowed transitions:
5142
- - draft -> active: To activate the flow definition.
5143
- - active -> draft: To remove the flow definition from active use immediately.
5225
+ * Discriminated wide-event union (ADR 048 / ADR 049). Clients select the
5226
+ member via event_type; each member carries a typed payload.
5227
+
5228
+ */
5229
+ type GetEvent200 = ({
5230
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5231
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5232
+ team_id?: string | null;
5233
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5234
+ see docs/design/api/events-catalog.md.
5235
+ */
5236
+ event_type: string; /** Wide-event category. */
5237
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5238
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5239
+ created_at: string; /** Who triggered the event. */
5240
+ actor_id?: string | null; /** Actor kind. */
5241
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5242
+ entity_type?: string | null; /** Resource id affected. */
5243
+ entity_id?: string | null; /** Application or agent that produced the event. */
5244
+ client_id: string; /** Token id present at emit time, when any. */
5245
+ token_id?: string; /** Delegation kind (omit when unset). */
5246
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5247
+ delegation_id?: string;
5248
+ grantor?: string; /** Device fingerprint correlation id. */
5249
+ fingerprint?: string; /** HTTP request correlation id. */
5250
+ request_id?: string | null; /** Session correlation id. */
5251
+ session_id?: string | null; /** Login flow correlation id. */
5252
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5253
+ metadata?: {
5254
+ [key: string]: unknown;
5255
+ };
5256
+ } & {
5257
+ event_type: "auth.attempt.created";
5258
+ /** Empty payload for event types with no typed fields
5259
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
5260
+ */
5261
+ payload: {
5262
+ [key: string]: unknown;
5263
+ };
5264
+ }) | ({
5265
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5266
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5267
+ team_id?: string | null;
5268
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5269
+ see docs/design/api/events-catalog.md.
5270
+ */
5271
+ event_type: string; /** Wide-event category. */
5272
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5273
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5274
+ created_at: string; /** Who triggered the event. */
5275
+ actor_id?: string | null; /** Actor kind. */
5276
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5277
+ entity_type?: string | null; /** Resource id affected. */
5278
+ entity_id?: string | null; /** Application or agent that produced the event. */
5279
+ client_id: string; /** Token id present at emit time, when any. */
5280
+ token_id?: string; /** Delegation kind (omit when unset). */
5281
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5282
+ delegation_id?: string;
5283
+ grantor?: string; /** Device fingerprint correlation id. */
5284
+ fingerprint?: string; /** HTTP request correlation id. */
5285
+ request_id?: string | null; /** Session correlation id. */
5286
+ session_id?: string | null; /** Login flow correlation id. */
5287
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5288
+ metadata?: {
5289
+ [key: string]: unknown;
5290
+ };
5291
+ } & {
5292
+ event_type: "auth.attempt.handed_off";
5293
+ /** Empty payload for event types with no typed fields
5294
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
5295
+ */
5296
+ payload: {
5297
+ [key: string]: unknown;
5298
+ };
5299
+ }) | ({
5300
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5301
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5302
+ team_id?: string | null;
5303
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5304
+ see docs/design/api/events-catalog.md.
5305
+ */
5306
+ event_type: string; /** Wide-event category. */
5307
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5308
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5309
+ created_at: string; /** Who triggered the event. */
5310
+ actor_id?: string | null; /** Actor kind. */
5311
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5312
+ entity_type?: string | null; /** Resource id affected. */
5313
+ entity_id?: string | null; /** Application or agent that produced the event. */
5314
+ client_id: string; /** Token id present at emit time, when any. */
5315
+ token_id?: string; /** Delegation kind (omit when unset). */
5316
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5317
+ delegation_id?: string;
5318
+ grantor?: string; /** Device fingerprint correlation id. */
5319
+ fingerprint?: string; /** HTTP request correlation id. */
5320
+ request_id?: string | null; /** Session correlation id. */
5321
+ session_id?: string | null; /** Login flow correlation id. */
5322
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5323
+ metadata?: {
5324
+ [key: string]: unknown;
5325
+ };
5326
+ } & {
5327
+ event_type: "auth.check.failed";
5328
+ /** Payload for `auth.check.failed` / `auth.check.succeeded`.
5329
+ `auth_attempt_id` joins the check to its attempt for SIEM correlation.
5330
+ */
5331
+ payload: {
5332
+ check_id: string;
5333
+ check_type?: string;
5334
+ auth_attempt_id?: string;
5335
+ };
5336
+ }) | ({
5337
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5338
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5339
+ team_id?: string | null;
5340
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5341
+ see docs/design/api/events-catalog.md.
5342
+ */
5343
+ event_type: string; /** Wide-event category. */
5344
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5345
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5346
+ created_at: string; /** Who triggered the event. */
5347
+ actor_id?: string | null; /** Actor kind. */
5348
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5349
+ entity_type?: string | null; /** Resource id affected. */
5350
+ entity_id?: string | null; /** Application or agent that produced the event. */
5351
+ client_id: string; /** Token id present at emit time, when any. */
5352
+ token_id?: string; /** Delegation kind (omit when unset). */
5353
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5354
+ delegation_id?: string;
5355
+ grantor?: string; /** Device fingerprint correlation id. */
5356
+ fingerprint?: string; /** HTTP request correlation id. */
5357
+ request_id?: string | null; /** Session correlation id. */
5358
+ session_id?: string | null; /** Login flow correlation id. */
5359
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5360
+ metadata?: {
5361
+ [key: string]: unknown;
5362
+ };
5363
+ } & {
5364
+ event_type: "auth.check.succeeded";
5365
+ /** Payload for `auth.check.failed` / `auth.check.succeeded`.
5366
+ `auth_attempt_id` joins the check to its attempt for SIEM correlation.
5367
+ */
5368
+ payload: {
5369
+ check_id: string;
5370
+ check_type?: string;
5371
+ auth_attempt_id?: string;
5372
+ };
5373
+ }) | ({
5374
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5375
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5376
+ team_id?: string | null;
5377
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5378
+ see docs/design/api/events-catalog.md.
5379
+ */
5380
+ event_type: string; /** Wide-event category. */
5381
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5382
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5383
+ created_at: string; /** Who triggered the event. */
5384
+ actor_id?: string | null; /** Actor kind. */
5385
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5386
+ entity_type?: string | null; /** Resource id affected. */
5387
+ entity_id?: string | null; /** Application or agent that produced the event. */
5388
+ client_id: string; /** Token id present at emit time, when any. */
5389
+ token_id?: string; /** Delegation kind (omit when unset). */
5390
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5391
+ delegation_id?: string;
5392
+ grantor?: string; /** Device fingerprint correlation id. */
5393
+ fingerprint?: string; /** HTTP request correlation id. */
5394
+ request_id?: string | null; /** Session correlation id. */
5395
+ session_id?: string | null; /** Login flow correlation id. */
5396
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5397
+ metadata?: {
5398
+ [key: string]: unknown;
5399
+ };
5400
+ } & {
5401
+ event_type: "auth.factor.passkey.enrolled"; /** Payload for `auth.factor.*` events. */
5402
+ payload: {
5403
+ user_id: string;
5404
+ factor_id?: string;
5405
+ };
5406
+ }) | ({
5407
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5408
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5409
+ team_id?: string | null;
5410
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5411
+ see docs/design/api/events-catalog.md.
5412
+ */
5413
+ event_type: string; /** Wide-event category. */
5414
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5415
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5416
+ created_at: string; /** Who triggered the event. */
5417
+ actor_id?: string | null; /** Actor kind. */
5418
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5419
+ entity_type?: string | null; /** Resource id affected. */
5420
+ entity_id?: string | null; /** Application or agent that produced the event. */
5421
+ client_id: string; /** Token id present at emit time, when any. */
5422
+ token_id?: string; /** Delegation kind (omit when unset). */
5423
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5424
+ delegation_id?: string;
5425
+ grantor?: string; /** Device fingerprint correlation id. */
5426
+ fingerprint?: string; /** HTTP request correlation id. */
5427
+ request_id?: string | null; /** Session correlation id. */
5428
+ session_id?: string | null; /** Login flow correlation id. */
5429
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5430
+ metadata?: {
5431
+ [key: string]: unknown;
5432
+ };
5433
+ } & {
5434
+ event_type: "auth.factor.password.set"; /** Payload for `auth.factor.*` events. */
5435
+ payload: {
5436
+ user_id: string;
5437
+ factor_id?: string;
5438
+ };
5439
+ }) | ({
5440
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5441
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5442
+ team_id?: string | null;
5443
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5444
+ see docs/design/api/events-catalog.md.
5445
+ */
5446
+ event_type: string; /** Wide-event category. */
5447
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5448
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5449
+ created_at: string; /** Who triggered the event. */
5450
+ actor_id?: string | null; /** Actor kind. */
5451
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5452
+ entity_type?: string | null; /** Resource id affected. */
5453
+ entity_id?: string | null; /** Application or agent that produced the event. */
5454
+ client_id: string; /** Token id present at emit time, when any. */
5455
+ token_id?: string; /** Delegation kind (omit when unset). */
5456
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5457
+ delegation_id?: string;
5458
+ grantor?: string; /** Device fingerprint correlation id. */
5459
+ fingerprint?: string; /** HTTP request correlation id. */
5460
+ request_id?: string | null; /** Session correlation id. */
5461
+ session_id?: string | null; /** Login flow correlation id. */
5462
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5463
+ metadata?: {
5464
+ [key: string]: unknown;
5465
+ };
5466
+ } & {
5467
+ event_type: "auth.token.issued"; /** Payload for `auth.token.issued` events. */
5468
+ payload: {
5469
+ scopes?: string[];
5470
+ };
5471
+ }) | ({
5472
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5473
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5474
+ team_id?: string | null;
5475
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5476
+ see docs/design/api/events-catalog.md.
5477
+ */
5478
+ event_type: string; /** Wide-event category. */
5479
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5480
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5481
+ created_at: string; /** Who triggered the event. */
5482
+ actor_id?: string | null; /** Actor kind. */
5483
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5484
+ entity_type?: string | null; /** Resource id affected. */
5485
+ entity_id?: string | null; /** Application or agent that produced the event. */
5486
+ client_id: string; /** Token id present at emit time, when any. */
5487
+ token_id?: string; /** Delegation kind (omit when unset). */
5488
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5489
+ delegation_id?: string;
5490
+ grantor?: string; /** Device fingerprint correlation id. */
5491
+ fingerprint?: string; /** HTTP request correlation id. */
5492
+ request_id?: string | null; /** Session correlation id. */
5493
+ session_id?: string | null; /** Login flow correlation id. */
5494
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5495
+ metadata?: {
5496
+ [key: string]: unknown;
5497
+ };
5498
+ } & {
5499
+ event_type: "auth.token.revoked";
5500
+ /** Empty payload for event types with no typed fields
5501
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
5502
+ */
5503
+ payload: {
5504
+ [key: string]: unknown;
5505
+ };
5506
+ }) | ({
5507
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5508
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5509
+ team_id?: string | null;
5510
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5511
+ see docs/design/api/events-catalog.md.
5512
+ */
5513
+ event_type: string; /** Wide-event category. */
5514
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5515
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5516
+ created_at: string; /** Who triggered the event. */
5517
+ actor_id?: string | null; /** Actor kind. */
5518
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5519
+ entity_type?: string | null; /** Resource id affected. */
5520
+ entity_id?: string | null; /** Application or agent that produced the event. */
5521
+ client_id: string; /** Token id present at emit time, when any. */
5522
+ token_id?: string; /** Delegation kind (omit when unset). */
5523
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5524
+ delegation_id?: string;
5525
+ grantor?: string; /** Device fingerprint correlation id. */
5526
+ fingerprint?: string; /** HTTP request correlation id. */
5527
+ request_id?: string | null; /** Session correlation id. */
5528
+ session_id?: string | null; /** Login flow correlation id. */
5529
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5530
+ metadata?: {
5531
+ [key: string]: unknown;
5532
+ };
5533
+ } & {
5534
+ event_type: "authz.granted"; /** Payload for `authz.granted` events. */
5535
+ payload: {
5536
+ principal_type?: string;
5537
+ principal_id?: string;
5538
+ relation?: string;
5539
+ };
5540
+ }) | ({
5541
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5542
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5543
+ team_id?: string | null;
5544
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5545
+ see docs/design/api/events-catalog.md.
5546
+ */
5547
+ event_type: string; /** Wide-event category. */
5548
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5549
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5550
+ created_at: string; /** Who triggered the event. */
5551
+ actor_id?: string | null; /** Actor kind. */
5552
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5553
+ entity_type?: string | null; /** Resource id affected. */
5554
+ entity_id?: string | null; /** Application or agent that produced the event. */
5555
+ client_id: string; /** Token id present at emit time, when any. */
5556
+ token_id?: string; /** Delegation kind (omit when unset). */
5557
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5558
+ delegation_id?: string;
5559
+ grantor?: string; /** Device fingerprint correlation id. */
5560
+ fingerprint?: string; /** HTTP request correlation id. */
5561
+ request_id?: string | null; /** Session correlation id. */
5562
+ session_id?: string | null; /** Login flow correlation id. */
5563
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5564
+ metadata?: {
5565
+ [key: string]: unknown;
5566
+ };
5567
+ } & {
5568
+ event_type: "branding.created";
5569
+ /** Allowlisted fields for `branding.created`. Omits `liquid_template`.
5570
+ */
5571
+ payload: {
5572
+ layout?: string;
5573
+ logo_url?: string;
5574
+ font_url?: string;
5575
+ hero_url?: string;
5576
+ };
5577
+ }) | ({
5578
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5579
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5580
+ team_id?: string | null;
5581
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5582
+ see docs/design/api/events-catalog.md.
5583
+ */
5584
+ event_type: string; /** Wide-event category. */
5585
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5586
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5587
+ created_at: string; /** Who triggered the event. */
5588
+ actor_id?: string | null; /** Actor kind. */
5589
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5590
+ entity_type?: string | null; /** Resource id affected. */
5591
+ entity_id?: string | null; /** Application or agent that produced the event. */
5592
+ client_id: string; /** Token id present at emit time, when any. */
5593
+ token_id?: string; /** Delegation kind (omit when unset). */
5594
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5595
+ delegation_id?: string;
5596
+ grantor?: string; /** Device fingerprint correlation id. */
5597
+ fingerprint?: string; /** HTTP request correlation id. */
5598
+ request_id?: string | null; /** Session correlation id. */
5599
+ session_id?: string | null; /** Login flow correlation id. */
5600
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5601
+ metadata?: {
5602
+ [key: string]: unknown;
5603
+ };
5604
+ } & {
5605
+ event_type: "flowdef.created";
5606
+ /** Shared allowlisted fields for `flowdef.created` (full snapshot) and
5607
+ `flowdef.updated` (delta: only changed fields present). Steps are omitted.
5608
+ */
5609
+ payload: {
5610
+ name?: string;
5611
+ status?: string;
5612
+ user_schema?: string;
5613
+ purposes?: {
5614
+ [key: string]: string;
5615
+ };
5616
+ audience?: {
5617
+ app_ids?: string[];
5618
+ team_ids?: string[];
5619
+ };
5620
+ };
5621
+ }) | ({
5622
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5623
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5624
+ team_id?: string | null;
5625
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5626
+ see docs/design/api/events-catalog.md.
5627
+ */
5628
+ event_type: string; /** Wide-event category. */
5629
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5630
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5631
+ created_at: string; /** Who triggered the event. */
5632
+ actor_id?: string | null; /** Actor kind. */
5633
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5634
+ entity_type?: string | null; /** Resource id affected. */
5635
+ entity_id?: string | null; /** Application or agent that produced the event. */
5636
+ client_id: string; /** Token id present at emit time, when any. */
5637
+ token_id?: string; /** Delegation kind (omit when unset). */
5638
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5639
+ delegation_id?: string;
5640
+ grantor?: string; /** Device fingerprint correlation id. */
5641
+ fingerprint?: string; /** HTTP request correlation id. */
5642
+ request_id?: string | null; /** Session correlation id. */
5643
+ session_id?: string | null; /** Login flow correlation id. */
5644
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5645
+ metadata?: {
5646
+ [key: string]: unknown;
5647
+ };
5648
+ } & {
5649
+ event_type: "flowdef.deleted";
5650
+ /** Empty payload for event types with no typed fields
5651
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
5652
+ */
5653
+ payload: {
5654
+ [key: string]: unknown;
5655
+ };
5656
+ }) | ({
5657
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5658
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5659
+ team_id?: string | null;
5660
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5661
+ see docs/design/api/events-catalog.md.
5662
+ */
5663
+ event_type: string; /** Wide-event category. */
5664
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5665
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5666
+ created_at: string; /** Who triggered the event. */
5667
+ actor_id?: string | null; /** Actor kind. */
5668
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5669
+ entity_type?: string | null; /** Resource id affected. */
5670
+ entity_id?: string | null; /** Application or agent that produced the event. */
5671
+ client_id: string; /** Token id present at emit time, when any. */
5672
+ token_id?: string; /** Delegation kind (omit when unset). */
5673
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5674
+ delegation_id?: string;
5675
+ grantor?: string; /** Device fingerprint correlation id. */
5676
+ fingerprint?: string; /** HTTP request correlation id. */
5677
+ request_id?: string | null; /** Session correlation id. */
5678
+ session_id?: string | null; /** Login flow correlation id. */
5679
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5680
+ metadata?: {
5681
+ [key: string]: unknown;
5682
+ };
5683
+ } & {
5684
+ event_type: "flowdef.updated";
5685
+ /** Shared allowlisted fields for `flowdef.created` (full snapshot) and
5686
+ `flowdef.updated` (delta: only changed fields present). Steps are omitted.
5687
+ */
5688
+ payload: {
5689
+ name?: string;
5690
+ status?: string;
5691
+ user_schema?: string;
5692
+ purposes?: {
5693
+ [key: string]: string;
5694
+ };
5695
+ audience?: {
5696
+ app_ids?: string[];
5697
+ team_ids?: string[];
5698
+ };
5699
+ };
5700
+ }) | ({
5701
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5702
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5703
+ team_id?: string | null;
5704
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5705
+ see docs/design/api/events-catalog.md.
5706
+ */
5707
+ event_type: string; /** Wide-event category. */
5708
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5709
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5710
+ created_at: string; /** Who triggered the event. */
5711
+ actor_id?: string | null; /** Actor kind. */
5712
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5713
+ entity_type?: string | null; /** Resource id affected. */
5714
+ entity_id?: string | null; /** Application or agent that produced the event. */
5715
+ client_id: string; /** Token id present at emit time, when any. */
5716
+ token_id?: string; /** Delegation kind (omit when unset). */
5717
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5718
+ delegation_id?: string;
5719
+ grantor?: string; /** Device fingerprint correlation id. */
5720
+ fingerprint?: string; /** HTTP request correlation id. */
5721
+ request_id?: string | null; /** Session correlation id. */
5722
+ session_id?: string | null; /** Login flow correlation id. */
5723
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5724
+ metadata?: {
5725
+ [key: string]: unknown;
5726
+ };
5727
+ } & {
5728
+ event_type: "project.created";
5729
+ /** Shared allowlisted fields for `project.created` (full snapshot) and
5730
+ `project.updated` (delta: only changed fields present).
5731
+ */
5732
+ payload: {
5733
+ name?: string;
5734
+ preview_origins?: string[];
5735
+ };
5736
+ }) | ({
5737
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5738
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5739
+ team_id?: string | null;
5740
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5741
+ see docs/design/api/events-catalog.md.
5742
+ */
5743
+ event_type: string; /** Wide-event category. */
5744
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5745
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5746
+ created_at: string; /** Who triggered the event. */
5747
+ actor_id?: string | null; /** Actor kind. */
5748
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5749
+ entity_type?: string | null; /** Resource id affected. */
5750
+ entity_id?: string | null; /** Application or agent that produced the event. */
5751
+ client_id: string; /** Token id present at emit time, when any. */
5752
+ token_id?: string; /** Delegation kind (omit when unset). */
5753
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5754
+ delegation_id?: string;
5755
+ grantor?: string; /** Device fingerprint correlation id. */
5756
+ fingerprint?: string; /** HTTP request correlation id. */
5757
+ request_id?: string | null; /** Session correlation id. */
5758
+ session_id?: string | null; /** Login flow correlation id. */
5759
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5760
+ metadata?: {
5761
+ [key: string]: unknown;
5762
+ };
5763
+ } & {
5764
+ event_type: "project.deleted";
5765
+ /** Empty payload for event types with no typed fields
5766
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
5767
+ */
5768
+ payload: {
5769
+ [key: string]: unknown;
5770
+ };
5771
+ }) | ({
5772
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5773
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5774
+ team_id?: string | null;
5775
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5776
+ see docs/design/api/events-catalog.md.
5777
+ */
5778
+ event_type: string; /** Wide-event category. */
5779
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5780
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5781
+ created_at: string; /** Who triggered the event. */
5782
+ actor_id?: string | null; /** Actor kind. */
5783
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5784
+ entity_type?: string | null; /** Resource id affected. */
5785
+ entity_id?: string | null; /** Application or agent that produced the event. */
5786
+ client_id: string; /** Token id present at emit time, when any. */
5787
+ token_id?: string; /** Delegation kind (omit when unset). */
5788
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5789
+ delegation_id?: string;
5790
+ grantor?: string; /** Device fingerprint correlation id. */
5791
+ fingerprint?: string; /** HTTP request correlation id. */
5792
+ request_id?: string | null; /** Session correlation id. */
5793
+ session_id?: string | null; /** Login flow correlation id. */
5794
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5795
+ metadata?: {
5796
+ [key: string]: unknown;
5797
+ };
5798
+ } & {
5799
+ event_type: "project.updated";
5800
+ /** Shared allowlisted fields for `project.created` (full snapshot) and
5801
+ `project.updated` (delta: only changed fields present).
5802
+ */
5803
+ payload: {
5804
+ name?: string;
5805
+ preview_origins?: string[];
5806
+ };
5807
+ }) | ({
5808
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5809
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5810
+ team_id?: string | null;
5811
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5812
+ see docs/design/api/events-catalog.md.
5813
+ */
5814
+ event_type: string; /** Wide-event category. */
5815
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5816
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5817
+ created_at: string; /** Who triggered the event. */
5818
+ actor_id?: string | null; /** Actor kind. */
5819
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5820
+ entity_type?: string | null; /** Resource id affected. */
5821
+ entity_id?: string | null; /** Application or agent that produced the event. */
5822
+ client_id: string; /** Token id present at emit time, when any. */
5823
+ token_id?: string; /** Delegation kind (omit when unset). */
5824
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5825
+ delegation_id?: string;
5826
+ grantor?: string; /** Device fingerprint correlation id. */
5827
+ fingerprint?: string; /** HTTP request correlation id. */
5828
+ request_id?: string | null; /** Session correlation id. */
5829
+ session_id?: string | null; /** Login flow correlation id. */
5830
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5831
+ metadata?: {
5832
+ [key: string]: unknown;
5833
+ };
5834
+ } & {
5835
+ event_type: "request.api"; /** Payload for `request.api` events. */
5836
+ payload: {
5837
+ operation_id: string; /** HTTP method. */
5838
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
5839
+ route_template: string;
5840
+ /**
5841
+ * @minimum 100
5842
+ * @maximum 599
5843
+ */
5844
+ status: number; /** @minimum 0 */
5845
+ duration_ms: number;
5846
+ };
5847
+ }) | ({
5848
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5849
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5850
+ team_id?: string | null;
5851
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5852
+ see docs/design/api/events-catalog.md.
5853
+ */
5854
+ event_type: string; /** Wide-event category. */
5855
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5856
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5857
+ created_at: string; /** Who triggered the event. */
5858
+ actor_id?: string | null; /** Actor kind. */
5859
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5860
+ entity_type?: string | null; /** Resource id affected. */
5861
+ entity_id?: string | null; /** Application or agent that produced the event. */
5862
+ client_id: string; /** Token id present at emit time, when any. */
5863
+ token_id?: string; /** Delegation kind (omit when unset). */
5864
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5865
+ delegation_id?: string;
5866
+ grantor?: string; /** Device fingerprint correlation id. */
5867
+ fingerprint?: string; /** HTTP request correlation id. */
5868
+ request_id?: string | null; /** Session correlation id. */
5869
+ session_id?: string | null; /** Login flow correlation id. */
5870
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5871
+ metadata?: {
5872
+ [key: string]: unknown;
5873
+ };
5874
+ } & {
5875
+ event_type: "schema.created";
5876
+ /** Empty payload for event types with no typed fields
5877
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
5878
+ */
5879
+ payload: {
5880
+ [key: string]: unknown;
5881
+ };
5882
+ }) | ({
5883
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5884
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5885
+ team_id?: string | null;
5886
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5887
+ see docs/design/api/events-catalog.md.
5888
+ */
5889
+ event_type: string; /** Wide-event category. */
5890
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5891
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5892
+ created_at: string; /** Who triggered the event. */
5893
+ actor_id?: string | null; /** Actor kind. */
5894
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5895
+ entity_type?: string | null; /** Resource id affected. */
5896
+ entity_id?: string | null; /** Application or agent that produced the event. */
5897
+ client_id: string; /** Token id present at emit time, when any. */
5898
+ token_id?: string; /** Delegation kind (omit when unset). */
5899
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5900
+ delegation_id?: string;
5901
+ grantor?: string; /** Device fingerprint correlation id. */
5902
+ fingerprint?: string; /** HTTP request correlation id. */
5903
+ request_id?: string | null; /** Session correlation id. */
5904
+ session_id?: string | null; /** Login flow correlation id. */
5905
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5906
+ metadata?: {
5907
+ [key: string]: unknown;
5908
+ };
5909
+ } & {
5910
+ event_type: "session.deleted"; /** Payload for `session.deleted` events. */
5911
+ payload: {
5912
+ reason?: string;
5913
+ };
5914
+ }) | ({
5915
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5916
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5917
+ team_id?: string | null;
5918
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5919
+ see docs/design/api/events-catalog.md.
5920
+ */
5921
+ event_type: string; /** Wide-event category. */
5922
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5923
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5924
+ created_at: string; /** Who triggered the event. */
5925
+ actor_id?: string | null; /** Actor kind. */
5926
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5927
+ entity_type?: string | null; /** Resource id affected. */
5928
+ entity_id?: string | null; /** Application or agent that produced the event. */
5929
+ client_id: string; /** Token id present at emit time, when any. */
5930
+ token_id?: string; /** Delegation kind (omit when unset). */
5931
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5932
+ delegation_id?: string;
5933
+ grantor?: string; /** Device fingerprint correlation id. */
5934
+ fingerprint?: string; /** HTTP request correlation id. */
5935
+ request_id?: string | null; /** Session correlation id. */
5936
+ session_id?: string | null; /** Login flow correlation id. */
5937
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5938
+ metadata?: {
5939
+ [key: string]: unknown;
5940
+ };
5941
+ } & {
5942
+ event_type: "session.established"; /** Payload for `session.established` events. */
5943
+ payload: {
5944
+ user_id?: string;
5945
+ };
5946
+ }) | ({
5947
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5948
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5949
+ team_id?: string | null;
5950
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5951
+ see docs/design/api/events-catalog.md.
5952
+ */
5953
+ event_type: string; /** Wide-event category. */
5954
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5955
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5956
+ created_at: string; /** Who triggered the event. */
5957
+ actor_id?: string | null; /** Actor kind. */
5958
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5959
+ entity_type?: string | null; /** Resource id affected. */
5960
+ entity_id?: string | null; /** Application or agent that produced the event. */
5961
+ client_id: string; /** Token id present at emit time, when any. */
5962
+ token_id?: string; /** Delegation kind (omit when unset). */
5963
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5964
+ delegation_id?: string;
5965
+ grantor?: string; /** Device fingerprint correlation id. */
5966
+ fingerprint?: string; /** HTTP request correlation id. */
5967
+ request_id?: string | null; /** Session correlation id. */
5968
+ session_id?: string | null; /** Login flow correlation id. */
5969
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
5970
+ metadata?: {
5971
+ [key: string]: unknown;
5972
+ };
5973
+ } & {
5974
+ event_type: "team.created";
5975
+ /** Shared allowlisted fields for `team.created` (snapshot) and
5976
+ `team.updated` (delta: only changed fields present).
5977
+ */
5978
+ payload: {
5979
+ name?: string;
5980
+ };
5981
+ }) | ({
5982
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
5983
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
5984
+ team_id?: string | null;
5985
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
5986
+ see docs/design/api/events-catalog.md.
5987
+ */
5988
+ event_type: string; /** Wide-event category. */
5989
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
5990
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
5991
+ created_at: string; /** Who triggered the event. */
5992
+ actor_id?: string | null; /** Actor kind. */
5993
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
5994
+ entity_type?: string | null; /** Resource id affected. */
5995
+ entity_id?: string | null; /** Application or agent that produced the event. */
5996
+ client_id: string; /** Token id present at emit time, when any. */
5997
+ token_id?: string; /** Delegation kind (omit when unset). */
5998
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
5999
+ delegation_id?: string;
6000
+ grantor?: string; /** Device fingerprint correlation id. */
6001
+ fingerprint?: string; /** HTTP request correlation id. */
6002
+ request_id?: string | null; /** Session correlation id. */
6003
+ session_id?: string | null; /** Login flow correlation id. */
6004
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
6005
+ metadata?: {
6006
+ [key: string]: unknown;
6007
+ };
6008
+ } & {
6009
+ event_type: "team.deactivated";
6010
+ /** Empty payload for event types with no typed fields
6011
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
6012
+ */
6013
+ payload: {
6014
+ [key: string]: unknown;
6015
+ };
6016
+ }) | ({
6017
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
6018
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
6019
+ team_id?: string | null;
6020
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
6021
+ see docs/design/api/events-catalog.md.
6022
+ */
6023
+ event_type: string; /** Wide-event category. */
6024
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
6025
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
6026
+ created_at: string; /** Who triggered the event. */
6027
+ actor_id?: string | null; /** Actor kind. */
6028
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
6029
+ entity_type?: string | null; /** Resource id affected. */
6030
+ entity_id?: string | null; /** Application or agent that produced the event. */
6031
+ client_id: string; /** Token id present at emit time, when any. */
6032
+ token_id?: string; /** Delegation kind (omit when unset). */
6033
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
6034
+ delegation_id?: string;
6035
+ grantor?: string; /** Device fingerprint correlation id. */
6036
+ fingerprint?: string; /** HTTP request correlation id. */
6037
+ request_id?: string | null; /** Session correlation id. */
6038
+ session_id?: string | null; /** Login flow correlation id. */
6039
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
6040
+ metadata?: {
6041
+ [key: string]: unknown;
6042
+ };
6043
+ } & {
6044
+ event_type: "team.updated";
6045
+ /** Shared allowlisted fields for `team.created` (snapshot) and
6046
+ `team.updated` (delta: only changed fields present).
6047
+ */
6048
+ payload: {
6049
+ name?: string;
6050
+ };
6051
+ }) | ({
6052
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
6053
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
6054
+ team_id?: string | null;
6055
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
6056
+ see docs/design/api/events-catalog.md.
6057
+ */
6058
+ event_type: string; /** Wide-event category. */
6059
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
6060
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
6061
+ created_at: string; /** Who triggered the event. */
6062
+ actor_id?: string | null; /** Actor kind. */
6063
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
6064
+ entity_type?: string | null; /** Resource id affected. */
6065
+ entity_id?: string | null; /** Application or agent that produced the event. */
6066
+ client_id: string; /** Token id present at emit time, when any. */
6067
+ token_id?: string; /** Delegation kind (omit when unset). */
6068
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
6069
+ delegation_id?: string;
6070
+ grantor?: string; /** Device fingerprint correlation id. */
6071
+ fingerprint?: string; /** HTTP request correlation id. */
6072
+ request_id?: string | null; /** Session correlation id. */
6073
+ session_id?: string | null; /** Login flow correlation id. */
6074
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
6075
+ metadata?: {
6076
+ [key: string]: unknown;
6077
+ };
6078
+ } & {
6079
+ event_type: "user.create.failed"; /** Payload for `user.create.failed` events. */
6080
+ payload: {
6081
+ key_name?: string;
6082
+ };
6083
+ }) | ({
6084
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
6085
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
6086
+ team_id?: string | null;
6087
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
6088
+ see docs/design/api/events-catalog.md.
6089
+ */
6090
+ event_type: string; /** Wide-event category. */
6091
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
6092
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
6093
+ created_at: string; /** Who triggered the event. */
6094
+ actor_id?: string | null; /** Actor kind. */
6095
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
6096
+ entity_type?: string | null; /** Resource id affected. */
6097
+ entity_id?: string | null; /** Application or agent that produced the event. */
6098
+ client_id: string; /** Token id present at emit time, when any. */
6099
+ token_id?: string; /** Delegation kind (omit when unset). */
6100
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
6101
+ delegation_id?: string;
6102
+ grantor?: string; /** Device fingerprint correlation id. */
6103
+ fingerprint?: string; /** HTTP request correlation id. */
6104
+ request_id?: string | null; /** Session correlation id. */
6105
+ session_id?: string | null; /** Login flow correlation id. */
6106
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
6107
+ metadata?: {
6108
+ [key: string]: unknown;
6109
+ };
6110
+ } & {
6111
+ event_type: "user.created";
6112
+ /** Payload for `user.created`. Identity is `entity_id`; attribute values
6113
+ appear only for schema fields marked `x-audit`.
6114
+ */
6115
+ payload: {
6116
+ schema_id?: string;
6117
+ attribute_keys?: string[];
6118
+ attributes?: {
6119
+ [key: string]: unknown;
6120
+ };
6121
+ };
6122
+ }) | ({
6123
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
6124
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
6125
+ team_id?: string | null;
6126
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
6127
+ see docs/design/api/events-catalog.md.
6128
+ */
6129
+ event_type: string; /** Wide-event category. */
6130
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
6131
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
6132
+ created_at: string; /** Who triggered the event. */
6133
+ actor_id?: string | null; /** Actor kind. */
6134
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
6135
+ entity_type?: string | null; /** Resource id affected. */
6136
+ entity_id?: string | null; /** Application or agent that produced the event. */
6137
+ client_id: string; /** Token id present at emit time, when any. */
6138
+ token_id?: string; /** Delegation kind (omit when unset). */
6139
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
6140
+ delegation_id?: string;
6141
+ grantor?: string; /** Device fingerprint correlation id. */
6142
+ fingerprint?: string; /** HTTP request correlation id. */
6143
+ request_id?: string | null; /** Session correlation id. */
6144
+ session_id?: string | null; /** Login flow correlation id. */
6145
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
6146
+ metadata?: {
6147
+ [key: string]: unknown;
6148
+ };
6149
+ } & {
6150
+ event_type: "user.deleted";
6151
+ /** Empty payload for event types with no typed fields
6152
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
6153
+ */
6154
+ payload: {
6155
+ [key: string]: unknown;
6156
+ };
6157
+ });
6158
+ //#endregion
6159
+ //#region src/generated/model/getEvent401Details.d.ts
6160
+ /**
6161
+ * Generated by orval v8.10.0 🍺
6162
+ * Do not edit manually.
6163
+ * Zitadel NextGen
6164
+ * This is the next generation of the Zitadel identity platform.
6165
+ * OpenAPI spec version: 0.0.1
6166
+ */
6167
+ /**
6168
+ * Additional error-specific context.
6169
+ */
6170
+ type GetEvent401Details = {
6171
+ [key: string]: unknown;
6172
+ };
6173
+ //#endregion
6174
+ //#region src/generated/model/getEvent401.d.ts
6175
+ /**
6176
+ * Standard error payload returned for failed API requests.
6177
+ */
6178
+ type GetEvent401 = {
6179
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6180
+ message: string; /** Additional error-specific context. */
6181
+ details?: GetEvent401Details;
6182
+ };
6183
+ //#endregion
6184
+ //#region src/generated/model/getEvent403Details.d.ts
6185
+ /**
6186
+ * Generated by orval v8.10.0 🍺
6187
+ * Do not edit manually.
6188
+ * Zitadel NextGen
6189
+ * This is the next generation of the Zitadel identity platform.
6190
+ * OpenAPI spec version: 0.0.1
6191
+ */
6192
+ /**
6193
+ * Additional error-specific context.
6194
+ */
6195
+ type GetEvent403Details = {
6196
+ [key: string]: unknown;
6197
+ };
6198
+ //#endregion
6199
+ //#region src/generated/model/getEvent403.d.ts
6200
+ /**
6201
+ * Standard error payload returned for failed API requests.
6202
+ */
6203
+ type GetEvent403 = {
6204
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6205
+ message: string; /** Additional error-specific context. */
6206
+ details?: GetEvent403Details;
6207
+ };
6208
+ //#endregion
6209
+ //#region src/generated/model/getEvent404Details.d.ts
6210
+ /**
6211
+ * Generated by orval v8.10.0 🍺
6212
+ * Do not edit manually.
6213
+ * Zitadel NextGen
6214
+ * This is the next generation of the Zitadel identity platform.
6215
+ * OpenAPI spec version: 0.0.1
6216
+ */
6217
+ /**
6218
+ * Additional error-specific context.
6219
+ */
6220
+ type GetEvent404Details = {
6221
+ [key: string]: unknown;
6222
+ };
6223
+ //#endregion
6224
+ //#region src/generated/model/getEvent404.d.ts
6225
+ /**
6226
+ * Standard error payload returned for failed API requests.
6227
+ */
6228
+ type GetEvent404 = {
6229
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6230
+ message: string; /** Additional error-specific context. */
6231
+ details?: GetEvent404Details;
6232
+ };
6233
+ //#endregion
6234
+ //#region src/generated/model/getEventDefaultDetails.d.ts
6235
+ /**
6236
+ * Generated by orval v8.10.0 🍺
6237
+ * Do not edit manually.
6238
+ * Zitadel NextGen
6239
+ * This is the next generation of the Zitadel identity platform.
6240
+ * OpenAPI spec version: 0.0.1
6241
+ */
6242
+ /**
6243
+ * Additional error-specific context.
6244
+ */
6245
+ type GetEventDefaultDetails = {
6246
+ [key: string]: unknown;
6247
+ };
6248
+ //#endregion
6249
+ //#region src/generated/model/getEventDefault.d.ts
6250
+ /**
6251
+ * Standard error payload returned for failed API requests.
6252
+ */
6253
+ type GetEventDefault = {
6254
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
6255
+ message: string; /** Additional error-specific context. */
6256
+ details?: GetEventDefaultDetails;
6257
+ };
6258
+ //#endregion
6259
+ //#region src/generated/model/getEventParams.d.ts
6260
+ /**
6261
+ * Generated by orval v8.10.0 🍺
6262
+ * Do not edit manually.
6263
+ * Zitadel NextGen
6264
+ * This is the next generation of the Zitadel identity platform.
6265
+ * OpenAPI spec version: 0.0.1
6266
+ */
6267
+ type GetEventParams = {
6268
+ /**
6269
+ * The unique identifier of the project
6270
+ * @pattern ^[a-zA-Z0-9_-]+$
6271
+ */
6272
+ project_id: string;
6273
+ };
6274
+ //#endregion
6275
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionAudience.d.ts
6276
+ /**
6277
+ * Generated by orval v8.10.0 🍺
6278
+ * Do not edit manually.
6279
+ * Zitadel NextGen
6280
+ * This is the next generation of the Zitadel identity platform.
6281
+ * OpenAPI spec version: 0.0.1
6282
+ */
6283
+ /**
6284
+ * Scopes which teams or apps this flow definition applies to. Empty or
6285
+ omitted fields mean "no restriction"; when both are empty the definition
6286
+ matches every request in the project. The engine picks the most specific
6287
+ matching definition: app > team > project-wide.
6288
+
6289
+ */
6290
+ type GetFlowDefinition200FlowDefinitionAudience = {
6291
+ /** Restrict to specific teams (organizations). Empty means no team restriction. */team_ids?: string[]; /** Restrict to specific applications. Empty means no app restriction. */
6292
+ app_ids?: string[];
6293
+ };
6294
+ //#endregion
6295
+ //#region src/generated/model/getFlowDefinition200FlowDefinitionStatus.d.ts
6296
+ /**
6297
+ * Generated by orval v8.10.0 🍺
6298
+ * Do not edit manually.
6299
+ * Zitadel NextGen
6300
+ * This is the next generation of the Zitadel identity platform.
6301
+ * OpenAPI spec version: 0.0.1
6302
+ */
6303
+ /**
6304
+ * The lifecycle state of this flow definition.
6305
+
6306
+ active: The flow definition is ready to be used. The flow engine can select it for new flows.
6307
+ draft: The engine will not select it for new flows, and existing flows must handle it gracefully if they reference this definition.
6308
+
6309
+ Allowed transitions:
6310
+ - draft -> active: To activate the flow definition.
6311
+ - active -> draft: To remove the flow definition from active use immediately.
5144
6312
 
5145
6313
  */
5146
6314
  type GetFlowDefinition200FlowDefinitionStatus = (typeof GetFlowDefinition200FlowDefinitionStatus)[keyof typeof GetFlowDefinition200FlowDefinitionStatus];
@@ -5366,6 +6534,17 @@ type GetFlowDefinition200FlowDefinitionStepsItemTransitions = {
5366
6534
  Example: login → recovery → back to login.
5367
6535
  */
5368
6536
  action?: "switch" | "pivot" | null;
6537
+ /** Local re-purposing. When set, taking this transition changes the
6538
+ flow's current purpose to this value — the dispatch mode a step's
6539
+ challenges run under — while the flow's original purpose stays
6540
+ pinned. Must be a purpose this definition serves, and `target`
6541
+ must be that purpose's entry step. Mutually exclusive with
6542
+ `action`: a transition either re-purposes within this flow or
6543
+ targets another flow, never both.
6544
+ Example: a "Sign up" navigation on the login identifier step
6545
+ (`{ target: register, purpose: register }`).
6546
+ */
6547
+ purpose?: "login" | "register" | "recovery" | "profiling" | "reauth" | "link_account" | null;
5369
6548
  };
5370
6549
  };
5371
6550
  //#endregion
@@ -5564,22 +6743,6 @@ type GetFlowDefinitionDefault = ({
5564
6743
  code: "req.invalid";
5565
6744
  });
5566
6745
  //#endregion
5567
- //#region src/generated/model/getFlowDefinitionParams.d.ts
5568
- /**
5569
- * Generated by orval v8.10.0 🍺
5570
- * Do not edit manually.
5571
- * Zitadel NextGen
5572
- * This is the next generation of the Zitadel identity platform.
5573
- * OpenAPI spec version: 0.0.1
5574
- */
5575
- type GetFlowDefinitionParams = {
5576
- /**
5577
- * The project id to filter by.
5578
- * @pattern ^[a-zA-Z0-9_-]+$
5579
- */
5580
- project_id: string;
5581
- };
5582
- //#endregion
5583
6746
  //#region src/generated/model/getFlowStep200BrandingLayout.d.ts
5584
6747
  /**
5585
6748
  * Generated by orval v8.10.0 🍺
@@ -6438,7 +7601,7 @@ type GetMySession200Metadata = {
6438
7601
  */
6439
7602
  /**
6440
7603
  * Current lifecycle state of the session:
6441
- - `building`: has a user factor but is still gathering authentication factors
7604
+ - `building`: no verified authentication factors yet
6442
7605
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
6443
7606
  - `expired`: TTL elapsed
6444
7607
 
@@ -6485,7 +7648,7 @@ type GetMySession200 = {
6485
7648
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
6486
7649
  project_id: string;
6487
7650
  /** Current lifecycle state of the session:
6488
- - `building`: has a user factor but is still gathering authentication factors
7651
+ - `building`: no verified authentication factors yet
6489
7652
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
6490
7653
  - `expired`: TTL elapsed
6491
7654
  */
@@ -6622,6 +7785,23 @@ type GetMySessionDefault = ({
6622
7785
  code: "sess.not_found";
6623
7786
  });
6624
7787
  //#endregion
7788
+ //#region src/generated/model/getMyUser200Attributes.d.ts
7789
+ /**
7790
+ * Generated by orval v8.10.0 🍺
7791
+ * Do not edit manually.
7792
+ * Zitadel NextGen
7793
+ * This is the next generation of the Zitadel identity platform.
7794
+ * OpenAPI spec version: 0.0.1
7795
+ */
7796
+ /**
7797
+ * The user's content, satisfying the schema named by `schema`. Property
7798
+ names and types are determined entirely by that schema.
7799
+
7800
+ */
7801
+ type GetMyUser200Attributes = {
7802
+ [key: string]: unknown;
7803
+ };
7804
+ //#endregion
6625
7805
  //#region src/generated/model/getMyUser200MetadataStatus.d.ts
6626
7806
  /**
6627
7807
  * Generated by orval v8.10.0 🍺
@@ -6659,17 +7839,29 @@ type GetMyUser200Metadata = {
6659
7839
  /**
6660
7840
  * A user represents an individual identity in the system. It can be used to
6661
7841
  represent a human user, but also a service account or any other type of
6662
- identity. The content of a user is determined by the configured schema for
6663
- users, this is only a base schema.
7842
+ identity.
6664
7843
 
6665
- The server assigns the resource primary key (`id`) on create. Clients must
6666
- not send `id` in the create body; it is returned in the create response.
7844
+ `attributes` is the document that satisfies the user schema named by
7845
+ `schema`: its property names and types are defined entirely by that schema,
7846
+ and it is what the schema validates. The rest of the object — `id`,
7847
+ `schema`, `metadata` — is the server-owned envelope. Keeping the two apart
7848
+ means a schema may name a property `id` or `metadata` without colliding with
7849
+ the envelope, and closed-world keywords (`additionalProperties: false`,
7850
+ `propertyNames`, `unevaluatedProperties`) behave as their author expects.
6667
7851
 
6668
7852
  */
6669
7853
  type GetMyUser200 = {
6670
- /** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
6671
- metadata?: GetMyUser200Metadata;
6672
- [key: string]: unknown;
7854
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */id: string;
7855
+ /** The schema that defines the content of `attributes`. These schemas can be
7856
+ created using the `/schemas` endpoint. A default schema is provided.
7857
+ This schema can be retrieved using the same endpoint.
7858
+ */
7859
+ schema: string;
7860
+ /** The user's content, satisfying the schema named by `schema`. Property
7861
+ names and types are determined entirely by that schema.
7862
+ */
7863
+ attributes: GetMyUser200Attributes;
7864
+ metadata: GetMyUser200Metadata;
6673
7865
  };
6674
7866
  //#endregion
6675
7867
  //#region src/generated/model/getMyUser401Details.d.ts
@@ -6977,43 +8169,18 @@ type GetSchemaById200 = {
6977
8169
  "x-auth-methods": {
6978
8170
  password?: {
6979
8171
  /** Whether the authentication method is enabled or not */enabled: boolean;
6980
- /**
6981
- * The position of the authentication method in the list of supported methods
6982
- * @minimum 0
6983
- */
6984
- position: number;
6985
8172
  };
6986
8173
  passkey?: {
6987
8174
  /** Whether the authentication method is enabled or not */enabled: boolean;
6988
- /**
6989
- * The position of the authentication method in the list of supported methods
6990
- * @minimum 0
6991
- */
6992
- position: number;
6993
8175
  };
6994
8176
  magic_link?: {
6995
8177
  /** Whether the authentication method is enabled or not */enabled: boolean;
6996
- /**
6997
- * The position of the authentication method in the list of supported methods
6998
- * @minimum 0
6999
- */
7000
- position: number;
7001
8178
  };
7002
8179
  sso?: {
7003
8180
  /** Whether the authentication method is enabled or not */enabled: boolean;
7004
- /**
7005
- * The position of the authentication method in the list of supported methods
7006
- * @minimum 0
7007
- */
7008
- position: number;
7009
8181
  };
7010
8182
  otp?: {
7011
8183
  /** Whether the authentication method is enabled or not */enabled: boolean;
7012
- /**
7013
- * The position of the authentication method in the list of supported methods
7014
- * @minimum 0
7015
- */
7016
- position: number;
7017
8184
  };
7018
8185
  };
7019
8186
  /** A map of additional properties for the user definition, where the
@@ -7021,14 +8188,13 @@ type GetSchemaById200 = {
7021
8188
  */
7022
8189
  properties?: {
7023
8190
  [key: string]: {
7024
- /** The verification method for this property, if applicable */"x-verify"?: string | null; /** The level of uniqueness for this property, if applicable */
7025
- "x-unique"?: "unspecified" | "project" | "team" | null; /** The claim name for this property, if applicable */
7026
- "x-claim"?: string | null; /** Whether this property is editable by the user or not */
7027
- "x-editable"?: boolean; /** Whether this property contains sensitive information or not */
7028
- "x-sensitive"?: boolean;
7029
- /** Whether this property is used for multi-factor authentication or not
7030
- */
7031
- "x-mfa"?: boolean;
8191
+ /** The level of uniqueness for this property, if applicable */"x-unique"?: "unspecified" | "project" | "team" | null; /** The claim name for this property, if applicable */
8192
+ "x-claim"?: string | null;
8193
+ /** Whether this property's value may appear in audit event payloads. Audit
8194
+ payloads are deny-by-default: a property without this annotation
8195
+ contributes its key but never its value.
8196
+ */
8197
+ "x-audit"?: boolean;
7032
8198
  /** A map of additional properties for the user definition, where the key is
7033
8199
  the property name and the value is the property schema.
7034
8200
  */
@@ -7125,11 +8291,6 @@ type GetSchemaByIdDefault = {
7125
8291
  * OpenAPI spec version: 0.0.1
7126
8292
  */
7127
8293
  type GetSchemaByIdParams = {
7128
- /**
7129
- * The unique identifier of the project
7130
- * @pattern ^[a-zA-Z0-9_-]+$
7131
- */
7132
- project_id: string;
7133
8294
  /**
7134
8295
  * The unique identifier of the team
7135
8296
  * @pattern ^[a-zA-Z0-9_-]+$
@@ -7224,7 +8385,7 @@ type GetSession200Metadata = {
7224
8385
  */
7225
8386
  /**
7226
8387
  * Current lifecycle state of the session:
7227
- - `building`: has a user factor but is still gathering authentication factors
8388
+ - `building`: no verified authentication factors yet
7228
8389
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
7229
8390
  - `expired`: TTL elapsed
7230
8391
 
@@ -7271,7 +8432,7 @@ type GetSession200 = {
7271
8432
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
7272
8433
  project_id: string;
7273
8434
  /** Current lifecycle state of the session:
7274
- - `building`: has a user factor but is still gathering authentication factors
8435
+ - `building`: no verified authentication factors yet
7275
8436
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
7276
8437
  - `expired`: TTL elapsed
7277
8438
  */
@@ -7443,22 +8604,6 @@ type GetSessionDefault = ({
7443
8604
  code: "sess.permission_denied";
7444
8605
  });
7445
8606
  //#endregion
7446
- //#region src/generated/model/getSessionParams.d.ts
7447
- /**
7448
- * Generated by orval v8.10.0 🍺
7449
- * Do not edit manually.
7450
- * Zitadel NextGen
7451
- * This is the next generation of the Zitadel identity platform.
7452
- * OpenAPI spec version: 0.0.1
7453
- */
7454
- type GetSessionParams = {
7455
- /**
7456
- * The unique identifier of the project
7457
- * @pattern ^[a-zA-Z0-9_-]+$
7458
- */
7459
- project_id: string;
7460
- };
7461
- //#endregion
7462
8607
  //#region src/generated/model/getTeam200Status.d.ts
7463
8608
  /**
7464
8609
  * Generated by orval v8.10.0 🍺
@@ -7571,7 +8716,7 @@ type GetTeamDefault = {
7571
8716
  details?: GetTeamDefaultDetails;
7572
8717
  };
7573
8718
  //#endregion
7574
- //#region src/generated/model/getTeamParams.d.ts
8719
+ //#region src/generated/model/getUserByID200Attributes.d.ts
7575
8720
  /**
7576
8721
  * Generated by orval v8.10.0 🍺
7577
8722
  * Do not edit manually.
@@ -7579,12 +8724,13 @@ type GetTeamDefault = {
7579
8724
  * This is the next generation of the Zitadel identity platform.
7580
8725
  * OpenAPI spec version: 0.0.1
7581
8726
  */
7582
- type GetTeamParams = {
7583
- /**
7584
- * The unique identifier of the project
7585
- * @pattern ^[a-zA-Z0-9_-]+$
7586
- */
7587
- project_id: string;
8727
+ /**
8728
+ * The user's content, satisfying the schema named by `schema`. Property
8729
+ names and types are determined entirely by that schema.
8730
+
8731
+ */
8732
+ type GetUserByID200Attributes = {
8733
+ [key: string]: unknown;
7588
8734
  };
7589
8735
  //#endregion
7590
8736
  //#region src/generated/model/getUserByID200MetadataStatus.d.ts
@@ -7624,17 +8770,29 @@ type GetUserByID200Metadata = {
7624
8770
  /**
7625
8771
  * A user represents an individual identity in the system. It can be used to
7626
8772
  represent a human user, but also a service account or any other type of
7627
- identity. The content of a user is determined by the configured schema for
7628
- users, this is only a base schema.
8773
+ identity.
7629
8774
 
7630
- The server assigns the resource primary key (`id`) on create. Clients must
7631
- not send `id` in the create body; it is returned in the create response.
8775
+ `attributes` is the document that satisfies the user schema named by
8776
+ `schema`: its property names and types are defined entirely by that schema,
8777
+ and it is what the schema validates. The rest of the object — `id`,
8778
+ `schema`, `metadata` — is the server-owned envelope. Keeping the two apart
8779
+ means a schema may name a property `id` or `metadata` without colliding with
8780
+ the envelope, and closed-world keywords (`additionalProperties: false`,
8781
+ `propertyNames`, `unevaluatedProperties`) behave as their author expects.
7632
8782
 
7633
8783
  */
7634
8784
  type GetUserByID200 = {
7635
- /** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
7636
- metadata?: GetUserByID200Metadata;
7637
- [key: string]: unknown;
8785
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */id: string;
8786
+ /** The schema that defines the content of `attributes`. These schemas can be
8787
+ created using the `/schemas` endpoint. A default schema is provided.
8788
+ This schema can be retrieved using the same endpoint.
8789
+ */
8790
+ schema: string;
8791
+ /** The user's content, satisfying the schema named by `schema`. Property
8792
+ names and types are determined entirely by that schema.
8793
+ */
8794
+ attributes: GetUserByID200Attributes;
8795
+ metadata: GetUserByID200Metadata;
7638
8796
  };
7639
8797
  //#endregion
7640
8798
  //#region src/generated/model/getUserByID401Details.d.ts
@@ -7746,11 +8904,6 @@ type GetUserByIDDefault = ({
7746
8904
  * OpenAPI spec version: 0.0.1
7747
8905
  */
7748
8906
  type GetUserByIDParams = {
7749
- /**
7750
- * The unique identifier of the project
7751
- * @pattern ^[a-zA-Z0-9_-]+$
7752
- */
7753
- project_id: string;
7754
8907
  /**
7755
8908
  * The unique identifier of the team
7756
8909
  * @pattern ^[a-zA-Z0-9_-]+$
@@ -8100,22 +9253,1106 @@ type IssueChallengeDefault = ({
8100
9253
  }) | ({
8101
9254
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
8102
9255
  message: string; /** Additional error-specific context. */
8103
- details?: {
8104
- [key: string]: unknown;
8105
- };
8106
- } & {
8107
- code: "internal";
8108
- }) | ({
9256
+ details?: {
9257
+ [key: string]: unknown;
9258
+ };
9259
+ } & {
9260
+ code: "internal";
9261
+ }) | ({
9262
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
9263
+ message: string; /** Additional error-specific context. */
9264
+ details?: {
9265
+ [key: string]: unknown;
9266
+ };
9267
+ } & {
9268
+ code: "req.invalid";
9269
+ });
9270
+ //#endregion
9271
+ //#region src/generated/model/listBranding200Item.d.ts
9272
+ /**
9273
+ * Generated by orval v8.10.0 🍺
9274
+ * Do not edit manually.
9275
+ * Zitadel NextGen
9276
+ * This is the next generation of the Zitadel identity platform.
9277
+ * OpenAPI spec version: 0.0.1
9278
+ */
9279
+ type ListBranding200Item = {
9280
+ /** The unique identifier of this branding revision. */id: string; /** When this revision was published. */
9281
+ created_at: string;
9282
+ };
9283
+ //#endregion
9284
+ //#region src/generated/model/listBrandingDefaultDetails.d.ts
9285
+ /**
9286
+ * Generated by orval v8.10.0 🍺
9287
+ * Do not edit manually.
9288
+ * Zitadel NextGen
9289
+ * This is the next generation of the Zitadel identity platform.
9290
+ * OpenAPI spec version: 0.0.1
9291
+ */
9292
+ /**
9293
+ * Additional error-specific context.
9294
+ */
9295
+ type ListBrandingDefaultDetails = {
9296
+ [key: string]: unknown;
9297
+ };
9298
+ //#endregion
9299
+ //#region src/generated/model/listBrandingDefault.d.ts
9300
+ /**
9301
+ * Standard error payload returned for failed API requests.
9302
+ */
9303
+ type ListBrandingDefault = {
9304
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
9305
+ message: string; /** Additional error-specific context. */
9306
+ details?: ListBrandingDefaultDetails;
9307
+ };
9308
+ //#endregion
9309
+ //#region src/generated/model/listBrandingParams.d.ts
9310
+ /**
9311
+ * Generated by orval v8.10.0 🍺
9312
+ * Do not edit manually.
9313
+ * Zitadel NextGen
9314
+ * This is the next generation of the Zitadel identity platform.
9315
+ * OpenAPI spec version: 0.0.1
9316
+ */
9317
+ type ListBrandingParams = {
9318
+ /**
9319
+ * The unique identifier of the project
9320
+ * @pattern ^[a-zA-Z0-9_-]+$
9321
+ */
9322
+ project_id: string;
9323
+ };
9324
+ //#endregion
9325
+ //#region src/generated/model/listEvents200DataItem.d.ts
9326
+ /**
9327
+ * Generated by orval v8.10.0 🍺
9328
+ * Do not edit manually.
9329
+ * Zitadel NextGen
9330
+ * This is the next generation of the Zitadel identity platform.
9331
+ * OpenAPI spec version: 0.0.1
9332
+ */
9333
+ /**
9334
+ * Discriminated wide-event union (ADR 048 / ADR 049). Clients select the
9335
+ member via event_type; each member carries a typed payload.
9336
+
9337
+ */
9338
+ type ListEvents200DataItem = ({
9339
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9340
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9341
+ team_id?: string | null;
9342
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9343
+ see docs/design/api/events-catalog.md.
9344
+ */
9345
+ event_type: string; /** Wide-event category. */
9346
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9347
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9348
+ created_at: string; /** Who triggered the event. */
9349
+ actor_id?: string | null; /** Actor kind. */
9350
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9351
+ entity_type?: string | null; /** Resource id affected. */
9352
+ entity_id?: string | null; /** Application or agent that produced the event. */
9353
+ client_id: string; /** Token id present at emit time, when any. */
9354
+ token_id?: string; /** Delegation kind (omit when unset). */
9355
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9356
+ delegation_id?: string;
9357
+ grantor?: string; /** Device fingerprint correlation id. */
9358
+ fingerprint?: string; /** HTTP request correlation id. */
9359
+ request_id?: string | null; /** Session correlation id. */
9360
+ session_id?: string | null; /** Login flow correlation id. */
9361
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9362
+ metadata?: {
9363
+ [key: string]: unknown;
9364
+ };
9365
+ } & {
9366
+ event_type: "auth.attempt.created";
9367
+ /** Empty payload for event types with no typed fields
9368
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
9369
+ */
9370
+ payload: {
9371
+ [key: string]: unknown;
9372
+ };
9373
+ }) | ({
9374
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9375
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9376
+ team_id?: string | null;
9377
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9378
+ see docs/design/api/events-catalog.md.
9379
+ */
9380
+ event_type: string; /** Wide-event category. */
9381
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9382
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9383
+ created_at: string; /** Who triggered the event. */
9384
+ actor_id?: string | null; /** Actor kind. */
9385
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9386
+ entity_type?: string | null; /** Resource id affected. */
9387
+ entity_id?: string | null; /** Application or agent that produced the event. */
9388
+ client_id: string; /** Token id present at emit time, when any. */
9389
+ token_id?: string; /** Delegation kind (omit when unset). */
9390
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9391
+ delegation_id?: string;
9392
+ grantor?: string; /** Device fingerprint correlation id. */
9393
+ fingerprint?: string; /** HTTP request correlation id. */
9394
+ request_id?: string | null; /** Session correlation id. */
9395
+ session_id?: string | null; /** Login flow correlation id. */
9396
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9397
+ metadata?: {
9398
+ [key: string]: unknown;
9399
+ };
9400
+ } & {
9401
+ event_type: "auth.attempt.handed_off";
9402
+ /** Empty payload for event types with no typed fields
9403
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
9404
+ */
9405
+ payload: {
9406
+ [key: string]: unknown;
9407
+ };
9408
+ }) | ({
9409
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9410
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9411
+ team_id?: string | null;
9412
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9413
+ see docs/design/api/events-catalog.md.
9414
+ */
9415
+ event_type: string; /** Wide-event category. */
9416
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9417
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9418
+ created_at: string; /** Who triggered the event. */
9419
+ actor_id?: string | null; /** Actor kind. */
9420
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9421
+ entity_type?: string | null; /** Resource id affected. */
9422
+ entity_id?: string | null; /** Application or agent that produced the event. */
9423
+ client_id: string; /** Token id present at emit time, when any. */
9424
+ token_id?: string; /** Delegation kind (omit when unset). */
9425
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9426
+ delegation_id?: string;
9427
+ grantor?: string; /** Device fingerprint correlation id. */
9428
+ fingerprint?: string; /** HTTP request correlation id. */
9429
+ request_id?: string | null; /** Session correlation id. */
9430
+ session_id?: string | null; /** Login flow correlation id. */
9431
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9432
+ metadata?: {
9433
+ [key: string]: unknown;
9434
+ };
9435
+ } & {
9436
+ event_type: "auth.check.failed";
9437
+ /** Payload for `auth.check.failed` / `auth.check.succeeded`.
9438
+ `auth_attempt_id` joins the check to its attempt for SIEM correlation.
9439
+ */
9440
+ payload: {
9441
+ check_id: string;
9442
+ check_type?: string;
9443
+ auth_attempt_id?: string;
9444
+ };
9445
+ }) | ({
9446
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9447
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9448
+ team_id?: string | null;
9449
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9450
+ see docs/design/api/events-catalog.md.
9451
+ */
9452
+ event_type: string; /** Wide-event category. */
9453
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9454
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9455
+ created_at: string; /** Who triggered the event. */
9456
+ actor_id?: string | null; /** Actor kind. */
9457
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9458
+ entity_type?: string | null; /** Resource id affected. */
9459
+ entity_id?: string | null; /** Application or agent that produced the event. */
9460
+ client_id: string; /** Token id present at emit time, when any. */
9461
+ token_id?: string; /** Delegation kind (omit when unset). */
9462
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9463
+ delegation_id?: string;
9464
+ grantor?: string; /** Device fingerprint correlation id. */
9465
+ fingerprint?: string; /** HTTP request correlation id. */
9466
+ request_id?: string | null; /** Session correlation id. */
9467
+ session_id?: string | null; /** Login flow correlation id. */
9468
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9469
+ metadata?: {
9470
+ [key: string]: unknown;
9471
+ };
9472
+ } & {
9473
+ event_type: "auth.check.succeeded";
9474
+ /** Payload for `auth.check.failed` / `auth.check.succeeded`.
9475
+ `auth_attempt_id` joins the check to its attempt for SIEM correlation.
9476
+ */
9477
+ payload: {
9478
+ check_id: string;
9479
+ check_type?: string;
9480
+ auth_attempt_id?: string;
9481
+ };
9482
+ }) | ({
9483
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9484
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9485
+ team_id?: string | null;
9486
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9487
+ see docs/design/api/events-catalog.md.
9488
+ */
9489
+ event_type: string; /** Wide-event category. */
9490
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9491
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9492
+ created_at: string; /** Who triggered the event. */
9493
+ actor_id?: string | null; /** Actor kind. */
9494
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9495
+ entity_type?: string | null; /** Resource id affected. */
9496
+ entity_id?: string | null; /** Application or agent that produced the event. */
9497
+ client_id: string; /** Token id present at emit time, when any. */
9498
+ token_id?: string; /** Delegation kind (omit when unset). */
9499
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9500
+ delegation_id?: string;
9501
+ grantor?: string; /** Device fingerprint correlation id. */
9502
+ fingerprint?: string; /** HTTP request correlation id. */
9503
+ request_id?: string | null; /** Session correlation id. */
9504
+ session_id?: string | null; /** Login flow correlation id. */
9505
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9506
+ metadata?: {
9507
+ [key: string]: unknown;
9508
+ };
9509
+ } & {
9510
+ event_type: "auth.factor.passkey.enrolled"; /** Payload for `auth.factor.*` events. */
9511
+ payload: {
9512
+ user_id: string;
9513
+ factor_id?: string;
9514
+ };
9515
+ }) | ({
9516
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9517
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9518
+ team_id?: string | null;
9519
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9520
+ see docs/design/api/events-catalog.md.
9521
+ */
9522
+ event_type: string; /** Wide-event category. */
9523
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9524
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9525
+ created_at: string; /** Who triggered the event. */
9526
+ actor_id?: string | null; /** Actor kind. */
9527
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9528
+ entity_type?: string | null; /** Resource id affected. */
9529
+ entity_id?: string | null; /** Application or agent that produced the event. */
9530
+ client_id: string; /** Token id present at emit time, when any. */
9531
+ token_id?: string; /** Delegation kind (omit when unset). */
9532
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9533
+ delegation_id?: string;
9534
+ grantor?: string; /** Device fingerprint correlation id. */
9535
+ fingerprint?: string; /** HTTP request correlation id. */
9536
+ request_id?: string | null; /** Session correlation id. */
9537
+ session_id?: string | null; /** Login flow correlation id. */
9538
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9539
+ metadata?: {
9540
+ [key: string]: unknown;
9541
+ };
9542
+ } & {
9543
+ event_type: "auth.factor.password.set"; /** Payload for `auth.factor.*` events. */
9544
+ payload: {
9545
+ user_id: string;
9546
+ factor_id?: string;
9547
+ };
9548
+ }) | ({
9549
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9550
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9551
+ team_id?: string | null;
9552
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9553
+ see docs/design/api/events-catalog.md.
9554
+ */
9555
+ event_type: string; /** Wide-event category. */
9556
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9557
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9558
+ created_at: string; /** Who triggered the event. */
9559
+ actor_id?: string | null; /** Actor kind. */
9560
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9561
+ entity_type?: string | null; /** Resource id affected. */
9562
+ entity_id?: string | null; /** Application or agent that produced the event. */
9563
+ client_id: string; /** Token id present at emit time, when any. */
9564
+ token_id?: string; /** Delegation kind (omit when unset). */
9565
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9566
+ delegation_id?: string;
9567
+ grantor?: string; /** Device fingerprint correlation id. */
9568
+ fingerprint?: string; /** HTTP request correlation id. */
9569
+ request_id?: string | null; /** Session correlation id. */
9570
+ session_id?: string | null; /** Login flow correlation id. */
9571
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9572
+ metadata?: {
9573
+ [key: string]: unknown;
9574
+ };
9575
+ } & {
9576
+ event_type: "auth.token.issued"; /** Payload for `auth.token.issued` events. */
9577
+ payload: {
9578
+ scopes?: string[];
9579
+ };
9580
+ }) | ({
9581
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9582
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9583
+ team_id?: string | null;
9584
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9585
+ see docs/design/api/events-catalog.md.
9586
+ */
9587
+ event_type: string; /** Wide-event category. */
9588
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9589
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9590
+ created_at: string; /** Who triggered the event. */
9591
+ actor_id?: string | null; /** Actor kind. */
9592
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9593
+ entity_type?: string | null; /** Resource id affected. */
9594
+ entity_id?: string | null; /** Application or agent that produced the event. */
9595
+ client_id: string; /** Token id present at emit time, when any. */
9596
+ token_id?: string; /** Delegation kind (omit when unset). */
9597
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9598
+ delegation_id?: string;
9599
+ grantor?: string; /** Device fingerprint correlation id. */
9600
+ fingerprint?: string; /** HTTP request correlation id. */
9601
+ request_id?: string | null; /** Session correlation id. */
9602
+ session_id?: string | null; /** Login flow correlation id. */
9603
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9604
+ metadata?: {
9605
+ [key: string]: unknown;
9606
+ };
9607
+ } & {
9608
+ event_type: "auth.token.revoked";
9609
+ /** Empty payload for event types with no typed fields
9610
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
9611
+ */
9612
+ payload: {
9613
+ [key: string]: unknown;
9614
+ };
9615
+ }) | ({
9616
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9617
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9618
+ team_id?: string | null;
9619
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9620
+ see docs/design/api/events-catalog.md.
9621
+ */
9622
+ event_type: string; /** Wide-event category. */
9623
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9624
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9625
+ created_at: string; /** Who triggered the event. */
9626
+ actor_id?: string | null; /** Actor kind. */
9627
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9628
+ entity_type?: string | null; /** Resource id affected. */
9629
+ entity_id?: string | null; /** Application or agent that produced the event. */
9630
+ client_id: string; /** Token id present at emit time, when any. */
9631
+ token_id?: string; /** Delegation kind (omit when unset). */
9632
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9633
+ delegation_id?: string;
9634
+ grantor?: string; /** Device fingerprint correlation id. */
9635
+ fingerprint?: string; /** HTTP request correlation id. */
9636
+ request_id?: string | null; /** Session correlation id. */
9637
+ session_id?: string | null; /** Login flow correlation id. */
9638
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9639
+ metadata?: {
9640
+ [key: string]: unknown;
9641
+ };
9642
+ } & {
9643
+ event_type: "authz.granted"; /** Payload for `authz.granted` events. */
9644
+ payload: {
9645
+ principal_type?: string;
9646
+ principal_id?: string;
9647
+ relation?: string;
9648
+ };
9649
+ }) | ({
9650
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9651
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9652
+ team_id?: string | null;
9653
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9654
+ see docs/design/api/events-catalog.md.
9655
+ */
9656
+ event_type: string; /** Wide-event category. */
9657
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9658
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9659
+ created_at: string; /** Who triggered the event. */
9660
+ actor_id?: string | null; /** Actor kind. */
9661
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9662
+ entity_type?: string | null; /** Resource id affected. */
9663
+ entity_id?: string | null; /** Application or agent that produced the event. */
9664
+ client_id: string; /** Token id present at emit time, when any. */
9665
+ token_id?: string; /** Delegation kind (omit when unset). */
9666
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9667
+ delegation_id?: string;
9668
+ grantor?: string; /** Device fingerprint correlation id. */
9669
+ fingerprint?: string; /** HTTP request correlation id. */
9670
+ request_id?: string | null; /** Session correlation id. */
9671
+ session_id?: string | null; /** Login flow correlation id. */
9672
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9673
+ metadata?: {
9674
+ [key: string]: unknown;
9675
+ };
9676
+ } & {
9677
+ event_type: "branding.created";
9678
+ /** Allowlisted fields for `branding.created`. Omits `liquid_template`.
9679
+ */
9680
+ payload: {
9681
+ layout?: string;
9682
+ logo_url?: string;
9683
+ font_url?: string;
9684
+ hero_url?: string;
9685
+ };
9686
+ }) | ({
9687
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9688
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9689
+ team_id?: string | null;
9690
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9691
+ see docs/design/api/events-catalog.md.
9692
+ */
9693
+ event_type: string; /** Wide-event category. */
9694
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9695
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9696
+ created_at: string; /** Who triggered the event. */
9697
+ actor_id?: string | null; /** Actor kind. */
9698
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9699
+ entity_type?: string | null; /** Resource id affected. */
9700
+ entity_id?: string | null; /** Application or agent that produced the event. */
9701
+ client_id: string; /** Token id present at emit time, when any. */
9702
+ token_id?: string; /** Delegation kind (omit when unset). */
9703
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9704
+ delegation_id?: string;
9705
+ grantor?: string; /** Device fingerprint correlation id. */
9706
+ fingerprint?: string; /** HTTP request correlation id. */
9707
+ request_id?: string | null; /** Session correlation id. */
9708
+ session_id?: string | null; /** Login flow correlation id. */
9709
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9710
+ metadata?: {
9711
+ [key: string]: unknown;
9712
+ };
9713
+ } & {
9714
+ event_type: "flowdef.created";
9715
+ /** Shared allowlisted fields for `flowdef.created` (full snapshot) and
9716
+ `flowdef.updated` (delta: only changed fields present). Steps are omitted.
9717
+ */
9718
+ payload: {
9719
+ name?: string;
9720
+ status?: string;
9721
+ user_schema?: string;
9722
+ purposes?: {
9723
+ [key: string]: string;
9724
+ };
9725
+ audience?: {
9726
+ app_ids?: string[];
9727
+ team_ids?: string[];
9728
+ };
9729
+ };
9730
+ }) | ({
9731
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9732
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9733
+ team_id?: string | null;
9734
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9735
+ see docs/design/api/events-catalog.md.
9736
+ */
9737
+ event_type: string; /** Wide-event category. */
9738
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9739
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9740
+ created_at: string; /** Who triggered the event. */
9741
+ actor_id?: string | null; /** Actor kind. */
9742
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9743
+ entity_type?: string | null; /** Resource id affected. */
9744
+ entity_id?: string | null; /** Application or agent that produced the event. */
9745
+ client_id: string; /** Token id present at emit time, when any. */
9746
+ token_id?: string; /** Delegation kind (omit when unset). */
9747
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9748
+ delegation_id?: string;
9749
+ grantor?: string; /** Device fingerprint correlation id. */
9750
+ fingerprint?: string; /** HTTP request correlation id. */
9751
+ request_id?: string | null; /** Session correlation id. */
9752
+ session_id?: string | null; /** Login flow correlation id. */
9753
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9754
+ metadata?: {
9755
+ [key: string]: unknown;
9756
+ };
9757
+ } & {
9758
+ event_type: "flowdef.deleted";
9759
+ /** Empty payload for event types with no typed fields
9760
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
9761
+ */
9762
+ payload: {
9763
+ [key: string]: unknown;
9764
+ };
9765
+ }) | ({
9766
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9767
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9768
+ team_id?: string | null;
9769
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9770
+ see docs/design/api/events-catalog.md.
9771
+ */
9772
+ event_type: string; /** Wide-event category. */
9773
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9774
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9775
+ created_at: string; /** Who triggered the event. */
9776
+ actor_id?: string | null; /** Actor kind. */
9777
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9778
+ entity_type?: string | null; /** Resource id affected. */
9779
+ entity_id?: string | null; /** Application or agent that produced the event. */
9780
+ client_id: string; /** Token id present at emit time, when any. */
9781
+ token_id?: string; /** Delegation kind (omit when unset). */
9782
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9783
+ delegation_id?: string;
9784
+ grantor?: string; /** Device fingerprint correlation id. */
9785
+ fingerprint?: string; /** HTTP request correlation id. */
9786
+ request_id?: string | null; /** Session correlation id. */
9787
+ session_id?: string | null; /** Login flow correlation id. */
9788
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9789
+ metadata?: {
9790
+ [key: string]: unknown;
9791
+ };
9792
+ } & {
9793
+ event_type: "flowdef.updated";
9794
+ /** Shared allowlisted fields for `flowdef.created` (full snapshot) and
9795
+ `flowdef.updated` (delta: only changed fields present). Steps are omitted.
9796
+ */
9797
+ payload: {
9798
+ name?: string;
9799
+ status?: string;
9800
+ user_schema?: string;
9801
+ purposes?: {
9802
+ [key: string]: string;
9803
+ };
9804
+ audience?: {
9805
+ app_ids?: string[];
9806
+ team_ids?: string[];
9807
+ };
9808
+ };
9809
+ }) | ({
9810
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9811
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9812
+ team_id?: string | null;
9813
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9814
+ see docs/design/api/events-catalog.md.
9815
+ */
9816
+ event_type: string; /** Wide-event category. */
9817
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9818
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9819
+ created_at: string; /** Who triggered the event. */
9820
+ actor_id?: string | null; /** Actor kind. */
9821
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9822
+ entity_type?: string | null; /** Resource id affected. */
9823
+ entity_id?: string | null; /** Application or agent that produced the event. */
9824
+ client_id: string; /** Token id present at emit time, when any. */
9825
+ token_id?: string; /** Delegation kind (omit when unset). */
9826
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9827
+ delegation_id?: string;
9828
+ grantor?: string; /** Device fingerprint correlation id. */
9829
+ fingerprint?: string; /** HTTP request correlation id. */
9830
+ request_id?: string | null; /** Session correlation id. */
9831
+ session_id?: string | null; /** Login flow correlation id. */
9832
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9833
+ metadata?: {
9834
+ [key: string]: unknown;
9835
+ };
9836
+ } & {
9837
+ event_type: "project.created";
9838
+ /** Shared allowlisted fields for `project.created` (full snapshot) and
9839
+ `project.updated` (delta: only changed fields present).
9840
+ */
9841
+ payload: {
9842
+ name?: string;
9843
+ preview_origins?: string[];
9844
+ };
9845
+ }) | ({
9846
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9847
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9848
+ team_id?: string | null;
9849
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9850
+ see docs/design/api/events-catalog.md.
9851
+ */
9852
+ event_type: string; /** Wide-event category. */
9853
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9854
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9855
+ created_at: string; /** Who triggered the event. */
9856
+ actor_id?: string | null; /** Actor kind. */
9857
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9858
+ entity_type?: string | null; /** Resource id affected. */
9859
+ entity_id?: string | null; /** Application or agent that produced the event. */
9860
+ client_id: string; /** Token id present at emit time, when any. */
9861
+ token_id?: string; /** Delegation kind (omit when unset). */
9862
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9863
+ delegation_id?: string;
9864
+ grantor?: string; /** Device fingerprint correlation id. */
9865
+ fingerprint?: string; /** HTTP request correlation id. */
9866
+ request_id?: string | null; /** Session correlation id. */
9867
+ session_id?: string | null; /** Login flow correlation id. */
9868
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9869
+ metadata?: {
9870
+ [key: string]: unknown;
9871
+ };
9872
+ } & {
9873
+ event_type: "project.deleted";
9874
+ /** Empty payload for event types with no typed fields
9875
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
9876
+ */
9877
+ payload: {
9878
+ [key: string]: unknown;
9879
+ };
9880
+ }) | ({
9881
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9882
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9883
+ team_id?: string | null;
9884
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9885
+ see docs/design/api/events-catalog.md.
9886
+ */
9887
+ event_type: string; /** Wide-event category. */
9888
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9889
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9890
+ created_at: string; /** Who triggered the event. */
9891
+ actor_id?: string | null; /** Actor kind. */
9892
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9893
+ entity_type?: string | null; /** Resource id affected. */
9894
+ entity_id?: string | null; /** Application or agent that produced the event. */
9895
+ client_id: string; /** Token id present at emit time, when any. */
9896
+ token_id?: string; /** Delegation kind (omit when unset). */
9897
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9898
+ delegation_id?: string;
9899
+ grantor?: string; /** Device fingerprint correlation id. */
9900
+ fingerprint?: string; /** HTTP request correlation id. */
9901
+ request_id?: string | null; /** Session correlation id. */
9902
+ session_id?: string | null; /** Login flow correlation id. */
9903
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9904
+ metadata?: {
9905
+ [key: string]: unknown;
9906
+ };
9907
+ } & {
9908
+ event_type: "project.updated";
9909
+ /** Shared allowlisted fields for `project.created` (full snapshot) and
9910
+ `project.updated` (delta: only changed fields present).
9911
+ */
9912
+ payload: {
9913
+ name?: string;
9914
+ preview_origins?: string[];
9915
+ };
9916
+ }) | ({
9917
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9918
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9919
+ team_id?: string | null;
9920
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9921
+ see docs/design/api/events-catalog.md.
9922
+ */
9923
+ event_type: string; /** Wide-event category. */
9924
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9925
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9926
+ created_at: string; /** Who triggered the event. */
9927
+ actor_id?: string | null; /** Actor kind. */
9928
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9929
+ entity_type?: string | null; /** Resource id affected. */
9930
+ entity_id?: string | null; /** Application or agent that produced the event. */
9931
+ client_id: string; /** Token id present at emit time, when any. */
9932
+ token_id?: string; /** Delegation kind (omit when unset). */
9933
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9934
+ delegation_id?: string;
9935
+ grantor?: string; /** Device fingerprint correlation id. */
9936
+ fingerprint?: string; /** HTTP request correlation id. */
9937
+ request_id?: string | null; /** Session correlation id. */
9938
+ session_id?: string | null; /** Login flow correlation id. */
9939
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9940
+ metadata?: {
9941
+ [key: string]: unknown;
9942
+ };
9943
+ } & {
9944
+ event_type: "request.api"; /** Payload for `request.api` events. */
9945
+ payload: {
9946
+ operation_id: string; /** HTTP method. */
9947
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD" | "OPTIONS";
9948
+ route_template: string;
9949
+ /**
9950
+ * @minimum 100
9951
+ * @maximum 599
9952
+ */
9953
+ status: number; /** @minimum 0 */
9954
+ duration_ms: number;
9955
+ };
9956
+ }) | ({
9957
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9958
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9959
+ team_id?: string | null;
9960
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9961
+ see docs/design/api/events-catalog.md.
9962
+ */
9963
+ event_type: string; /** Wide-event category. */
9964
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
9965
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
9966
+ created_at: string; /** Who triggered the event. */
9967
+ actor_id?: string | null; /** Actor kind. */
9968
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
9969
+ entity_type?: string | null; /** Resource id affected. */
9970
+ entity_id?: string | null; /** Application or agent that produced the event. */
9971
+ client_id: string; /** Token id present at emit time, when any. */
9972
+ token_id?: string; /** Delegation kind (omit when unset). */
9973
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
9974
+ delegation_id?: string;
9975
+ grantor?: string; /** Device fingerprint correlation id. */
9976
+ fingerprint?: string; /** HTTP request correlation id. */
9977
+ request_id?: string | null; /** Session correlation id. */
9978
+ session_id?: string | null; /** Login flow correlation id. */
9979
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
9980
+ metadata?: {
9981
+ [key: string]: unknown;
9982
+ };
9983
+ } & {
9984
+ event_type: "schema.created";
9985
+ /** Empty payload for event types with no typed fields
9986
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
9987
+ */
9988
+ payload: {
9989
+ [key: string]: unknown;
9990
+ };
9991
+ }) | ({
9992
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9993
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
9994
+ team_id?: string | null;
9995
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
9996
+ see docs/design/api/events-catalog.md.
9997
+ */
9998
+ event_type: string; /** Wide-event category. */
9999
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
10000
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
10001
+ created_at: string; /** Who triggered the event. */
10002
+ actor_id?: string | null; /** Actor kind. */
10003
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
10004
+ entity_type?: string | null; /** Resource id affected. */
10005
+ entity_id?: string | null; /** Application or agent that produced the event. */
10006
+ client_id: string; /** Token id present at emit time, when any. */
10007
+ token_id?: string; /** Delegation kind (omit when unset). */
10008
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
10009
+ delegation_id?: string;
10010
+ grantor?: string; /** Device fingerprint correlation id. */
10011
+ fingerprint?: string; /** HTTP request correlation id. */
10012
+ request_id?: string | null; /** Session correlation id. */
10013
+ session_id?: string | null; /** Login flow correlation id. */
10014
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
10015
+ metadata?: {
10016
+ [key: string]: unknown;
10017
+ };
10018
+ } & {
10019
+ event_type: "session.deleted"; /** Payload for `session.deleted` events. */
10020
+ payload: {
10021
+ reason?: string;
10022
+ };
10023
+ }) | ({
10024
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
10025
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
10026
+ team_id?: string | null;
10027
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
10028
+ see docs/design/api/events-catalog.md.
10029
+ */
10030
+ event_type: string; /** Wide-event category. */
10031
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
10032
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
10033
+ created_at: string; /** Who triggered the event. */
10034
+ actor_id?: string | null; /** Actor kind. */
10035
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
10036
+ entity_type?: string | null; /** Resource id affected. */
10037
+ entity_id?: string | null; /** Application or agent that produced the event. */
10038
+ client_id: string; /** Token id present at emit time, when any. */
10039
+ token_id?: string; /** Delegation kind (omit when unset). */
10040
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
10041
+ delegation_id?: string;
10042
+ grantor?: string; /** Device fingerprint correlation id. */
10043
+ fingerprint?: string; /** HTTP request correlation id. */
10044
+ request_id?: string | null; /** Session correlation id. */
10045
+ session_id?: string | null; /** Login flow correlation id. */
10046
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
10047
+ metadata?: {
10048
+ [key: string]: unknown;
10049
+ };
10050
+ } & {
10051
+ event_type: "session.established"; /** Payload for `session.established` events. */
10052
+ payload: {
10053
+ user_id?: string;
10054
+ };
10055
+ }) | ({
10056
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
10057
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
10058
+ team_id?: string | null;
10059
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
10060
+ see docs/design/api/events-catalog.md.
10061
+ */
10062
+ event_type: string; /** Wide-event category. */
10063
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
10064
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
10065
+ created_at: string; /** Who triggered the event. */
10066
+ actor_id?: string | null; /** Actor kind. */
10067
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
10068
+ entity_type?: string | null; /** Resource id affected. */
10069
+ entity_id?: string | null; /** Application or agent that produced the event. */
10070
+ client_id: string; /** Token id present at emit time, when any. */
10071
+ token_id?: string; /** Delegation kind (omit when unset). */
10072
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
10073
+ delegation_id?: string;
10074
+ grantor?: string; /** Device fingerprint correlation id. */
10075
+ fingerprint?: string; /** HTTP request correlation id. */
10076
+ request_id?: string | null; /** Session correlation id. */
10077
+ session_id?: string | null; /** Login flow correlation id. */
10078
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
10079
+ metadata?: {
10080
+ [key: string]: unknown;
10081
+ };
10082
+ } & {
10083
+ event_type: "team.created";
10084
+ /** Shared allowlisted fields for `team.created` (snapshot) and
10085
+ `team.updated` (delta: only changed fields present).
10086
+ */
10087
+ payload: {
10088
+ name?: string;
10089
+ };
10090
+ }) | ({
10091
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
10092
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
10093
+ team_id?: string | null;
10094
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
10095
+ see docs/design/api/events-catalog.md.
10096
+ */
10097
+ event_type: string; /** Wide-event category. */
10098
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
10099
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
10100
+ created_at: string; /** Who triggered the event. */
10101
+ actor_id?: string | null; /** Actor kind. */
10102
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
10103
+ entity_type?: string | null; /** Resource id affected. */
10104
+ entity_id?: string | null; /** Application or agent that produced the event. */
10105
+ client_id: string; /** Token id present at emit time, when any. */
10106
+ token_id?: string; /** Delegation kind (omit when unset). */
10107
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
10108
+ delegation_id?: string;
10109
+ grantor?: string; /** Device fingerprint correlation id. */
10110
+ fingerprint?: string; /** HTTP request correlation id. */
10111
+ request_id?: string | null; /** Session correlation id. */
10112
+ session_id?: string | null; /** Login flow correlation id. */
10113
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
10114
+ metadata?: {
10115
+ [key: string]: unknown;
10116
+ };
10117
+ } & {
10118
+ event_type: "team.deactivated";
10119
+ /** Empty payload for event types with no typed fields
10120
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
10121
+ */
10122
+ payload: {
10123
+ [key: string]: unknown;
10124
+ };
10125
+ }) | ({
10126
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
10127
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
10128
+ team_id?: string | null;
10129
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
10130
+ see docs/design/api/events-catalog.md.
10131
+ */
10132
+ event_type: string; /** Wide-event category. */
10133
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
10134
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
10135
+ created_at: string; /** Who triggered the event. */
10136
+ actor_id?: string | null; /** Actor kind. */
10137
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
10138
+ entity_type?: string | null; /** Resource id affected. */
10139
+ entity_id?: string | null; /** Application or agent that produced the event. */
10140
+ client_id: string; /** Token id present at emit time, when any. */
10141
+ token_id?: string; /** Delegation kind (omit when unset). */
10142
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
10143
+ delegation_id?: string;
10144
+ grantor?: string; /** Device fingerprint correlation id. */
10145
+ fingerprint?: string; /** HTTP request correlation id. */
10146
+ request_id?: string | null; /** Session correlation id. */
10147
+ session_id?: string | null; /** Login flow correlation id. */
10148
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
10149
+ metadata?: {
10150
+ [key: string]: unknown;
10151
+ };
10152
+ } & {
10153
+ event_type: "team.updated";
10154
+ /** Shared allowlisted fields for `team.created` (snapshot) and
10155
+ `team.updated` (delta: only changed fields present).
10156
+ */
10157
+ payload: {
10158
+ name?: string;
10159
+ };
10160
+ }) | ({
10161
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
10162
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
10163
+ team_id?: string | null;
10164
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
10165
+ see docs/design/api/events-catalog.md.
10166
+ */
10167
+ event_type: string; /** Wide-event category. */
10168
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
10169
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
10170
+ created_at: string; /** Who triggered the event. */
10171
+ actor_id?: string | null; /** Actor kind. */
10172
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
10173
+ entity_type?: string | null; /** Resource id affected. */
10174
+ entity_id?: string | null; /** Application or agent that produced the event. */
10175
+ client_id: string; /** Token id present at emit time, when any. */
10176
+ token_id?: string; /** Delegation kind (omit when unset). */
10177
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
10178
+ delegation_id?: string;
10179
+ grantor?: string; /** Device fingerprint correlation id. */
10180
+ fingerprint?: string; /** HTTP request correlation id. */
10181
+ request_id?: string | null; /** Session correlation id. */
10182
+ session_id?: string | null; /** Login flow correlation id. */
10183
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
10184
+ metadata?: {
10185
+ [key: string]: unknown;
10186
+ };
10187
+ } & {
10188
+ event_type: "user.create.failed"; /** Payload for `user.create.failed` events. */
10189
+ payload: {
10190
+ key_name?: string;
10191
+ };
10192
+ }) | ({
10193
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
10194
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
10195
+ team_id?: string | null;
10196
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
10197
+ see docs/design/api/events-catalog.md.
10198
+ */
10199
+ event_type: string; /** Wide-event category. */
10200
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
10201
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
10202
+ created_at: string; /** Who triggered the event. */
10203
+ actor_id?: string | null; /** Actor kind. */
10204
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
10205
+ entity_type?: string | null; /** Resource id affected. */
10206
+ entity_id?: string | null; /** Application or agent that produced the event. */
10207
+ client_id: string; /** Token id present at emit time, when any. */
10208
+ token_id?: string; /** Delegation kind (omit when unset). */
10209
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
10210
+ delegation_id?: string;
10211
+ grantor?: string; /** Device fingerprint correlation id. */
10212
+ fingerprint?: string; /** HTTP request correlation id. */
10213
+ request_id?: string | null; /** Session correlation id. */
10214
+ session_id?: string | null; /** Login flow correlation id. */
10215
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
10216
+ metadata?: {
10217
+ [key: string]: unknown;
10218
+ };
10219
+ } & {
10220
+ event_type: "user.created";
10221
+ /** Payload for `user.created`. Identity is `entity_id`; attribute values
10222
+ appear only for schema fields marked `x-audit`.
10223
+ */
10224
+ payload: {
10225
+ schema_id?: string;
10226
+ attribute_keys?: string[];
10227
+ attributes?: {
10228
+ [key: string]: unknown;
10229
+ };
10230
+ };
10231
+ }) | ({
10232
+ /** Managed event id (`evt_<opaque>`). */id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
10233
+ project_id: string; /** Emit-time team scope, when the actor operated under a team. */
10234
+ team_id?: string | null;
10235
+ /** Semantic event name (dot-separated). Discriminator for the Event union —
10236
+ see docs/design/api/events-catalog.md.
10237
+ */
10238
+ event_type: string; /** Wide-event category. */
10239
+ category: "request" | "auth" | "session" | "admin" | "entity" | "signal"; /** When the action happened (server/storage clock, dialect-owned). */
10240
+ occurred_at: string; /** When the row was inserted (server/storage clock, dialect-owned). */
10241
+ created_at: string; /** Who triggered the event. */
10242
+ actor_id?: string | null; /** Actor kind. */
10243
+ actor_type?: "human" | "service" | "system" | "agent" | null; /** Resource type affected. */
10244
+ entity_type?: string | null; /** Resource id affected. */
10245
+ entity_id?: string | null; /** Application or agent that produced the event. */
10246
+ client_id: string; /** Token id present at emit time, when any. */
10247
+ token_id?: string; /** Delegation kind (omit when unset). */
10248
+ delegation_type?: "direct" | "delegated" | "pat_shared" | "exchanged";
10249
+ delegation_id?: string;
10250
+ grantor?: string; /** Device fingerprint correlation id. */
10251
+ fingerprint?: string; /** HTTP request correlation id. */
10252
+ request_id?: string | null; /** Session correlation id. */
10253
+ session_id?: string | null; /** Login flow correlation id. */
10254
+ flow_id?: string | null; /** Additional emit-time metadata (already redacted). */
10255
+ metadata?: {
10256
+ [key: string]: unknown;
10257
+ };
10258
+ } & {
10259
+ event_type: "user.deleted";
10260
+ /** Empty payload for event types with no typed fields
10261
+ (e.g. `project.deleted`, `user.deleted`, `session.expired`).
10262
+ */
10263
+ payload: {
10264
+ [key: string]: unknown;
10265
+ };
10266
+ });
10267
+ //#endregion
10268
+ //#region src/generated/model/listEvents200.d.ts
10269
+ /**
10270
+ * Paginated list of events (ADR 027 / ADR 049).
10271
+ */
10272
+ type ListEvents200 = {
10273
+ data: ListEvents200DataItem[];
10274
+ /** Token to pass as `page_token` in the next request to fetch the following page.
10275
+ Absent when there are no more results.
10276
+ */
10277
+ next_page_token?: string | null;
10278
+ };
10279
+ //#endregion
10280
+ //#region src/generated/model/listEvents400Details.d.ts
10281
+ /**
10282
+ * Generated by orval v8.10.0 🍺
10283
+ * Do not edit manually.
10284
+ * Zitadel NextGen
10285
+ * This is the next generation of the Zitadel identity platform.
10286
+ * OpenAPI spec version: 0.0.1
10287
+ */
10288
+ /**
10289
+ * Additional error-specific context.
10290
+ */
10291
+ type ListEvents400Details = {
10292
+ [key: string]: unknown;
10293
+ };
10294
+ //#endregion
10295
+ //#region src/generated/model/listEvents400.d.ts
10296
+ /**
10297
+ * Standard error payload returned for failed API requests.
10298
+ */
10299
+ type ListEvents400 = {
10300
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
10301
+ message: string; /** Additional error-specific context. */
10302
+ details?: ListEvents400Details;
10303
+ };
10304
+ //#endregion
10305
+ //#region src/generated/model/listEvents401Details.d.ts
10306
+ /**
10307
+ * Generated by orval v8.10.0 🍺
10308
+ * Do not edit manually.
10309
+ * Zitadel NextGen
10310
+ * This is the next generation of the Zitadel identity platform.
10311
+ * OpenAPI spec version: 0.0.1
10312
+ */
10313
+ /**
10314
+ * Additional error-specific context.
10315
+ */
10316
+ type ListEvents401Details = {
10317
+ [key: string]: unknown;
10318
+ };
10319
+ //#endregion
10320
+ //#region src/generated/model/listEvents401.d.ts
10321
+ /**
10322
+ * Standard error payload returned for failed API requests.
10323
+ */
10324
+ type ListEvents401 = {
10325
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
10326
+ message: string; /** Additional error-specific context. */
10327
+ details?: ListEvents401Details;
10328
+ };
10329
+ //#endregion
10330
+ //#region src/generated/model/listEvents403Details.d.ts
10331
+ /**
10332
+ * Generated by orval v8.10.0 🍺
10333
+ * Do not edit manually.
10334
+ * Zitadel NextGen
10335
+ * This is the next generation of the Zitadel identity platform.
10336
+ * OpenAPI spec version: 0.0.1
10337
+ */
10338
+ /**
10339
+ * Additional error-specific context.
10340
+ */
10341
+ type ListEvents403Details = {
10342
+ [key: string]: unknown;
10343
+ };
10344
+ //#endregion
10345
+ //#region src/generated/model/listEvents403.d.ts
10346
+ /**
10347
+ * Standard error payload returned for failed API requests.
10348
+ */
10349
+ type ListEvents403 = {
8109
10350
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
8110
10351
  message: string; /** Additional error-specific context. */
8111
- details?: {
8112
- [key: string]: unknown;
8113
- };
8114
- } & {
8115
- code: "req.invalid";
8116
- });
10352
+ details?: ListEvents403Details;
10353
+ };
8117
10354
  //#endregion
8118
- //#region src/generated/model/listBranding200Item.d.ts
10355
+ //#region src/generated/model/listEventsCategoryItem.d.ts
8119
10356
  /**
8120
10357
  * Generated by orval v8.10.0 🍺
8121
10358
  * Do not edit manually.
@@ -8123,12 +10360,17 @@ type IssueChallengeDefault = ({
8123
10360
  * This is the next generation of the Zitadel identity platform.
8124
10361
  * OpenAPI spec version: 0.0.1
8125
10362
  */
8126
- type ListBranding200Item = {
8127
- /** The unique identifier of this branding revision. */id: string; /** When this revision was published. */
8128
- created_at: string;
10363
+ type ListEventsCategoryItem = (typeof ListEventsCategoryItem)[keyof typeof ListEventsCategoryItem];
10364
+ declare const ListEventsCategoryItem: {
10365
+ readonly request: "request";
10366
+ readonly auth: "auth";
10367
+ readonly session: "session";
10368
+ readonly admin: "admin";
10369
+ readonly entity: "entity";
10370
+ readonly signal: "signal";
8129
10371
  };
8130
10372
  //#endregion
8131
- //#region src/generated/model/listBrandingDefaultDetails.d.ts
10373
+ //#region src/generated/model/listEventsDefaultDetails.d.ts
8132
10374
  /**
8133
10375
  * Generated by orval v8.10.0 🍺
8134
10376
  * Do not edit manually.
@@ -8139,21 +10381,21 @@ type ListBranding200Item = {
8139
10381
  /**
8140
10382
  * Additional error-specific context.
8141
10383
  */
8142
- type ListBrandingDefaultDetails = {
10384
+ type ListEventsDefaultDetails = {
8143
10385
  [key: string]: unknown;
8144
10386
  };
8145
10387
  //#endregion
8146
- //#region src/generated/model/listBrandingDefault.d.ts
10388
+ //#region src/generated/model/listEventsDefault.d.ts
8147
10389
  /**
8148
10390
  * Standard error payload returned for failed API requests.
8149
10391
  */
8150
- type ListBrandingDefault = {
10392
+ type ListEventsDefault = {
8151
10393
  /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
8152
10394
  message: string; /** Additional error-specific context. */
8153
- details?: ListBrandingDefaultDetails;
10395
+ details?: ListEventsDefaultDetails;
8154
10396
  };
8155
10397
  //#endregion
8156
- //#region src/generated/model/listBrandingParams.d.ts
10398
+ //#region src/generated/model/listEventsOrder.d.ts
8157
10399
  /**
8158
10400
  * Generated by orval v8.10.0 🍺
8159
10401
  * Do not edit manually.
@@ -8161,12 +10403,65 @@ type ListBrandingDefault = {
8161
10403
  * This is the next generation of the Zitadel identity platform.
8162
10404
  * OpenAPI spec version: 0.0.1
8163
10405
  */
8164
- type ListBrandingParams = {
10406
+ type ListEventsOrder = (typeof ListEventsOrder)[keyof typeof ListEventsOrder];
10407
+ declare const ListEventsOrder: {
10408
+ readonly asc: "asc";
10409
+ readonly desc: "desc";
10410
+ };
10411
+ //#endregion
10412
+ //#region src/generated/model/listEventsParams.d.ts
10413
+ type ListEventsParams = {
8165
10414
  /**
8166
10415
  * The unique identifier of the project
8167
10416
  * @pattern ^[a-zA-Z0-9_-]+$
8168
10417
  */
8169
10418
  project_id: string;
10419
+ /**
10420
+ * Filter by wide-event category. Repeatable (OR within the parameter).
10421
+ */
10422
+ category?: ListEventsCategoryItem[];
10423
+ /**
10424
+ * Exact-match filter on `event_type`. Repeatable (OR within the parameter).
10425
+ */
10426
+ event_type?: string[];
10427
+ actor_id?: string;
10428
+ client_id?: string;
10429
+ session_id?: string;
10430
+ flow_id?: string;
10431
+ request_id?: string;
10432
+ fingerprint?: string;
10433
+ entity_type?: string;
10434
+ entity_id?: string;
10435
+ /**
10436
+ * Filter by emit-time team scope stored on the event.
10437
+ */
10438
+ team_id?: string;
10439
+ /**
10440
+ * Inclusive lower bound on `created_at` (RFC 3339).
10441
+ */
10442
+ created_after?: string;
10443
+ /**
10444
+ * Exclusive upper bound on `created_at` (RFC 3339).
10445
+ */
10446
+ created_before?: string;
10447
+ /**
10448
+ * Sort direction on `(created_at, id)`. Default `desc` (newest first)
10449
+ for audit UI. Pass `asc` for oldest-first.
10450
+ */
10451
+ order?: ListEventsOrder;
10452
+ /**
10453
+ * Token for fetching the next page of results.
10454
+ Obtain this value from `next_page_token` in the previous response.
10455
+ Omit to start from the beginning.
10456
+ Its format is opaque and may change between releases.
10457
+ */
10458
+ page_token?: string;
10459
+ /**
10460
+ * Maximum number of items to return.
10461
+ * @minimum 1
10462
+ * @maximum 100
10463
+ */
10464
+ limit?: number;
8170
10465
  };
8171
10466
  //#endregion
8172
10467
  //#region src/generated/model/listFlowDefinitions200FlowDefinitionsItemStatus.d.ts
@@ -8658,11 +10953,23 @@ type ListUserPasskeysParams = {
8658
10953
  Its format is opaque and may change between releases.
8659
10954
  */
8660
10955
  page_token?: string;
8661
- /**
8662
- * The unique identifier of the project
8663
- * @pattern ^[a-zA-Z0-9_-]+$
8664
- */
8665
- project_id: string;
10956
+ };
10957
+ //#endregion
10958
+ //#region src/generated/model/listUsers200UsersItemAttributes.d.ts
10959
+ /**
10960
+ * Generated by orval v8.10.0 🍺
10961
+ * Do not edit manually.
10962
+ * Zitadel NextGen
10963
+ * This is the next generation of the Zitadel identity platform.
10964
+ * OpenAPI spec version: 0.0.1
10965
+ */
10966
+ /**
10967
+ * The user's content, satisfying the schema named by `schema`. Property
10968
+ names and types are determined entirely by that schema.
10969
+
10970
+ */
10971
+ type ListUsers200UsersItemAttributes = {
10972
+ [key: string]: unknown;
8666
10973
  };
8667
10974
  //#endregion
8668
10975
  //#region src/generated/model/listUsers200UsersItemMetadataStatus.d.ts
@@ -8702,17 +11009,29 @@ type ListUsers200UsersItemMetadata = {
8702
11009
  /**
8703
11010
  * A user represents an individual identity in the system. It can be used to
8704
11011
  represent a human user, but also a service account or any other type of
8705
- identity. The content of a user is determined by the configured schema for
8706
- users, this is only a base schema.
11012
+ identity.
8707
11013
 
8708
- The server assigns the resource primary key (`id`) on create. Clients must
8709
- not send `id` in the create body; it is returned in the create response.
11014
+ `attributes` is the document that satisfies the user schema named by
11015
+ `schema`: its property names and types are defined entirely by that schema,
11016
+ and it is what the schema validates. The rest of the object — `id`,
11017
+ `schema`, `metadata` — is the server-owned envelope. Keeping the two apart
11018
+ means a schema may name a property `id` or `metadata` without colliding with
11019
+ the envelope, and closed-world keywords (`additionalProperties: false`,
11020
+ `propertyNames`, `unevaluatedProperties`) behave as their author expects.
8710
11021
 
8711
11022
  */
8712
11023
  type ListUsers200UsersItem = {
8713
- /** @pattern ^user_[a-zA-Z0-9_-]+$ */id?: string;
8714
- metadata?: ListUsers200UsersItemMetadata;
8715
- [key: string]: unknown;
11024
+ /** @pattern ^user_[a-zA-Z0-9_-]+$ */id: string;
11025
+ /** The schema that defines the content of `attributes`. These schemas can be
11026
+ created using the `/schemas` endpoint. A default schema is provided.
11027
+ This schema can be retrieved using the same endpoint.
11028
+ */
11029
+ schema: string;
11030
+ /** The user's content, satisfying the schema named by `schema`. Property
11031
+ names and types are determined entirely by that schema.
11032
+ */
11033
+ attributes: ListUsers200UsersItemAttributes;
11034
+ metadata: ListUsers200UsersItemMetadata;
8716
11035
  };
8717
11036
  //#endregion
8718
11037
  //#region src/generated/model/listUsers200.d.ts
@@ -9068,22 +11387,6 @@ type ListUserTeamsDefault = ({
9068
11387
  details?: {
9069
11388
  [key: string]: unknown;
9070
11389
  };
9071
- } & {
9072
- code: "team.team_not_found";
9073
- }) | ({
9074
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
9075
- message: string; /** Additional error-specific context. */
9076
- details?: {
9077
- [key: string]: unknown;
9078
- };
9079
- } & {
9080
- code: "team.permission_denied";
9081
- }) | ({
9082
- /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
9083
- message: string; /** Additional error-specific context. */
9084
- details?: {
9085
- [key: string]: unknown;
9086
- };
9087
11390
  } & {
9088
11391
  code: "user.not_found";
9089
11392
  }) | ({
@@ -9118,11 +11421,6 @@ type ListUserTeamsParams = {
9118
11421
  Its format is opaque and may change between releases.
9119
11422
  */
9120
11423
  page_token?: string;
9121
- /**
9122
- * The unique identifier of the project
9123
- * @pattern ^[a-zA-Z0-9_-]+$
9124
- */
9125
- project_id: string;
9126
11424
  };
9127
11425
  //#endregion
9128
11426
  //#region src/generated/model/patchProject200.d.ts
@@ -9255,6 +11553,14 @@ type PatchProjectDefault = ({
9255
11553
  details?: {
9256
11554
  [key: string]: unknown;
9257
11555
  };
11556
+ } & {
11557
+ code: "evt.invalid";
11558
+ }) | ({
11559
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
11560
+ message: string; /** Additional error-specific context. */
11561
+ details?: {
11562
+ [key: string]: unknown;
11563
+ };
9258
11564
  } & {
9259
11565
  code: "internal";
9260
11566
  }) | ({
@@ -9458,6 +11764,10 @@ declare const QueryProjectsBodyFilterItemField: {
9458
11764
  * Filter operation defines the operations which can be used when filtering on a
9459
11765
  query endpoint.
9460
11766
 
11767
+ On text fields, `contains` is a case-insensitive substring match. `equals`
11768
+ compares the whole value and is case-sensitive unless the field documents
11769
+ otherwise.
11770
+
9461
11771
  */
9462
11772
  type QueryProjectsBodyFilterItemOperation = (typeof QueryProjectsBodyFilterItemOperation)[keyof typeof QueryProjectsBodyFilterItemOperation];
9463
11773
  declare const QueryProjectsBodyFilterItemOperation: {
@@ -9481,6 +11791,9 @@ type QueryProjectsBodyFilterItem = {
9481
11791
  value?: string | number | boolean | null;
9482
11792
  /** Filter operation defines the operations which can be used when filtering on a
9483
11793
  query endpoint.
11794
+ On text fields, `contains` is a case-insensitive substring match. `equals`
11795
+ compares the whole value and is case-sensitive unless the field documents
11796
+ otherwise.
9484
11797
  */
9485
11798
  operation: QueryProjectsBodyFilterItemOperation;
9486
11799
  };
@@ -9690,7 +12003,7 @@ type QuerySessions200SessionsItemMetadata = {
9690
12003
  */
9691
12004
  /**
9692
12005
  * Current lifecycle state of the session:
9693
- - `building`: has a user factor but is still gathering authentication factors
12006
+ - `building`: no verified authentication factors yet
9694
12007
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
9695
12008
  - `expired`: TTL elapsed
9696
12009
 
@@ -9737,7 +12050,7 @@ type QuerySessions200SessionsItem = {
9737
12050
  session_id: string; /** @pattern ^[a-zA-Z0-9_-]+$ */
9738
12051
  project_id: string;
9739
12052
  /** Current lifecycle state of the session:
9740
- - `building`: has a user factor but is still gathering authentication factors
12053
+ - `building`: no verified authentication factors yet
9741
12054
  - `active`: has at least one verified authentication factor; `assurance_levels[]` may shrink as factors age
9742
12055
  - `expired`: TTL elapsed
9743
12056
  */
@@ -9883,7 +12196,8 @@ type QuerySessions403 = {
9883
12196
  * Field to filter sessions by:
9884
12197
  - `created_at`: RFC3339 timestamp
9885
12198
  - `user_id`: user id
9886
- - `state`: one of `building`, `active`, `expired`
12199
+ - `state`: one of `building`, `active`, `expired`. State is computed at read
12200
+ time, so a session expiring mid-request can match `active` but return `expired`.
9887
12201
 
9888
12202
  */
9889
12203
  type QuerySessionsBodyFilterItemField = (typeof QuerySessionsBodyFilterItemField)[keyof typeof QuerySessionsBodyFilterItemField];
@@ -9905,6 +12219,10 @@ declare const QuerySessionsBodyFilterItemField: {
9905
12219
  * Filter operation defines the operations which can be used when filtering on a
9906
12220
  query endpoint.
9907
12221
 
12222
+ On text fields, `contains` is a case-insensitive substring match. `equals`
12223
+ compares the whole value and is case-sensitive unless the field documents
12224
+ otherwise.
12225
+
9908
12226
  */
9909
12227
  type QuerySessionsBodyFilterItemOperation = (typeof QuerySessionsBodyFilterItemOperation)[keyof typeof QuerySessionsBodyFilterItemOperation];
9910
12228
  declare const QuerySessionsBodyFilterItemOperation: {
@@ -9923,7 +12241,8 @@ type QuerySessionsBodyFilterItem = {
9923
12241
  /** Field to filter sessions by:
9924
12242
  - `created_at`: RFC3339 timestamp
9925
12243
  - `user_id`: user id
9926
- - `state`: one of `building`, `active`, `expired`
12244
+ - `state`: one of `building`, `active`, `expired`. State is computed at read
12245
+ time, so a session expiring mid-request can match `active` but return `expired`.
9927
12246
  */
9928
12247
  field: QuerySessionsBodyFilterItemField;
9929
12248
  /** Filter-value specifies which values can be filtered by a query endpoint. This
@@ -9933,6 +12252,9 @@ type QuerySessionsBodyFilterItem = {
9933
12252
  value?: string | number | boolean | null;
9934
12253
  /** Filter operation defines the operations which can be used when filtering on a
9935
12254
  query endpoint.
12255
+ On text fields, `contains` is a case-insensitive substring match. `equals`
12256
+ compares the whole value and is case-sensitive unless the field documents
12257
+ otherwise.
9936
12258
  */
9937
12259
  operation: QuerySessionsBodyFilterItemOperation;
9938
12260
  };
@@ -10034,6 +12356,14 @@ type QuerySessionsDefault = ({
10034
12356
  details?: {
10035
12357
  [key: string]: unknown;
10036
12358
  };
12359
+ } & {
12360
+ code: "proj.missing_id";
12361
+ }) | ({
12362
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
12363
+ message: string; /** Additional error-specific context. */
12364
+ details?: {
12365
+ [key: string]: unknown;
12366
+ };
10037
12367
  } & {
10038
12368
  code: "req.invalid";
10039
12369
  }) | ({
@@ -10252,10 +12582,19 @@ type QueryTeams429 = {
10252
12582
  * Zitadel NextGen
10253
12583
  * This is the next generation of the Zitadel identity platform.
10254
12584
  * OpenAPI spec version: 0.0.1
12585
+ */
12586
+ /**
12587
+ * Field to filter or sort teams by.
12588
+
12589
+ Team names are unique per project case-insensitively, so `name` is matched
12590
+ case-insensitively by `equals` as well as by `contains`.
12591
+
10255
12592
  */
10256
12593
  type QueryTeamsBodyFilterItemField = (typeof QueryTeamsBodyFilterItemField)[keyof typeof QueryTeamsBodyFilterItemField];
10257
12594
  declare const QueryTeamsBodyFilterItemField: {
10258
12595
  readonly created_at: "created_at";
12596
+ readonly name: "name";
12597
+ readonly status: "status";
10259
12598
  };
10260
12599
  //#endregion
10261
12600
  //#region src/generated/model/queryTeamsBodyFilterItemOperation.d.ts
@@ -10270,6 +12609,10 @@ declare const QueryTeamsBodyFilterItemField: {
10270
12609
  * Filter operation defines the operations which can be used when filtering on a
10271
12610
  query endpoint.
10272
12611
 
12612
+ On text fields, `contains` is a case-insensitive substring match. `equals`
12613
+ compares the whole value and is case-sensitive unless the field documents
12614
+ otherwise.
12615
+
10273
12616
  */
10274
12617
  type QueryTeamsBodyFilterItemOperation = (typeof QueryTeamsBodyFilterItemOperation)[keyof typeof QueryTeamsBodyFilterItemOperation];
10275
12618
  declare const QueryTeamsBodyFilterItemOperation: {
@@ -10285,6 +12628,10 @@ declare const QueryTeamsBodyFilterItemOperation: {
10285
12628
  //#endregion
10286
12629
  //#region src/generated/model/queryTeamsBodyFilterItem.d.ts
10287
12630
  type QueryTeamsBodyFilterItem = {
12631
+ /** Field to filter or sort teams by.
12632
+ Team names are unique per project case-insensitively, so `name` is matched
12633
+ case-insensitively by `equals` as well as by `contains`.
12634
+ */
10288
12635
  field: QueryTeamsBodyFilterItemField;
10289
12636
  /** Filter-value specifies which values can be filtered by a query endpoint. This
10290
12637
  is a union of types. When a value is specified which is not assignable to the
@@ -10293,6 +12640,9 @@ type QueryTeamsBodyFilterItem = {
10293
12640
  value?: string | number | boolean | null;
10294
12641
  /** Filter operation defines the operations which can be used when filtering on a
10295
12642
  query endpoint.
12643
+ On text fields, `contains` is a case-insensitive substring match. `equals`
12644
+ compares the whole value and is case-sensitive unless the field documents
12645
+ otherwise.
10296
12646
  */
10297
12647
  operation: QueryTeamsBodyFilterItemOperation;
10298
12648
  };
@@ -10318,14 +12668,27 @@ declare const QueryTeamsBodySortingDirection: {
10318
12668
  * Zitadel NextGen
10319
12669
  * This is the next generation of the Zitadel identity platform.
10320
12670
  * OpenAPI spec version: 0.0.1
12671
+ */
12672
+ /**
12673
+ * Field to filter or sort teams by.
12674
+
12675
+ Team names are unique per project case-insensitively, so `name` is matched
12676
+ case-insensitively by `equals` as well as by `contains`.
12677
+
10321
12678
  */
10322
12679
  type QueryTeamsBodySortingField = (typeof QueryTeamsBodySortingField)[keyof typeof QueryTeamsBodySortingField];
10323
12680
  declare const QueryTeamsBodySortingField: {
10324
12681
  readonly created_at: "created_at";
12682
+ readonly name: "name";
12683
+ readonly status: "status";
10325
12684
  };
10326
12685
  //#endregion
10327
12686
  //#region src/generated/model/queryTeamsBodySorting.d.ts
10328
12687
  type QueryTeamsBodySorting = {
12688
+ /** Field to filter or sort teams by.
12689
+ Team names are unique per project case-insensitively, so `name` is matched
12690
+ case-insensitively by `equals` as well as by `contains`.
12691
+ */
10329
12692
  field: QueryTeamsBodySortingField;
10330
12693
  direction: QueryTeamsBodySortingDirection;
10331
12694
  };
@@ -10436,6 +12799,14 @@ type RevokeMySessionDefault = ({
10436
12799
  details?: {
10437
12800
  [key: string]: unknown;
10438
12801
  };
12802
+ } & {
12803
+ code: "evt.invalid";
12804
+ }) | ({
12805
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
12806
+ message: string; /** Additional error-specific context. */
12807
+ details?: {
12808
+ [key: string]: unknown;
12809
+ };
10439
12810
  } & {
10440
12811
  code: "internal";
10441
12812
  }) | ({
@@ -10528,6 +12899,14 @@ type RevokeSessionDefault = ({
10528
12899
  details?: {
10529
12900
  [key: string]: unknown;
10530
12901
  };
12902
+ } & {
12903
+ code: "evt.invalid";
12904
+ }) | ({
12905
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
12906
+ message: string; /** Additional error-specific context. */
12907
+ details?: {
12908
+ [key: string]: unknown;
12909
+ };
10531
12910
  } & {
10532
12911
  code: "internal";
10533
12912
  }) | ({
@@ -10556,22 +12935,6 @@ type RevokeSessionDefault = ({
10556
12935
  code: "sess.permission_denied";
10557
12936
  });
10558
12937
  //#endregion
10559
- //#region src/generated/model/revokeSessionParams.d.ts
10560
- /**
10561
- * Generated by orval v8.10.0 🍺
10562
- * Do not edit manually.
10563
- * Zitadel NextGen
10564
- * This is the next generation of the Zitadel identity platform.
10565
- * OpenAPI spec version: 0.0.1
10566
- */
10567
- type RevokeSessionParams = {
10568
- /**
10569
- * The unique identifier of the project
10570
- * @pattern ^[a-zA-Z0-9_-]+$
10571
- */
10572
- project_id: string;
10573
- };
10574
- //#endregion
10575
12938
  //#region src/generated/model/setUserPassword400Details.d.ts
10576
12939
  /**
10577
12940
  * Generated by orval v8.10.0 🍺
@@ -10688,6 +13051,14 @@ type SetUserPasswordDefault = ({
10688
13051
  details?: {
10689
13052
  [key: string]: unknown;
10690
13053
  };
13054
+ } & {
13055
+ code: "evt.invalid";
13056
+ }) | ({
13057
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
13058
+ message: string; /** Additional error-specific context. */
13059
+ details?: {
13060
+ [key: string]: unknown;
13061
+ };
10691
13062
  } & {
10692
13063
  code: "internal";
10693
13064
  }) | ({
@@ -10724,22 +13095,6 @@ type SetUserPasswordDefault = ({
10724
13095
  code: "user.permission_denied";
10725
13096
  });
10726
13097
  //#endregion
10727
- //#region src/generated/model/setUserPasswordParams.d.ts
10728
- /**
10729
- * Generated by orval v8.10.0 🍺
10730
- * Do not edit manually.
10731
- * Zitadel NextGen
10732
- * This is the next generation of the Zitadel identity platform.
10733
- * OpenAPI spec version: 0.0.1
10734
- */
10735
- type SetUserPasswordParams = {
10736
- /**
10737
- * The unique identifier of the project
10738
- * @pattern ^[a-zA-Z0-9_-]+$
10739
- */
10740
- project_id: string;
10741
- };
10742
- //#endregion
10743
13098
  //#region src/generated/model/submitFlowStep200BrandingLayout.d.ts
10744
13099
  /**
10745
13100
  * Generated by orval v8.10.0 🍺
@@ -12000,6 +14355,14 @@ type SubmitFlowStepDefault = ({
12000
14355
  details?: {
12001
14356
  [key: string]: unknown;
12002
14357
  };
14358
+ } & {
14359
+ code: "evt.invalid";
14360
+ }) | ({
14361
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
14362
+ message: string; /** Additional error-specific context. */
14363
+ details?: {
14364
+ [key: string]: unknown;
14365
+ };
12003
14366
  } & {
12004
14367
  code: "flow.cookie_expired";
12005
14368
  }) | ({
@@ -12386,6 +14749,17 @@ type UpdateFlowDefinition200FlowDefinitionStepsItemTransitions = {
12386
14749
  Example: login → recovery → back to login.
12387
14750
  */
12388
14751
  action?: "switch" | "pivot" | null;
14752
+ /** Local re-purposing. When set, taking this transition changes the
14753
+ flow's current purpose to this value — the dispatch mode a step's
14754
+ challenges run under — while the flow's original purpose stays
14755
+ pinned. Must be a purpose this definition serves, and `target`
14756
+ must be that purpose's entry step. Mutually exclusive with
14757
+ `action`: a transition either re-purposes within this flow or
14758
+ targets another flow, never both.
14759
+ Example: a "Sign up" navigation on the login identifier step
14760
+ (`{ target: register, purpose: register }`).
14761
+ */
14762
+ purpose?: "login" | "register" | "recovery" | "profiling" | "reauth" | "link_account" | null;
12389
14763
  };
12390
14764
  };
12391
14765
  //#endregion
@@ -12830,6 +15204,17 @@ type UpdateFlowDefinitionBodyFlowDefinitionStepsItemTransitions = {
12830
15204
  Example: login → recovery → back to login.
12831
15205
  */
12832
15206
  action?: "switch" | "pivot" | null;
15207
+ /** Local re-purposing. When set, taking this transition changes the
15208
+ flow's current purpose to this value — the dispatch mode a step's
15209
+ challenges run under — while the flow's original purpose stays
15210
+ pinned. Must be a purpose this definition serves, and `target`
15211
+ must be that purpose's entry step. Mutually exclusive with
15212
+ `action`: a transition either re-purposes within this flow or
15213
+ targets another flow, never both.
15214
+ Example: a "Sign up" navigation on the login identifier step
15215
+ (`{ target: register, purpose: register }`).
15216
+ */
15217
+ purpose?: "login" | "register" | "recovery" | "profiling" | "reauth" | "link_account" | null;
12833
15218
  };
12834
15219
  };
12835
15220
  //#endregion
@@ -12989,6 +15374,14 @@ type UpdateFlowDefinitionDefault = ({
12989
15374
  details?: {
12990
15375
  [key: string]: unknown;
12991
15376
  };
15377
+ } & {
15378
+ code: "evt.invalid";
15379
+ }) | ({
15380
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
15381
+ message: string; /** Additional error-specific context. */
15382
+ details?: {
15383
+ [key: string]: unknown;
15384
+ };
12992
15385
  } & {
12993
15386
  code: "flowdef.invalid";
12994
15387
  }) | ({
@@ -13065,22 +15458,6 @@ type UpdateFlowDefinitionDefault = ({
13065
15458
  code: "flowdef.schema_fetch_failed";
13066
15459
  });
13067
15460
  //#endregion
13068
- //#region src/generated/model/updateFlowDefinitionParams.d.ts
13069
- /**
13070
- * Generated by orval v8.10.0 🍺
13071
- * Do not edit manually.
13072
- * Zitadel NextGen
13073
- * This is the next generation of the Zitadel identity platform.
13074
- * OpenAPI spec version: 0.0.1
13075
- */
13076
- type UpdateFlowDefinitionParams = {
13077
- /**
13078
- * The project id to filter by.
13079
- * @pattern ^[a-zA-Z0-9_-]+$
13080
- */
13081
- project_id: string;
13082
- };
13083
- //#endregion
13084
15461
  //#region src/generated/model/updateTeam200Status.d.ts
13085
15462
  /**
13086
15463
  * Generated by orval v8.10.0 🍺
@@ -13285,22 +15662,6 @@ type UpdateTeamDefault = {
13285
15662
  details?: UpdateTeamDefaultDetails;
13286
15663
  };
13287
15664
  //#endregion
13288
- //#region src/generated/model/updateTeamParams.d.ts
13289
- /**
13290
- * Generated by orval v8.10.0 🍺
13291
- * Do not edit manually.
13292
- * Zitadel NextGen
13293
- * This is the next generation of the Zitadel identity platform.
13294
- * OpenAPI spec version: 0.0.1
13295
- */
13296
- type UpdateTeamParams = {
13297
- /**
13298
- * The unique identifier of the project
13299
- * @pattern ^[a-zA-Z0-9_-]+$
13300
- */
13301
- project_id: string;
13302
- };
13303
- //#endregion
13304
15665
  //#region src/generated/model/verifyChallengeProof200ChallengesItemMethod.d.ts
13305
15666
  /**
13306
15667
  * Generated by orval v8.10.0 🍺
@@ -13668,6 +16029,14 @@ type VerifyChallengeProofDefault = ({
13668
16029
  details?: {
13669
16030
  [key: string]: unknown;
13670
16031
  };
16032
+ } & {
16033
+ code: "evt.invalid";
16034
+ }) | ({
16035
+ /** Stable machine-readable error code. */code: string; /** Human-readable explanation of the error. */
16036
+ message: string; /** Additional error-specific context. */
16037
+ details?: {
16038
+ [key: string]: unknown;
16039
+ };
13671
16040
  } & {
13672
16041
  code: "internal";
13673
16042
  }) | ({
@@ -13680,5 +16049,5 @@ type VerifyChallengeProofDefault = ({
13680
16049
  code: "req.invalid";
13681
16050
  });
13682
16051
  //#endregion
13683
- export { UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem as $, GetMyUser404 as $a, CreateTeam201Status as $c, InitClaim401Details as $i, CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess as $l, QuerySessions401Details as $n, GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem as $o, ListUsersDefault as $r, ExchangeHandoff200SessionMetadata as $s, SubmitFlowStep200Branding as $t, CreateAuthAttempt201ChallengesItemPayload as $u, UpdateFlowDefinitionDefault as A, GetSession200Metadata as Aa, CreateUser403Details as Ac, ListFlowDefinitions400Details as Ai, CreateFlowDefinitionBody as Al, QueryTeams404 as An, GetFlowStep200StepTexts as Ao, PatchProject404 as Ar, GetAuthAttempt200 as As, SubmitFlowStep400StepChallengeOptions as At, CreateFlow201StepActionsItemKind as Au, UpdateFlowDefinitionBodyFlowDefinitionStepsItemComplete as B, GetSchemaById400Details as Ba, CreateTeam429 as Bc, IssueChallengeBodyPasskeyOptions as Bi, CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem as Bl, QueryTeams200TeamsItemStatus as Bn, GetFlowStep200StepChallenge as Bo, ListUserTeams500Details as Br, ExchangeHandoffParams as Bs, SubmitFlowStep200StepGates as Bt, CreateBranding201 as Bu, UpdateTeam401 as C, GetSession403 as Ca, CreateUserDefault as Cc, ListSchemasDefault as Ci, CreateProjectBody as Cl, QueryTeamsBodySortingField as Cn, GetFlowStepDefault as Co, QueryProjects401Details as Cr, GetBrandingByIdDefaultDetails as Cs, SubmitFlowStep400StepGatesConfig as Ct, CreateFlow201StepFieldsItemValidationFormat as Cu, UpdateTeam200 as D, GetSession200 as Da, CreateUser409 as Dc, ListFlowDefinitionsPurpose as Di, CreateHandoffDefault as Dl, QueryTeamsBodyFilterItemField as Dn, GetFlowStep404Details as Do, QueryProjects200ProjectsItem as Dr, GetBrandingById200Branding as Ds, SubmitFlowStep400StepFieldsItemType as Dt, CreateFlow201StepChallengeOptions as Du, UpdateTeam400Details as E, GetSession401Details as Ea, CreateUserBodyMetadataStatus as Ec, ListFlowDefinitionsParams as Ei, CreateProject201 as El, QueryTeamsBodyFilterItemOperation as En, GetFlowStep404 as Eo, QueryProjects200 as Er, GetBrandingById200 as Es, SubmitFlowStep400StepFieldsItemValidationFormat as Et, CreateFlow201StepChallenge as Eu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem as F, GetSchemaByIdDefault as Fa, CreateUser201 as Fc, ListBrandingDefault as Fi, CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess as Fl, QueryTeams401Details as Fn, GetFlowStep200StepFieldsItem as Fo, PatchProject400Details as Fr, GetAuthAttempt200CompletedFactorsItemMethod as Fs, SubmitFlowStep400BrandingLayout as Ft, CreateBrandingDefaultDetails as Fu, UpdateFlowDefinition404 as G, GetReady4xxDetails as Ga, CreateTeam404Details as Gc, IssueChallenge201Payload as Gi, CreateFlowDefinition409Details as Gl, QuerySessionsBodySortingField as Gn, GetFlowStep200Branding as Go, ListUserTeams401 as Gr, ExchangeHandoff401 as Gs, SubmitFlowStep200StepFieldsItemValidationFormat as Gt, CreateAuthAttempt201 as Gu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind as H, GetReadyDefault as Ha, CreateTeam409 as Hc, IssueChallengeBodyMethod as Hi, CreateFlowDefinitionBodyFlowDefinitionStatus as Hl, QuerySessionsDefault as Hn, GetFlowStep200StepChallengeMethod as Ho, ListUserTeams404Details as Hr, ExchangeHandoffBody as Hs, SubmitFlowStep200StepGatesConfig as Ht, CreateBranding201BrandingLayout as Hu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess as I, GetSchemaByIdDefaultDetails as Ia, CreateTeamParams as Ic, ListBrandingDefaultDetails as Ii, CreateFlowDefinitionBodyFlowDefinitionStepsItemGates as Il, QueryTeams400 as In, GetFlowStep200StepFieldsItemValidation as Io, PatchProject200 as Ir, GetAuthAttempt200ChallengesItem as Is, SubmitFlowStep200 as It, CreateBrandingBody as Iu, UpdateFlowDefinition400Details as J, GetProject404Details as Ja, CreateTeam401 as Jc, InitClaimDefaultDetails as Ji, CreateFlowDefinition201 as Jl, QuerySessionsBodyFilterItemOperation as Jn, GetFlowDefinitionDefault as Jo, ListUserTeams400Details as Jr, ExchangeHandoff400Details as Js, SubmitFlowStep200StepChallenge as Jt, CreateAuthAttempt201CompletedFactorsItem as Ju, UpdateFlowDefinition404Details as K, GetProjectDefault as Ka, CreateTeam403 as Kc, IssueChallenge201Method as Ki, CreateFlowDefinition400 as Kl, QuerySessionsBodySortingDirection as Kn, GetFlowStep200BrandingLayout as Ko, ListUserTeams401Details as Kr, ExchangeHandoff401Details as Ks, SubmitFlowStep200StepFieldsItemType as Kt, CreateAuthAttempt201State as Ku, UpdateFlowDefinitionBodyFlowDefinitionStepsItemGates as L, GetSchemaById404 as La, CreateTeamDefault as Lc, ListBranding200Item as Li, CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind as Ll, QueryTeams400Details as Ln, GetFlowStep200StepFieldsItemValidationFormat as Lo, ListUserTeamsParams as Lr, GetAuthAttempt200ChallengesItemState as Ls, SubmitFlowStep200Step as Lt, CreateBrandingBodyLayout as Lu, UpdateFlowDefinitionBodyFlowDefinition as M, GetSession200FactorsItemPayload as Ma, CreateUser401Details as Mc, ListFlowDefinitions200FlowDefinitionsItem as Mi, CreateFlowDefinitionBodyFlowDefinitionStepsItem as Ml, QueryTeams403 as Mn, GetFlowStep200StepGates as Mo, PatchProject401 as Mr, GetAuthAttempt200RequiredFactorsItem as Ms, SubmitFlowStep400StepActionsItem as Mt, CreateFlow201BrandingLayout as Mu, UpdateFlowDefinitionBodyFlowDefinitionStepsItem as N, GetSession200FactorsItemMethod as Na, CreateUser400 as Nc, ListFlowDefinitions200FlowDefinitionsItemStatus as Ni, CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions as Nl, QueryTeams403Details as Nn, GetFlowStep200StepGatesKind as No, PatchProject401Details as Nr, GetAuthAttempt200CompletedFactorsItem as Ns, SubmitFlowStep400StepActionsItemKind as Nt, CreateBrandingParams as Nu, UpdateTeam200Status as O, GetSession200UserAgent as Oa, CreateUser409Details as Oc, ListFlowDefinitionsDefault as Oi, CreateHandoff200 as Ol, QueryTeams429 as On, GetFlowStep200 as Oo, PatchProjectDefault as Or, GetBrandingById200BrandingLayout as Os, SubmitFlowStep400StepComplete as Ot, CreateFlow201StepChallengeMethod as Ou, UpdateFlowDefinitionBodyFlowDefinitionStepsItemTransitions as P, GetSchemaByIdParams as Pa, CreateUser400Details as Pc, ListBrandingParams as Pi, CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem as Pl, QueryTeams401 as Pn, GetFlowStep200StepGatesConfig as Po, PatchProject400 as Pr, GetAuthAttempt200CompletedFactorsItemPayload as Ps, SubmitFlowStep400Branding as Pt, CreateBrandingDefault as Pu, UpdateFlowDefinition200FlowDefinitionStepsItemTransitions as Q, GetMyUserDefault as Qa, CreateTeam201 as Qc, InitClaim401 as Qi, CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem as Ql, QuerySessions401 as Qn, GetFlowDefinition200FlowDefinitionStepsItemTransitions as Qo, ListUsersParams as Qr, ExchangeHandoff200SessionState as Qs, SubmitFlowStep200StepActionsItemKind as Qt, CreateAuthAttempt201ChallengesItemState as Qu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind as R, GetSchemaById404Details as Ra, CreateTeamDefaultDetails as Rc, IssueChallengeDefault as Ri, CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig as Rl, QueryTeams200 as Rn, GetFlowStep200StepFieldsItemType as Ro, ListUserTeamsDefault as Rr, GetAuthAttempt200ChallengesItemPayload as Rs, SubmitFlowStep200StepTexts as Rt, CreateBranding400 as Ru, UpdateTeam403Details as S, GetSession404Details as Sa, CreateUserParams as Sc, ListSchemasParams as Si, CreateProjectDefault as Sl, QueryTeamsBodySorting as Sn, GetHealth4xxDetails as So, QueryProjects401 as Sr, GetBrandingByIdDefault as Ss, SubmitFlowStep400StepGatesKind as St, CreateFlow201StepFieldsItemValidation as Su, UpdateTeam400 as T, GetSession401 as Ta, CreateUserBodyMetadata as Tc, ListSchemas200Item as Ti, CreateProject429Details as Tl, QueryTeamsBodyFilterItem as Tn, GetFlowStep410Details as To, QueryProjects400Details as Tr, GetBrandingById404Details as Ts, SubmitFlowStep400StepFieldsItemValidation as Tt, CreateFlow201StepComplete as Tu, UpdateFlowDefinitionBodyFlowDefinitionStatus as U, GetReadyDefaultDetails as Ua, CreateTeam409Details as Uc, IssueChallenge201 as Ui, CreateFlowDefinitionBodyFlowDefinitionAudience as Ul, QuerySessionsBody as Un, GetFlowStep200StepActionsItem as Uo, ListUserTeams403 as Ur, ExchangeHandoff410 as Us, SubmitFlowStep200StepFieldsItem as Ut, CreateAuthAttemptDefault as Uu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem as V, GetSchemaById200 as Va, CreateTeam429Details as Vc, IssueChallengeBodyPasskeyOptionsUserVerification as Vi, CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind as Vl, QuerySessionsParams as Vn, GetFlowStep200StepChallengeOptions as Vo, ListUserTeams404 as Vr, ExchangeHandoffDefault as Vs, SubmitFlowStep200StepGatesKind as Vt, CreateBranding201Branding as Vu, UpdateFlowDefinitionBodyFlowDefinitionAudience as W, GetReady4xx as Wa, CreateTeam404 as Wc, IssueChallenge201State as Wi, CreateFlowDefinition409 as Wl, QuerySessionsBodySorting as Wn, GetFlowStep200StepActionsItemKind as Wo, ListUserTeams403Details as Wr, ExchangeHandoff410Details as Ws, SubmitFlowStep200StepFieldsItemValidation as Wt, CreateAuthAttemptBody as Wu, UpdateFlowDefinition200FlowDefinition as X, GetProject401Details as Xa, CreateTeam400 as Xc, InitClaim409Details as Xi, CreateFlowDefinition201FlowDefinitionStepsItem as Xl, QuerySessions403 as Xn, GetFlowDefinition200FlowDefinition as Xo, ListUserTeams200TeamsItem as Xr, ExchangeHandoff200Session as Xs, SubmitFlowStep200StepChallengeMethod as Xt, CreateAuthAttempt201CompletedFactorsItemMethod as Xu, UpdateFlowDefinition200 as Y, GetProject401 as Ya, CreateTeam401Details as Yc, InitClaim409 as Yi, CreateFlowDefinition201FlowDefinition as Yl, QuerySessionsBodyFilterItemField as Yn, GetFlowDefinition200 as Yo, ListUserTeams200 as Yr, ExchangeHandoff200 as Ys, SubmitFlowStep200StepChallengeOptions as Yt, CreateAuthAttempt201CompletedFactorsItemPayload as Yu, UpdateFlowDefinition200FlowDefinitionStepsItem as Z, GetProject200 as Za, CreateTeam400Details as Zc, InitClaim404 as Zi, CreateFlowDefinition201FlowDefinitionStepsItemTransitions as Zl, QuerySessions403Details as Zn, GetFlowDefinition200FlowDefinitionStepsItem as Zo, ListUserTeams200TeamsItemMembershipStatus as Zr, ExchangeHandoff200SessionUserAgent as Zs, SubmitFlowStep200StepActionsItem as Zt, CreateAuthAttempt201ChallengesItem as Zu, UpdateTeam409 as _, GetTeam200 as _a, DeleteTeam400Details as _c, ListUserPasskeys401Details as _i, CreateSchema409 as _l, RevokeMySession401 as _n, GetLive4xx as _o, QueryProjectsBodyFilterItemField as _r, GetClaimStatus403 as _s, SubmitFlowStep400 as _t, CreateFlow201StepSsoProvidersItem as _u, VerifyChallengeProof200RequiredFactorsItem as a, GetUserByID401 as aa, DeleteUserByID404 as ac, CompleteClaim429Details as ad, ListUsers200UsersItem as ai, CreateSession201 as al, SetUserPassword500Details as an, GetMySessionDefault as ao, QuerySessions200SessionsItemState as ar, GetFlowDefinition200FlowDefinitionStepsItemActionsItem as as, UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem as at, CreateFlowDefinition201FlowDefinitionStepsItemActionsItemKind as au, UpdateTeam404Details as b, GetSessionDefault as ba, DeleteFlowDefinition409 as bc, ListUserPasskeys200 as bi, CreateSchema400Details as bl, QueryTeamsDefaultDetails as bn, GetHealthDefaultDetails as bo, QueryProjects403 as br, GetClaimStatus200 as bs, SubmitFlowStep400StepSsoProvidersItem as bt, CreateFlow201StepGatesConfig as bu, VerifyChallengeProof200CompletedFactorsItemMethod as c, GetUserByID200Metadata as ca, DeleteUserByID401Details as cc, CompleteClaim409Details as cd, ListUserPasskeysParams as ci, CreateSession201SessionState as cl, SetUserPassword400 as cn, GetMySession200 as co, QuerySessions200SessionsItemFactorsItemPayload as cr, GetFlowDefinition200FlowDefinitionAudience as cs, UpdateFlowDefinition200FlowDefinitionAudience as ct, CreateFlowDefault as cu, VerifyChallengeProof200ChallengesItemPayload as d, GetTeamDefault as da, DeleteTeamDefaultDetails as dc, CompleteClaim401 as dd, ListUserPasskeys500Details as di, CreateSession201SessionFactorsItemPayload as dl, RevokeSessionDefault as dn, GetMySession200Metadata as do, QueryProjectsBody as dr, GetClaimStatusDefaultDetails as ds, SubmitFlowStepBodyGateProofs as dt, CreateFlowBodyHint as du, InitClaim201 as ea, ExchangeHandoff200SessionFactorsItem as ec, CreateAuthAttempt201ChallengesItemMethod as ed, ListUsers500 as ei, CreateSessionDefault as el, SubmitFlowStep200BrandingLayout as en, GetMyUser401 as eo, QuerySessions400 as er, GetFlowDefinition200FlowDefinitionStepsItemOnSuccess as es, UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess as et, CreateFlowDefinition201FlowDefinitionStepsItemGates as eu, VerifyChallengeProof200ChallengesItemMethod as f, GetTeamDefaultDetails as fa, DeleteTeam403 as fc, CompleteClaim400 as fd, ListUserPasskeys404 as fi, CreateSession201SessionFactorsItemMethod as fl, RevokeSession403 as fn, GetMySession200FactorsItem as fo, QueryProjectsBodySorting as fr, GetClaimStatus429 as fs, SubmitFlowStepBodyFields as ft, CreateFlow400 as fu, UpdateTeamBody as g, GetTeam401Details as ga, DeleteTeam400 as gc, ListUserPasskeys401 as gi, CreateSchemaBody as gl, RevokeMySessionDefault as gn, GetLiveDefaultDetails as go, QueryProjectsBodyFilterItemOperation as gr, GetClaimStatus404Details as gs, SubmitFlowStep409Details as gt, CreateFlow201StepTexts as gu, UpdateTeamDefaultDetails as h, GetTeam401 as ha, DeleteTeam401Details as hc, ListUserPasskeys403Details as hi, CreateSchemaDefaultDetails as hl, RevokeSession401Details as hn, GetLiveDefault as ho, QueryProjectsBodyFilterItem as hr, GetClaimStatus404 as hs, SubmitFlowStep409 as ht, CreateFlow201Step as hu, VerifyChallengeProof200State as i, GetUserByID404Details as ia, DeleteUserByIDDefault as ic, CompleteClaim429 as id, ListUsers200 as ii, CreateSession400Details as il, SetUserPassword500 as in, GetMyUser200MetadataStatus as io, QuerySessions200SessionsItemUserAgent as ir, GetFlowDefinition200FlowDefinitionStepsItemComplete as is, UpdateFlowDefinition200FlowDefinitionStepsItemComplete as it, CreateFlowDefinition201FlowDefinitionStepsItemActionsItem as iu, UpdateFlowDefinitionBody as j, GetSession200FactorsItem as ja, CreateUser401 as jc, ListFlowDefinitions200 as ji, CreateFlowDefinitionBodyFlowDefinition as jl, QueryTeams404Details as jn, GetFlowStep200StepSsoProvidersItem as jo, PatchProject404Details as jr, GetAuthAttempt200State as js, SubmitFlowStep400StepChallengeMethod as jt, CreateFlow201Branding as ju, UpdateFlowDefinitionParams as k, GetSession200State as ka, CreateUser403 as kc, ListFlowDefinitions400 as ki, CreateFlowDefinitionDefault as kl, QueryTeams429Details as kn, GetFlowStep200Step as ko, PatchProjectBody as kr, GetAuthAttemptDefault as ks, SubmitFlowStep400StepChallenge as kt, CreateFlow201StepActionsItem as ku, VerifyChallengeProof200ChallengesItem as l, GetUserByID200MetadataStatus as la, DeleteTeamParams as lc, CompleteClaim404 as ld, ListUserPasskeysDefault as li, CreateSession201SessionMetadata as ll, SetUserPassword400Details as ln, GetMySession200UserAgent as lo, QuerySessions200SessionsItemFactorsItemMethod as lr, GetClaimStatusParams as ls, SubmitFlowStepDefault as lt, CreateFlowBody as lu, UpdateTeamDefault as m, GetTeam404Details as ma, DeleteTeam401 as mc, CompleteClaim200 as md, ListUserPasskeys403 as mi, CreateSchemaDefault as ml, RevokeSession401 as mn, GetMySession200FactorsItemMethod as mo, QueryProjectsBodySortingDirection as mr, GetClaimStatus410 as ms, SubmitFlowStepBodyChallengeResponseProof as mt, CreateFlow201 as mu, VerifyChallengeProofBody as n, GetUserByIDDefault as na, ExchangeHandoff200SessionFactorsItemMethod as nc, CompleteClaimDefaultDetails as nd, ListUsers400 as ni, CreateSessionBodyUserAgent as nl, SetUserPasswordDefault as nn, GetMyUser200 as no, QuerySessions200 as nr, GetFlowDefinition200FlowDefinitionStepsItemGatesKind as ns, UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind as nt, CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig as nu, VerifyChallengeProof200CompletedFactorsItem as o, GetUserByID401Details as oa, DeleteUserByID404Details as oc, CompleteClaim410 as od, ListUsers200UsersItemMetadata as oi, CreateSession201Session as ol, SetUserPassword404 as on, GetMySession404 as oo, QuerySessions200SessionsItemMetadata as or, GetFlowDefinition200FlowDefinitionStepsItemActionsItemKind as os, UpdateFlowDefinition200FlowDefinitionStepsItemActionsItemKind as ot, CreateFlowDefinition201FlowDefinitionStatus as ou, UpdateTeamParams as p, GetTeam404 as pa, DeleteTeam403Details as pc, CompleteClaim400Details as pd, ListUserPasskeys404Details as pi, CreateSchemaParams as pl, RevokeSession403Details as pn, GetMySession200FactorsItemPayload as po, QueryProjectsBodySortingField as pr, GetClaimStatus429Details as ps, SubmitFlowStepBodyChallengeResponse as pt, CreateFlow400Details as pu, UpdateFlowDefinition400 as q, GetProject404 as qa, CreateTeam403Details as qc, InitClaimDefault as qi, CreateFlowDefinition400Details as ql, QuerySessionsBodyFilterItem as qn, GetFlowDefinitionParams as qo, ListUserTeams400 as qr, ExchangeHandoff400 as qs, SubmitFlowStep200StepComplete as qt, CreateAuthAttempt201RequiredFactorsItem as qu, VerifyChallengeProof200 as r, GetUserByID404 as ra, DeleteUserByIDParams as rc, CompleteClaimBody as rd, ListUsers400Details as ri, CreateSession400 as rl, SetUserPasswordBody as rn, GetMyUser200Metadata as ro, QuerySessions200SessionsItem as rr, GetFlowDefinition200FlowDefinitionStepsItemGatesConfig as rs, UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig as rt, CreateFlowDefinition201FlowDefinitionStepsItemComplete as ru, VerifyChallengeProof200CompletedFactorsItemPayload as s, GetUserByID200 as sa, DeleteUserByID401 as sc, CompleteClaim409 as sd, ListUsers200UsersItemMetadataStatus as si, CreateSession201SessionUserAgent as sl, SetUserPassword404Details as sn, GetMySession401 as so, QuerySessions200SessionsItemFactorsItem as sr, GetFlowDefinition200FlowDefinitionStatus as ss, UpdateFlowDefinition200FlowDefinitionStatus as st, CreateFlowDefinition201FlowDefinitionAudience as su, VerifyChallengeProofDefault as t, GetUserByIDParams as ta, ExchangeHandoff200SessionFactorsItemPayload as tc, CompleteClaimDefault as td, ListUsers500Details as ti, CreateSessionBody as tl, SetUserPasswordParams as tn, GetMyUser401Details as to, QuerySessions400Details as tr, GetFlowDefinition200FlowDefinitionStepsItemGates as ts, UpdateFlowDefinition200FlowDefinitionStepsItemGates as tt, CreateFlowDefinition201FlowDefinitionStepsItemGatesKind as tu, VerifyChallengeProof200ChallengesItemState as u, GetTeamParams as ua, DeleteTeamDefault as uc, CompleteClaim404Details as ud, ListUserPasskeys500 as ui, CreateSession201SessionFactorsItem as ul, RevokeSessionParams as un, GetMySession200State as uo, QueryProjectsDefault as ur, GetClaimStatusDefault as us, SubmitFlowStepBody as ut, CreateFlowBodyPurpose as uu, UpdateTeam409Details as v, GetTeam200Status as va, DeleteFlowDefinitionParams as vc, ListUserPasskeys400 as vi, CreateSchema409Details as vl, QueryTeamsParams as vn, GetLive4xxDetails as vo, QueryProjects429 as vr, GetClaimStatus401 as vs, SubmitFlowStep400Step as vt, CreateFlow201StepGates as vu, UpdateTeam401Details as w, GetSession403Details as wa, CreateUserBody as wc, ListSchemasDefaultDetails as wi, CreateProject429 as wl, QueryTeamsBodySortingDirection as wn, GetFlowStep410 as wo, QueryProjects400 as wr, GetBrandingById404 as ws, SubmitFlowStep400StepFieldsItem as wt, CreateFlow201StepFieldsItemType as wu, UpdateTeam403 as x, GetSession404 as xa, DeleteFlowDefinition409Details as xc, ListUserPasskeys200PasskeysItem as xi, CreateSchema201 as xl, QueryTeamsBody as xn, GetHealth4xx as xo, QueryProjects403Details as xr, GetBrandingByIdParams as xs, SubmitFlowStep400StepGates as xt, CreateFlow201StepFieldsItem as xu, UpdateTeam404 as y, GetSessionParams as ya, DeleteFlowDefinitionDefault as yc, ListUserPasskeys400Details as yi, CreateSchema400 as yl, QueryTeamsDefault as yn, GetHealthDefault as yo, QueryProjects429Details as yr, GetClaimStatus401Details as ys, SubmitFlowStep400StepTexts as yt, CreateFlow201StepGatesKind as yu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig as z, GetSchemaById400 as za, CreateTeamBody as zc, IssueChallengeBody as zi, CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete as zl, QueryTeams200TeamsItem as zn, GetFlowStep200StepComplete as zo, ListUserTeams500 as zr, GetAuthAttempt200ChallengesItemMethod as zs, SubmitFlowStep200StepSsoProvidersItem as zt, CreateBranding400Details as zu };
13684
- //# sourceMappingURL=index-D6qIOslB.d.mts.map
16052
+ export { UpdateFlowDefinition200FlowDefinitionStepsItemGates as $, GetReady4xx as $a, CreateUser201MetadataStatus as $c, IssueChallenge201 as $i, CreateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem as $l, QuerySessions200SessionsItem as $n, GetFlowStep200StepActionsItem as $o, ListUsers400Details as $r, GetAuthAttempt200CompletedFactorsItemMethod as $s, SetUserPasswordDefault as $t, CreateBrandingDefault as $u, UpdateFlowDefinitionBodyFlowDefinition as A, GetSession404 as Aa, DeleteTeam401 as Ac, CompleteClaim401 as Ad, ListFlowDefinitions200FlowDefinitionsItemStatus as Ai, CreateSession201SessionFactorsItemPayload as Al, QueryTeams401 as An, GetHealthDefaultDetails as Ao, PatchProject400 as Ar, GetClaimStatusDefaultDetails as As, SubmitFlowStep400StepActionsItem as At, CreateFlowBodyHint as Au, UpdateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind as B, GetSession200FactorsItem as Ba, CreateUserBodyAttributes as Bc, ListEvents400 as Bi, CreateSchema201 as Bl, QuerySessionsBodySorting as Bn, GetFlowStep200StepTexts as Bo, ListUserTeams403Details as Br, GetBrandingByIdDefault as Bs, SubmitFlowStep200StepGatesConfig as Bt, CreateFlow201StepFieldsItem as Bu, UpdateTeam401Details as C, GetTeam404 as Ca, DeleteUserByID404Details as Cc, CompleteClaim429 as Cd, ListFlowDefinitionsParams as Ci, CreateSession400Details as Cl, QueryTeamsBodyFilterItemField as Cn, GetMySession200FactorsItemPayload as Co, QueryProjects200ProjectsItem as Cr, GetEvent403 as Cs, SubmitFlowStep400StepFieldsItemValidation as Ct, CreateFlowDefinition201FlowDefinitionStepsItemActionsItem as Cu, UpdateTeam200Status as D, GetTeam200 as Da, DeleteTeamDefaultDetails as Dc, CompleteClaim409Details as Dd, ListFlowDefinitions400Details as Di, CreateSession201SessionState as Dl, QueryTeams404Details as Dn, GetLive4xx as Do, PatchProject404Details as Dr, GetEvent200 as Ds, SubmitFlowStep400StepChallenge as Dt, CreateFlowDefault as Du, UpdateTeam200 as E, GetTeam401Details as Ea, DeleteTeamDefault as Ec, CompleteClaim409 as Ed, ListFlowDefinitions400 as Ei, CreateSession201SessionUserAgent as El, QueryTeams404 as En, GetLiveDefaultDetails as Eo, PatchProject404 as Er, GetEvent401Details as Es, SubmitFlowStep400StepComplete as Et, CreateFlowDefinition201FlowDefinitionAudience as Eu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemGates as F, GetSession401Details as Fa, DeleteFlowDefinition409 as Fc, ListEventsCategoryItem as Fi, CreateSchemaBody as Fl, QueryTeams200TeamsItem as Fn, GetFlowStep410Details as Fo, ListUserTeams500 as Fr, GetClaimStatus404Details as Fs, SubmitFlowStep200Step as Ft, CreateFlow201StepTexts as Fu, UpdateFlowDefinition400 as G, GetSchemaByIdDefaultDetails as Ga, CreateUser403 as Gc, ListBrandingDefault as Gi, CreateProject201 as Gl, QuerySessionsBodyFilterItemField as Gn, GetFlowStep200StepFieldsItem as Go, ListUserTeams200 as Gr, GetBrandingById200Branding as Gs, SubmitFlowStep200StepComplete as Gt, CreateFlow201StepChallenge as Gu, UpdateFlowDefinitionBodyFlowDefinitionAudience as H, GetSession200FactorsItemMethod as Ha, CreateUser500Details as Hc, ListEvents200 as Hi, CreateProjectBody as Hl, QuerySessionsBodySortingDirection as Hn, GetFlowStep200StepGates as Ho, ListUserTeams401Details as Hr, GetBrandingById404 as Hs, SubmitFlowStep200StepFieldsItemValidation as Ht, CreateFlow201StepFieldsItemValidationFormat as Hu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind as I, GetSession200 as Ia, DeleteFlowDefinition409Details as Ic, ListEvents403 as Ii, CreateSchema409 as Il, QueryTeams200TeamsItemStatus as In, GetFlowStep404 as Io, ListUserTeams500Details as Ir, GetClaimStatus403 as Is, SubmitFlowStep200StepTexts as It, CreateFlow201StepSsoProvidersItem as Iu, UpdateFlowDefinition200FlowDefinition as J, GetSchemaById400 as Ja, CreateUser401Details as Jc, IssueChallengeDefault as Ji, CreateFlowDefinitionDefault as Jl, QuerySessions401 as Jn, GetFlowStep200StepFieldsItemType as Jo, ListUsersParams as Jr, GetAuthAttempt200 as Js, SubmitFlowStep200StepChallengeMethod as Jt, CreateFlow201StepActionsItem as Ju, UpdateFlowDefinition400Details as K, GetSchemaById404 as Ka, CreateUser403Details as Kc, ListBrandingDefaultDetails as Ki, CreateHandoffDefault as Kl, QuerySessions403 as Kn, GetFlowStep200StepFieldsItemValidation as Ko, ListUserTeams200TeamsItem as Kr, GetBrandingById200BrandingLayout as Ks, SubmitFlowStep200StepChallenge as Kt, CreateFlow201StepChallengeOptions as Ku, UpdateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig as L, GetSession200UserAgent as La, CreateUserParams as Lc, ListEvents403Details as Li, CreateSchema409Details as Ll, QuerySessionsParams as Ln, GetFlowStep404Details as Lo, ListUserTeams404 as Lr, GetClaimStatus401 as Ls, SubmitFlowStep200StepSsoProvidersItem as Lt, CreateFlow201StepGates as Lu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemTransitions as M, GetSession403 as Ma, DeleteTeam400 as Mc, CompleteClaim400Details as Md, ListEventsOrder as Mi, CreateSchemaParams as Ml, QueryTeams400 as Mn, GetHealth4xxDetails as Mo, PatchProject200 as Mr, GetClaimStatus429Details as Ms, SubmitFlowStep400Branding as Mt, CreateFlow400Details as Mu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemSsoProvidersItem as N, GetSession403Details as Na, DeleteTeam400Details as Nc, CompleteClaim200 as Nd, ListEventsDefault as Ni, CreateSchemaDefault as Nl, QueryTeams400Details as Nn, GetFlowStepDefault as No, ListUserTeamsParams as Nr, GetClaimStatus410 as Ns, SubmitFlowStep400BrandingLayout as Nt, CreateFlow201 as Nu, UpdateFlowDefinitionDefault as O, GetTeam200Status as Oa, DeleteTeam403 as Oc, CompleteClaim404 as Od, ListFlowDefinitions200 as Oi, CreateSession201SessionMetadata as Ol, QueryTeams403 as On, GetLive4xxDetails as Oo, PatchProject401 as Or, GetClaimStatusParams as Os, SubmitFlowStep400StepChallengeOptions as Ot, CreateFlowBody as Ou, UpdateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess as P, GetSession401 as Pa, DeleteFlowDefinitionDefault as Pc, ListEventsDefaultDetails as Pi, CreateSchemaDefaultDetails as Pl, QueryTeams200 as Pn, GetFlowStep410 as Po, ListUserTeamsDefault as Pr, GetClaimStatus404 as Ps, SubmitFlowStep200 as Pt, CreateFlow201Step as Pu, UpdateFlowDefinition200FlowDefinitionStepsItemOnSuccess as Q, GetReadyDefaultDetails as Qa, CreateUser201Metadata as Qc, IssueChallengeBodyMethod as Qi, CreateFlowDefinitionBodyFlowDefinitionStepsItemTransitions as Ql, QuerySessions200 as Qn, GetFlowStep200StepChallengeMethod as Qo, ListUsers400 as Qr, GetAuthAttempt200CompletedFactorsItemPayload as Qs, SubmitFlowStep200BrandingLayout as Qt, CreateBrandingParams as Qu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemComplete as R, GetSession200State as Ra, CreateUserDefault as Rc, ListEvents401 as Ri, CreateSchema400 as Rl, QuerySessionsDefault as Rn, GetFlowStep200 as Ro, ListUserTeams404Details as Rr, GetClaimStatus401Details as Rs, SubmitFlowStep200StepGates as Rt, CreateFlow201StepGatesKind as Ru, UpdateTeam401 as S, GetTeamDefaultDetails as Sa, DeleteUserByID404 as Sc, CompleteClaimBody as Sd, ListSchemas200Item as Si, CreateSession400 as Sl, QueryTeamsBodyFilterItemOperation as Sn, GetMySession200FactorsItem as So, QueryProjects200 as Sr, GetEvent404Details as Ss, SubmitFlowStep400StepFieldsItem as St, CreateFlowDefinition201FlowDefinitionStepsItemComplete as Su, UpdateTeam400Details as T, GetTeam401 as Ta, DeleteUserByID401Details as Tc, CompleteClaim410 as Td, ListFlowDefinitionsDefault as Ti, CreateSession201Session as Tl, QueryTeams429Details as Tn, GetLiveDefault as To, PatchProjectBody as Tr, GetEvent401 as Ts, SubmitFlowStep400StepFieldsItemType as Tt, CreateFlowDefinition201FlowDefinitionStatus as Tu, UpdateFlowDefinition404 as U, GetSchemaByIdParams as Ua, CreateUser409 as Uc, ListEvents200DataItem as Ui, CreateProject429 as Ul, QuerySessionsBodyFilterItem as Un, GetFlowStep200StepGatesKind as Uo, ListUserTeams400 as Ur, GetBrandingById404Details as Us, SubmitFlowStep200StepFieldsItemValidationFormat as Ut, CreateFlow201StepFieldsItemType as Uu, UpdateFlowDefinitionBodyFlowDefinitionStatus as V, GetSession200FactorsItemPayload as Va, CreateUser500 as Vc, ListEvents400Details as Vi, CreateProjectDefault as Vl, QuerySessionsBodySortingField as Vn, GetFlowStep200StepSsoProvidersItem as Vo, ListUserTeams401 as Vr, GetBrandingByIdDefaultDetails as Vs, SubmitFlowStep200StepFieldsItem as Vt, CreateFlow201StepFieldsItemValidation as Vu, UpdateFlowDefinition404Details as W, GetSchemaByIdDefault as Wa, CreateUser409Details as Wc, ListBrandingParams as Wi, CreateProject429Details as Wl, QuerySessionsBodyFilterItemOperation as Wn, GetFlowStep200StepGatesConfig as Wo, ListUserTeams400Details as Wr, GetBrandingById200 as Ws, SubmitFlowStep200StepFieldsItemType as Wt, CreateFlow201StepComplete as Wu, UpdateFlowDefinition200FlowDefinitionStepsItemTransitions as X, GetSchemaById200 as Xa, CreateUser400Details as Xc, IssueChallengeBodyPasskeyOptions as Xi, CreateFlowDefinitionBodyFlowDefinition as Xl, QuerySessions400 as Xn, GetFlowStep200StepChallenge as Xo, ListUsers500 as Xr, GetAuthAttempt200RequiredFactorsItem as Xs, SubmitFlowStep200StepActionsItemKind as Xt, CreateFlow201Branding as Xu, UpdateFlowDefinition200FlowDefinitionStepsItem as Y, GetSchemaById400Details as Ya, CreateUser400 as Yc, IssueChallengeBody as Yi, CreateFlowDefinitionBody as Yl, QuerySessions401Details as Yn, GetFlowStep200StepComplete as Yo, ListUsersDefault as Yr, GetAuthAttempt200State as Ys, SubmitFlowStep200StepActionsItem as Yt, CreateFlow201StepActionsItemKind as Yu, UpdateFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem as Z, GetReadyDefault as Za, CreateUser201 as Zc, IssueChallengeBodyPasskeyOptionsUserVerification as Zi, CreateFlowDefinitionBodyFlowDefinitionStepsItem as Zl, QuerySessions400Details as Zn, GetFlowStep200StepChallengeOptions as Zo, ListUsers500Details as Zr, GetAuthAttempt200CompletedFactorsItem as Zs, SubmitFlowStep200Branding as Zt, CreateFlow201BrandingLayout as Zu, UpdateTeam409Details as _, GetUserByID200 as _a, ExchangeHandoff200SessionMetadata as _c, CreateAuthAttempt201ChallengesItemState as _d, ListUserPasskeys200 as _i, CreateTeam201 as _l, QueryTeamsBody as _n, GetMySession401 as _o, QueryProjects403Details as _r, GetFlowDefinition200FlowDefinitionAudience as _s, SubmitFlowStep400StepTexts as _t, CreateFlowDefinition201FlowDefinitionStepsItemSsoProvidersItem as _u, VerifyChallengeProof200RequiredFactorsItem as a, InitClaim409 as aa, ExchangeHandoffDefault as ac, CreateBranding201 as ad, ListUserPasskeysParams as ai, CreateTeam429 as al, SetUserPassword400 as an, GetProject401Details as ao, QuerySessions200SessionsItemFactorsItemMethod as ar, GetFlowDefinition200FlowDefinition as as, UpdateFlowDefinition200FlowDefinitionStatus as at, CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem as au, UpdateTeam403 as b, GetUserByID200Attributes as ba, ExchangeHandoff200SessionFactorsItemMethod as bc, CompleteClaimDefault as bd, ListSchemasDefault as bi, CreateSessionBody as bl, QueryTeamsBodySortingDirection as bn, GetMySession200State as bo, QueryProjects400 as br, GetEventDefaultDetails as bs, SubmitFlowStep400StepGatesKind as bt, CreateFlowDefinition201FlowDefinitionStepsItemGatesKind as bu, VerifyChallengeProof200CompletedFactorsItemMethod as c, InitClaim401 as ca, ExchangeHandoff410Details as cc, CreateAuthAttemptDefault as cd, ListUserPasskeys500Details as ci, CreateTeam409Details as cl, RevokeSession403 as cn, GetMyUser404 as co, QueryProjectsBodySorting as cr, GetFlowDefinition200FlowDefinitionStepsItemSsoProvidersItem as cs, SubmitFlowStepBody as ct, CreateFlowDefinitionBodyFlowDefinitionAudience as cu, VerifyChallengeProof200ChallengesItemPayload as d, GetUserByIDParams as da, ExchangeHandoff400 as dc, CreateAuthAttempt201State as dd, ListUserPasskeys403 as di, CreateTeam403 as dl, RevokeSession401Details as dn, GetMyUser200 as do, QueryProjectsBodyFilterItem as dr, GetFlowDefinition200FlowDefinitionStepsItemGatesKind as ds, SubmitFlowStepBodyChallengeResponse as dt, CreateFlowDefinition400 as du, IssueChallenge201State as ea, GetAuthAttempt200ChallengesItem as ec, CreateBrandingDefaultDetails as ed, ListUsers200 as ei, CreateUser201Attributes as el, SetUserPasswordBody as en, GetReady4xxDetails as eo, QuerySessions200SessionsItemUserAgent as er, GetFlowStep200StepActionsItemKind as es, UpdateFlowDefinition200FlowDefinitionStepsItemGatesKind as et, CreateFlowDefinitionBodyFlowDefinitionStepsItemOnSuccess as eu, VerifyChallengeProof200ChallengesItemMethod as f, GetUserByIDDefault as fa, ExchangeHandoff400Details as fc, CreateAuthAttempt201RequiredFactorsItem as fd, ListUserPasskeys403Details as fi, CreateTeam403Details as fl, RevokeMySessionDefault as fn, GetMyUser200Metadata as fo, QueryProjectsBodyFilterItemOperation as fr, GetFlowDefinition200FlowDefinitionStepsItemGatesConfig as fs, SubmitFlowStepBodyChallengeResponseProof as ft, CreateFlowDefinition400Details as fu, UpdateTeam409 as g, GetUserByID401Details as ga, ExchangeHandoff200SessionState as gc, CreateAuthAttempt201ChallengesItem as gd, ListUserPasskeys400Details as gi, CreateTeam400Details as gl, QueryTeamsDefaultDetails as gn, GetMySession404 as go, QueryProjects403 as gr, GetFlowDefinition200FlowDefinitionStatus as gs, SubmitFlowStep400Step as gt, CreateFlowDefinition201FlowDefinitionStepsItemTransitions as gu, UpdateTeamBody as h, GetUserByID401 as ha, ExchangeHandoff200SessionUserAgent as hc, CreateAuthAttempt201CompletedFactorsItemMethod as hd, ListUserPasskeys400 as hi, CreateTeam400 as hl, QueryTeamsDefault as hn, GetMySessionDefault as ho, QueryProjects429Details as hr, GetFlowDefinition200FlowDefinitionStepsItemActionsItemKind as hs, SubmitFlowStep400 as ht, CreateFlowDefinition201FlowDefinitionStepsItem as hu, VerifyChallengeProof200State as i, InitClaimDefaultDetails as ia, ExchangeHandoffParams as ic, CreateBranding400Details as id, ListUsers200UsersItemAttributes as ii, CreateTeamBody as il, SetUserPassword404Details as in, GetProject401 as io, QuerySessions200SessionsItemFactorsItemPayload as ir, GetFlowDefinition200 as is, UpdateFlowDefinition200FlowDefinitionStepsItemActionsItemKind as it, CreateFlowDefinitionBodyFlowDefinitionStepsItemComplete as iu, UpdateFlowDefinitionBodyFlowDefinitionStepsItem as j, GetSession404Details as ja, DeleteTeam401Details as jc, CompleteClaim400 as jd, ListEventsParams as ji, CreateSession201SessionFactorsItemMethod as jl, QueryTeams401Details as jn, GetHealth4xx as jo, PatchProject400Details as jr, GetClaimStatus429 as js, SubmitFlowStep400StepActionsItemKind as jt, CreateFlow400 as ju, UpdateFlowDefinitionBody as k, GetSessionDefault as ka, DeleteTeam403Details as kc, CompleteClaim404Details as kd, ListFlowDefinitions200FlowDefinitionsItem as ki, CreateSession201SessionFactorsItem as kl, QueryTeams403Details as kn, GetHealthDefault as ko, PatchProject401Details as kr, GetClaimStatusDefault as ks, SubmitFlowStep400StepChallengeMethod as kt, CreateFlowBodyPurpose as ku, VerifyChallengeProof200ChallengesItem as l, InitClaim401Details as la, ExchangeHandoff401 as lc, CreateAuthAttemptBody as ld, ListUserPasskeys404 as li, CreateTeam404 as ll, RevokeSession403Details as ln, GetMyUser401 as lo, QueryProjectsBodySortingField as lr, GetFlowDefinition200FlowDefinitionStepsItemOnSuccess as ls, SubmitFlowStepBodyGateProofs as lt, CreateFlowDefinition409 as lu, UpdateTeamDefaultDetails as m, GetUserByID404Details as ma, ExchangeHandoff200Session as mc, CreateAuthAttempt201CompletedFactorsItemPayload as md, ListUserPasskeys401Details as mi, CreateTeam401Details as ml, QueryTeamsParams as mn, GetMyUser200Attributes as mo, QueryProjects429 as mr, GetFlowDefinition200FlowDefinitionStepsItemActionsItem as ms, SubmitFlowStep409Details as mt, CreateFlowDefinition201FlowDefinition as mu, VerifyChallengeProofBody as n, IssueChallenge201Method as na, GetAuthAttempt200ChallengesItemPayload as nc, CreateBrandingBodyLayout as nd, ListUsers200UsersItemMetadata as ni, CreateTeamDefault as nl, SetUserPassword500Details as nn, GetProject404 as no, QuerySessions200SessionsItemMetadata as nr, GetFlowStep200BrandingLayout as ns, UpdateFlowDefinition200FlowDefinitionStepsItemComplete as nt, CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesKind as nu, VerifyChallengeProof200CompletedFactorsItem as o, InitClaim409Details as oa, ExchangeHandoffBody as oc, CreateBranding201Branding as od, ListUserPasskeysDefault as oi, CreateTeam429Details as ol, SetUserPassword400Details as on, GetProject200 as oo, QueryProjectsDefault as or, GetFlowDefinition200FlowDefinitionStepsItem as os, UpdateFlowDefinition200FlowDefinitionAudience as ot, CreateFlowDefinitionBodyFlowDefinitionStepsItemActionsItemKind as ou, UpdateTeamDefault as p, GetUserByID404 as pa, ExchangeHandoff200 as pc, CreateAuthAttempt201CompletedFactorsItem as pd, ListUserPasskeys401 as pi, CreateTeam401 as pl, RevokeMySession401 as pn, GetMyUser200MetadataStatus as po, QueryProjectsBodyFilterItemField as pr, GetFlowDefinition200FlowDefinitionStepsItemComplete as ps, SubmitFlowStep409 as pt, CreateFlowDefinition201 as pu, UpdateFlowDefinition200 as q, GetSchemaById404Details as qa, CreateUser401 as qc, ListBranding200Item as qi, CreateHandoff200 as ql, QuerySessions403Details as qn, GetFlowStep200StepFieldsItemValidationFormat as qo, ListUserTeams200TeamsItemMembershipStatus as qr, GetAuthAttemptDefault as qs, SubmitFlowStep200StepChallengeOptions as qt, CreateFlow201StepChallengeMethod as qu, VerifyChallengeProof200 as r, InitClaimDefault as ra, GetAuthAttempt200ChallengesItemMethod as rc, CreateBranding400 as rd, ListUsers200UsersItemMetadataStatus as ri, CreateTeamDefaultDetails as rl, SetUserPassword404 as rn, GetProject404Details as ro, QuerySessions200SessionsItemFactorsItem as rr, GetFlowDefinitionDefault as rs, UpdateFlowDefinition200FlowDefinitionStepsItemActionsItem as rt, CreateFlowDefinitionBodyFlowDefinitionStepsItemGatesConfig as ru, VerifyChallengeProof200CompletedFactorsItemPayload as s, InitClaim404 as sa, ExchangeHandoff410 as sc, CreateBranding201BrandingLayout as sd, ListUserPasskeys500 as si, CreateTeam409 as sl, RevokeSessionDefault as sn, GetMyUserDefault as so, QueryProjectsBody as sr, GetFlowDefinition200FlowDefinitionStepsItemTransitions as ss, SubmitFlowStepDefault as st, CreateFlowDefinitionBodyFlowDefinitionStatus as su, VerifyChallengeProofDefault as t, IssueChallenge201Payload as ta, GetAuthAttempt200ChallengesItemState as tc, CreateBrandingBody as td, ListUsers200UsersItem as ti, CreateTeamParams as tl, SetUserPassword500 as tn, GetProjectDefault as to, QuerySessions200SessionsItemState as tr, GetFlowStep200Branding as ts, UpdateFlowDefinition200FlowDefinitionStepsItemGatesConfig as tt, CreateFlowDefinitionBodyFlowDefinitionStepsItemGates as tu, VerifyChallengeProof200ChallengesItemState as u, InitClaim201 as ua, ExchangeHandoff401Details as uc, CreateAuthAttempt201 as ud, ListUserPasskeys404Details as ui, CreateTeam404Details as ul, RevokeSession401 as un, GetMyUser401Details as uo, QueryProjectsBodySortingDirection as ur, GetFlowDefinition200FlowDefinitionStepsItemGates as us, SubmitFlowStepBodyFields as ut, CreateFlowDefinition409Details as uu, UpdateTeam404 as v, GetUserByID200Metadata as va, ExchangeHandoff200SessionFactorsItem as vc, CreateAuthAttempt201ChallengesItemPayload as vd, ListUserPasskeys200PasskeysItem as vi, CreateTeam201Status as vl, QueryTeamsBodySorting as vn, GetMySession200 as vo, QueryProjects401 as vr, GetEventParams as vs, SubmitFlowStep400StepSsoProvidersItem as vt, CreateFlowDefinition201FlowDefinitionStepsItemOnSuccess as vu, UpdateTeam400 as w, GetTeam404Details as wa, DeleteUserByID401 as wc, CompleteClaim429Details as wd, ListFlowDefinitionsPurpose as wi, CreateSession201 as wl, QueryTeams429 as wn, GetMySession200FactorsItemMethod as wo, PatchProjectDefault as wr, GetEvent403Details as ws, SubmitFlowStep400StepFieldsItemValidationFormat as wt, CreateFlowDefinition201FlowDefinitionStepsItemActionsItemKind as wu, UpdateTeam403Details as x, GetTeamDefault as xa, DeleteUserByIDDefault as xc, CompleteClaimDefaultDetails as xd, ListSchemasDefaultDetails as xi, CreateSessionBodyUserAgent as xl, QueryTeamsBodyFilterItem as xn, GetMySession200Metadata as xo, QueryProjects400Details as xr, GetEvent404 as xs, SubmitFlowStep400StepGatesConfig as xt, CreateFlowDefinition201FlowDefinitionStepsItemGatesConfig as xu, UpdateTeam404Details as y, GetUserByID200MetadataStatus as ya, ExchangeHandoff200SessionFactorsItemPayload as yc, CreateAuthAttempt201ChallengesItemMethod as yd, ListSchemasParams as yi, CreateSessionDefault as yl, QueryTeamsBodySortingField as yn, GetMySession200UserAgent as yo, QueryProjects401Details as yr, GetEventDefault as ys, SubmitFlowStep400StepGates as yt, CreateFlowDefinition201FlowDefinitionStepsItemGates as yu, UpdateFlowDefinitionBodyFlowDefinitionStepsItemActionsItem as z, GetSession200Metadata as za, CreateUserBody as zc, ListEvents401Details as zi, CreateSchema400Details as zl, QuerySessionsBody as zn, GetFlowStep200Step as zo, ListUserTeams403 as zr, GetClaimStatus200 as zs, SubmitFlowStep200StepGatesKind as zt, CreateFlow201StepGatesConfig as zu };
16053
+ //# sourceMappingURL=index-Dt_0fSH9.d.mts.map